[INFO] cloning repository https://github.com/adumbidiot/iphlpapi-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/adumbidiot/iphlpapi-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fiphlpapi-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fiphlpapi-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 634a981444e9a14d3241ff946fc02967606c1f13 [INFO] checking adumbidiot/iphlpapi-rs against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fiphlpapi-rs" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adumbidiot/iphlpapi-rs on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/adumbidiot/iphlpapi-rs [INFO] finished tweaking git repo https://github.com/adumbidiot/iphlpapi-rs [INFO] tweaked toml for git repo https://github.com/adumbidiot/iphlpapi-rs written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/adumbidiot/iphlpapi-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b4d0a62d8cd6ef53c91418d700d8dc3d72a8ed6c445080b7df09aa5739f5b6d [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" "2b4d0a62d8cd6ef53c91418d700d8dc3d72a8ed6c445080b7df09aa5739f5b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b4d0a62d8cd6ef53c91418d700d8dc3d72a8ed6c445080b7df09aa5739f5b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b4d0a62d8cd6ef53c91418d700d8dc3d72a8ed6c445080b7df09aa5739f5b6d", kill_on_drop: false }` [INFO] [stdout] 2b4d0a62d8cd6ef53c91418d700d8dc3d72a8ed6c445080b7df09aa5739f5b6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cf22702f3a4e07a82fb53df8599273ab307fbe9c5a10956065086d44fb624674 [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" "cf22702f3a4e07a82fb53df8599273ab307fbe9c5a10956065086d44fb624674", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking iphlpapi v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ip_adapter_info.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ucrt` in `winapi` [INFO] [stdout] --> src/ip_adapter_info.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | ucrt::corecrt::time_t, [INFO] [stdout] | ^^^^ could not find `ucrt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ip_adapter_info.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | um::iptypes::IP_ADAPTER_INFO, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ip_adapter_info_list.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shared::winerror::{ [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/ip_adapter_info_list.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | um::{ [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/ip_addr_string.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::iptypes::IP_ADDR_STRING; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/ip_adapter_info_list.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | shared::{ [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:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | um::iphlpapi::SendARP, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | impl TryFrom for AdaperKind { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | type Error = 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/ip_adapter_info.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | fn try_from(n: DWORD) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `time_t` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | fn time_to_system_time(time: time_t) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::time_t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADAPTER_INFO` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct IpAdapterInfo(IP_ADAPTER_INFO); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | self.0.HaveWins == TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HeapAlloc` in this scope [INFO] [stdout] --> src/ip_adapter_info_list.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | let data = unsafe { HeapAlloc(GetProcessHeap(), 0, size) }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessHeap` in this scope [INFO] [stdout] --> src/ip_adapter_info_list.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | let data = unsafe { HeapAlloc(GetProcessHeap(), 0, size) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAdaptersInfo` in this scope [INFO] [stdout] --> src/ip_adapter_info_list.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | let return_code = unsafe { GetAdaptersInfo(std::ptr::null_mut(), &mut len) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAdaptersInfo` in this scope [INFO] [stdout] --> src/ip_adapter_info_list.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | let return_code = GetAdaptersInfo(data.data.cast(), &mut len); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HeapFree` in this scope [INFO] [stdout] --> src/ip_adapter_info_list.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | HeapFree(GetProcessHeap(), 0, self.data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessHeap` in this scope [INFO] [stdout] --> src/ip_adapter_info_list.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | HeapFree(GetProcessHeap(), 0, self.data); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_addr_string.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct IpAddrString(IP_ADDR_STRING); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_addr_string.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | impl From for IpAddrString { [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 `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_addr_string.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | fn from(ip_addr: IP_ADDR_STRING) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_addr_string.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a> From<&'a IP_ADDR_STRING> for &'a IpAddrString { [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, IP_ADDR_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_addr_string.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fn from(ip_addr: &'a IP_ADDR_STRING) -> &'a IpAddrString { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_addr_string.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe { &*(ip_addr as *const IP_ADDR_STRING as *const IpAddrString) } [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:32:78 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn send_arp(dest_ip: Ipv4Addr, src_ip: Option) -> Result<(u64, ULONG), IoError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^ 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:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | let mut mac_addr_len: ULONG = 6; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendARP` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | SendARP( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PULONG` in this scope [INFO] [stdout] --> src/lib.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | &mut mac_addr_len as PULONG, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NO_ERROR` in this scope [INFO] [stdout] --> src/lib.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | if ret == NO_ERROR { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ip_adapter_info.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | shared::{ [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `ucrt` in `winapi` [INFO] [stdout] --> src/ip_adapter_info.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | ucrt::corecrt::time_t, [INFO] [stdout] | ^^^^ could not find `ucrt` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ip_adapter_info.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | um::iptypes::IP_ADAPTER_INFO, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/ip_adapter_info_list.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shared::winerror::{ [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/ip_adapter_info_list.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | um::{ [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/ip_addr_string.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::iptypes::IP_ADDR_STRING; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/ip_adapter_info_list.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | shared::{ [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:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | um::iphlpapi::SendARP, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ctypes::c_void, [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:58:14 [INFO] [stdout] | [INFO] [stdout] 58 | impl TryFrom for AdaperKind { [INFO] [stdout] | - ^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | type Error = 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/ip_adapter_info.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | fn try_from(n: DWORD) -> Result { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `time_t` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | fn time_to_system_time(time: time_t) -> Option { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::unix::raw::time_t; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADAPTER_INFO` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct IpAdapterInfo(IP_ADAPTER_INFO); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | self.0.HaveWins == TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HeapAlloc` in this scope [INFO] [stdout] --> src/ip_adapter_info_list.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 38 | let data = unsafe { HeapAlloc(GetProcessHeap(), 0, size) }; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessHeap` in this scope [INFO] [stdout] --> src/ip_adapter_info_list.rs:38:39 [INFO] [stdout] | [INFO] [stdout] 38 | let data = unsafe { HeapAlloc(GetProcessHeap(), 0, size) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAdaptersInfo` in this scope [INFO] [stdout] --> src/ip_adapter_info_list.rs:50:36 [INFO] [stdout] | [INFO] [stdout] 50 | let return_code = unsafe { GetAdaptersInfo(std::ptr::null_mut(), &mut len) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAdaptersInfo` in this scope [INFO] [stdout] --> src/ip_adapter_info_list.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | let return_code = GetAdaptersInfo(data.data.cast(), &mut len); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HeapFree` in this scope [INFO] [stdout] --> src/ip_adapter_info_list.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | HeapFree(GetProcessHeap(), 0, self.data); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcessHeap` in this scope [INFO] [stdout] --> src/ip_adapter_info_list.rs:100:26 [INFO] [stdout] | [INFO] [stdout] 100 | HeapFree(GetProcessHeap(), 0, self.data); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_addr_string.rs:5:25 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct IpAddrString(IP_ADDR_STRING); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_addr_string.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | impl From for IpAddrString { [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 `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_addr_string.rs:30:22 [INFO] [stdout] | [INFO] [stdout] 30 | fn from(ip_addr: IP_ADDR_STRING) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_addr_string.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | impl<'a> From<&'a IP_ADDR_STRING> for &'a IpAddrString { [INFO] [stdout] | - ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | | [INFO] [stdout] | help: you might be missing a type parameter: `, IP_ADDR_STRING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_addr_string.rs:36:26 [INFO] [stdout] | [INFO] [stdout] 36 | fn from(ip_addr: &'a IP_ADDR_STRING) -> &'a IpAddrString { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_addr_string.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | unsafe { &*(ip_addr as *const IP_ADDR_STRING as *const IpAddrString) } [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:32:78 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn send_arp(dest_ip: Ipv4Addr, src_ip: Option) -> Result<(u64, ULONG), IoError> { [INFO] [stdout] | - help: you might be missing a type parameter: `` ^^^^^ 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:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | let mut mac_addr_len: ULONG = 6; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendARP` in this scope [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | SendARP( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PULONG` in this scope [INFO] [stdout] --> src/lib.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | &mut mac_addr_len as PULONG, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `NO_ERROR` in this scope [INFO] [stdout] --> src/lib.rs:45:15 [INFO] [stdout] | [INFO] [stdout] 45 | if ret == NO_ERROR { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/ip_adapter_info_list.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | data: std::ptr::null_mut(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the function `null_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/ip_adapter_info.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | TryInto, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `iphlpapi` [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[E0282]: type annotations needed [INFO] [stdout] --> src/ip_adapter_info_list.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | data: std::ptr::null_mut(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the function `null_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryInto` [INFO] [stdout] --> src/ip_adapter_info.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | TryInto, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cf22702f3a4e07a82fb53df8599273ab307fbe9c5a10956065086d44fb624674", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf22702f3a4e07a82fb53df8599273ab307fbe9c5a10956065086d44fb624674", kill_on_drop: false }` [INFO] [stdout] cf22702f3a4e07a82fb53df8599273ab307fbe9c5a10956065086d44fb624674