[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] f9dc2e2865bb34238c7f085fe249fe31cdf58ffd
[INFO] checking Aeovy/asitop_InRust against master#f8463896a9b36a04899c013bd8825a7fd29dd7a4 for pr-151920
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeovy%2Fasitop_InRust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/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-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Aeovy/asitop_InRust on toolchain f8463896a9b36a04899c013bd8825a7fd29dd7a4
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "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" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-truncate v2.0.0
[INFO] [stderr]   Downloaded ratatui-crossterm v0.1.0
[INFO] [stderr]   Downloaded line-clipping v0.3.5
[INFO] [stderr]   Downloaded kasuari v0.4.11
[INFO] [stderr]   Downloaded ratatui-widgets v0.3.0
[INFO] [stderr]   Downloaded ratatui v0.30.0
[INFO] [stderr]   Downloaded ratatui-core v0.1.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cb4b692196c336586e95eb1a7a73220d14e20aa188607002cba7fbe82c802e15
[INFO] running `Command { std: "docker" "start" "-a" "cb4b692196c336586e95eb1a7a73220d14e20aa188607002cba7fbe82c802e15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cb4b692196c336586e95eb1a7a73220d14e20aa188607002cba7fbe82c802e15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb4b692196c336586e95eb1a7a73220d14e20aa188607002cba7fbe82c802e15", kill_on_drop: false }`
[INFO] [stdout] cb4b692196c336586e95eb1a7a73220d14e20aa188607002cba7fbe82c802e15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed2f4021f8f88e700aa98a72c8ebc571d0e0cfc4f808d60f9c4bc15fb25606c7
[INFO] running `Command { std: "docker" "start" "-a" "ed2f4021f8f88e700aa98a72c8ebc571d0e0cfc4f808d60f9c4bc15fb25606c7", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v2.0.110
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling convert_case v0.7.1
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]    Compiling instability v0.3.9
[INFO] [stderr]     Checking compact_str v0.9.0
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]     Checking lru v0.16.3
[INFO] [stderr]     Checking unicode-truncate v2.0.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.6
[INFO] [stderr]     Checking mio v1.1.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking line-clipping v0.3.5
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[INFO] [stderr]     Checking clap_builder v4.5.54
[INFO] [stderr]     Checking quick-xml v0.38.4
[INFO] [stderr]     Checking indexmap v2.12.0
[INFO] [stderr]     Checking core-foundation-sys v0.8.7
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling thiserror-impl v2.0.17
[INFO] [stderr]    Compiling strum_macros v0.27.2
[INFO] [stderr]    Compiling derive_more-impl v2.0.1
[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 kasuari v0.4.11
[INFO] [stderr]     Checking clap v4.5.54
[INFO] [stderr]     Checking strum v0.27.2
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking ratatui-core v0.1.0
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking ratatui-crossterm v0.1.0
[INFO] [stderr]     Checking ratatui-widgets v0.3.0
[INFO] [stderr]     Checking plist v1.8.0
[INFO] [stderr]     Checking ratatui v0.30.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::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::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:431:16
[INFO] [stdout]     |
[INFO] [stdout] 431 |     ) -> 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:433:61
[INFO] [stdout]     |
[INFO] [stdout] 433 |     unsafe 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:439:16
[INFO] [stdout]     |
[INFO] [stdout] 439 |     ) -> 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:121:34
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 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:129:40
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let mut swap = MaybeUninit::<libc::xsw_usage>::uninit();
[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:130:40
[INFO] [stdout]     |
[INFO] [stdout] 130 |     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:131:40
[INFO] [stdout]     |
[INFO] [stdout] 131 |     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:154:26
[INFO] [stdout]      |
[INFO] [stdout]  154 |     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.180/src/unix/linux_like/linux/mod.rs:3672:1
[INFO] [stdout]      |
[INFO] [stdout] 3672 | 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]  154 -     let mut mib = [libc::CTL_HW, libc::HW_MEMSIZE];
[INFO] [stdout]  154 +     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:154:40
[INFO] [stdout]     |
[INFO] [stdout] 154 |     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:424:31
[INFO] [stdout]     |
[INFO] [stdout] 424 | #[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:442:40
[INFO] [stdout]     |
[INFO] [stdout] 442 | #[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:431:16
[INFO] [stdout]     |
[INFO] [stdout] 431 |     ) -> 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:433:61
[INFO] [stdout]     |
[INFO] [stdout] 433 |     unsafe 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:439:16
[INFO] [stdout]     |
[INFO] [stdout] 439 |     ) -> 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:121:34
[INFO] [stdout]     |
[INFO] [stdout] 121 |                 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:129:40
[INFO] [stdout]     |
[INFO] [stdout] 129 |     let mut swap = MaybeUninit::<libc::xsw_usage>::uninit();
[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:130:40
[INFO] [stdout]     |
[INFO] [stdout] 130 |     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:131:40
[INFO] [stdout]     |
[INFO] [stdout] 131 |     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:154:26
[INFO] [stdout]      |
[INFO] [stdout]  154 |     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.180/src/unix/linux_like/linux/mod.rs:3672:1
[INFO] [stdout]      |
[INFO] [stdout] 3672 | 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]  154 -     let mut mib = [libc::CTL_HW, libc::HW_MEMSIZE];
[INFO] [stdout]  154 +     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:154:40
[INFO] [stdout]     |
[INFO] [stdout] 154 |     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:424:31
[INFO] [stdout]     |
[INFO] [stdout] 424 | #[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:442:40
[INFO] [stdout]     |
[INFO] [stdout] 442 | #[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") 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" test) due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "ed2f4021f8f88e700aa98a72c8ebc571d0e0cfc4f808d60f9c4bc15fb25606c7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed2f4021f8f88e700aa98a72c8ebc571d0e0cfc4f808d60f9c4bc15fb25606c7", kill_on_drop: false }`
[INFO] [stdout] ed2f4021f8f88e700aa98a72c8ebc571d0e0cfc4f808d60f9c4bc15fb25606c7
