[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] 0a49617add9e36188d476d02dabedd4d368efbd4 [INFO] checking adumbidiot/iphlpapi-rs against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fiphlpapi-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adumbidiot/iphlpapi-rs on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-1/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9073c27ab46a36cecd423eb90a9fe7b531ad569a771276946ee6dd41e6d19387 [INFO] running `Command { std: "docker" "start" "-a" "9073c27ab46a36cecd423eb90a9fe7b531ad569a771276946ee6dd41e6d19387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9073c27ab46a36cecd423eb90a9fe7b531ad569a771276946ee6dd41e6d19387", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9073c27ab46a36cecd423eb90a9fe7b531ad569a771276946ee6dd41e6d19387", kill_on_drop: false }` [INFO] [stdout] 9073c27ab46a36cecd423eb90a9fe7b531ad569a771276946ee6dd41e6d19387 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8d3e3a31990c15b61ee658bab35642e97f760c019e7a041fb501663df074119 [INFO] running `Command { std: "docker" "start" "-a" "f8d3e3a31990c15b61ee658bab35642e97f760c019e7a041fb501663df074119", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking iphlpapi v0.0.0 (/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[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 `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[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[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] 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` due to 35 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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" "f8d3e3a31990c15b61ee658bab35642e97f760c019e7a041fb501663df074119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8d3e3a31990c15b61ee658bab35642e97f760c019e7a041fb501663df074119", kill_on_drop: false }` [INFO] [stdout] f8d3e3a31990c15b61ee658bab35642e97f760c019e7a041fb501663df074119