Aug 29 21:43:14.540 INFO checking winhandle-0.1.0 against try#bc5a74802bb3ffc82f51ef04bca58d64220124c4 for pr-53699 Aug 29 21:43:14.540 INFO running: cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets Aug 29 21:43:14.540 INFO running `"docker" "create" "-v" "/home/ec2-user/crater/./work/local/test-source/worker-3/pr-53699/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/source:ro,Z" "-v" "/home/ec2-user/crater/./work/local/target-dirs/pr-53699/worker-3/try#bc5a74802bb3ffc82f51ef04bca58d64220124c4:/target:rw,Z" "-v" "/home/ec2-user/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/home/ec2-user/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=500" "-e" "CMD=cargo +bc5a74802bb3ffc82f51ef04bca58d64220124c4-alt check --frozen --all --all-targets" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "2G" "crater"` Aug 29 21:43:14.719 INFO blam! c921dd16ae636e926e636a27ab73b7fd9733b9da98762d8676ef6652254f5f54 Aug 29 21:43:14.721 INFO running `"docker" "start" "-a" "c921dd16ae636e926e636a27ab73b7fd9733b9da98762d8676ef6652254f5f54"` Aug 29 21:43:15.371 INFO kablam! Compiling winapi v0.3.5 Aug 29 21:43:17.450 INFO kablam! Checking winhandle v0.1.0 (file:///source) Aug 29 21:43:17.668 INFO kablam! error[E0432]: unresolved import `winapi::FALSE` Aug 29 21:43:17.669 INFO kablam! --> src/macros.rs:2:18 Aug 29 21:43:17.669 INFO kablam! | Aug 29 21:43:17.669 INFO kablam! 2 | pub use winapi::{FALSE, E_FAIL, INVALID_HANDLE_VALUE, S_OK}; Aug 29 21:43:17.669 INFO kablam! | ^^^^^ no `FALSE` in the root Aug 29 21:43:17.669 INFO kablam! Aug 29 21:43:17.669 INFO kablam! error[E0432]: unresolved import `winapi::E_FAIL` Aug 29 21:43:17.669 INFO kablam! --> src/macros.rs:2:25 Aug 29 21:43:17.669 INFO kablam! | Aug 29 21:43:17.669 INFO kablam! 2 | pub use winapi::{FALSE, E_FAIL, INVALID_HANDLE_VALUE, S_OK}; Aug 29 21:43:17.669 INFO kablam! | ^^^^^^ no `E_FAIL` in the root Aug 29 21:43:17.669 INFO kablam! Aug 29 21:43:17.669 INFO kablam! error[E0432]: unresolved import `winapi::INVALID_HANDLE_VALUE` Aug 29 21:43:17.669 INFO kablam! --> src/macros.rs:2:33 Aug 29 21:43:17.669 INFO kablam! | Aug 29 21:43:17.669 INFO kablam! 2 | pub use winapi::{FALSE, E_FAIL, INVALID_HANDLE_VALUE, S_OK}; Aug 29 21:43:17.669 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ no `INVALID_HANDLE_VALUE` in the root Aug 29 21:43:17.669 INFO kablam! Aug 29 21:43:17.670 INFO kablam! error[E0432]: unresolved import `winapi::S_OK` Aug 29 21:43:17.670 INFO kablam! --> src/macros.rs:2:55 Aug 29 21:43:17.670 INFO kablam! | Aug 29 21:43:17.670 INFO kablam! 2 | pub use winapi::{FALSE, E_FAIL, INVALID_HANDLE_VALUE, S_OK}; Aug 29 21:43:17.670 INFO kablam! | ^^^^ no `S_OK` in the root Aug 29 21:43:17.670 INFO kablam! Aug 29 21:43:17.670 INFO kablam! error[E0432]: unresolved import `winapi::winerror` Aug 29 21:43:17.670 INFO kablam! --> src/macros.rs:3:17 Aug 29 21:43:17.670 INFO kablam! | Aug 29 21:43:17.670 INFO kablam! 3 | pub use winapi::winerror::SUCCEEDED; Aug 29 21:43:17.670 INFO kablam! | ^^^^^^^^ Could not find `winerror` in `winapi` Aug 29 21:43:17.670 INFO kablam! Aug 29 21:43:17.670 INFO kablam! error[E0432]: unresolved import `kernel32::GetLastError` Aug 29 21:43:17.670 INFO kablam! --> src/macros.rs:4:20 Aug 29 21:43:17.670 INFO kablam! | Aug 29 21:43:17.670 INFO kablam! 4 | pub use kernel32::{GetLastError}; Aug 29 21:43:17.670 INFO kablam! | ^^^^^^^^^^^^ no `GetLastError` in the root Aug 29 21:43:17.670 INFO kablam! Aug 29 21:43:17.670 INFO kablam! error[E0433]: failed to resolve. Could not find `windows` in `os` Aug 29 21:43:17.671 INFO kablam! --> src/handle.rs:3:14 Aug 29 21:43:17.671 INFO kablam! | Aug 29 21:43:17.671 INFO kablam! 3 | use std::os::windows::prelude::*; Aug 29 21:43:17.671 INFO kablam! | ^^^^^^^ Could not find `windows` in `os` Aug 29 21:43:17.671 INFO kablam! Aug 29 21:43:17.671 INFO kablam! error[E0433]: failed to resolve. Could not find `windows` in `os` Aug 29 21:43:17.671 INFO kablam! --> src/wstring.rs:5:14 Aug 29 21:43:17.671 INFO kablam! | Aug 29 21:43:17.671 INFO kablam! 5 | use std::os::windows::prelude::*; Aug 29 21:43:17.671 INFO kablam! | ^^^^^^^ Could not find `windows` in `os` Aug 29 21:43:17.671 INFO kablam! Aug 29 21:43:17.713 INFO kablam! error[E0432]: unresolved import `winapi::FALSE` Aug 29 21:43:17.714 INFO kablam! --> src/macros.rs:2:18 Aug 29 21:43:17.714 INFO kablam! | Aug 29 21:43:17.714 INFO kablam! 2 | pub use winapi::{FALSE, E_FAIL, INVALID_HANDLE_VALUE, S_OK}; Aug 29 21:43:17.714 INFO kablam! | ^^^^^ no `FALSE` in the root Aug 29 21:43:17.714 INFO kablam! Aug 29 21:43:17.714 INFO kablam! error[E0432]: unresolved import `winapi::E_FAIL` Aug 29 21:43:17.714 INFO kablam! --> src/macros.rs:2:25 Aug 29 21:43:17.714 INFO kablam! | Aug 29 21:43:17.714 INFO kablam! 2 | pub use winapi::{FALSE, E_FAIL, INVALID_HANDLE_VALUE, S_OK}; Aug 29 21:43:17.714 INFO kablam! | ^^^^^^ no `E_FAIL` in the root Aug 29 21:43:17.714 INFO kablam! Aug 29 21:43:17.714 INFO kablam! error[E0432]: unresolved import `winapi::INVALID_HANDLE_VALUE` Aug 29 21:43:17.714 INFO kablam! --> src/macros.rs:2:33 Aug 29 21:43:17.715 INFO kablam! | Aug 29 21:43:17.715 INFO kablam! 2 | pub use winapi::{FALSE, E_FAIL, INVALID_HANDLE_VALUE, S_OK}; Aug 29 21:43:17.715 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ no `INVALID_HANDLE_VALUE` in the root Aug 29 21:43:17.715 INFO kablam! Aug 29 21:43:17.715 INFO kablam! error[E0432]: unresolved import `winapi::S_OK` Aug 29 21:43:17.715 INFO kablam! --> src/macros.rs:2:55 Aug 29 21:43:17.715 INFO kablam! | Aug 29 21:43:17.715 INFO kablam! 2 | pub use winapi::{FALSE, E_FAIL, INVALID_HANDLE_VALUE, S_OK}; Aug 29 21:43:17.715 INFO kablam! | ^^^^ no `S_OK` in the root Aug 29 21:43:17.715 INFO kablam! Aug 29 21:43:17.715 INFO kablam! error[E0432]: unresolved import `winapi::winerror` Aug 29 21:43:17.715 INFO kablam! --> src/macros.rs:3:17 Aug 29 21:43:17.715 INFO kablam! | Aug 29 21:43:17.715 INFO kablam! 3 | pub use winapi::winerror::SUCCEEDED; Aug 29 21:43:17.715 INFO kablam! | ^^^^^^^^ Could not find `winerror` in `winapi` Aug 29 21:43:17.715 INFO kablam! Aug 29 21:43:17.715 INFO kablam! error[E0432]: unresolved import `kernel32::GetLastError` Aug 29 21:43:17.715 INFO kablam! --> src/macros.rs:4:20 Aug 29 21:43:17.715 INFO kablam! | Aug 29 21:43:17.715 INFO kablam! 4 | pub use kernel32::{GetLastError}; Aug 29 21:43:17.715 INFO kablam! | ^^^^^^^^^^^^ no `GetLastError` in the root Aug 29 21:43:17.715 INFO kablam! Aug 29 21:43:17.715 INFO kablam! error[E0432]: unresolved import `winapi::GENERIC_READ` Aug 29 21:43:17.715 INFO kablam! --> src/macros.rs:196:22 Aug 29 21:43:17.715 INFO kablam! | Aug 29 21:43:17.715 INFO kablam! 196 | use winapi::{GENERIC_READ, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL}; Aug 29 21:43:17.716 INFO kablam! | ^^^^^^^^^^^^ no `GENERIC_READ` in the root Aug 29 21:43:17.716 INFO kablam! Aug 29 21:43:17.716 INFO kablam! error[E0432]: unresolved import `winapi::OPEN_EXISTING` Aug 29 21:43:17.716 INFO kablam! --> src/macros.rs:196:36 Aug 29 21:43:17.716 INFO kablam! | Aug 29 21:43:17.716 INFO kablam! 196 | use winapi::{GENERIC_READ, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL}; Aug 29 21:43:17.716 INFO kablam! | ^^^^^^^^^^^^^ no `OPEN_EXISTING` in the root Aug 29 21:43:17.716 INFO kablam! Aug 29 21:43:17.716 INFO kablam! error[E0432]: unresolved import `winapi::FILE_ATTRIBUTE_NORMAL` Aug 29 21:43:17.716 INFO kablam! --> src/macros.rs:196:51 Aug 29 21:43:17.716 INFO kablam! | Aug 29 21:43:17.716 INFO kablam! 196 | use winapi::{GENERIC_READ, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL}; Aug 29 21:43:17.716 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ no `FILE_ATTRIBUTE_NORMAL` in the root Aug 29 21:43:17.716 INFO kablam! Aug 29 21:43:17.716 INFO kablam! error[E0432]: unresolved import `kernel32::CreateFileA` Aug 29 21:43:17.716 INFO kablam! --> src/macros.rs:197:13 Aug 29 21:43:17.716 INFO kablam! | Aug 29 21:43:17.716 INFO kablam! 197 | use kernel32::CreateFileA; Aug 29 21:43:17.716 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ no `CreateFileA` in the root Aug 29 21:43:17.716 INFO kablam! Aug 29 21:43:17.716 INFO kablam! error[E0432]: unresolved import `winapi::FALSE` Aug 29 21:43:17.716 INFO kablam! --> src/macros.rs:215:22 Aug 29 21:43:17.716 INFO kablam! | Aug 29 21:43:17.716 INFO kablam! 215 | use winapi::{FALSE, ERROR_INVALID_HANDLE}; Aug 29 21:43:17.716 INFO kablam! | ^^^^^ no `FALSE` in the root Aug 29 21:43:17.716 INFO kablam! Aug 29 21:43:17.716 INFO kablam! error[E0432]: unresolved import `winapi::ERROR_INVALID_HANDLE` Aug 29 21:43:17.716 INFO kablam! --> src/macros.rs:215:29 Aug 29 21:43:17.716 INFO kablam! | Aug 29 21:43:17.717 INFO kablam! 215 | use winapi::{FALSE, ERROR_INVALID_HANDLE}; Aug 29 21:43:17.717 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ no `ERROR_INVALID_HANDLE` in the root Aug 29 21:43:17.717 INFO kablam! Aug 29 21:43:17.717 INFO kablam! error[E0432]: unresolved import `kernel32::CreateMutexA` Aug 29 21:43:17.717 INFO kablam! --> src/macros.rs:216:24 Aug 29 21:43:17.717 INFO kablam! | Aug 29 21:43:17.717 INFO kablam! 216 | use kernel32::{CreateMutexA, CreateEventA}; Aug 29 21:43:17.717 INFO kablam! | ^^^^^^^^^^^^ no `CreateMutexA` in the root Aug 29 21:43:17.717 INFO kablam! Aug 29 21:43:17.717 INFO kablam! error[E0432]: unresolved import `kernel32::CreateEventA` Aug 29 21:43:17.717 INFO kablam! --> src/macros.rs:216:38 Aug 29 21:43:17.717 INFO kablam! | Aug 29 21:43:17.717 INFO kablam! 216 | use kernel32::{CreateMutexA, CreateEventA}; Aug 29 21:43:17.717 INFO kablam! | ^^^^^^^^^^^^ no `CreateEventA` in the root Aug 29 21:43:17.717 INFO kablam! Aug 29 21:43:17.717 INFO kablam! error[E0432]: unresolved import `winapi::S_OK` Aug 29 21:43:17.717 INFO kablam! --> src/macros.rs:236:13 Aug 29 21:43:17.717 INFO kablam! | Aug 29 21:43:17.717 INFO kablam! 236 | use winapi::S_OK; Aug 29 21:43:17.717 INFO kablam! | ^^^^^^^^^^^^ no `S_OK` in the root Aug 29 21:43:17.717 INFO kablam! Aug 29 21:43:17.717 INFO kablam! error[E0432]: unresolved import `winapi::E_FAIL` Aug 29 21:43:17.717 INFO kablam! --> src/macros.rs:245:13 Aug 29 21:43:17.717 INFO kablam! | Aug 29 21:43:17.717 INFO kablam! 245 | use winapi::E_FAIL; Aug 29 21:43:17.717 INFO kablam! | ^^^^^^^^^^^^^^ no `E_FAIL` in the root Aug 29 21:43:17.717 INFO kablam! Aug 29 21:43:17.717 INFO kablam! error[E0433]: failed to resolve. Could not find `windows` in `os` Aug 29 21:43:17.718 INFO kablam! --> src/handle.rs:3:14 Aug 29 21:43:17.718 INFO kablam! | Aug 29 21:43:17.718 INFO kablam! 3 | use std::os::windows::prelude::*; Aug 29 21:43:17.718 INFO kablam! | ^^^^^^^ Could not find `windows` in `os` Aug 29 21:43:17.718 INFO kablam! Aug 29 21:43:17.718 INFO kablam! error[E0433]: failed to resolve. Could not find `windows` in `os` Aug 29 21:43:17.718 INFO kablam! --> src/wstring.rs:5:14 Aug 29 21:43:17.718 INFO kablam! | Aug 29 21:43:17.718 INFO kablam! 5 | use std::os::windows::prelude::*; Aug 29 21:43:17.718 INFO kablam! | ^^^^^^^ Could not find `windows` in `os` Aug 29 21:43:17.718 INFO kablam! Aug 29 21:43:17.782 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `OsStringExt` Aug 29 21:43:17.782 INFO kablam! --> src/wstring.rs:117:9 Aug 29 21:43:17.782 INFO kablam! | Aug 29 21:43:17.782 INFO kablam! 117 | OsStringExt::from_wide(slice.units()) Aug 29 21:43:17.782 INFO kablam! | ^^^^^^^^^^^ Use of undeclared type or module `OsStringExt` Aug 29 21:43:17.782 INFO kablam! Aug 29 21:43:17.783 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.784 INFO kablam! --> src/handle.rs:9:22 Aug 29 21:43:17.784 INFO kablam! | Aug 29 21:43:17.784 INFO kablam! 9 | pub struct WinHandle(HANDLE); Aug 29 21:43:17.784 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.784 INFO kablam! Aug 29 21:43:17.784 INFO kablam! error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope Aug 29 21:43:17.784 INFO kablam! --> src/handle.rs:18:43 Aug 29 21:43:17.784 INFO kablam! | Aug 29 21:43:17.784 INFO kablam! 18 | if !self.0.is_null() && self.0 != INVALID_HANDLE_VALUE { Aug 29 21:43:17.784 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.784 INFO kablam! Aug 29 21:43:17.785 INFO kablam! error[E0425]: cannot find function `CloseHandle` in this scope Aug 29 21:43:17.785 INFO kablam! --> src/handle.rs:19:22 Aug 29 21:43:17.785 INFO kablam! | Aug 29 21:43:17.785 INFO kablam! 19 | unsafe { CloseHandle(self.0); } Aug 29 21:43:17.785 INFO kablam! | ^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.785 INFO kablam! Aug 29 21:43:17.785 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.785 INFO kablam! --> src/handle.rs:24:28 Aug 29 21:43:17.785 INFO kablam! | Aug 29 21:43:17.785 INFO kablam! 24 | pub struct WinHandleTarget(HANDLE); Aug 29 21:43:17.785 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.785 INFO kablam! Aug 29 21:43:17.785 INFO kablam! error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope Aug 29 21:43:17.785 INFO kablam! --> src/handle.rs:28:43 Aug 29 21:43:17.785 INFO kablam! | Aug 29 21:43:17.785 INFO kablam! 28 | if !self.0.is_null() && self.0 != INVALID_HANDLE_VALUE { Aug 29 21:43:17.785 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.785 INFO kablam! Aug 29 21:43:17.785 INFO kablam! error[E0425]: cannot find function `CloseHandle` in this scope Aug 29 21:43:17.785 INFO kablam! --> src/handle.rs:29:22 Aug 29 21:43:17.785 INFO kablam! | Aug 29 21:43:17.785 INFO kablam! 29 | unsafe { CloseHandle(self.0); } Aug 29 21:43:17.785 INFO kablam! | ^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.785 INFO kablam! Aug 29 21:43:17.785 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.786 INFO kablam! --> src/handle.rs:36:46 Aug 29 21:43:17.786 INFO kablam! | Aug 29 21:43:17.786 INFO kablam! 36 | pub unsafe fn from_raw_unchecked(handle: HANDLE) -> WinHandle { Aug 29 21:43:17.786 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.786 INFO kablam! Aug 29 21:43:17.786 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.786 INFO kablam! --> src/handle.rs:44:29 Aug 29 21:43:17.786 INFO kablam! | Aug 29 21:43:17.786 INFO kablam! 44 | pub fn from_raw(handle: HANDLE) -> Option { Aug 29 21:43:17.786 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.786 INFO kablam! Aug 29 21:43:17.786 INFO kablam! error[E0425]: cannot find function `GetHandleInformation` in this scope Aug 29 21:43:17.786 INFO kablam! --> src/handle.rs:47:16 Aug 29 21:43:17.786 INFO kablam! | Aug 29 21:43:17.786 INFO kablam! 47 | if GetHandleInformation(handle, &mut _flags) == TRUE { Aug 29 21:43:17.786 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.786 INFO kablam! Aug 29 21:43:17.786 INFO kablam! error[E0425]: cannot find value `TRUE` in this scope Aug 29 21:43:17.786 INFO kablam! --> src/handle.rs:47:61 Aug 29 21:43:17.786 INFO kablam! | Aug 29 21:43:17.786 INFO kablam! 47 | if GetHandleInformation(handle, &mut _flags) == TRUE { Aug 29 21:43:17.786 INFO kablam! | ^^^^ not found in this scope Aug 29 21:43:17.786 INFO kablam! Aug 29 21:43:17.786 INFO kablam! error[E0405]: cannot find trait `AsRawHandle` in this scope Aug 29 21:43:17.787 INFO kablam! --> src/handle.rs:63:63 Aug 29 21:43:17.787 INFO kablam! | Aug 29 21:43:17.787 INFO kablam! 63 | pub fn cloned(t: &T) -> io::Result where T: AsRawHandle Aug 29 21:43:17.787 INFO kablam! | ^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.787 INFO kablam! Aug 29 21:43:17.787 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.787 INFO kablam! --> src/handle.rs:68:34 Aug 29 21:43:17.787 INFO kablam! | Aug 29 21:43:17.787 INFO kablam! 68 | pub fn cloned_raw(handle: HANDLE) -> io::Result Aug 29 21:43:17.787 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.787 INFO kablam! Aug 29 21:43:17.787 INFO kablam! error[E0405]: cannot find trait `AsRawHandle` in this scope Aug 29 21:43:17.787 INFO kablam! --> src/handle.rs:73:113 Aug 29 21:43:17.787 INFO kablam! | Aug 29 21:43:17.787 INFO kablam! 73 | pub fn cloned_ex(t: &T, inheritable: bool, access: ClonedHandleAccess) -> io::Result where T: AsRawHandle Aug 29 21:43:17.787 INFO kablam! | ^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.787 INFO kablam! Aug 29 21:43:17.787 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.787 INFO kablam! --> src/handle.rs:78:41 Aug 29 21:43:17.787 INFO kablam! | Aug 29 21:43:17.787 INFO kablam! 78 | pub unsafe fn cloned_raw_ex(handle: HANDLE, inheritable: bool, access: ClonedHandleAccess) -> io::Result { Aug 29 21:43:17.787 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.787 INFO kablam! Aug 29 21:43:17.787 INFO kablam! error[E0425]: cannot find value `DUPLICATE_SAME_ACCESS` in this scope Aug 29 21:43:17.787 INFO kablam! --> src/handle.rs:80:45 Aug 29 21:43:17.787 INFO kablam! | Aug 29 21:43:17.787 INFO kablam! 80 | ClonedHandleAccess::Same => (0, DUPLICATE_SAME_ACCESS), Aug 29 21:43:17.787 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.787 INFO kablam! Aug 29 21:43:17.788 INFO kablam! error[E0425]: cannot find function `DuplicateHandle` in this scope Aug 29 21:43:17.788 INFO kablam! --> src/handle.rs:85:32 Aug 29 21:43:17.788 INFO kablam! | Aug 29 21:43:17.788 INFO kablam! 85 | winapi_bool_call!(log: DuplicateHandle( Aug 29 21:43:17.788 INFO kablam! | ^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.788 INFO kablam! Aug 29 21:43:17.788 INFO kablam! error[E0425]: cannot find function `GetCurrentProcess` in this scope Aug 29 21:43:17.788 INFO kablam! --> src/handle.rs:86:13 Aug 29 21:43:17.788 INFO kablam! | Aug 29 21:43:17.788 INFO kablam! 86 | GetCurrentProcess(), handle, Aug 29 21:43:17.788 INFO kablam! | ^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.788 INFO kablam! Aug 29 21:43:17.788 INFO kablam! error[E0425]: cannot find function `GetCurrentProcess` in this scope Aug 29 21:43:17.788 INFO kablam! --> src/handle.rs:87:13 Aug 29 21:43:17.788 INFO kablam! | Aug 29 21:43:17.788 INFO kablam! 87 | GetCurrentProcess(), &mut *new_handle, Aug 29 21:43:17.788 INFO kablam! | ^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.788 INFO kablam! Aug 29 21:43:17.788 INFO kablam! error[E0425]: cannot find value `TRUE` in this scope Aug 29 21:43:17.788 INFO kablam! --> src/handle.rs:89:30 Aug 29 21:43:17.788 INFO kablam! | Aug 29 21:43:17.788 INFO kablam! 89 | if inheritable { TRUE } else { FALSE }, Aug 29 21:43:17.788 INFO kablam! | ^^^^ not found in this scope Aug 29 21:43:17.788 INFO kablam! Aug 29 21:43:17.788 INFO kablam! error[E0425]: cannot find value `FALSE` in this scope Aug 29 21:43:17.788 INFO kablam! --> src/handle.rs:89:44 Aug 29 21:43:17.788 INFO kablam! | Aug 29 21:43:17.788 INFO kablam! 89 | if inheritable { TRUE } else { FALSE }, Aug 29 21:43:17.788 INFO kablam! | ^^^^^ not found in this scope Aug 29 21:43:17.788 INFO kablam! Aug 29 21:43:17.789 INFO kablam! error[E0425]: cannot find value `DUPLICATE_SAME_ACCESS` in this scope Aug 29 21:43:17.789 INFO kablam! --> src/handle.rs:98:45 Aug 29 21:43:17.789 INFO kablam! | Aug 29 21:43:17.789 INFO kablam! 98 | ClonedHandleAccess::Same => (0, DUPLICATE_SAME_ACCESS), Aug 29 21:43:17.789 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.789 INFO kablam! Aug 29 21:43:17.789 INFO kablam! error[E0425]: cannot find value `DUPLICATE_CLOSE_SOURCE` in this scope Aug 29 21:43:17.789 INFO kablam! --> src/handle.rs:102:29 Aug 29 21:43:17.789 INFO kablam! | Aug 29 21:43:17.789 INFO kablam! 102 | let flags = flags | DUPLICATE_CLOSE_SOURCE; Aug 29 21:43:17.789 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.789 INFO kablam! Aug 29 21:43:17.789 INFO kablam! error[E0425]: cannot find function `DuplicateHandle` in this scope Aug 29 21:43:17.789 INFO kablam! --> src/handle.rs:107:36 Aug 29 21:43:17.789 INFO kablam! | Aug 29 21:43:17.789 INFO kablam! 107 | winapi_bool_call!(log: DuplicateHandle( Aug 29 21:43:17.789 INFO kablam! | ^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.789 INFO kablam! Aug 29 21:43:17.789 INFO kablam! error[E0425]: cannot find function `GetCurrentProcess` in this scope Aug 29 21:43:17.789 INFO kablam! --> src/handle.rs:108:17 Aug 29 21:43:17.789 INFO kablam! | Aug 29 21:43:17.789 INFO kablam! 108 | GetCurrentProcess(), old_handle, Aug 29 21:43:17.789 INFO kablam! | ^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.789 INFO kablam! Aug 29 21:43:17.789 INFO kablam! error[E0425]: cannot find function `GetCurrentProcess` in this scope Aug 29 21:43:17.789 INFO kablam! --> src/handle.rs:109:17 Aug 29 21:43:17.789 INFO kablam! | Aug 29 21:43:17.789 INFO kablam! 109 | GetCurrentProcess(), &mut *new_handle, Aug 29 21:43:17.789 INFO kablam! | ^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.790 INFO kablam! Aug 29 21:43:17.790 INFO kablam! error[E0425]: cannot find value `TRUE` in this scope Aug 29 21:43:17.790 INFO kablam! --> src/handle.rs:111:34 Aug 29 21:43:17.790 INFO kablam! | Aug 29 21:43:17.790 INFO kablam! 111 | if inheritable { TRUE } else { FALSE }, Aug 29 21:43:17.790 INFO kablam! | ^^^^ not found in this scope Aug 29 21:43:17.790 INFO kablam! Aug 29 21:43:17.790 INFO kablam! error[E0425]: cannot find value `FALSE` in this scope Aug 29 21:43:17.790 INFO kablam! --> src/handle.rs:111:48 Aug 29 21:43:17.790 INFO kablam! | Aug 29 21:43:17.790 INFO kablam! 111 | if inheritable { TRUE } else { FALSE }, Aug 29 21:43:17.790 INFO kablam! | ^^^^^ not found in this scope Aug 29 21:43:17.790 INFO kablam! Aug 29 21:43:17.790 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.790 INFO kablam! --> src/handle.rs:119:26 Aug 29 21:43:17.790 INFO kablam! | Aug 29 21:43:17.790 INFO kablam! 119 | pub fn get(&self) -> HANDLE { Aug 29 21:43:17.790 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.790 INFO kablam! Aug 29 21:43:17.790 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.790 INFO kablam! --> src/handle.rs:123:30 Aug 29 21:43:17.790 INFO kablam! | Aug 29 21:43:17.790 INFO kablam! 123 | pub fn into_raw(self) -> HANDLE { Aug 29 21:43:17.790 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.790 INFO kablam! Aug 29 21:43:17.791 INFO kablam! error[E0405]: cannot find trait `AsRawHandle` in this scope Aug 29 21:43:17.791 INFO kablam! --> src/handle.rs:130:6 Aug 29 21:43:17.791 INFO kablam! | Aug 29 21:43:17.791 INFO kablam! 130 | impl AsRawHandle for WinHandle { Aug 29 21:43:17.791 INFO kablam! | ^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.791 INFO kablam! Aug 29 21:43:17.791 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.791 INFO kablam! --> src/handle.rs:131:32 Aug 29 21:43:17.791 INFO kablam! | Aug 29 21:43:17.791 INFO kablam! 131 | fn as_raw_handle(&self) -> HANDLE { self.0 } Aug 29 21:43:17.791 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.791 INFO kablam! Aug 29 21:43:17.791 INFO kablam! error[E0405]: cannot find trait `IntoRawHandle` in this scope Aug 29 21:43:17.791 INFO kablam! --> src/handle.rs:134:40 Aug 29 21:43:17.791 INFO kablam! | Aug 29 21:43:17.791 INFO kablam! 134 | impl From for WinHandle where T: IntoRawHandle { Aug 29 21:43:17.791 INFO kablam! | ^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.791 INFO kablam! Aug 29 21:43:17.791 INFO kablam! error[E0412]: cannot find type `DWORD` in this scope Aug 29 21:43:17.791 INFO kablam! --> src/handle.rs:142:14 Aug 29 21:43:17.791 INFO kablam! | Aug 29 21:43:17.791 INFO kablam! 142 | Explicit(DWORD), Aug 29 21:43:17.792 INFO kablam! | ^^^^^ not found in this scope Aug 29 21:43:17.792 INFO kablam! Aug 29 21:43:17.792 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.792 INFO kablam! --> src/handle.rs:177:19 Aug 29 21:43:17.792 INFO kablam! | Aug 29 21:43:17.792 INFO kablam! 177 | type Target = HANDLE; Aug 29 21:43:17.792 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.792 INFO kablam! Aug 29 21:43:17.792 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.792 INFO kablam! --> src/handle.rs:179:25 Aug 29 21:43:17.792 INFO kablam! | Aug 29 21:43:17.792 INFO kablam! 179 | fn deref(&self) -> &HANDLE { Aug 29 21:43:17.792 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.792 INFO kablam! Aug 29 21:43:17.792 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.792 INFO kablam! --> src/handle.rs:185:37 Aug 29 21:43:17.792 INFO kablam! | Aug 29 21:43:17.792 INFO kablam! 185 | fn deref_mut(&mut self) -> &mut HANDLE { Aug 29 21:43:17.792 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.792 INFO kablam! Aug 29 21:43:17.792 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.792 INFO kablam! --> src/comptr.rs:7:27 Aug 29 21:43:17.792 INFO kablam! | Aug 29 21:43:17.793 INFO kablam! 7 | pub struct ComPtr(*mut IUnknown, PhantomData); Aug 29 21:43:17.793 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.793 INFO kablam! Aug 29 21:43:17.793 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.793 INFO kablam! --> src/comptr.rs:8:33 Aug 29 21:43:17.793 INFO kablam! | Aug 29 21:43:17.793 INFO kablam! 8 | pub struct ComPtrTarget(*mut IUnknown, PhantomData); Aug 29 21:43:17.793 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.793 INFO kablam! Aug 29 21:43:17.793 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.793 INFO kablam! --> src/comptr.rs:26:28 Aug 29 21:43:17.793 INFO kablam! | Aug 29 21:43:17.793 INFO kablam! 26 | ComPtr(raw as *mut IUnknown, PhantomData) Aug 29 21:43:17.793 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.793 INFO kablam! Aug 29 21:43:17.793 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.793 INFO kablam! --> src/comptr.rs:30:24 Aug 29 21:43:17.793 INFO kablam! | Aug 29 21:43:17.793 INFO kablam! 30 | (*(raw as *mut IUnknown)).AddRef(); Aug 29 21:43:17.793 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.793 INFO kablam! Aug 29 21:43:17.793 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.793 INFO kablam! --> src/comptr.rs:31:28 Aug 29 21:43:17.794 INFO kablam! | Aug 29 21:43:17.794 INFO kablam! 31 | ComPtr(raw as *mut IUnknown, PhantomData) Aug 29 21:43:17.794 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.794 INFO kablam! Aug 29 21:43:17.794 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.794 INFO kablam! --> src/comptr.rs:44:62 Aug 29 21:43:17.794 INFO kablam! | Aug 29 21:43:17.794 INFO kablam! 44 | pub unsafe fn as_unknown(&mut self) -> &mut ComPtrTarget { Aug 29 21:43:17.794 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.794 INFO kablam! Aug 29 21:43:17.794 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.794 INFO kablam! --> src/comptr.rs:45:66 Aug 29 21:43:17.794 INFO kablam! | Aug 29 21:43:17.794 INFO kablam! 45 | &mut *(self as *mut ComPtrTarget as *mut ComPtrTarget) Aug 29 21:43:17.794 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.794 INFO kablam! Aug 29 21:43:17.794 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.794 INFO kablam! --> src/comptr.rs:77:44 Aug 29 21:43:17.794 INFO kablam! | Aug 29 21:43:17.794 INFO kablam! 77 | unsafe { &*(&self.0 as *const *mut IUnknown as *const *mut T) } Aug 29 21:43:17.794 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.794 INFO kablam! Aug 29 21:43:17.794 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.795 INFO kablam! --> src/comptr.rs:83:50 Aug 29 21:43:17.795 INFO kablam! | Aug 29 21:43:17.795 INFO kablam! 83 | unsafe { &mut *(&mut self.0 as *mut *mut IUnknown as *mut *mut T) } Aug 29 21:43:17.795 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.795 INFO kablam! Aug 29 21:43:17.795 INFO kablam! error[E0425]: cannot find function `LocalFree` in this scope Aug 29 21:43:17.795 INFO kablam! --> src/mem.rs:10:18 Aug 29 21:43:17.795 INFO kablam! | Aug 29 21:43:17.795 INFO kablam! 10 | unsafe { LocalFree(self.0 as _); } Aug 29 21:43:17.795 INFO kablam! | ^^^^^^^^^ not found in this scope Aug 29 21:43:17.795 INFO kablam! Aug 29 21:43:17.795 INFO kablam! warning: unused import: `std::os::windows::prelude::*` Aug 29 21:43:17.795 INFO kablam! --> src/handle.rs:3:5 Aug 29 21:43:17.795 INFO kablam! | Aug 29 21:43:17.795 INFO kablam! 3 | use std::os::windows::prelude::*; Aug 29 21:43:17.795 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 21:43:17.795 INFO kablam! | Aug 29 21:43:17.795 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 21:43:17.795 INFO kablam! Aug 29 21:43:17.795 INFO kablam! warning: unused import: `winapi::*` Aug 29 21:43:17.795 INFO kablam! --> src/handle.rs:5:5 Aug 29 21:43:17.795 INFO kablam! | Aug 29 21:43:17.795 INFO kablam! 5 | use winapi::*; Aug 29 21:43:17.796 INFO kablam! | ^^^^^^^^^ Aug 29 21:43:17.796 INFO kablam! Aug 29 21:43:17.796 INFO kablam! warning: unused import: `kernel32::*` Aug 29 21:43:17.796 INFO kablam! --> src/handle.rs:6:5 Aug 29 21:43:17.796 INFO kablam! | Aug 29 21:43:17.796 INFO kablam! 6 | use kernel32::*; Aug 29 21:43:17.796 INFO kablam! | ^^^^^^^^^^^ Aug 29 21:43:17.796 INFO kablam! Aug 29 21:43:17.796 INFO kablam! warning: unused import: `winapi::*` Aug 29 21:43:17.796 INFO kablam! --> src/comptr.rs:5:5 Aug 29 21:43:17.796 INFO kablam! | Aug 29 21:43:17.796 INFO kablam! 5 | use winapi::*; Aug 29 21:43:17.796 INFO kablam! | ^^^^^^^^^ Aug 29 21:43:17.796 INFO kablam! Aug 29 21:43:17.796 INFO kablam! warning: unused import: `kernel32::*` Aug 29 21:43:17.796 INFO kablam! --> src/mem.rs:4:5 Aug 29 21:43:17.796 INFO kablam! | Aug 29 21:43:17.796 INFO kablam! 4 | use kernel32::*; Aug 29 21:43:17.796 INFO kablam! | ^^^^^^^^^^^ Aug 29 21:43:17.796 INFO kablam! Aug 29 21:43:17.796 INFO kablam! warning: unused import: `std::os::windows::prelude::*` Aug 29 21:43:17.796 INFO kablam! --> src/wstring.rs:5:5 Aug 29 21:43:17.796 INFO kablam! | Aug 29 21:43:17.797 INFO kablam! 5 | use std::os::windows::prelude::*; Aug 29 21:43:17.797 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 21:43:17.797 INFO kablam! Aug 29 21:43:17.798 INFO kablam! error: aborting due to 55 previous errors Aug 29 21:43:17.799 INFO kablam! Aug 29 21:43:17.799 INFO kablam! Some errors occurred: E0405, E0412, E0425, E0432, E0433. Aug 29 21:43:17.799 INFO kablam! For more information about an error, try `rustc --explain E0405`. Aug 29 21:43:17.805 INFO kablam! error: Could not compile `winhandle`. Aug 29 21:43:17.805 INFO kablam! warning: build failed, waiting for other jobs to finish... Aug 29 21:43:17.846 INFO kablam! error[E0433]: failed to resolve. Use of undeclared type or module `OsStringExt` Aug 29 21:43:17.846 INFO kablam! --> src/wstring.rs:117:9 Aug 29 21:43:17.846 INFO kablam! | Aug 29 21:43:17.846 INFO kablam! 117 | OsStringExt::from_wide(slice.units()) Aug 29 21:43:17.846 INFO kablam! | ^^^^^^^^^^^ Use of undeclared type or module `OsStringExt` Aug 29 21:43:17.846 INFO kablam! Aug 29 21:43:17.847 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.847 INFO kablam! --> src/handle.rs:9:22 Aug 29 21:43:17.847 INFO kablam! | Aug 29 21:43:17.847 INFO kablam! 9 | pub struct WinHandle(HANDLE); Aug 29 21:43:17.847 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.847 INFO kablam! Aug 29 21:43:17.847 INFO kablam! error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope Aug 29 21:43:17.847 INFO kablam! --> src/handle.rs:18:43 Aug 29 21:43:17.847 INFO kablam! | Aug 29 21:43:17.848 INFO kablam! 18 | if !self.0.is_null() && self.0 != INVALID_HANDLE_VALUE { Aug 29 21:43:17.848 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.848 INFO kablam! Aug 29 21:43:17.848 INFO kablam! error[E0425]: cannot find function `CloseHandle` in this scope Aug 29 21:43:17.848 INFO kablam! --> src/handle.rs:19:22 Aug 29 21:43:17.848 INFO kablam! | Aug 29 21:43:17.848 INFO kablam! 19 | unsafe { CloseHandle(self.0); } Aug 29 21:43:17.848 INFO kablam! | ^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.848 INFO kablam! Aug 29 21:43:17.848 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.848 INFO kablam! --> src/handle.rs:24:28 Aug 29 21:43:17.848 INFO kablam! | Aug 29 21:43:17.848 INFO kablam! 24 | pub struct WinHandleTarget(HANDLE); Aug 29 21:43:17.848 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.848 INFO kablam! Aug 29 21:43:17.848 INFO kablam! error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope Aug 29 21:43:17.848 INFO kablam! --> src/handle.rs:28:43 Aug 29 21:43:17.848 INFO kablam! | Aug 29 21:43:17.848 INFO kablam! 28 | if !self.0.is_null() && self.0 != INVALID_HANDLE_VALUE { Aug 29 21:43:17.848 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.849 INFO kablam! Aug 29 21:43:17.849 INFO kablam! error[E0425]: cannot find function `CloseHandle` in this scope Aug 29 21:43:17.849 INFO kablam! --> src/handle.rs:29:22 Aug 29 21:43:17.849 INFO kablam! | Aug 29 21:43:17.849 INFO kablam! 29 | unsafe { CloseHandle(self.0); } Aug 29 21:43:17.849 INFO kablam! | ^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.849 INFO kablam! Aug 29 21:43:17.849 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.849 INFO kablam! --> src/handle.rs:36:46 Aug 29 21:43:17.849 INFO kablam! | Aug 29 21:43:17.849 INFO kablam! 36 | pub unsafe fn from_raw_unchecked(handle: HANDLE) -> WinHandle { Aug 29 21:43:17.849 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.849 INFO kablam! Aug 29 21:43:17.849 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.849 INFO kablam! --> src/handle.rs:44:29 Aug 29 21:43:17.849 INFO kablam! | Aug 29 21:43:17.849 INFO kablam! 44 | pub fn from_raw(handle: HANDLE) -> Option { Aug 29 21:43:17.849 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.849 INFO kablam! Aug 29 21:43:17.850 INFO kablam! error[E0425]: cannot find function `GetHandleInformation` in this scope Aug 29 21:43:17.850 INFO kablam! --> src/handle.rs:47:16 Aug 29 21:43:17.850 INFO kablam! | Aug 29 21:43:17.850 INFO kablam! 47 | if GetHandleInformation(handle, &mut _flags) == TRUE { Aug 29 21:43:17.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.850 INFO kablam! Aug 29 21:43:17.850 INFO kablam! error[E0425]: cannot find value `TRUE` in this scope Aug 29 21:43:17.850 INFO kablam! --> src/handle.rs:47:61 Aug 29 21:43:17.850 INFO kablam! | Aug 29 21:43:17.850 INFO kablam! 47 | if GetHandleInformation(handle, &mut _flags) == TRUE { Aug 29 21:43:17.850 INFO kablam! | ^^^^ not found in this scope Aug 29 21:43:17.850 INFO kablam! Aug 29 21:43:17.850 INFO kablam! error[E0405]: cannot find trait `AsRawHandle` in this scope Aug 29 21:43:17.850 INFO kablam! --> src/handle.rs:63:63 Aug 29 21:43:17.850 INFO kablam! | Aug 29 21:43:17.850 INFO kablam! 63 | pub fn cloned(t: &T) -> io::Result where T: AsRawHandle Aug 29 21:43:17.850 INFO kablam! | ^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.850 INFO kablam! Aug 29 21:43:17.851 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.851 INFO kablam! --> src/handle.rs:68:34 Aug 29 21:43:17.851 INFO kablam! | Aug 29 21:43:17.851 INFO kablam! 68 | pub fn cloned_raw(handle: HANDLE) -> io::Result Aug 29 21:43:17.851 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.851 INFO kablam! Aug 29 21:43:17.851 INFO kablam! error[E0405]: cannot find trait `AsRawHandle` in this scope Aug 29 21:43:17.851 INFO kablam! --> src/handle.rs:73:113 Aug 29 21:43:17.851 INFO kablam! | Aug 29 21:43:17.851 INFO kablam! 73 | pub fn cloned_ex(t: &T, inheritable: bool, access: ClonedHandleAccess) -> io::Result where T: AsRawHandle Aug 29 21:43:17.851 INFO kablam! | ^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.851 INFO kablam! Aug 29 21:43:17.851 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.851 INFO kablam! --> src/handle.rs:78:41 Aug 29 21:43:17.851 INFO kablam! | Aug 29 21:43:17.851 INFO kablam! 78 | pub unsafe fn cloned_raw_ex(handle: HANDLE, inheritable: bool, access: ClonedHandleAccess) -> io::Result { Aug 29 21:43:17.851 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.851 INFO kablam! Aug 29 21:43:17.851 INFO kablam! error[E0425]: cannot find value `DUPLICATE_SAME_ACCESS` in this scope Aug 29 21:43:17.852 INFO kablam! --> src/handle.rs:80:45 Aug 29 21:43:17.852 INFO kablam! | Aug 29 21:43:17.852 INFO kablam! 80 | ClonedHandleAccess::Same => (0, DUPLICATE_SAME_ACCESS), Aug 29 21:43:17.852 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.852 INFO kablam! Aug 29 21:43:17.852 INFO kablam! error[E0425]: cannot find function `DuplicateHandle` in this scope Aug 29 21:43:17.852 INFO kablam! --> src/handle.rs:85:32 Aug 29 21:43:17.852 INFO kablam! | Aug 29 21:43:17.852 INFO kablam! 85 | winapi_bool_call!(log: DuplicateHandle( Aug 29 21:43:17.852 INFO kablam! | ^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.852 INFO kablam! Aug 29 21:43:17.852 INFO kablam! error[E0425]: cannot find function `GetCurrentProcess` in this scope Aug 29 21:43:17.852 INFO kablam! --> src/handle.rs:86:13 Aug 29 21:43:17.852 INFO kablam! | Aug 29 21:43:17.852 INFO kablam! 86 | GetCurrentProcess(), handle, Aug 29 21:43:17.852 INFO kablam! | ^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.852 INFO kablam! Aug 29 21:43:17.852 INFO kablam! error[E0425]: cannot find function `GetCurrentProcess` in this scope Aug 29 21:43:17.852 INFO kablam! --> src/handle.rs:87:13 Aug 29 21:43:17.852 INFO kablam! | Aug 29 21:43:17.852 INFO kablam! 87 | GetCurrentProcess(), &mut *new_handle, Aug 29 21:43:17.853 INFO kablam! | ^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.853 INFO kablam! Aug 29 21:43:17.853 INFO kablam! error[E0425]: cannot find value `TRUE` in this scope Aug 29 21:43:17.853 INFO kablam! --> src/handle.rs:89:30 Aug 29 21:43:17.853 INFO kablam! | Aug 29 21:43:17.853 INFO kablam! 89 | if inheritable { TRUE } else { FALSE }, Aug 29 21:43:17.853 INFO kablam! | ^^^^ not found in this scope Aug 29 21:43:17.853 INFO kablam! Aug 29 21:43:17.853 INFO kablam! error[E0425]: cannot find value `FALSE` in this scope Aug 29 21:43:17.853 INFO kablam! --> src/handle.rs:89:44 Aug 29 21:43:17.853 INFO kablam! | Aug 29 21:43:17.853 INFO kablam! 89 | if inheritable { TRUE } else { FALSE }, Aug 29 21:43:17.853 INFO kablam! | ^^^^^ not found in this scope Aug 29 21:43:17.853 INFO kablam! Aug 29 21:43:17.853 INFO kablam! error[E0425]: cannot find value `DUPLICATE_SAME_ACCESS` in this scope Aug 29 21:43:17.853 INFO kablam! --> src/handle.rs:98:45 Aug 29 21:43:17.853 INFO kablam! | Aug 29 21:43:17.853 INFO kablam! 98 | ClonedHandleAccess::Same => (0, DUPLICATE_SAME_ACCESS), Aug 29 21:43:17.853 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.853 INFO kablam! Aug 29 21:43:17.853 INFO kablam! error[E0425]: cannot find value `DUPLICATE_CLOSE_SOURCE` in this scope Aug 29 21:43:17.853 INFO kablam! --> src/handle.rs:102:29 Aug 29 21:43:17.853 INFO kablam! | Aug 29 21:43:17.853 INFO kablam! 102 | let flags = flags | DUPLICATE_CLOSE_SOURCE; Aug 29 21:43:17.854 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.854 INFO kablam! Aug 29 21:43:17.854 INFO kablam! error[E0425]: cannot find function `DuplicateHandle` in this scope Aug 29 21:43:17.854 INFO kablam! --> src/handle.rs:107:36 Aug 29 21:43:17.854 INFO kablam! | Aug 29 21:43:17.854 INFO kablam! 107 | winapi_bool_call!(log: DuplicateHandle( Aug 29 21:43:17.854 INFO kablam! | ^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.854 INFO kablam! Aug 29 21:43:17.854 INFO kablam! error[E0425]: cannot find function `GetCurrentProcess` in this scope Aug 29 21:43:17.854 INFO kablam! --> src/handle.rs:108:17 Aug 29 21:43:17.854 INFO kablam! | Aug 29 21:43:17.854 INFO kablam! 108 | GetCurrentProcess(), old_handle, Aug 29 21:43:17.854 INFO kablam! | ^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.854 INFO kablam! Aug 29 21:43:17.854 INFO kablam! error[E0425]: cannot find function `GetCurrentProcess` in this scope Aug 29 21:43:17.854 INFO kablam! --> src/handle.rs:109:17 Aug 29 21:43:17.854 INFO kablam! | Aug 29 21:43:17.854 INFO kablam! 109 | GetCurrentProcess(), &mut *new_handle, Aug 29 21:43:17.855 INFO kablam! | ^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.855 INFO kablam! Aug 29 21:43:17.855 INFO kablam! error[E0425]: cannot find value `TRUE` in this scope Aug 29 21:43:17.855 INFO kablam! --> src/handle.rs:111:34 Aug 29 21:43:17.855 INFO kablam! | Aug 29 21:43:17.855 INFO kablam! 111 | if inheritable { TRUE } else { FALSE }, Aug 29 21:43:17.855 INFO kablam! | ^^^^ not found in this scope Aug 29 21:43:17.855 INFO kablam! Aug 29 21:43:17.855 INFO kablam! error[E0425]: cannot find value `FALSE` in this scope Aug 29 21:43:17.855 INFO kablam! --> src/handle.rs:111:48 Aug 29 21:43:17.855 INFO kablam! | Aug 29 21:43:17.855 INFO kablam! 111 | if inheritable { TRUE } else { FALSE }, Aug 29 21:43:17.855 INFO kablam! | ^^^^^ not found in this scope Aug 29 21:43:17.855 INFO kablam! Aug 29 21:43:17.855 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.855 INFO kablam! --> src/handle.rs:119:26 Aug 29 21:43:17.855 INFO kablam! | Aug 29 21:43:17.855 INFO kablam! 119 | pub fn get(&self) -> HANDLE { Aug 29 21:43:17.855 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.856 INFO kablam! Aug 29 21:43:17.856 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.856 INFO kablam! --> src/handle.rs:123:30 Aug 29 21:43:17.856 INFO kablam! | Aug 29 21:43:17.856 INFO kablam! 123 | pub fn into_raw(self) -> HANDLE { Aug 29 21:43:17.856 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.856 INFO kablam! Aug 29 21:43:17.856 INFO kablam! error[E0405]: cannot find trait `AsRawHandle` in this scope Aug 29 21:43:17.856 INFO kablam! --> src/handle.rs:130:6 Aug 29 21:43:17.856 INFO kablam! | Aug 29 21:43:17.856 INFO kablam! 130 | impl AsRawHandle for WinHandle { Aug 29 21:43:17.856 INFO kablam! | ^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.856 INFO kablam! Aug 29 21:43:17.856 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.856 INFO kablam! --> src/handle.rs:131:32 Aug 29 21:43:17.856 INFO kablam! | Aug 29 21:43:17.856 INFO kablam! 131 | fn as_raw_handle(&self) -> HANDLE { self.0 } Aug 29 21:43:17.856 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.856 INFO kablam! Aug 29 21:43:17.857 INFO kablam! error[E0405]: cannot find trait `IntoRawHandle` in this scope Aug 29 21:43:17.857 INFO kablam! --> src/handle.rs:134:40 Aug 29 21:43:17.857 INFO kablam! | Aug 29 21:43:17.857 INFO kablam! 134 | impl From for WinHandle where T: IntoRawHandle { Aug 29 21:43:17.857 INFO kablam! | ^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.857 INFO kablam! Aug 29 21:43:17.857 INFO kablam! error[E0412]: cannot find type `DWORD` in this scope Aug 29 21:43:17.857 INFO kablam! --> src/handle.rs:142:14 Aug 29 21:43:17.857 INFO kablam! | Aug 29 21:43:17.857 INFO kablam! 142 | Explicit(DWORD), Aug 29 21:43:17.857 INFO kablam! | ^^^^^ not found in this scope Aug 29 21:43:17.857 INFO kablam! Aug 29 21:43:17.857 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.857 INFO kablam! --> src/handle.rs:177:19 Aug 29 21:43:17.857 INFO kablam! | Aug 29 21:43:17.857 INFO kablam! 177 | type Target = HANDLE; Aug 29 21:43:17.857 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.857 INFO kablam! Aug 29 21:43:17.858 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.858 INFO kablam! --> src/handle.rs:179:25 Aug 29 21:43:17.858 INFO kablam! | Aug 29 21:43:17.858 INFO kablam! 179 | fn deref(&self) -> &HANDLE { Aug 29 21:43:17.858 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.858 INFO kablam! Aug 29 21:43:17.858 INFO kablam! error[E0412]: cannot find type `HANDLE` in this scope Aug 29 21:43:17.858 INFO kablam! --> src/handle.rs:185:37 Aug 29 21:43:17.858 INFO kablam! | Aug 29 21:43:17.858 INFO kablam! 185 | fn deref_mut(&mut self) -> &mut HANDLE { Aug 29 21:43:17.858 INFO kablam! | ^^^^^^ not found in this scope Aug 29 21:43:17.858 INFO kablam! Aug 29 21:43:17.858 INFO kablam! error[E0425]: cannot find function `GetCurrentProcess` in this scope Aug 29 21:43:17.858 INFO kablam! --> src/handle.rs:197:46 Aug 29 21:43:17.858 INFO kablam! | Aug 29 21:43:17.858 INFO kablam! 197 | let handle = WinHandle::from_raw(GetCurrentProcess()).unwrap(); Aug 29 21:43:17.858 INFO kablam! | ^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.858 INFO kablam! Aug 29 21:43:17.858 INFO kablam! error[E0425]: cannot find function `GetCurrentProcess` in this scope Aug 29 21:43:17.858 INFO kablam! --> src/handle.rs:198:24 Aug 29 21:43:17.859 INFO kablam! | Aug 29 21:43:17.859 INFO kablam! 198 | assert_eq!(GetCurrentProcess(), handle.get()); Aug 29 21:43:17.859 INFO kablam! | ^^^^^^^^^^^^^^^^^ not found in this scope Aug 29 21:43:17.859 INFO kablam! Aug 29 21:43:17.859 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.859 INFO kablam! --> src/comptr.rs:7:27 Aug 29 21:43:17.859 INFO kablam! | Aug 29 21:43:17.859 INFO kablam! 7 | pub struct ComPtr(*mut IUnknown, PhantomData); Aug 29 21:43:17.859 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.859 INFO kablam! Aug 29 21:43:17.860 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.860 INFO kablam! --> src/comptr.rs:8:33 Aug 29 21:43:17.860 INFO kablam! | Aug 29 21:43:17.860 INFO kablam! 8 | pub struct ComPtrTarget(*mut IUnknown, PhantomData); Aug 29 21:43:17.860 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.860 INFO kablam! Aug 29 21:43:17.860 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.860 INFO kablam! --> src/comptr.rs:26:28 Aug 29 21:43:17.860 INFO kablam! | Aug 29 21:43:17.860 INFO kablam! 26 | ComPtr(raw as *mut IUnknown, PhantomData) Aug 29 21:43:17.860 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.860 INFO kablam! Aug 29 21:43:17.860 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.860 INFO kablam! --> src/comptr.rs:30:24 Aug 29 21:43:17.860 INFO kablam! | Aug 29 21:43:17.860 INFO kablam! 30 | (*(raw as *mut IUnknown)).AddRef(); Aug 29 21:43:17.860 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.860 INFO kablam! Aug 29 21:43:17.860 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.861 INFO kablam! --> src/comptr.rs:31:28 Aug 29 21:43:17.861 INFO kablam! | Aug 29 21:43:17.861 INFO kablam! 31 | ComPtr(raw as *mut IUnknown, PhantomData) Aug 29 21:43:17.861 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.861 INFO kablam! Aug 29 21:43:17.861 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.861 INFO kablam! --> src/comptr.rs:44:62 Aug 29 21:43:17.861 INFO kablam! | Aug 29 21:43:17.861 INFO kablam! 44 | pub unsafe fn as_unknown(&mut self) -> &mut ComPtrTarget { Aug 29 21:43:17.861 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.861 INFO kablam! Aug 29 21:43:17.861 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.861 INFO kablam! --> src/comptr.rs:45:66 Aug 29 21:43:17.861 INFO kablam! | Aug 29 21:43:17.861 INFO kablam! 45 | &mut *(self as *mut ComPtrTarget as *mut ComPtrTarget) Aug 29 21:43:17.861 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.861 INFO kablam! Aug 29 21:43:17.861 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.861 INFO kablam! --> src/comptr.rs:77:44 Aug 29 21:43:17.861 INFO kablam! | Aug 29 21:43:17.861 INFO kablam! 77 | unsafe { &*(&self.0 as *const *mut IUnknown as *const *mut T) } Aug 29 21:43:17.862 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.862 INFO kablam! Aug 29 21:43:17.862 INFO kablam! error[E0412]: cannot find type `IUnknown` in this scope Aug 29 21:43:17.862 INFO kablam! --> src/comptr.rs:83:50 Aug 29 21:43:17.862 INFO kablam! | Aug 29 21:43:17.862 INFO kablam! 83 | unsafe { &mut *(&mut self.0 as *mut *mut IUnknown as *mut *mut T) } Aug 29 21:43:17.862 INFO kablam! | ^^^^^^^^ not found in this scope Aug 29 21:43:17.862 INFO kablam! Aug 29 21:43:17.862 INFO kablam! error[E0425]: cannot find function `LocalFree` in this scope Aug 29 21:43:17.862 INFO kablam! --> src/mem.rs:10:18 Aug 29 21:43:17.862 INFO kablam! | Aug 29 21:43:17.862 INFO kablam! 10 | unsafe { LocalFree(self.0 as _); } Aug 29 21:43:17.862 INFO kablam! | ^^^^^^^^^ not found in this scope Aug 29 21:43:17.862 INFO kablam! Aug 29 21:43:17.862 INFO kablam! warning: unused import: `std::os::windows::prelude::*` Aug 29 21:43:17.862 INFO kablam! --> src/handle.rs:3:5 Aug 29 21:43:17.862 INFO kablam! | Aug 29 21:43:17.862 INFO kablam! 3 | use std::os::windows::prelude::*; Aug 29 21:43:17.862 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 21:43:17.863 INFO kablam! | Aug 29 21:43:17.863 INFO kablam! = note: #[warn(unused_imports)] on by default Aug 29 21:43:17.863 INFO kablam! Aug 29 21:43:17.863 INFO kablam! warning: unused import: `winapi::*` Aug 29 21:43:17.863 INFO kablam! --> src/handle.rs:5:5 Aug 29 21:43:17.863 INFO kablam! | Aug 29 21:43:17.863 INFO kablam! 5 | use winapi::*; Aug 29 21:43:17.863 INFO kablam! | ^^^^^^^^^ Aug 29 21:43:17.863 INFO kablam! Aug 29 21:43:17.863 INFO kablam! warning: unused import: `kernel32::*` Aug 29 21:43:17.863 INFO kablam! --> src/handle.rs:6:5 Aug 29 21:43:17.863 INFO kablam! | Aug 29 21:43:17.863 INFO kablam! 6 | use kernel32::*; Aug 29 21:43:17.863 INFO kablam! | ^^^^^^^^^^^ Aug 29 21:43:17.863 INFO kablam! Aug 29 21:43:17.863 INFO kablam! warning: unused import: `winapi::*` Aug 29 21:43:17.863 INFO kablam! --> src/comptr.rs:5:5 Aug 29 21:43:17.863 INFO kablam! | Aug 29 21:43:17.863 INFO kablam! 5 | use winapi::*; Aug 29 21:43:17.863 INFO kablam! | ^^^^^^^^^ Aug 29 21:43:17.863 INFO kablam! Aug 29 21:43:17.863 INFO kablam! warning: unused import: `kernel32::*` Aug 29 21:43:17.864 INFO kablam! --> src/mem.rs:4:5 Aug 29 21:43:17.864 INFO kablam! | Aug 29 21:43:17.864 INFO kablam! 4 | use kernel32::*; Aug 29 21:43:17.864 INFO kablam! | ^^^^^^^^^^^ Aug 29 21:43:17.864 INFO kablam! Aug 29 21:43:17.864 INFO kablam! warning: unused import: `std::os::windows::prelude::*` Aug 29 21:43:17.864 INFO kablam! --> src/wstring.rs:5:5 Aug 29 21:43:17.864 INFO kablam! | Aug 29 21:43:17.864 INFO kablam! 5 | use std::os::windows::prelude::*; Aug 29 21:43:17.864 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Aug 29 21:43:17.864 INFO kablam! Aug 29 21:43:17.871 INFO kablam! error: aborting due to 67 previous errors Aug 29 21:43:17.871 INFO kablam! Aug 29 21:43:17.871 INFO kablam! Some errors occurred: E0405, E0412, E0425, E0432, E0433. Aug 29 21:43:17.871 INFO kablam! For more information about an error, try `rustc --explain E0405`. Aug 29 21:43:17.878 INFO kablam! error: Could not compile `winhandle`. Aug 29 21:43:17.878 INFO kablam! Aug 29 21:43:17.878 INFO kablam! To learn more, run the command again with --verbose. Aug 29 21:43:17.879 INFO kablam! su: No module specific data is present Aug 29 21:43:18.306 INFO running `"docker" "rm" "-f" "c921dd16ae636e926e636a27ab73b7fd9733b9da98762d8676ef6652254f5f54"` Aug 29 21:43:18.387 INFO blam! c921dd16ae636e926e636a27ab73b7fd9733b9da98762d8676ef6652254f5f54