[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] 98992fc79a76ff98a2874296f43a6de9deea9610
[INFO] checking Aeovy/asitop_InRust against try#22cc29ba5b459fb386c0406b9baf3a49eb0fba39 for pr-146095
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeovy%2Fasitop_InRust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-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-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Aeovy/asitop_InRust on toolchain 22cc29ba5b459fb386c0406b9baf3a49eb0fba39
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "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" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5d6d28c6da636b614914c1c82c266ed89f903e942ecae2b1eaa9b5cc2fb3814b
[INFO] running `Command { std: "docker" "start" "-a" "5d6d28c6da636b614914c1c82c266ed89f903e942ecae2b1eaa9b5cc2fb3814b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5d6d28c6da636b614914c1c82c266ed89f903e942ecae2b1eaa9b5cc2fb3814b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d6d28c6da636b614914c1c82c266ed89f903e942ecae2b1eaa9b5cc2fb3814b", kill_on_drop: false }`
[INFO] [stdout] 5d6d28c6da636b614914c1c82c266ed89f903e942ecae2b1eaa9b5cc2fb3814b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+22cc29ba5b459fb386c0406b9baf3a49eb0fba39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1deb6d1486309e6dbbe530ab75f56791ffaa349a304cd72f10a88cf20691d9a3
[INFO] running `Command { std: "docker" "start" "-a" "1deb6d1486309e6dbbe530ab75f56791ffaa349a304cd72f10a88cf20691d9a3", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.103
[INFO] [stderr]    Compiling quote v1.0.42
[INFO] [stderr]    Compiling unicode-ident v1.0.22
[INFO] [stderr]    Compiling libc v0.2.180
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]     Checking cfg-if v1.0.4
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]     Checking bitflags v2.10.0
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling thiserror v2.0.17
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling instability v0.3.9
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling indoc v2.0.7
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]     Checking powerfmt v0.2.0
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]     Checking unicode-width v0.2.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking deranged v0.5.5
[INFO] [stderr]     Checking lock_api v0.4.14
[INFO] [stderr]     Checking time-core v0.1.6
[INFO] [stderr]     Checking num-conv v0.1.0
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]    Compiling litrs v1.0.0
[INFO] [stderr]    Compiling convert_case v0.7.1
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking linux-raw-sys v0.11.0
[INFO] [stderr]     Checking num_threads v0.1.7
[INFO] [stderr]     Checking anstyle-parse v0.2.7
[INFO] [stderr]     Checking anstyle-query v1.1.5
[INFO] [stderr]     Checking hashbrown v0.16.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.2
[INFO] [stderr]     Checking anstyle v1.0.13
[INFO] [stderr]     Checking colorchoice v1.0.4
[INFO] [stderr]     Checking line-clipping v0.3.5
[INFO] [stderr]     Checking clap_lex v0.7.6
[INFO] [stderr]     Checking memchr v2.7.6
[INFO] [stderr]    Compiling anyhow v1.0.100
[INFO] [stderr]     Checking castaway v0.2.4
[INFO] [stderr]     Checking anstream v0.6.21
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking compact_str v0.9.0
[INFO] [stderr]     Checking core-foundation-sys v0.8.7
[INFO] [stderr]     Checking unicode-truncate v2.0.0
[INFO] [stderr]    Compiling document-features v0.2.12
[INFO] [stderr]     Checking clap_builder v4.5.54
[INFO] [stderr]     Checking quick-xml v0.38.4
[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]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking lru v0.16.3
[INFO] [stderr]     Checking indexmap v2.12.0
[INFO] [stderr]     Checking time v0.3.44
[INFO] [stderr]     Checking signal-hook-mio v0.2.5
[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]     Checking ratatui-core v0.1.0
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]     Checking plist v1.8.0
[INFO] [stderr]     Checking ratatui-crossterm v0.1.0
[INFO] [stderr]     Checking ratatui-widgets v0.3.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] [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] [stderr] error: could not compile `asitop_in_rust` (bin "asitop_in_rust") due to 15 previous errors
[INFO] running `Command { std: "docker" "inspect" "1deb6d1486309e6dbbe530ab75f56791ffaa349a304cd72f10a88cf20691d9a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1deb6d1486309e6dbbe530ab75f56791ffaa349a304cd72f10a88cf20691d9a3", kill_on_drop: false }`
[INFO] [stdout] 1deb6d1486309e6dbbe530ab75f56791ffaa349a304cd72f10a88cf20691d9a3
