[INFO] cloning repository https://github.com/FXTi/afd_poll [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FXTi/afd_poll" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFXTi%2Fafd_poll", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFXTi%2Fafd_poll'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca6625321c655beee0f8f46e080bf8708911593d [INFO] checking FXTi/afd_poll against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFXTi%2Fafd_poll" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/FXTi/afd_poll on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-10/source/.cargo/config [INFO] started tweaking git repo https://github.com/FXTi/afd_poll [INFO] finished tweaking git repo https://github.com/FXTi/afd_poll [INFO] tweaked toml for git repo https://github.com/FXTi/afd_poll written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/FXTi/afd_poll already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 916440e185db48f300e6804cb15331bd68ba6ae7a6fc6085c53a3d4203f4edeb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "916440e185db48f300e6804cb15331bd68ba6ae7a6fc6085c53a3d4203f4edeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "916440e185db48f300e6804cb15331bd68ba6ae7a6fc6085c53a3d4203f4edeb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "916440e185db48f300e6804cb15331bd68ba6ae7a6fc6085c53a3d4203f4edeb", kill_on_drop: false }` [INFO] [stdout] 916440e185db48f300e6804cb15331bd68ba6ae7a6fc6085c53a3d4203f4edeb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fab7e00dddff4cdf24220e84b29c648fee634e91b36bfce64c0155c0d77c647c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fab7e00dddff4cdf24220e84b29c648fee634e91b36bfce64c0155c0d77c647c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.59 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling ntapi v0.3.1 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Checking socket2 v0.3.9 [INFO] [stderr] Checking miow v0.3.3 [INFO] [stderr] Checking iocp-wrapper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/selector.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use std::os::windows::io::AsRawHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/selector.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use std::os::windows::io::FromRawHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/selector.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/selector.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::shared::ntstatus::STATUS_CANCELLED; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/selector.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::winerror::WAIT_TIMEOUT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/selector.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::handleapi::{GetHandleInformation, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/selector.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::um::minwinbase::OVERLAPPED; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/selector.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `miow::iocp` [INFO] [stdout] --> src/selector.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use miow::iocp::{CompletionPort, CompletionStatus}; [INFO] [stdout] | ^^^^ could not find `iocp` in `miow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/tcp.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use std::os::windows::io::AsRawHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/tcp.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use std::os::windows::io::AsRawSocket; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tcp.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tcp.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::shared::ntdef::NULL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tcp.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::shared::winerror::{ERROR_INVALID_HANDLE, ERROR_IO_PENDING}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tcp.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::minwinbase::OVERLAPPED; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tcp.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tcp.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winnt::LARGE_INTEGER; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tcp.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::winsock2::SOCKET; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `miow::iocp` [INFO] [stdout] --> src/tcp.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use miow::iocp::CompletionPort; [INFO] [stdout] | ^^^^ could not find `iocp` in `miow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntioapi` [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use ntapi::ntioapi::{ [INFO] [stdout] | ^^^^^^^ could not find `ntioapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::minwindef::{DWORD, FALSE, LPVOID, MAKEWORD, ULONG, USHORT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use std::os::windows::io::AsRawSocket; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::shared::ntdef::{NTSTATUS, NULL, PHANDLE, PUNICODE_STRING, PVOID, PWCH}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::ntstatus::{STATUS_PENDING, STATUS_SUCCESS}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::shared::winerror::ERROR_IO_PENDING; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::shared::winerror::WSAEINPROGRESS; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::shared::ws2def::WSABUF; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::um::ioapiset::{CreateIoCompletionPort, GetQueuedCompletionStatusEx}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::um::minwinbase::{OVERLAPPED, OVERLAPPED_ENTRY}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::um::winbase::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use winapi::um::winnt::{FILE_SHARE_READ, FILE_SHARE_WRITE, HANDLE, LARGE_INTEGER, SYNCHRONIZE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use winapi::um::winsock2::{u_long, WSARecv}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::um::winsock2::{WSAIoctl, WSAStartup, INVALID_SOCKET, SOCKET, SOCKET_ERROR, WSADATA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntrtl` [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use ntapi::ntrtl::RtlNtStatusToDosError; [INFO] [stdout] | ^^^^^ could not find `ntrtl` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OVERLAPPED` [INFO] [stdout] --> src/tcp.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | overlapped: OVERLAPPED::default(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OVERLAPPED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/tcp.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | Timeout: LARGE_INTEGER::default(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/tcp.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | Events: DWORD::default(), [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tcp.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | winapi::um::ioapiset::CancelIoEx( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OVERLAPPED` [INFO] [stdout] --> src/tcp.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | self.overlapped = OVERLAPPED::default(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OVERLAPPED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/tcp.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | Timeout: LARGE_INTEGER::default(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/selector.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use std::os::windows::io::AsRawHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/selector.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | use std::os::windows::io::FromRawHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/selector.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/selector.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::shared::ntstatus::STATUS_CANCELLED; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/selector.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::winerror::WAIT_TIMEOUT; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/selector.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::um::handleapi::{GetHandleInformation, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/selector.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::um::minwinbase::OVERLAPPED; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/selector.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `miow::iocp` [INFO] [stdout] --> src/selector.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use miow::iocp::{CompletionPort, CompletionStatus}; [INFO] [stdout] | ^^^^ could not find `iocp` in `miow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/tcp.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use std::os::windows::io::AsRawHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/tcp.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 17 | use std::os::windows::io::AsRawSocket; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tcp.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::shared::minwindef::DWORD; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tcp.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use winapi::shared::ntdef::NULL; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/tcp.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | use winapi::shared::winerror::{ERROR_INVALID_HANDLE, ERROR_IO_PENDING}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tcp.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | use winapi::um::minwinbase::OVERLAPPED; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tcp.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | use winapi::um::winnt::HANDLE; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tcp.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use winapi::um::winnt::LARGE_INTEGER; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tcp.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::um::winsock2::SOCKET; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `miow::iocp` [INFO] [stdout] --> src/tcp.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use miow::iocp::CompletionPort; [INFO] [stdout] | ^^^^ could not find `iocp` in `miow` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntioapi` [INFO] [stdout] --> src/lib.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | use ntapi::ntioapi::{ [INFO] [stdout] | ^^^^^^^ could not find `ntioapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::shared::minwindef::{DWORD, FALSE, LPVOID, MAKEWORD, ULONG, USHORT}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use std::os::windows::io::AsRawSocket; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | use winapi::shared::ntdef::{NTSTATUS, NULL, PHANDLE, PUNICODE_STRING, PVOID, PWCH}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | use winapi::shared::ntstatus::{STATUS_PENDING, STATUS_SUCCESS}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | use winapi::shared::winerror::ERROR_IO_PENDING; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | use winapi::shared::winerror::WSAEINPROGRESS; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | use winapi::shared::ws2def::WSABUF; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | use winapi::um::handleapi::{CloseHandle, INVALID_HANDLE_VALUE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | use winapi::um::ioapiset::{CreateIoCompletionPort, GetQueuedCompletionStatusEx}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | use winapi::um::minwinbase::{OVERLAPPED, OVERLAPPED_ENTRY}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use winapi::um::winbase::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | use winapi::um::winnt::{FILE_SHARE_READ, FILE_SHARE_WRITE, HANDLE, LARGE_INTEGER, SYNCHRONIZE}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | use winapi::um::winsock2::{u_long, WSARecv}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/lib.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | use winapi::um::winsock2::{WSAIoctl, WSAStartup, INVALID_SOCKET, SOCKET, SOCKET_ERROR, WSADATA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntrtl` [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use ntapi::ntrtl::RtlNtStatusToDosError; [INFO] [stdout] | ^^^^^ could not find `ntrtl` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OVERLAPPED` [INFO] [stdout] --> src/tcp.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 67 | overlapped: OVERLAPPED::default(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OVERLAPPED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/tcp.rs:69:30 [INFO] [stdout] | [INFO] [stdout] 69 | Timeout: LARGE_INTEGER::default(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/tcp.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | Events: DWORD::default(), [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/tcp.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | winapi::um::ioapiset::CancelIoEx( [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OVERLAPPED` [INFO] [stdout] --> src/tcp.rs:205:35 [INFO] [stdout] | [INFO] [stdout] 205 | self.overlapped = OVERLAPPED::default(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OVERLAPPED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/tcp.rs:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | Timeout: LARGE_INTEGER::default(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WSADATA` [INFO] [stdout] --> src/lib.rs:242:24 [INFO] [stdout] | [INFO] [stdout] 242 | let mut wsa_data = WSADATA::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WSADATA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OVERLAPPED` [INFO] [stdout] --> src/lib.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | overlapped: OVERLAPPED::default(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OVERLAPPED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/lib.rs:357:26 [INFO] [stdout] | [INFO] [stdout] 357 | Timeout: LARGE_INTEGER::default(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/lib.rs:362:29 [INFO] [stdout] | [INFO] [stdout] 362 | Events: DWORD::default(), [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/selector.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | pub afd_helper_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/selector.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(iocp: &HANDLE) -> io::Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/selector.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | iocp: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_TIMEOUT` in this scope [INFO] [stdout] --> src/selector.rs:167:52 [INFO] [stdout] | [INFO] [stdout] 167 | Err(ref e) if e.raw_os_error() == Some(WAIT_TIMEOUT as i32) => 0, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATUS_CANCELLED` in this scope [INFO] [stdout] --> src/selector.rs:214:49 [INFO] [stdout] | [INFO] [stdout] 214 | } else if socket.overlapped.Internal == STATUS_CANCELLED as _ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> src/tcp.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | pub overlapped: OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/tcp.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | pub base_sock: SOCKET, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/tcp.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | Handle: NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/tcp.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn socket(&self) -> SOCKET { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/tcp.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | self.sock.as_raw_socket() as SOCKET [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/tcp.rs:86:56 [INFO] [stdout] | [INFO] [stdout] 54 | impl TcpStream { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn base_socket(&mut self) -> io::Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/tcp.rs:211:51 [INFO] [stdout] | [INFO] [stdout] 211 | Handle: self.base_sock as HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_INVALID_HANDLE` in this scope [INFO] [stdout] --> src/tcp.rs:227:64 [INFO] [stdout] | [INFO] [stdout] 227 | Err(ref e) if e.raw_os_error() == Some(ERROR_INVALID_HANDLE as _) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_IO_PENDING` in this scope [INFO] [stdout] --> src/tcp.rs:230:64 [INFO] [stdout] | [INFO] [stdout] 230 | Err(ref e) if e.raw_os_error() == Some(ERROR_IO_PENDING as _) => Ok(()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Events: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/lib.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Status: NTSTATUS, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/lib.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | Timeout: LARGE_INTEGER, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | NumberOfHandles: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | Exclusive: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | const IOCTL_AFD_POLL: ULONG = 0x00012024; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | afd_helper_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> src/lib.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | overlapped: &mut OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATUS_PENDING` in this scope [INFO] [stdout] --> src/lib.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | (*piosb).u.Status = STATUS_PENDING; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/lib.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 74 | &mut *overlapped as *mut _ as PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/lib.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | &mut *poll_info as *mut _ as PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/lib.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | &mut *poll_info as *mut _ as PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_IO_PENDING` in this scope [INFO] [stdout] --> src/lib.rs:86:60 [INFO] [stdout] | [INFO] [stdout] 86 | STATUS_PENDING => Err(io::Error::from_raw_os_error(ERROR_IO_PENDING as _)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | const SIO_BASE_HANDLE: DWORD = 0x48000022; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/lib.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | fn ws_get_base_socket(socket: &SOCKET) -> io::Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/lib.rs:97:54 [INFO] [stdout] | [INFO] [stdout] 97 | fn ws_get_base_socket(socket: &SOCKET) -> io::Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/lib.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | let mut base_socket: SOCKET = 0; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | let mut bytes: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SOCKET_ERROR` in this scope [INFO] [stdout] --> src/lib.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | if SOCKET_ERROR [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAIoctl` in this scope [INFO] [stdout] --> src/lib.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | == WSAIoctl( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 108 | &mut base_socket as *mut _ as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/lib.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 97 | fn ws_get_base_socket(socket: &SOCKET) -> io::Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 109 | size_of::() as DWORD, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 109 | size_of::() as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | NULL as _, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USHORT` in this scope [INFO] [stdout] --> src/lib.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | Length: USHORT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USHORT` in this scope [INFO] [stdout] --> src/lib.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | MaximumLength: USHORT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PWCH` in this scope [INFO] [stdout] --> src/lib.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | Buffer: PWCH, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | Length: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | RootDirectory: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/lib.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 124 | struct UNICODE_STRING { [INFO] [stdout] | --------------------- similarly named struct `UNICODE_STRING` defined here [INFO] [stdout] ... [INFO] [stdout] 138 | ObjectName: PUNICODE_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `UNICODE_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | Attributes: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/lib.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | SecurityDescriptor: PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/lib.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | SecurityQualityOfService: PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USHORT` in this scope [INFO] [stdout] --> src/lib.rs:156:43 [INFO] [stdout] | [INFO] [stdout] 156 | Length: *afd___helper_name_len as USHORT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USHORT` in this scope [INFO] [stdout] --> src/lib.rs:157:71 [INFO] [stdout] | [INFO] [stdout] 157 | MaximumLength: (*afd___helper_name_len - size_of::()) as USHORT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:161:51 [INFO] [stdout] | [INFO] [stdout] 161 | Length: size_of::() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | RootDirectory: NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | SecurityDescriptor: NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | SecurityQualityOfService: NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:183:36 [INFO] [stdout] | [INFO] [stdout] 183 | fn afd_create_helper_handle(iocp: &HANDLE) -> io::Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:183:58 [INFO] [stdout] | [INFO] [stdout] 183 | fn afd_create_helper_handle(iocp: &HANDLE) -> io::Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | let mut afd_helper_handle: HANDLE = NULL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | let mut afd_helper_handle: HANDLE = NULL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHANDLE` in this scope [INFO] [stdout] --> src/lib.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 192 | &mut afd_helper_handle as PHANDLE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SYNCHRONIZE` in this scope [INFO] [stdout] --> src/lib.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | SYNCHRONIZE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | NULL as _, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/lib.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:198:31 [INFO] [stdout] | [INFO] [stdout] 198 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATUS_SUCCESS` in this scope [INFO] [stdout] --> src/lib.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 206 | if status != STATUS_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | if (NULL == CreateIoCompletionPort(afd_helper_handle, *iocp, 0, 0)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIoCompletionPort` in this scope [INFO] [stdout] --> src/lib.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | if (NULL == CreateIoCompletionPort(afd_helper_handle, *iocp, 0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetFileCompletionNotificationModes` in this scope [INFO] [stdout] --> src/lib.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | == SetFileCompletionNotificationModes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SKIP_SET_EVENT_ON_HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | FILE_SKIP_SET_EVENT_ON_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/lib.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | CloseHandle(afd_helper_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:231:38 [INFO] [stdout] | [INFO] [stdout] 231 | fn port__create_iocp() -> io::Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIoCompletionPort` in this scope [INFO] [stdout] --> src/lib.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | let iocp = unsafe { CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/lib.rs:233:48 [INFO] [stdout] | [INFO] [stdout] 233 | let iocp = unsafe { CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:233:70 [INFO] [stdout] | [INFO] [stdout] 233 | let iocp = unsafe { CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAStartup` in this scope [INFO] [stdout] --> src/lib.rs:244:22 [INFO] [stdout] | [INFO] [stdout] 244 | let r = unsafe { WSAStartup(MAKEWORD(2, 2), &mut wsa_data as *mut _) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKEWORD` in this scope [INFO] [stdout] --> src/lib.rs:244:33 [INFO] [stdout] | [INFO] [stdout] 244 | let r = unsafe { WSAStartup(MAKEWORD(2, 2), &mut wsa_data as *mut _) }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | const AFD_POLL_RECEIVE: ULONG = 0x0001; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | const AFD_POLL_RECEIVE_EXPEDITED: ULONG = 0x0002; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | const AFD_POLL_SEND: ULONG = 0x0004; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:267:28 [INFO] [stdout] | [INFO] [stdout] 267 | const AFD_POLL_DISCONNECT: ULONG = 0x0008; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:268:23 [INFO] [stdout] | [INFO] [stdout] 268 | const AFD_POLL_ABORT: ULONG = 0x0010; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 269 | const AFD_POLL_LOCAL_CLOSE: ULONG = 0x0020; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:270:24 [INFO] [stdout] | [INFO] [stdout] 270 | const AFD_POLL_ACCEPT: ULONG = 0x0080; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | const AFD_POLL_CONNECT_FAIL: ULONG = 0x0100; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:286:58 [INFO] [stdout] | [INFO] [stdout] 286 | fn sock_epoll_events_to_afd_events(epoll_events: u32) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:313:49 [INFO] [stdout] | [INFO] [stdout] 313 | fn sock_afd_events_to_epoll_events(afd_events: &DWORD) -> u32 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WSABUF` in this scope [INFO] [stdout] --> src/lib.rs:339:38 [INFO] [stdout] | [INFO] [stdout] 339 | unsafe fn slice2buf(slice: &[u8]) -> WSABUF { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WSABUF` in this scope [INFO] [stdout] --> src/lib.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | WSABUF { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `u_long` in this scope [INFO] [stdout] --> src/lib.rs:341:37 [INFO] [stdout] | [INFO] [stdout] 341 | len: cmp::min(slice.len(), ::max_value() as usize) as u_long, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `u_long` in this scope [INFO] [stdout] --> src/lib.rs:341:71 [INFO] [stdout] | [INFO] [stdout] 341 | len: cmp::min(slice.len(), ::max_value() as usize) as u_long, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> src/lib.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | overlapped: OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:361:29 [INFO] [stdout] | [INFO] [stdout] 361 | Handle: NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> src/lib.rs:370:42 [INFO] [stdout] | [INFO] [stdout] 370 | fn HasOverlappedIoCompleted(Overlapped: &OVERLAPPED) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> src/lib.rs:372:42 [INFO] [stdout] | [INFO] [stdout] 372 | unsafe { (*(&(*Overlapped) as *const OVERLAPPED)).Internal != (STATUS_PENDING as _) } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATUS_PENDING` in this scope [INFO] [stdout] --> src/lib.rs:372:68 [INFO] [stdout] | [INFO] [stdout] 372 | unsafe { (*(&(*Overlapped) as *const OVERLAPPED)).Internal != (STATUS_PENDING as _) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AFD_POLL_INFO`, `PollInfoBinding` [INFO] [stdout] --> src/selector.rs:7:70 [INFO] [stdout] | [INFO] [stdout] 7 | afd_create_helper_handle, init, sock_afd_events_to_epoll_events, PollInfoBinding, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | AFD_POLL_INFO, AFD_POLL_LOCAL_CLOSE, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPOLLHUP`, `EPOLLIN`, `EPOLLMSG`, `EPOLLOUT`, `EPOLLPRI`, `EPOLLRDBAND`, `EPOLLRDHUP`, `EPOLLRDNORM`, `EPOLLWRBAND`, `EPOLLWRNORM` [INFO] [stdout] --> src/selector.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | EPOLLERR, EPOLLHUP, EPOLLIN, EPOLLMSG, EPOLLONESHOT, EPOLLOUT, EPOLLPRI, EPOLLRDBAND, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 12 | EPOLLRDHUP, EPOLLRDNORM, EPOLLWRBAND, EPOLLWRNORM, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null_mut` [INFO] [stdout] --> src/selector.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PollInfoBinding`, `afd_create_helper_handle` [INFO] [stdout] --> src/tcp.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | afd_create_helper_handle, afd_poll, interests_to_epoll, sock_epoll_events_to_afd_events, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ws_get_base_socket, HasOverlappedIoCompleted, PollInfoBinding, AFD_POLL_HANDLE_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPOLLIN`, `EPOLLMSG`, `EPOLLONESHOT`, `EPOLLOUT`, `EPOLLPRI`, `EPOLLRDBAND`, `EPOLLRDHUP`, `EPOLLRDNORM`, `EPOLLWRBAND`, `EPOLLWRNORM` [INFO] [stdout] --> src/tcp.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | EPOLLERR, EPOLLHUP, EPOLLIN, EPOLLMSG, EPOLLONESHOT, EPOLLOUT, EPOLLPRI, EPOLLRDBAND, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 11 | EPOLLRDHUP, EPOLLRDNORM, EPOLLWRBAND, EPOLLWRNORM, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null_mut` [INFO] [stdout] --> src/tcp.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/tcp.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SOCK_POLL_IDLE` should have an upper camel case name [INFO] [stdout] --> src/tcp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | SOCK_POLL_IDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SockPollIdle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SOCK_POLL_PENDING` should have an upper camel case name [INFO] [stdout] --> src/tcp.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | SOCK_POLL_PENDING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SockPollPending` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SOCK_POLL_CANCELLED` should have an upper camel case name [INFO] [stdout] --> src/tcp.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | SOCK_POLL_CANCELLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SockPollCancelled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener`, `TcpStream` [INFO] [stdout] --> src/lib.rs:22:16 [INFO] [stdout] | [INFO] [stdout] 22 | use std::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/lib.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | use std::{cmp, thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WSADATA` [INFO] [stdout] --> src/lib.rs:242:24 [INFO] [stdout] | [INFO] [stdout] 242 | let mut wsa_data = WSADATA::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `WSADATA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OVERLAPPED` [INFO] [stdout] --> src/lib.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | overlapped: OVERLAPPED::default(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OVERLAPPED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/lib.rs:357:26 [INFO] [stdout] | [INFO] [stdout] 357 | Timeout: LARGE_INTEGER::default(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DWORD` [INFO] [stdout] --> src/lib.rs:362:29 [INFO] [stdout] | [INFO] [stdout] 362 | Events: DWORD::default(), [INFO] [stdout] | ^^^^^ use of undeclared type `DWORD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OVERLAPPED` [INFO] [stdout] --> src/lib.rs:424:30 [INFO] [stdout] | [INFO] [stdout] 424 | let mut overlapped = OVERLAPPED::default(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OVERLAPPED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OVERLAPPED` [INFO] [stdout] --> src/lib.rs:445:21 [INFO] [stdout] | [INFO] [stdout] 445 | overlapped: OVERLAPPED::default(), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `OVERLAPPED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `LARGE_INTEGER` [INFO] [stdout] --> src/lib.rs:447:22 [INFO] [stdout] | [INFO] [stdout] 447 | Timeout: LARGE_INTEGER::default(), [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `LARGE_INTEGER` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OVERLAPPED_ENTRY` [INFO] [stdout] --> src/lib.rs:470:53 [INFO] [stdout] | [INFO] [stdout] 470 | let mut iocp_events: [OVERLAPPED_ENTRY; 256] = [OVERLAPPED_ENTRY::default(); 256]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `OVERLAPPED_ENTRY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/selector.rs:39:28 [INFO] [stdout] | [INFO] [stdout] 39 | pub afd_helper_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/selector.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(iocp: &HANDLE) -> io::Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/selector.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | iocp: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `WAIT_TIMEOUT` in this scope [INFO] [stdout] --> src/selector.rs:167:52 [INFO] [stdout] | [INFO] [stdout] 167 | Err(ref e) if e.raw_os_error() == Some(WAIT_TIMEOUT as i32) => 0, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATUS_CANCELLED` in this scope [INFO] [stdout] --> src/selector.rs:214:49 [INFO] [stdout] | [INFO] [stdout] 214 | } else if socket.overlapped.Internal == STATUS_CANCELLED as _ { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> src/tcp.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | pub overlapped: OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/tcp.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | pub base_sock: SOCKET, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/tcp.rs:73:33 [INFO] [stdout] | [INFO] [stdout] 73 | Handle: NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/tcp.rs:82:36 [INFO] [stdout] | [INFO] [stdout] 82 | pub(crate) fn socket(&self) -> SOCKET { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/tcp.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | self.sock.as_raw_socket() as SOCKET [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/tcp.rs:86:56 [INFO] [stdout] | [INFO] [stdout] 54 | impl TcpStream { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 86 | pub(crate) fn base_socket(&mut self) -> io::Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/tcp.rs:211:51 [INFO] [stdout] | [INFO] [stdout] 211 | Handle: self.base_sock as HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_INVALID_HANDLE` in this scope [INFO] [stdout] --> src/tcp.rs:227:64 [INFO] [stdout] | [INFO] [stdout] 227 | Err(ref e) if e.raw_os_error() == Some(ERROR_INVALID_HANDLE as _) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_IO_PENDING` in this scope [INFO] [stdout] --> src/tcp.rs:230:64 [INFO] [stdout] | [INFO] [stdout] 230 | Err(ref e) if e.raw_os_error() == Some(ERROR_IO_PENDING as _) => Ok(()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | Handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | Events: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NTSTATUS` in this scope [INFO] [stdout] --> src/lib.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | Status: NTSTATUS, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LARGE_INTEGER` in this scope [INFO] [stdout] --> src/lib.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 52 | Timeout: LARGE_INTEGER, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:53:22 [INFO] [stdout] | [INFO] [stdout] 53 | NumberOfHandles: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 54 | Exclusive: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:58:23 [INFO] [stdout] | [INFO] [stdout] 58 | const IOCTL_AFD_POLL: ULONG = 0x00012024; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:61:24 [INFO] [stdout] | [INFO] [stdout] 61 | afd_helper_handle: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> src/lib.rs:63:22 [INFO] [stdout] | [INFO] [stdout] 63 | overlapped: &mut OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATUS_PENDING` in this scope [INFO] [stdout] --> src/lib.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | (*piosb).u.Status = STATUS_PENDING; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/lib.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 74 | &mut *overlapped as *mut _ as PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/lib.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | &mut *poll_info as *mut _ as PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/lib.rs:79:42 [INFO] [stdout] | [INFO] [stdout] 79 | &mut *poll_info as *mut _ as PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_IO_PENDING` in this scope [INFO] [stdout] --> src/lib.rs:86:60 [INFO] [stdout] | [INFO] [stdout] 86 | STATUS_PENDING => Err(io::Error::from_raw_os_error(ERROR_IO_PENDING as _)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | const SIO_BASE_HANDLE: DWORD = 0x48000022; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/lib.rs:97:32 [INFO] [stdout] | [INFO] [stdout] 97 | fn ws_get_base_socket(socket: &SOCKET) -> io::Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/lib.rs:97:54 [INFO] [stdout] | [INFO] [stdout] 97 | fn ws_get_base_socket(socket: &SOCKET) -> io::Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/lib.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | let mut base_socket: SOCKET = 0; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | let mut bytes: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SOCKET_ERROR` in this scope [INFO] [stdout] --> src/lib.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | if SOCKET_ERROR [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAIoctl` in this scope [INFO] [stdout] --> src/lib.rs:103:16 [INFO] [stdout] | [INFO] [stdout] 103 | == WSAIoctl( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:108:47 [INFO] [stdout] | [INFO] [stdout] 108 | &mut base_socket as *mut _ as LPVOID, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/lib.rs:109:27 [INFO] [stdout] | [INFO] [stdout] 97 | fn ws_get_base_socket(socket: &SOCKET) -> io::Result { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 109 | size_of::() as DWORD, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:109:40 [INFO] [stdout] | [INFO] [stdout] 109 | size_of::() as DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:111:17 [INFO] [stdout] | [INFO] [stdout] 111 | NULL as _, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USHORT` in this scope [INFO] [stdout] --> src/lib.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | Length: USHORT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USHORT` in this scope [INFO] [stdout] --> src/lib.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | MaximumLength: USHORT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PWCH` in this scope [INFO] [stdout] --> src/lib.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | Buffer: PWCH, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | Length: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | RootDirectory: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PUNICODE_STRING` in this scope [INFO] [stdout] --> src/lib.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 124 | struct UNICODE_STRING { [INFO] [stdout] | --------------------- similarly named struct `UNICODE_STRING` defined here [INFO] [stdout] ... [INFO] [stdout] 138 | ObjectName: PUNICODE_STRING, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a struct with a similar name exists: `UNICODE_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | Attributes: ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/lib.rs:140:25 [INFO] [stdout] | [INFO] [stdout] 140 | SecurityDescriptor: PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> src/lib.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | SecurityQualityOfService: PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USHORT` in this scope [INFO] [stdout] --> src/lib.rs:156:43 [INFO] [stdout] | [INFO] [stdout] 156 | Length: *afd___helper_name_len as USHORT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `USHORT` in this scope [INFO] [stdout] --> src/lib.rs:157:71 [INFO] [stdout] | [INFO] [stdout] 157 | MaximumLength: (*afd___helper_name_len - size_of::()) as USHORT, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:161:51 [INFO] [stdout] | [INFO] [stdout] 161 | Length: size_of::() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:162:24 [INFO] [stdout] | [INFO] [stdout] 162 | RootDirectory: NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | SecurityDescriptor: NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:166:35 [INFO] [stdout] | [INFO] [stdout] 166 | SecurityQualityOfService: NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:183:36 [INFO] [stdout] | [INFO] [stdout] 183 | fn afd_create_helper_handle(iocp: &HANDLE) -> io::Result { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:183:58 [INFO] [stdout] | [INFO] [stdout] 183 | fn afd_create_helper_handle(iocp: &HANDLE) -> io::Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:184:32 [INFO] [stdout] | [INFO] [stdout] 184 | let mut afd_helper_handle: HANDLE = NULL; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | let mut afd_helper_handle: HANDLE = NULL; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PHANDLE` in this scope [INFO] [stdout] --> src/lib.rs:192:39 [INFO] [stdout] | [INFO] [stdout] 192 | &mut afd_helper_handle as PHANDLE, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SYNCHRONIZE` in this scope [INFO] [stdout] --> src/lib.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | SYNCHRONIZE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | NULL as _, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_READ` in this scope [INFO] [stdout] --> src/lib.rs:198:13 [INFO] [stdout] | [INFO] [stdout] 198 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SHARE_WRITE` in this scope [INFO] [stdout] --> src/lib.rs:198:31 [INFO] [stdout] | [INFO] [stdout] 198 | FILE_SHARE_READ | FILE_SHARE_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATUS_SUCCESS` in this scope [INFO] [stdout] --> src/lib.rs:206:18 [INFO] [stdout] | [INFO] [stdout] 206 | if status != STATUS_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | if (NULL == CreateIoCompletionPort(afd_helper_handle, *iocp, 0, 0)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIoCompletionPort` in this scope [INFO] [stdout] --> src/lib.rs:215:21 [INFO] [stdout] | [INFO] [stdout] 215 | if (NULL == CreateIoCompletionPort(afd_helper_handle, *iocp, 0, 0)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SetFileCompletionNotificationModes` in this scope [INFO] [stdout] --> src/lib.rs:217:20 [INFO] [stdout] | [INFO] [stdout] 217 | == SetFileCompletionNotificationModes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_SKIP_SET_EVENT_ON_HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:219:21 [INFO] [stdout] | [INFO] [stdout] 219 | FILE_SKIP_SET_EVENT_ON_HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope [INFO] [stdout] --> src/lib.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | CloseHandle(afd_helper_handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:231:38 [INFO] [stdout] | [INFO] [stdout] 231 | fn port__create_iocp() -> io::Result { [INFO] [stdout] | - ^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CreateIoCompletionPort` in this scope [INFO] [stdout] --> src/lib.rs:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | let iocp = unsafe { CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_HANDLE_VALUE` in this scope [INFO] [stdout] --> src/lib.rs:233:48 [INFO] [stdout] | [INFO] [stdout] 233 | let iocp = unsafe { CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:233:70 [INFO] [stdout] | [INFO] [stdout] 233 | let iocp = unsafe { CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 0) }; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSAStartup` in this scope [INFO] [stdout] --> src/lib.rs:244:22 [INFO] [stdout] | [INFO] [stdout] 244 | let r = unsafe { WSAStartup(MAKEWORD(2, 2), &mut wsa_data as *mut _) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MAKEWORD` in this scope [INFO] [stdout] --> src/lib.rs:244:33 [INFO] [stdout] | [INFO] [stdout] 244 | let r = unsafe { WSAStartup(MAKEWORD(2, 2), &mut wsa_data as *mut _) }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 264 | const AFD_POLL_RECEIVE: ULONG = 0x0001; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:265:35 [INFO] [stdout] | [INFO] [stdout] 265 | const AFD_POLL_RECEIVE_EXPEDITED: ULONG = 0x0002; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:266:22 [INFO] [stdout] | [INFO] [stdout] 266 | const AFD_POLL_SEND: ULONG = 0x0004; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:267:28 [INFO] [stdout] | [INFO] [stdout] 267 | const AFD_POLL_DISCONNECT: ULONG = 0x0008; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:268:23 [INFO] [stdout] | [INFO] [stdout] 268 | const AFD_POLL_ABORT: ULONG = 0x0010; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:269:29 [INFO] [stdout] | [INFO] [stdout] 269 | const AFD_POLL_LOCAL_CLOSE: ULONG = 0x0020; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:270:24 [INFO] [stdout] | [INFO] [stdout] 270 | const AFD_POLL_ACCEPT: ULONG = 0x0080; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | const AFD_POLL_CONNECT_FAIL: ULONG = 0x0100; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:286:58 [INFO] [stdout] | [INFO] [stdout] 286 | fn sock_epoll_events_to_afd_events(epoll_events: u32) -> DWORD { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:313:49 [INFO] [stdout] | [INFO] [stdout] 313 | fn sock_afd_events_to_epoll_events(afd_events: &DWORD) -> u32 { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `WSABUF` in this scope [INFO] [stdout] --> src/lib.rs:339:38 [INFO] [stdout] | [INFO] [stdout] 339 | unsafe fn slice2buf(slice: &[u8]) -> WSABUF { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `WSABUF` in this scope [INFO] [stdout] --> src/lib.rs:340:5 [INFO] [stdout] | [INFO] [stdout] 340 | WSABUF { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `u_long` in this scope [INFO] [stdout] --> src/lib.rs:341:37 [INFO] [stdout] | [INFO] [stdout] 341 | len: cmp::min(slice.len(), ::max_value() as usize) as u_long, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `u_long` in this scope [INFO] [stdout] --> src/lib.rs:341:71 [INFO] [stdout] | [INFO] [stdout] 341 | len: cmp::min(slice.len(), ::max_value() as usize) as u_long, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> src/lib.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | overlapped: OVERLAPPED, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:361:29 [INFO] [stdout] | [INFO] [stdout] 361 | Handle: NULL, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> src/lib.rs:370:42 [INFO] [stdout] | [INFO] [stdout] 370 | fn HasOverlappedIoCompleted(Overlapped: &OVERLAPPED) -> bool { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> src/lib.rs:372:42 [INFO] [stdout] | [INFO] [stdout] 372 | unsafe { (*(&(*Overlapped) as *const OVERLAPPED)).Internal != (STATUS_PENDING as _) } [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `STATUS_PENDING` in this scope [INFO] [stdout] --> src/lib.rs:372:68 [INFO] [stdout] | [INFO] [stdout] 372 | unsafe { (*(&(*Overlapped) as *const OVERLAPPED)).Internal != (STATUS_PENDING as _) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:397:19 [INFO] [stdout] | [INFO] [stdout] 397 | let mut iocp: HANDLE = port__create_iocp().unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SOCKET` in this scope [INFO] [stdout] --> src/lib.rs:413:44 [INFO] [stdout] | [INFO] [stdout] 413 | let sock = net_sock.as_raw_socket() as SOCKET; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:423:29 [INFO] [stdout] | [INFO] [stdout] 423 | let mut bytes_read: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `WSARecv` in this scope [INFO] [stdout] --> src/lib.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | WSARecv( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/lib.rs:451:38 [INFO] [stdout] | [INFO] [stdout] 451 | Handle: base_sock as HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:469:31 [INFO] [stdout] | [INFO] [stdout] 469 | let mut completion_count: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED_ENTRY` in this scope [INFO] [stdout] --> src/lib.rs:470:27 [INFO] [stdout] | [INFO] [stdout] 470 | let mut iocp_events: [OVERLAPPED_ENTRY; 256] = [OVERLAPPED_ENTRY::default(); 256]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetQueuedCompletionStatusEx` in this scope [INFO] [stdout] --> src/lib.rs:472:9 [INFO] [stdout] | [INFO] [stdout] 472 | GetQueuedCompletionStatusEx( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ULONG` in this scope [INFO] [stdout] --> src/lib.rs:475:34 [INFO] [stdout] | [INFO] [stdout] 475 | iocp_events.len() as ULONG, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> src/lib.rs:480:13 [INFO] [stdout] | [INFO] [stdout] 480 | FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NULL` in this scope [INFO] [stdout] --> src/lib.rs:493:12 [INFO] [stdout] | [INFO] [stdout] 493 | if NULL as *const OVERLAPPED != ele.lpOverlapped { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OVERLAPPED` in this scope [INFO] [stdout] --> src/lib.rs:493:27 [INFO] [stdout] | [INFO] [stdout] 493 | if NULL as *const OVERLAPPED != ele.lpOverlapped { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AFD_POLL_INFO`, `PollInfoBinding` [INFO] [stdout] --> src/selector.rs:7:70 [INFO] [stdout] | [INFO] [stdout] 7 | afd_create_helper_handle, init, sock_afd_events_to_epoll_events, PollInfoBinding, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | AFD_POLL_INFO, AFD_POLL_LOCAL_CLOSE, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPOLLHUP`, `EPOLLIN`, `EPOLLMSG`, `EPOLLOUT`, `EPOLLPRI`, `EPOLLRDBAND`, `EPOLLRDHUP`, `EPOLLRDNORM`, `EPOLLWRBAND`, `EPOLLWRNORM` [INFO] [stdout] --> src/selector.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | EPOLLERR, EPOLLHUP, EPOLLIN, EPOLLMSG, EPOLLONESHOT, EPOLLOUT, EPOLLPRI, EPOLLRDBAND, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 12 | EPOLLRDHUP, EPOLLRDNORM, EPOLLWRBAND, EPOLLWRNORM, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null_mut` [INFO] [stdout] --> src/selector.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PollInfoBinding`, `afd_create_helper_handle` [INFO] [stdout] --> src/tcp.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | afd_create_helper_handle, afd_poll, interests_to_epoll, sock_epoll_events_to_afd_events, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ws_get_base_socket, HasOverlappedIoCompleted, PollInfoBinding, AFD_POLL_HANDLE_INFO, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EPOLLIN`, `EPOLLMSG`, `EPOLLONESHOT`, `EPOLLOUT`, `EPOLLPRI`, `EPOLLRDBAND`, `EPOLLRDHUP`, `EPOLLRDNORM`, `EPOLLWRBAND`, `EPOLLWRNORM` [INFO] [stdout] --> src/tcp.rs:10:25 [INFO] [stdout] | [INFO] [stdout] 10 | EPOLLERR, EPOLLHUP, EPOLLIN, EPOLLMSG, EPOLLONESHOT, EPOLLOUT, EPOLLPRI, EPOLLRDBAND, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 11 | EPOLLRDHUP, EPOLLRDNORM, EPOLLWRBAND, EPOLLWRNORM, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ptr::null_mut` [INFO] [stdout] --> src/tcp.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::ptr::null_mut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/tcp.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SOCK_POLL_IDLE` should have an upper camel case name [INFO] [stdout] --> src/tcp.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | SOCK_POLL_IDLE, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SockPollIdle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SOCK_POLL_PENDING` should have an upper camel case name [INFO] [stdout] --> src/tcp.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | SOCK_POLL_PENDING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SockPollPending` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SOCK_POLL_CANCELLED` should have an upper camel case name [INFO] [stdout] --> src/tcp.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | SOCK_POLL_CANCELLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SockPollCancelled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_u8` found for struct `Interests` in the current scope [INFO] [stdout] --> src/ready.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | Ready(interests.as_u8()) [INFO] [stdout] | ^^^^^ method not found in `Interests` [INFO] [stdout] | [INFO] [stdout] ::: src/interests.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Interests(NonZeroU8); [INFO] [stdout] | -------------------------------- method `as_u8` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_socket` found for struct `std::net::TcpStream` in the current scope [INFO] [stdout] --> src/tcp.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | self.sock.as_raw_socket() as SOCKET [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 143 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iocp-wrapper` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `as_raw_socket` found for struct `std::net::TcpStream` in the current scope [INFO] [stdout] --> src/lib.rs:413:25 [INFO] [stdout] | [INFO] [stdout] 413 | let sock = net_sock.as_raw_socket() as SOCKET; [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_u8` found for struct `Interests` in the current scope [INFO] [stdout] --> src/ready.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 178 | Ready(interests.as_u8()) [INFO] [stdout] | ^^^^^ method not found in `Interests` [INFO] [stdout] | [INFO] [stdout] ::: src/interests.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Interests(NonZeroU8); [INFO] [stdout] | -------------------------------- method `as_u8` not found for this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_socket` found for struct `std::net::TcpStream` in the current scope [INFO] [stdout] --> src/tcp.rs:83:19 [INFO] [stdout] | [INFO] [stdout] 83 | self.sock.as_raw_socket() as SOCKET [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `std::net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 160 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "fab7e00dddff4cdf24220e84b29c648fee634e91b36bfce64c0155c0d77c647c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fab7e00dddff4cdf24220e84b29c648fee634e91b36bfce64c0155c0d77c647c", kill_on_drop: false }` [INFO] [stdout] fab7e00dddff4cdf24220e84b29c648fee634e91b36bfce64c0155c0d77c647c