[INFO] cloning repository https://github.com/Aeovy/asitop_InRust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aeovy/asitop_InRust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeovy%2Fasitop_InRust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeovy%2Fasitop_InRust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 20ba39cba1fb0ba293907cf40eb1de51a6a74cb6
[INFO] checking Aeovy/asitop_InRust against try#0bdee9e879c87b7211d316e9152109cfd46c576b for pr-150097
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeovy%2Fasitop_InRust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Aeovy/asitop_InRust
[INFO] finished tweaking git repo https://github.com/Aeovy/asitop_InRust
[INFO] tweaked toml for git repo https://github.com/Aeovy/asitop_InRust written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Aeovy/asitop_InRust on toolchain 0bdee9e879c87b7211d316e9152109cfd46c576b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Aeovy/asitop_InRust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d985cbe74e34e78b4e4d5c0e9869b09af426ec743394ee8555c3da671cf73db1
[INFO] running `Command { std: "docker" "start" "-a" "d985cbe74e34e78b4e4d5c0e9869b09af426ec743394ee8555c3da671cf73db1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d985cbe74e34e78b4e4d5c0e9869b09af426ec743394ee8555c3da671cf73db1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d985cbe74e34e78b4e4d5c0e9869b09af426ec743394ee8555c3da671cf73db1", kill_on_drop: false }`
[INFO] [stdout] d985cbe74e34e78b4e4d5c0e9869b09af426ec743394ee8555c3da671cf73db1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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" "RUSTDOCFLAGS=--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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0bdee9e879c87b7211d316e9152109cfd46c576b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b8d3fa55ac716621618ce75bfbd389136fe8d307ad1171de0e51be261d9f1876
[INFO] running `Command { std: "docker" "start" "-a" "b8d3fa55ac716621618ce75bfbd389136fe8d307ad1171de0e51be261d9f1876", kill_on_drop: false }`
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking anstyle v1.0.13
[INFO] [stderr]    Compiling convert_case v0.7.1
[INFO] [stderr]     Checking anstyle-query v1.1.5
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling instability v0.3.9
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.2
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]     Checking unicode-segmentation v1.12.0
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking clap_lex v0.7.6
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking compact_str v0.8.1
[INFO] [stderr]     Checking unicode-width v0.2.0
[INFO] [stderr]     Checking core-foundation-sys v0.8.7
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking quick-xml v0.38.4
[INFO] [stderr]     Checking clap_builder v4.5.53
[INFO] [stderr]     Checking lru v0.12.5
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking crossterm v0.28.1
[INFO] [stderr]     Checking unicode-truncate v1.1.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling clap_derive v4.5.49
[INFO] [stderr]     Checking derive_more v2.0.1
[INFO] [stderr]     Checking crossterm v0.29.0
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]     Checking clap v4.5.53
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking ratatui v0.29.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking plist v1.8.0
[INFO] [stderr]     Checking asitop_in_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved imports `libc::AF_LINK`, `libc::KERN_SUCCESS`, `libc::if_data`, `libc::mach_port_t`
[INFO] [stdout]  --> src/io_stats.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     self, AF_LINK, IFF_LOOPBACK, IFF_UP, KERN_SUCCESS, c_char, c_void, freeifaddrs, getifaddrs,
[INFO] [stdout]   |           ^^^^^^^                        ^^^^^^^^^^^^
[INFO] [stdout]   |           |                              |
[INFO] [stdout]   |           |                              no `KERN_SUCCESS` in the root
[INFO] [stdout]   |           |                              help: a similar name exists in the module: `EXIT_SUCCESS`
[INFO] [stdout]   |           no `AF_LINK` in the root
[INFO] [stdout] 9 |     if_data, ifaddrs, mach_port_t,
[INFO] [stdout]   |     ^^^^^^^           ^^^^^^^^^^^ no `mach_port_t` in the root
[INFO] [stdout]   |     |
[INFO] [stdout]   |     no `if_data` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this type alias instead:
[INFO] [stdout]           core_foundation_sys::base::mach_port_t
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `libc::HOST_VM_INFO64`, `libc::HOST_VM_INFO64_COUNT`, `libc::KERN_SUCCESS`, `libc::host_statistics64`, `libc::integer_t`, `libc::mach_msg_type_number_t`, `libc::mach_port_t`, `libc::vm_statistics64`
[INFO] [stdout]  --> src/memory.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 |     self, HOST_VM_INFO64, HOST_VM_INFO64_COUNT, KERN_SUCCESS, c_int, c_void, host_statistics64,
[INFO] [stdout]   |           ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^                 ^^^^^^^^^^^^^^^^^ no `host_statistics64` in the root
[INFO] [stdout]   |           |               |                     |
[INFO] [stdout]   |           |               |                     no `KERN_SUCCESS` in the root
[INFO] [stdout]   |           |               no `HOST_VM_INFO64_COUNT` in the root
[INFO] [stdout]   |           no `HOST_VM_INFO64` in the root
[INFO] [stdout] 3 |     integer_t, mach_msg_type_number_t, mach_port_t, vm_statistics64,
[INFO] [stdout]   |     ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^ no `vm_statistics64` in the root
[INFO] [stdout]   |     |          |                       |
[INFO] [stdout]   |     |          |                       no `mach_port_t` in the root
[INFO] [stdout]   |     |          no `mach_msg_type_number_t` in the root
[INFO] [stdout]   |     no `integer_t` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this type alias instead:
[INFO] [stdout]           core_foundation_sys::base::mach_port_t
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 2 -     self, HOST_VM_INFO64, HOST_VM_INFO64_COUNT, KERN_SUCCESS, c_int, c_void, host_statistics64,
[INFO] [stdout] 2 +     self, HOST_VM_INFO64, HOST_VM_INFO64_COUNT, EXIT_SUCCESS, c_int, c_void, host_statistics64,
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 3 -     integer_t, mach_msg_type_number_t, mach_port_t, vm_statistics64,
[INFO] [stdout] 3 +     intptr_t, mach_msg_type_number_t, mach_port_t, vm_statistics64,
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 3 -     integer_t, mach_msg_type_number_t, mach_port_t, vm_statistics64,
[INFO] [stdout] 3 +     integer_t, mach_msg_type_number_t, mach_port_t, iw_statistics,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `libc::AF_LINK`, `libc::KERN_SUCCESS`, `libc::if_data`, `libc::mach_port_t`
[INFO] [stdout]  --> src/io_stats.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 |     self, AF_LINK, IFF_LOOPBACK, IFF_UP, KERN_SUCCESS, c_char, c_void, freeifaddrs, getifaddrs,
[INFO] [stdout]   |           ^^^^^^^                        ^^^^^^^^^^^^
[INFO] [stdout]   |           |                              |
[INFO] [stdout]   |           |                              no `KERN_SUCCESS` in the root
[INFO] [stdout]   |           |                              help: a similar name exists in the module: `EXIT_SUCCESS`
[INFO] [stdout]   |           no `AF_LINK` in the root
[INFO] [stdout] 9 |     if_data, ifaddrs, mach_port_t,
[INFO] [stdout]   |     ^^^^^^^           ^^^^^^^^^^^ no `mach_port_t` in the root
[INFO] [stdout]   |     |
[INFO] [stdout]   |     no `if_data` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this type alias instead:
[INFO] [stdout]           core_foundation_sys::base::mach_port_t
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `libc::HOST_VM_INFO64`, `libc::HOST_VM_INFO64_COUNT`, `libc::KERN_SUCCESS`, `libc::host_statistics64`, `libc::integer_t`, `libc::mach_msg_type_number_t`, `libc::mach_port_t`, `libc::vm_statistics64`
[INFO] [stdout]  --> src/memory.rs:2:11
[INFO] [stdout]   |
[INFO] [stdout] 2 |     self, HOST_VM_INFO64, HOST_VM_INFO64_COUNT, KERN_SUCCESS, c_int, c_void, host_statistics64,
[INFO] [stdout]   |           ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^                 ^^^^^^^^^^^^^^^^^ no `host_statistics64` in the root
[INFO] [stdout]   |           |               |                     |
[INFO] [stdout]   |           |               |                     no `KERN_SUCCESS` in the root
[INFO] [stdout]   |           |               no `HOST_VM_INFO64_COUNT` in the root
[INFO] [stdout]   |           no `HOST_VM_INFO64` in the root
[INFO] [stdout] 3 |     integer_t, mach_msg_type_number_t, mach_port_t, vm_statistics64,
[INFO] [stdout]   |     ^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^^^^^^ no `vm_statistics64` in the root
[INFO] [stdout]   |     |          |                       |
[INFO] [stdout]   |     |          |                       no `mach_port_t` in the root
[INFO] [stdout]   |     |          no `mach_msg_type_number_t` in the root
[INFO] [stdout]   |     no `integer_t` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this type alias instead:
[INFO] [stdout]           core_foundation_sys::base::mach_port_t
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 2 -     self, HOST_VM_INFO64, HOST_VM_INFO64_COUNT, KERN_SUCCESS, c_int, c_void, host_statistics64,
[INFO] [stdout] 2 +     self, HOST_VM_INFO64, HOST_VM_INFO64_COUNT, EXIT_SUCCESS, c_int, c_void, host_statistics64,
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 3 -     integer_t, mach_msg_type_number_t, mach_port_t, vm_statistics64,
[INFO] [stdout] 3 +     intptr_t, mach_msg_type_number_t, mach_port_t, vm_statistics64,
[INFO] [stdout]   |
[INFO] [stdout] help: a similar name exists in the module
[INFO] [stdout]   |
[INFO] [stdout] 3 -     integer_t, mach_msg_type_number_t, mach_port_t, vm_statistics64,
[INFO] [stdout] 3 +     integer_t, mach_msg_type_number_t, mach_port_t, iw_statistics,
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `kern_return_t` in crate `libc`
[INFO] [stdout]    --> src/io_stats.rs:267:16
[INFO] [stdout]     |
[INFO] [stdout] 267 |     ) -> libc::kern_return_t;
[INFO] [stdout]     |                ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `kern_return_t` in crate `libc`
[INFO] [stdout]    --> src/io_stats.rs:269:54
[INFO] [stdout]     |
[INFO] [stdout] 269 |     fn IOObjectRelease(object: io_object_t) -> libc::kern_return_t;
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `kern_return_t` in crate `libc`
[INFO] [stdout]    --> src/io_stats.rs:275:16
[INFO] [stdout]     |
[INFO] [stdout] 275 |     ) -> libc::kern_return_t;
[INFO] [stdout]     |                ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `mach_host_self` in crate `libc`
[INFO] [stdout]   --> src/memory.rs:30:40
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let host_port = unsafe { libc::mach_host_self() };
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `mach_task_self` in crate `libc`
[INFO] [stdout]    --> src/memory.rs:118:34
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let task = libc::mach_task_self();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `xsw_usage` in crate `libc`
[INFO] [stdout]    --> src/memory.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let mut swap: libc::xsw_usage = unsafe { mem::zeroed() };
[INFO] [stdout]     |                         ^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VM_SWAPUSAGE` in crate `libc`
[INFO] [stdout]    --> src/memory.rs:127:40
[INFO] [stdout]     |
[INFO] [stdout] 127 |     let mut mib = [libc::CTL_VM, libc::VM_SWAPUSAGE];
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `xsw_usage` in crate `libc`
[INFO] [stdout]    --> src/memory.rs:128:40
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut len = mem::size_of::<libc::xsw_usage>();
[INFO] [stdout]     |                                        ^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CTL_HW` in crate `libc`
[INFO] [stdout]     --> src/memory.rs:149:26
[INFO] [stdout]      |
[INFO] [stdout]  149 |     let mut mib = [libc::CTL_HW, libc::HW_MEMSIZE];
[INFO] [stdout]      |                          ^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/unix/linux_like/linux/mod.rs:5455:1
[INFO] [stdout]      |
[INFO] [stdout] 5455 | pub const CTL_FS: c_int = 5;
[INFO] [stdout]      | ----------------------- similarly named constant `CTL_FS` defined here
[INFO] [stdout]      |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout]  149 -     let mut mib = [libc::CTL_HW, libc::HW_MEMSIZE];
[INFO] [stdout]  149 +     let mut mib = [libc::CTL_FS, libc::HW_MEMSIZE];
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HW_MEMSIZE` in crate `libc`
[INFO] [stdout]    --> src/memory.rs:149:40
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let mut mib = [libc::CTL_HW, libc::HW_MEMSIZE];
[INFO] [stdout]     |                                        ^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets
[INFO] [stdout]    --> src/io_stats.rs:260:31
[INFO] [stdout]     |
[INFO] [stdout] 260 | #[link(name = "IOKit", kind = "framework")]
[INFO] [stdout]     |                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets
[INFO] [stdout]    --> src/io_stats.rs:278:40
[INFO] [stdout]     |
[INFO] [stdout] 278 | #[link(name = "CoreFoundation", kind = "framework")]
[INFO] [stdout]     |                                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets
[INFO] [stdout]   --> src/thermal.rs:46:31
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[link(name = "IOKit", kind = "framework")]
[INFO] [stdout]    |                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `kern_return_t` in crate `libc`
[INFO] [stdout]    --> src/io_stats.rs:267:16
[INFO] [stdout]     |
[INFO] [stdout] 267 |     ) -> libc::kern_return_t;
[INFO] [stdout]     |                ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `kern_return_t` in crate `libc`
[INFO] [stdout]    --> src/io_stats.rs:269:54
[INFO] [stdout]     |
[INFO] [stdout] 269 |     fn IOObjectRelease(object: io_object_t) -> libc::kern_return_t;
[INFO] [stdout]     |                                                      ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `kern_return_t` in crate `libc`
[INFO] [stdout]    --> src/io_stats.rs:275:16
[INFO] [stdout]     |
[INFO] [stdout] 275 |     ) -> libc::kern_return_t;
[INFO] [stdout]     |                ^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `mach_host_self` in crate `libc`
[INFO] [stdout]   --> src/memory.rs:30:40
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let host_port = unsafe { libc::mach_host_self() };
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `mach_task_self` in crate `libc`
[INFO] [stdout]    --> src/memory.rs:118:34
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 let task = libc::mach_task_self();
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `xsw_usage` in crate `libc`
[INFO] [stdout]    --> src/memory.rs:126:25
[INFO] [stdout]     |
[INFO] [stdout] 126 |     let mut swap: libc::xsw_usage = unsafe { mem::zeroed() };
[INFO] [stdout]     |                         ^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `VM_SWAPUSAGE` in crate `libc`
[INFO] [stdout]    --> src/memory.rs:127:40
[INFO] [stdout]     |
[INFO] [stdout] 127 |     let mut mib = [libc::CTL_VM, libc::VM_SWAPUSAGE];
[INFO] [stdout]     |                                        ^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find type `xsw_usage` in crate `libc`
[INFO] [stdout]    --> src/memory.rs:128:40
[INFO] [stdout]     |
[INFO] [stdout] 128 |     let mut len = mem::size_of::<libc::xsw_usage>();
[INFO] [stdout]     |                                        ^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `CTL_HW` in crate `libc`
[INFO] [stdout]     --> src/memory.rs:149:26
[INFO] [stdout]      |
[INFO] [stdout]  149 |     let mut mib = [libc::CTL_HW, libc::HW_MEMSIZE];
[INFO] [stdout]      |                          ^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]     ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/libc-0.2.177/src/unix/linux_like/linux/mod.rs:5455:1
[INFO] [stdout]      |
[INFO] [stdout] 5455 | pub const CTL_FS: c_int = 5;
[INFO] [stdout]      | ----------------------- similarly named constant `CTL_FS` defined here
[INFO] [stdout]      |
[INFO] [stdout] help: a constant with a similar name exists
[INFO] [stdout]      |
[INFO] [stdout]  149 -     let mut mib = [libc::CTL_HW, libc::HW_MEMSIZE];
[INFO] [stdout]  149 +     let mut mib = [libc::CTL_FS, libc::HW_MEMSIZE];
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HW_MEMSIZE` in crate `libc`
[INFO] [stdout]    --> src/memory.rs:149:40
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let mut mib = [libc::CTL_HW, libc::HW_MEMSIZE];
[INFO] [stdout]     |                                        ^^^^^^^^^^ not found in `libc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets
[INFO] [stdout]    --> src/io_stats.rs:260:31
[INFO] [stdout]     |
[INFO] [stdout] 260 | #[link(name = "IOKit", kind = "framework")]
[INFO] [stdout]     |                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets
[INFO] [stdout]    --> src/io_stats.rs:278:40
[INFO] [stdout]     |
[INFO] [stdout] 278 | #[link(name = "CoreFoundation", kind = "framework")]
[INFO] [stdout]     |                                        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets
[INFO] [stdout]   --> src/thermal.rs:46:31
[INFO] [stdout]    |
[INFO] [stdout] 46 | #[link(name = "IOKit", kind = "framework")]
[INFO] [stdout]    |                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0455.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `asitop_in_rust` (bin "asitop_in_rust" test) due to 15 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0455.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `asitop_in_rust` (bin "asitop_in_rust") due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "b8d3fa55ac716621618ce75bfbd389136fe8d307ad1171de0e51be261d9f1876", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b8d3fa55ac716621618ce75bfbd389136fe8d307ad1171de0e51be261d9f1876", kill_on_drop: false }`
[INFO] [stdout] b8d3fa55ac716621618ce75bfbd389136fe8d307ad1171de0e51be261d9f1876
