[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] b68f6b8d02aeeabae4d46a6b0db8ce18ce77d63e [INFO] checking adumbidiot/iphlpapi-rs against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fadumbidiot%2Fiphlpapi-rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/adumbidiot/iphlpapi-rs on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", 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-7/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d87b1f1f8955ca669f50d459b7cb5509979f63eeb81af2b3290a8b4fdee6b4d4 [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" "d87b1f1f8955ca669f50d459b7cb5509979f63eeb81af2b3290a8b4fdee6b4d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d87b1f1f8955ca669f50d459b7cb5509979f63eeb81af2b3290a8b4fdee6b4d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d87b1f1f8955ca669f50d459b7cb5509979f63eeb81af2b3290a8b4fdee6b4d4", kill_on_drop: false }` [INFO] [stdout] d87b1f1f8955ca669f50d459b7cb5509979f63eeb81af2b3290a8b4fdee6b4d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3f2ae385d221c0cf1c8b335dcba114fa3c2c281af47593ebe0dabe5b66523e11 [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" "3f2ae385d221c0cf1c8b335dcba114fa3c2c281af47593ebe0dabe5b66523e11", 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 `um` in `winapi` [INFO] [stdout] --> src/ip_adapter_info.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::iptypes::{ [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[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADAPTER_INFO` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct IpAdapterInfo(IP_ADAPTER_INFO); [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_adapter_info.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe { &*(&self.0.IpAddressList 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 `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:56:51 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe { &*(&self.0.GatewayList 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 `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[E0425]: cannot find function, tuple struct or tuple variant `GetAdaptersInfo` in this scope [INFO] [stdout] --> src/lib.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | 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[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/ip_adapter_info.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::um::iptypes::{ [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[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/lib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | 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:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetAdaptersInfo` in this scope [INFO] [stdout] --> src/lib.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { GetAdaptersInfo(adapters.as_mut_ptr() as *mut IP_ADAPTER_INFO, &mut len) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADAPTER_INFO` in this scope [INFO] [stdout] --> src/lib.rs:62:64 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { GetAdaptersInfo(adapters.as_mut_ptr() as *mut IP_ADAPTER_INFO, &mut len) }; [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:75:78 [INFO] [stdout] | [INFO] [stdout] 75 | 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:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | 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:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | 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:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | &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:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | if ret == NO_ERROR { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADAPTER_INFO` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct IpAdapterInfo(IP_ADAPTER_INFO); [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_adapter_info.rs:52:53 [INFO] [stdout] | [INFO] [stdout] 52 | unsafe { &*(&self.0.IpAddressList 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 `IP_ADDR_STRING` in this scope [INFO] [stdout] --> src/ip_adapter_info.rs:56:51 [INFO] [stdout] | [INFO] [stdout] 56 | unsafe { &*(&self.0.GatewayList 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 `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[E0425]: cannot find function, tuple struct or tuple variant `GetAdaptersInfo` in this scope [INFO] [stdout] --> src/lib.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | 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/lib.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { GetAdaptersInfo(adapters.as_mut_ptr() as *mut IP_ADAPTER_INFO, &mut len) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `IP_ADAPTER_INFO` in this scope [INFO] [stdout] --> src/lib.rs:62:64 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { GetAdaptersInfo(adapters.as_mut_ptr() as *mut IP_ADAPTER_INFO, &mut len) }; [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:75:78 [INFO] [stdout] | [INFO] [stdout] 75 | 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:77:27 [INFO] [stdout] | [INFO] [stdout] 77 | 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:80:9 [INFO] [stdout] | [INFO] [stdout] 80 | 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:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | &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:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | if ret == NO_ERROR { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/ip_adapter_info.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] warning: unused import: `convert::TryInto` [INFO] [stdout] --> src/ip_adapter_info.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | convert::TryInto, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [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" "3f2ae385d221c0cf1c8b335dcba114fa3c2c281af47593ebe0dabe5b66523e11", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f2ae385d221c0cf1c8b335dcba114fa3c2c281af47593ebe0dabe5b66523e11", kill_on_drop: false }` [INFO] [stdout] 3f2ae385d221c0cf1c8b335dcba114fa3c2c281af47593ebe0dabe5b66523e11