[INFO] fetching crate darwin-metrics 0.1.5...
[INFO] testing darwin-metrics-0.1.5 against 1.99.0-beta.8+cargoflags=--release for beta-release-1.100-2
[INFO] extracting crate darwin-metrics 0.1.5 into /workspace/builds/worker-6-tc1/source
[INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate darwin-metrics 0.1.5
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate darwin-metrics 0.1.5
[INFO] tweaked toml for crates.io crate darwin-metrics 0.1.5 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate darwin-metrics 0.1.5 on toolchain 1.99.0-beta.8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate darwin-metrics 0.1.5 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" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded objc2-proc-macros v0.2.0
[INFO] [stderr]   Downloaded objc2-core-foundation v0.3.0
[INFO] [stderr]   Downloaded objc2-io-surface v0.3.0
[INFO] [stderr]   Downloaded mockall v0.13.1
[INFO] [stderr]   Downloaded block2 v0.6.0
[INFO] [stderr]   Downloaded mockall_derive v0.13.1
[INFO] [stderr]   Downloaded objc2-core-graphics v0.3.0
[INFO] [stderr]   Downloaded libproc v0.14.10
[INFO] [stderr]   Downloaded objc2 v0.6.0
[INFO] [stderr]   Downloaded objc2-metal v0.3.0
[INFO] [stderr]   Downloaded objc2-foundation v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] cf377ec54728891f653216c9e408570f55252d8ae4151fa2b3a8249ee5557329
[INFO] running `Command { std: "docker" "start" "cf377ec54728891f653216c9e408570f55252d8ae4151fa2b3a8249ee5557329", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf377ec54728891f653216c9e408570f55252d8ae4151fa2b3a8249ee5557329", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cf377ec54728891f653216c9e408570f55252d8ae4151fa2b3a8249ee5557329" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cf377ec54728891f653216c9e408570f55252d8ae4151fa2b3a8249ee5557329", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "cf377ec54728891f653216c9e408570f55252d8ae4151fa2b3a8249ee5557329" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling once_cell v1.20.3
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling predicates-core v1.0.9
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling mockall_derive v0.13.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling anstyle v1.0.10
[INFO] [stderr]    Compiling termtree v0.5.1
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling predicates-tree v1.0.12
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling predicates v3.1.3
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling fragile v2.0.0
[INFO] [stderr]    Compiling downcast v0.11.0
[INFO] [stderr]    Compiling quote v1.0.39
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling darwin-metrics v0.1.5 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling socket2 v0.5.8
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr] warning: darwin-metrics@0.1.5: Building for non-macOS platform. This library only works on macOS.
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling async-trait v0.1.87
[INFO] [stderr]    Compiling tokio v1.44.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling mockall v0.13.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stdout] error[E0433]: cannot find module or crate `objc2` in this scope
[INFO] [stdout]  --> src/utils/property_utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use objc2::rc::Retained;
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `objc2`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `objc2_foundation`
[INFO] [stdout]  --> src/utils/property_utils.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use objc2_foundation::{NSDictionary, NSNumber, NSObject, NSString};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `objc2_foundation`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `objc2_foundation`, use `cargo add objc2_foundation` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `objc2` in this scope
[INFO] [stdout]  --> src/utils/test_utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use objc2::{
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `objc2`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `objc2`
[INFO] [stdout]  --> src/utils/test_utils.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use objc2::{
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `objc2`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `objc2_foundation`
[INFO] [stdout]  --> src/utils/test_utils.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use objc2_foundation::{NSDictionary, NSNumber, NSObject, NSString};
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `objc2_foundation`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `objc2_foundation`, use `cargo add objc2_foundation` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `objc2` in this scope
[INFO] [stdout]   --> src/utils/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use objc2::{msg_send, rc::autoreleasepool, runtime::AnyObject};
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `objc2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `objc2`
[INFO] [stdout]   --> src/utils/mod.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use objc2::{msg_send, rc::autoreleasepool, runtime::AnyObject};
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `objc2`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `objc2` in this scope
[INFO] [stdout]  --> src/hardware/cpu/cpu_impl.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use objc2::{msg_send, rc::Retained};
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `objc2`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `objc2`
[INFO] [stdout]  --> src/hardware/cpu/cpu_impl.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use objc2::{msg_send, rc::Retained};
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `objc2`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `objc2_foundation`
[INFO] [stdout]  --> src/hardware/cpu/cpu_impl.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use objc2_foundation::NSString;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `objc2_foundation`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `objc2_foundation`, use `cargo add objc2_foundation` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `objc2` in this scope
[INFO] [stdout]  --> src/hardware/gpu/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use objc2::{msg_send, rc::autoreleasepool, runtime::AnyObject};
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `objc2`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `objc2`
[INFO] [stdout]  --> src/hardware/gpu/mod.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use objc2::{msg_send, rc::autoreleasepool, runtime::AnyObject};
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `objc2`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `objc2` in this scope
[INFO] [stdout]  --> src/hardware/iokit/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use objc2::{
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `objc2`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `objc2`
[INFO] [stdout]  --> src/hardware/iokit/mod.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use objc2::{
[INFO] [stdout]   |     ^^^^^ use of unresolved module or unlinked crate `objc2`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `objc2_foundation`
[INFO] [stdout]   --> src/hardware/iokit/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use objc2_foundation::{NSDictionary, NSNumber, NSObject, NSString};
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `objc2_foundation`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `objc2_foundation`, use `cargo add objc2_foundation` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `libproc`
[INFO] [stdout]   --> src/process/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use libproc::{pid_rusage, proc_pid, task_info};
[INFO] [stdout]    |     ^^^^^^^ use of unresolved module or unlinked crate `libproc`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `libproc`, use `cargo add libproc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `objc2` in this scope
[INFO] [stdout]    --> src/hardware/gpu/mod.rs:488:37
[INFO] [stdout]     |
[INFO] [stdout] 488 |                         let _: () = objc2::msg_send![device_obj, release];
[INFO] [stdout]     |                                     ^^^^^ use of unresolved module or unlinked crate `objc2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `objc2` in this scope
[INFO] [stdout]    --> src/hardware/gpu/mod.rs:486:42
[INFO] [stdout]     |
[INFO] [stdout] 486 |                     let device_obj: *mut objc2::runtime::AnyObject = device.cast();
[INFO] [stdout]     |                                          ^^^^^ use of unresolved module or unlinked crate `objc2`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `objc2`, use `cargo add objc2` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libproc` in this scope
[INFO] [stdout]    --> src/process/mod.rs:208:20
[INFO] [stdout]     |
[INFO] [stdout] 208 |         let name = libproc::proc_pid::name(pid as i32).map_err(|e| {
[INFO] [stdout]     |                    ^^^^^^^ use of unresolved module or unlinked crate `libproc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libproc`, use `cargo add libproc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libproc` in this scope
[INFO] [stdout]    --> src/process/mod.rs:212:25
[INFO] [stdout]     |
[INFO] [stdout] 212 |         let proc_info = libproc::proc_pid::pidinfo::<task_info::TaskAllInfo>(pid as i32, 0)
[INFO] [stdout]     |                         ^^^^^^^ use of unresolved module or unlinked crate `libproc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libproc`, use `cargo add libproc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find module or crate `libproc` in this scope
[INFO] [stdout]    --> src/process/mod.rs:343:25
[INFO] [stdout]     |
[INFO] [stdout] 343 |         let proc_info = libproc::proc_pid::pidinfo::<task_info::TaskAllInfo>(pid as i32, 0)
[INFO] [stdout]     |                         ^^^^^^^ use of unresolved module or unlinked crate `libproc`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `libproc`, use `cargo add libproc` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sysctlbyname` in crate `libc`
[INFO] [stdout]    --> src/hardware/cpu/frequency.rs:167:24
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let result = libc::sysctlbyname(
[INFO] [stdout]     |                        ^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::utils::bindings::sysctlbyname;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `sysctlbyname`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 167 -     let result = libc::sysctlbyname(
[INFO] [stdout] 167 +     let result = sysctlbyname(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sysctlbyname` in crate `libc`
[INFO] [stdout]    --> src/hardware/gpu/mod.rs:170:32
[INFO] [stdout]     |
[INFO] [stdout] 170 |             let result = libc::sysctlbyname(
[INFO] [stdout]     |                                ^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::utils::bindings::sysctlbyname;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `sysctlbyname`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 170 -             let result = libc::sysctlbyname(
[INFO] [stdout] 170 +             let result = sysctlbyname(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `sysctlbyname` in crate `libc`
[INFO] [stdout]    --> src/hardware/gpu/mod.rs:193:32
[INFO] [stdout]     |
[INFO] [stdout] 193 |             let result = libc::sysctlbyname(
[INFO] [stdout]     |                                ^^^^^^^^^^^^ not found in `libc`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]     |
[INFO] [stdout]   1 + use crate::utils::bindings::sysctlbyname;
[INFO] [stdout]     |
[INFO] [stdout] help: if you import `sysctlbyname`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 193 -             let result = libc::sysctlbyname(
[INFO] [stdout] 193 +             let result = sysctlbyname(
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets
[INFO] [stdout]   --> src/utils/bindings.rs:90:32
[INFO] [stdout]    |
[INFO] [stdout] 90 | #[link(name = "System", kind = "framework")]
[INFO] [stdout]    |                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets
[INFO] [stdout]    --> src/utils/bindings.rs:334:31
[INFO] [stdout]     |
[INFO] [stdout] 334 | #[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/utils/bindings.rs:402:32
[INFO] [stdout]     |
[INFO] [stdout] 402 | #[link(name = "System", kind = "framework")]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets
[INFO] [stdout]    --> src/utils/bindings.rs:418:31
[INFO] [stdout]     |
[INFO] [stdout] 418 | #[link(name = "Metal", kind = "framework")]
[INFO] [stdout]     |                               ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0455]: link kind `framework` is only supported on Apple targets
[INFO] [stdout]    --> src/utils/bindings.rs:568:32
[INFO] [stdout]     |
[INFO] [stdout] 568 | #[link(name = "System", kind = "framework")]
[INFO] [stdout]     |                                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> src/hardware/iokit/mod.rs:435:38
[INFO] [stdout]     |
[INFO] [stdout] 435 |                 let number_opt = obj.downcast::<NSNumber>();
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout]     = note: `#[warn(method_call_on_diverging_infer_var)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `downcast` found for type `!` in the current scope
[INFO] [stdout]    --> src/hardware/iokit/mod.rs:435:38
[INFO] [stdout]     |
[INFO] [stdout] 435 |                 let number_opt = obj.downcast::<NSNumber>();
[INFO] [stdout]     |                                      ^^^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method call on a diverging inference variable
[INFO] [stdout]    --> src/hardware/iokit/mod.rs:446:32
[INFO] [stdout]     |
[INFO] [stdout] 446 |                 let result = n.as_i64();
[INFO] [stdout]     |                                ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider providing a type annotation
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #156047 <https://github.com/rust-lang/rust/issues/156047>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_i64` found for type `!` in the current scope
[INFO] [stdout]    --> src/hardware/iokit/mod.rs:446:32
[INFO] [stdout]     |
[INFO] [stdout] 446 |                 let result = n.as_i64();
[INFO] [stdout]     |                                ^^^^^^ method not found in `!`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0455, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] warning: darwin-metrics@0.1.5: Building for non-macOS platform. This library only works on macOS.
[INFO] [stderr] error: could not compile `darwin-metrics` (lib) due to 31 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cf377ec54728891f653216c9e408570f55252d8ae4151fa2b3a8249ee5557329", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cf377ec54728891f653216c9e408570f55252d8ae4151fa2b3a8249ee5557329", kill_on_drop: false }`
[INFO] [stdout] cf377ec54728891f653216c9e408570f55252d8ae4151fa2b3a8249ee5557329
