[INFO] updating cached repository FXTi/afd_poll [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/FXTi/afd_poll [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/FXTi/afd_poll" "work/ex/beta-1.38-1/sources/1.37.0/gh/FXTi/afd_poll"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/FXTi/afd_poll'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/FXTi/afd_poll" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/FXTi/afd_poll"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/FXTi/afd_poll'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 94f7dff30f2fe14f7e2b0199f3906eb480d99cc7 [INFO] sha for GitHub repo FXTi/afd_poll: 94f7dff30f2fe14f7e2b0199f3906eb480d99cc7 [INFO] validating manifest of FXTi/afd_poll on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of FXTi/afd_poll on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing FXTi/afd_poll [INFO] finished frobbing FXTi/afd_poll [INFO] frobbed toml for FXTi/afd_poll written to work/ex/beta-1.38-1/sources/1.37.0/gh/FXTi/afd_poll/Cargo.toml [INFO] started frobbing FXTi/afd_poll [INFO] finished frobbing FXTi/afd_poll [INFO] frobbed toml for FXTi/afd_poll written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/FXTi/afd_poll/Cargo.toml [INFO] crate FXTi/afd_poll already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing FXTi/afd_poll against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/FXTi/afd_poll:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 2585a5464f1bc965ff81ea13be480fe21c471597f32d68a748efa56691033910 [INFO] running `"docker" "start" "-a" "2585a5464f1bc965ff81ea13be480fe21c471597f32d68a748efa56691033910"` [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling ntapi v0.3.1 [INFO] [stderr] Compiling widestring v0.4.0 [INFO] [stderr] Compiling iocp-wrapper v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved import `ntapi::ntioapi` [INFO] [stderr] --> src/main.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | use ntapi::ntioapi::{ [INFO] [stderr] | ^^^^^^^ could not find `ntioapi` in `ntapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/main.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::minwindef::{DWORD, LPVOID, MAKEWORD, ULONG, USHORT}; [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/main.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::shared::ntdef::{NTSTATUS, NULL, PHANDLE, PUNICODE_STRING, PVOID, PWCH}; [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/main.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::shared::ntstatus::{STATUS_PENDING, STATUS_SUCCESS}; [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/main.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::shared::winerror::WSAEINPROGRESS; [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/main.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::shared::ws2def::{AF_INET, IPPROTO_TCP, SOCK_STREAM}; [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/main.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [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/main.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | use winapi::um::ioapiset::CreateIoCompletionPort; [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/main.rs:18:13 [INFO] [stderr] | [INFO] [stderr] 18 | use winapi::um::minwinbase::OVERLAPPED; [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/main.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | use winapi::um::winbase::SetFileCompletionNotificationModes; [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/main.rs:20:13 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::um::winbase::FILE_SKIP_SET_EVENT_ON_HANDLE; [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/main.rs:21:13 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::um::winnt::{FILE_SHARE_READ, FILE_SHARE_WRITE, HANDLE, LARGE_INTEGER, SYNCHRONIZE}; [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/main.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::um::winsock2::{ [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ntapi::ntrtl` [INFO] [stderr] --> src/main.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | use ntapi::ntrtl::RtlNtStatusToDosError; [INFO] [stderr] | ^^^^^ could not find `ntrtl` in `ntapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `WSADATA` [INFO] [stderr] --> src/main.rs:199:24 [INFO] [stderr] | [INFO] [stderr] 199 | let mut wsa_data = WSADATA::default(); [INFO] [stderr] | ^^^^^^^ use of undeclared type or module `WSADATA` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `LARGE_INTEGER` [INFO] [stderr] --> src/main.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 233 | Timeout: LARGE_INTEGER::default(), [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type or module `LARGE_INTEGER` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `OVERLAPPED` [INFO] [stderr] --> src/main.rs:242:26 [INFO] [stderr] | [INFO] [stderr] 242 | let mut overlapped = OVERLAPPED::default(); [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `OVERLAPPED` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/main.rs:29:13 [INFO] [stderr] | [INFO] [stderr] 29 | Handle: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:30:13 [INFO] [stderr] | [INFO] [stderr] 30 | Events: ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stderr] --> src/main.rs:31:13 [INFO] [stderr] | [INFO] [stderr] 31 | Status: NTSTATUS, [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stderr] --> src/main.rs:37:14 [INFO] [stderr] | [INFO] [stderr] 37 | Timeout: LARGE_INTEGER, [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:38:22 [INFO] [stderr] | [INFO] [stderr] 38 | NumberOfHandles: ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:39:16 [INFO] [stderr] | [INFO] [stderr] 39 | Exclusive: ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:43:23 [INFO] [stderr] | [INFO] [stderr] 43 | const IOCTL_AFD_POLL: ULONG = 0x00012024; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/main.rs:46:24 [INFO] [stderr] | [INFO] [stderr] 46 | afd_helper_handle: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stderr] --> src/main.rs:48:22 [INFO] [stderr] | [INFO] [stderr] 48 | overlapped: &mut OVERLAPPED, [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `STATUS_PENDING` in this scope [INFO] [stderr] --> src/main.rs:53:29 [INFO] [stderr] | [INFO] [stderr] 53 | (*piosb).u.Status = STATUS_PENDING; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/main.rs:59:43 [INFO] [stderr] | [INFO] [stderr] 59 | &mut *overlapped as *mut _ as PVOID, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/main.rs:62:42 [INFO] [stderr] | [INFO] [stderr] 62 | &mut *poll_info as *mut _ as PVOID, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/main.rs:64:42 [INFO] [stderr] | [INFO] [stderr] 64 | &mut *poll_info as *mut _ as PVOID, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `WSAEINPROGRESS` in this scope [INFO] [stderr] --> src/main.rs:71:27 [INFO] [stderr] | [INFO] [stderr] 71 | STATUS_PENDING => WSAEINPROGRESS, [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/main.rs:76:24 [INFO] [stderr] | [INFO] [stderr] 76 | const SIO_BASE_HANDLE: DWORD = 0x48000022; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stderr] --> src/main.rs:78:32 [INFO] [stderr] | [INFO] [stderr] 78 | fn ws_get_base_socket(socket: &SOCKET) -> SOCKET { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stderr] --> src/main.rs:78:43 [INFO] [stderr] | [INFO] [stderr] 78 | fn ws_get_base_socket(socket: &SOCKET) -> SOCKET { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stderr] --> src/main.rs:79:26 [INFO] [stderr] | [INFO] [stderr] 79 | let mut base_socket: SOCKET = 0; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/main.rs:80:20 [INFO] [stderr] | [INFO] [stderr] 80 | let mut bytes: DWORD = 0; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SOCKET_ERROR` in this scope [INFO] [stderr] --> src/main.rs:83:12 [INFO] [stderr] | [INFO] [stderr] 83 | if SOCKET_ERROR [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `WSAIoctl` in this scope [INFO] [stderr] --> src/main.rs:84:16 [INFO] [stderr] | [INFO] [stderr] 84 | == WSAIoctl( [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope [INFO] [stderr] --> src/main.rs:87:17 [INFO] [stderr] | [INFO] [stderr] 87 | NULL, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/main.rs:89:47 [INFO] [stderr] | [INFO] [stderr] 89 | &mut base_socket as *mut _ as LPVOID, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stderr] --> src/main.rs:90:27 [INFO] [stderr] | [INFO] [stderr] 90 | size_of::() as DWORD, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stderr] --> src/main.rs:90:40 [INFO] [stderr] | [INFO] [stderr] 90 | size_of::() as DWORD, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope [INFO] [stderr] --> src/main.rs:92:17 [INFO] [stderr] | [INFO] [stderr] 92 | NULL as _, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `INVALID_SOCKET` in this scope [INFO] [stderr] --> src/main.rs:96:20 [INFO] [stderr] | [INFO] [stderr] 96 | return INVALID_SOCKET; [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `USHORT` in this scope [INFO] [stderr] --> src/main.rs:106:13 [INFO] [stderr] | [INFO] [stderr] 106 | Length: USHORT, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `USHORT` in this scope [INFO] [stderr] --> src/main.rs:107:20 [INFO] [stderr] | [INFO] [stderr] 107 | MaximumLength: USHORT, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PWCH` in this scope [INFO] [stderr] --> src/main.rs:108:13 [INFO] [stderr] | [INFO] [stderr] 108 | Buffer: PWCH, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:117:13 [INFO] [stderr] | [INFO] [stderr] 117 | Length: ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/main.rs:118:20 [INFO] [stderr] | [INFO] [stderr] 118 | RootDirectory: HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stderr] --> src/main.rs:119:17 [INFO] [stderr] | [INFO] [stderr] 119 | ObjectName: PUNICODE_STRING, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `UNICODE_STRING` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:120:17 [INFO] [stderr] | [INFO] [stderr] 120 | Attributes: ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/main.rs:121:25 [INFO] [stderr] | [INFO] [stderr] 121 | SecurityDescriptor: PVOID, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stderr] --> src/main.rs:122:31 [INFO] [stderr] | [INFO] [stderr] 122 | SecurityQualityOfService: PVOID, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `USHORT` in this scope [INFO] [stderr] --> src/main.rs:132:72 [INFO] [stderr] | [INFO] [stderr] 132 | Length: (size_of::() - size_of::()) as USHORT, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `USHORT` in this scope [INFO] [stderr] --> src/main.rs:133:58 [INFO] [stderr] | [INFO] [stderr] 133 | MaximumLength: size_of::() as USHORT, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:137:51 [INFO] [stderr] | [INFO] [stderr] 137 | Length: size_of::() as ULONG, [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope [INFO] [stderr] --> src/main.rs:138:24 [INFO] [stderr] | [INFO] [stderr] 138 | RootDirectory: NULL, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope [INFO] [stderr] --> src/main.rs:141:29 [INFO] [stderr] | [INFO] [stderr] 141 | SecurityDescriptor: NULL, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope [INFO] [stderr] --> src/main.rs:142:35 [INFO] [stderr] | [INFO] [stderr] 142 | SecurityQualityOfService: NULL, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/main.rs:147:40 [INFO] [stderr] | [INFO] [stderr] 147 | fn afd_create_helper_handle(iocp: &mut HANDLE, afd_helper_handle_out: &mut HANDLE) -> i32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/main.rs:147:76 [INFO] [stderr] | [INFO] [stderr] 147 | fn afd_create_helper_handle(iocp: &mut HANDLE, afd_helper_handle_out: &mut HANDLE) -> i32 { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/main.rs:148:32 [INFO] [stderr] | [INFO] [stderr] 148 | let mut afd_helper_handle: HANDLE = NULL; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope [INFO] [stderr] --> src/main.rs:148:41 [INFO] [stderr] | [INFO] [stderr] 148 | let mut afd_helper_handle: HANDLE = NULL; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PHANDLE` in this scope [INFO] [stderr] --> src/main.rs:156:39 [INFO] [stderr] | [INFO] [stderr] 156 | &mut afd_helper_handle as PHANDLE, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SYNCHRONIZE` in this scope [INFO] [stderr] --> src/main.rs:157:13 [INFO] [stderr] | [INFO] [stderr] 157 | SYNCHRONIZE, [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope [INFO] [stderr] --> src/main.rs:160:13 [INFO] [stderr] | [INFO] [stderr] 160 | NULL as _, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stderr] --> src/main.rs:162:13 [INFO] [stderr] | [INFO] [stderr] 162 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stderr] --> src/main.rs:162:31 [INFO] [stderr] | [INFO] [stderr] 162 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope [INFO] [stderr] --> src/main.rs:165:13 [INFO] [stderr] | [INFO] [stderr] 165 | NULL, [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `STATUS_SUCCESS` in this scope [INFO] [stderr] --> src/main.rs:170:18 [INFO] [stderr] | [INFO] [stderr] 170 | if status == STATUS_SUCCESS { [INFO] [stderr] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope [INFO] [stderr] --> src/main.rs:175:13 [INFO] [stderr] | [INFO] [stderr] 175 | if (NULL == CreateIoCompletionPort(afd_helper_handle, *iocp, 0, 0)) [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateIoCompletionPort` in this scope [INFO] [stderr] --> src/main.rs:175:21 [INFO] [stderr] | [INFO] [stderr] 175 | if (NULL == CreateIoCompletionPort(afd_helper_handle, *iocp, 0, 0)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `SetFileCompletionNotificationModes` in this scope [INFO] [stderr] --> src/main.rs:177:20 [INFO] [stderr] | [INFO] [stderr] 177 | == SetFileCompletionNotificationModes( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_SKIP_SET_EVENT_ON_HANDLE` in this scope [INFO] [stderr] --> src/main.rs:179:21 [INFO] [stderr] | [INFO] [stderr] 179 | FILE_SKIP_SET_EVENT_ON_HANDLE, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CloseHandle` in this scope [INFO] [stderr] --> src/main.rs:182:13 [INFO] [stderr] | [INFO] [stderr] 182 | CloseHandle(afd_helper_handle); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/main.rs:191:27 [INFO] [stderr] | [INFO] [stderr] 191 | fn port__create_iocp() -> HANDLE { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `CreateIoCompletionPort` in this scope [INFO] [stderr] --> src/main.rs:193:25 [INFO] [stderr] | [INFO] [stderr] 193 | let iocp = unsafe { CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0) }; [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/main.rs:193:48 [INFO] [stderr] | [INFO] [stderr] 193 | let iocp = unsafe { CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope [INFO] [stderr] --> src/main.rs:193:70 [INFO] [stderr] | [INFO] [stderr] 193 | let iocp = unsafe { CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0) }; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `WSAStartup` in this scope [INFO] [stderr] --> src/main.rs:201:22 [INFO] [stderr] | [INFO] [stderr] 201 | let r = unsafe { WSAStartup(MAKEWORD(2, 2), &mut wsa_data as *mut _) }; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `MAKEWORD` in this scope [INFO] [stderr] --> src/main.rs:201:33 [INFO] [stderr] | [INFO] [stderr] 201 | let r = unsafe { WSAStartup(MAKEWORD(2, 2), &mut wsa_data as *mut _) }; [INFO] [stderr] | ^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:209:25 [INFO] [stderr] | [INFO] [stderr] 209 | const AFD_POLL_RECEIVE: ULONG = 0x0001; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:210:35 [INFO] [stderr] | [INFO] [stderr] 210 | const AFD_POLL_RECEIVE_EXPEDITED: ULONG = 0x0002; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:211:22 [INFO] [stderr] | [INFO] [stderr] 211 | const AFD_POLL_SEND: ULONG = 0x0004; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:212:28 [INFO] [stderr] | [INFO] [stderr] 212 | const AFD_POLL_DISCONNECT: ULONG = 0x0008; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:213:23 [INFO] [stderr] | [INFO] [stderr] 213 | const AFD_POLL_ABORT: ULONG = 0x0010; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:214:29 [INFO] [stderr] | [INFO] [stderr] 214 | const AFD_POLL_LOCAL_CLOSE: ULONG = 0x0020; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:215:24 [INFO] [stderr] | [INFO] [stderr] 215 | const AFD_POLL_ACCEPT: ULONG = 0x0080; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stderr] --> src/main.rs:216:30 [INFO] [stderr] | [INFO] [stderr] 216 | const AFD_POLL_CONNECT_FAIL: ULONG = 0x0100; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/main.rs:219:19 [INFO] [stderr] | [INFO] [stderr] 219 | let mut iocp: HANDLE = port__create_iocp(); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope [INFO] [stderr] --> src/main.rs:220:21 [INFO] [stderr] | [INFO] [stderr] 220 | assert!(iocp != NULL); [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/main.rs:222:32 [INFO] [stderr] | [INFO] [stderr] 222 | let mut afd_helper_handle: HANDLE = NULL; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `NULL` in this scope [INFO] [stderr] --> src/main.rs:222:41 [INFO] [stderr] | [INFO] [stderr] 222 | let mut afd_helper_handle: HANDLE = NULL; [INFO] [stderr] | ^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `socket` in this scope [INFO] [stderr] --> src/main.rs:229:25 [INFO] [stderr] | [INFO] [stderr] 229 | let sock = unsafe { socket(AF_INET, SOCK_STREAM, IPPROTO_TCP as i32) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `AF_INET` in this scope [INFO] [stderr] --> src/main.rs:229:32 [INFO] [stderr] | [INFO] [stderr] 229 | let sock = unsafe { socket(AF_INET, SOCK_STREAM, IPPROTO_TCP as i32) }; [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `SOCK_STREAM` in this scope [INFO] [stderr] --> src/main.rs:229:41 [INFO] [stderr] | [INFO] [stderr] 229 | let sock = unsafe { socket(AF_INET, SOCK_STREAM, IPPROTO_TCP as i32) }; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `IPPROTO_TCP` in this scope [INFO] [stderr] --> src/main.rs:229:54 [INFO] [stderr] | [INFO] [stderr] 229 | let sock = unsafe { socket(AF_INET, SOCK_STREAM, IPPROTO_TCP as i32) }; [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/main.rs:237:49 [INFO] [stderr] | [INFO] [stderr] 237 | Handle: &mut base_sock as *mut _ as HANDLE, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused imports: `DWORD`, `LPVOID`, `MAKEWORD`, `ULONG`, `USHORT` [INFO] [stderr] --> src/main.rs:9:33 [INFO] [stderr] | [INFO] [stderr] 9 | use winapi::shared::minwindef::{DWORD, LPVOID, MAKEWORD, ULONG, USHORT}; [INFO] [stderr] | ^^^^^ ^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `NTSTATUS`, `NULL`, `PHANDLE`, `PUNICODE_STRING`, `PVOID`, `PWCH` [INFO] [stderr] --> src/main.rs:12:29 [INFO] [stderr] | [INFO] [stderr] 12 | use winapi::shared::ntdef::{NTSTATUS, NULL, PHANDLE, PUNICODE_STRING, PVOID, PWCH}; [INFO] [stderr] | ^^^^^^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `STATUS_PENDING`, `STATUS_SUCCESS` [INFO] [stderr] --> src/main.rs:13:32 [INFO] [stderr] | [INFO] [stderr] 13 | use winapi::shared::ntstatus::{STATUS_PENDING, STATUS_SUCCESS}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::shared::winerror::WSAEINPROGRESS` [INFO] [stderr] --> src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::shared::winerror::WSAEINPROGRESS; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AF_INET`, `IPPROTO_TCP`, `SOCK_STREAM` [INFO] [stderr] --> src/main.rs:15:30 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::shared::ws2def::{AF_INET, IPPROTO_TCP, SOCK_STREAM}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CloseHandle`, `INVALID_HANDLE_VALUE` [INFO] [stderr] --> src/main.rs:16:29 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::ioapiset::CreateIoCompletionPort` [INFO] [stderr] --> src/main.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use winapi::um::ioapiset::CreateIoCompletionPort; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::minwinbase::OVERLAPPED` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use winapi::um::minwinbase::OVERLAPPED; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winbase::SetFileCompletionNotificationModes` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use winapi::um::winbase::SetFileCompletionNotificationModes; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `winapi::um::winbase::FILE_SKIP_SET_EVENT_ON_HANDLE` [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use winapi::um::winbase::FILE_SKIP_SET_EVENT_ON_HANDLE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `FILE_SHARE_READ`, `FILE_SHARE_WRITE`, `HANDLE`, `LARGE_INTEGER`, `SYNCHRONIZE` [INFO] [stderr] --> src/main.rs:21:25 [INFO] [stderr] | [INFO] [stderr] 21 | use winapi::um::winnt::{FILE_SHARE_READ, FILE_SHARE_WRITE, HANDLE, LARGE_INTEGER, SYNCHRONIZE}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `INVALID_SOCKET`, `SOCKET_ERROR`, `SOCKET`, `WSADATA`, `WSAIoctl`, `WSAStartup`, `socket` [INFO] [stderr] --> src/main.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | socket, WSAIoctl, WSAStartup, INVALID_SOCKET, SOCKET, SOCKET_ERROR, WSADATA, [INFO] [stderr] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 98 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: Could not compile `iocp-wrapper`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "2585a5464f1bc965ff81ea13be480fe21c471597f32d68a748efa56691033910"` [INFO] running `"docker" "rm" "-f" "2585a5464f1bc965ff81ea13be480fe21c471597f32d68a748efa56691033910"` [INFO] [stdout] 2585a5464f1bc965ff81ea13be480fe21c471597f32d68a748efa56691033910