[INFO] fetching crate hardware-query 0.2.1...
[INFO] testing hardware-query-0.2.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate hardware-query 0.2.1 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate hardware-query 0.2.1
[INFO] removed 0 missing examples
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate hardware-query 0.2.1
[INFO] tweaked toml for crates.io crate hardware-query 0.2.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate hardware-query 0.2.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate hardware-query 0.2.1 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.5.13
[INFO] [stderr]   Downloaded wmi v0.17.2
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.5
[INFO] [stderr]   Downloaded wrapcenum-derive v0.4.1
[INFO] [stderr]   Downloaded mockall v0.13.1
[INFO] [stderr]   Downloaded bytesize v2.0.1
[INFO] [stderr]   Downloaded nvml-wrapper-sys v0.9.0
[INFO] [stderr]   Downloaded mockall_derive v0.13.1
[INFO] [stderr]   Downloaded clap v4.5.41
[INFO] [stderr]   Downloaded nvml-wrapper v0.11.0
[INFO] [stderr]   Downloaded clap_builder v4.5.41
[INFO] [stderr]   Downloaded criterion v0.6.0
[INFO] [stderr]   Downloaded cc v1.2.29
[INFO] [stderr]   Downloaded io-uring v0.7.8
[INFO] [stderr]   Downloaded objc2-core-foundation v0.3.1
[INFO] [stderr]   Downloaded objc2-io-kit v0.3.1
[INFO] [stderr]   Downloaded sysinfo v0.36.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] be700bcb1ee915607a2278a36c4196d8731a709450ec4dd43ba6ccf1db3ddbc9
[INFO] running `Command { std: "docker" "start" "-a" "be700bcb1ee915607a2278a36c4196d8731a709450ec4dd43ba6ccf1db3ddbc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "be700bcb1ee915607a2278a36c4196d8731a709450ec4dd43ba6ccf1db3ddbc9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "be700bcb1ee915607a2278a36c4196d8731a709450ec4dd43ba6ccf1db3ddbc9", kill_on_drop: false }`
[INFO] [stdout] be700bcb1ee915607a2278a36c4196d8731a709450ec4dd43ba6ccf1db3ddbc9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3fba2d4431ea1b8152243b3698da304e5a0c13a4dd8f6ac1fac910f731ac41d8
[INFO] running `Command { std: "docker" "start" "-a" "3fba2d4431ea1b8152243b3698da304e5a0c13a4dd8f6ac1fac910f731ac41d8", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling nix v0.30.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling bytesize v2.0.1
[INFO] [stderr]    Compiling nvml-wrapper-sys v0.9.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling sysinfo v0.36.0
[INFO] [stderr]    Compiling num_cpus v1.17.0
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.46.1
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling wrapcenum-derive v0.4.1
[INFO] [stderr]    Compiling nvml-wrapper v0.11.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling hardware-query v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/cpu.rs:412:34
[INFO] [stdout]     |
[INFO] [stdout] 412 |             if let Ok(content) = fs::read_to_string("/proc/cpuinfo") {
[INFO] [stdout]     |                                  ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/cpu.rs:428:34
[INFO] [stdout]     |
[INFO] [stdout] 428 |             if let Ok(content) = fs::read_to_string("/proc/cpuinfo") {
[INFO] [stdout]     |                                  ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/cpu.rs:444:34
[INFO] [stdout]     |
[INFO] [stdout] 444 |             if let Ok(content) = fs::read_to_string("/proc/cpuinfo") {
[INFO] [stdout]     |                                  ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/cpu.rs:460:34
[INFO] [stdout]     |
[INFO] [stdout] 460 |             if let Ok(content) = fs::read_to_string("/proc/cpuinfo") {
[INFO] [stdout]     |                                  ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/cpu.rs:478:34
[INFO] [stdout]     |
[INFO] [stdout] 478 |             if let Ok(entries) = fs::read_dir("/sys/devices/system/cpu/vulnerabilities") {
[INFO] [stdout]     |                                  ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/cpu.rs:481:45
[INFO] [stdout]     |
[INFO] [stdout] 481 |                         if let Ok(status) = fs::read_to_string(entry.path()) {
[INFO] [stdout]     |                                             ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/cpu.rs:597:30
[INFO] [stdout]     |
[INFO] [stdout] 597 |         if let Ok(content) = fs::read_to_string("/proc/cpuinfo") {
[INFO] [stdout]     |                              ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/cpu.rs:617:30
[INFO] [stdout]     |
[INFO] [stdout] 617 |         if let Ok(content) = fs::read_to_string("/proc/cpuinfo") {
[INFO] [stdout]     |                              ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/cpu.rs:631:13
[INFO] [stdout]     |
[INFO] [stdout] 631 |             fs::read_to_string("/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq")
[INFO] [stdout]     |             ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/cpu.rs:643:30
[INFO] [stdout]     |
[INFO] [stdout] 643 |         if let Ok(content) = fs::read_to_string("/sys/devices/system/cpu/cpu0/cache/index0/size") {
[INFO] [stdout]     |                              ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/cpu.rs:655:30
[INFO] [stdout]     |
[INFO] [stdout] 655 |         if let Ok(content) = fs::read_to_string("/sys/devices/system/cpu/cpu0/cache/index1/size") {
[INFO] [stdout]     |                              ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/cpu.rs:667:30
[INFO] [stdout]     |
[INFO] [stdout] 667 |         if let Ok(content) = fs::read_to_string("/sys/devices/system/cpu/cpu0/cache/index2/size") {
[INFO] [stdout]     |                              ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `fs`
[INFO] [stdout]    --> src/cpu.rs:681:30
[INFO] [stdout]     |
[INFO] [stdout] 681 |         if let Ok(content) = fs::read_to_string("/proc/cpuinfo") {
[INFO] [stdout]     |                              ^^ use of unresolved module or unlinked crate `fs`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `fs`, use `cargo add fs` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing one of these modules
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fs;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use tokio::fs;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Command`
[INFO] [stdout]  --> src/gpu.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::process::Command;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:413:29
[INFO] [stdout]     |
[INFO] [stdout] 413 |                 for line in content.lines() {
[INFO] [stdout]     |                             ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:414:24
[INFO] [stdout]     |
[INFO] [stdout] 414 |                     if line.starts_with("stepping") {
[INFO] [stdout]     |                        ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:416:39
[INFO] [stdout]     |
[INFO] [stdout] 416 | ...                   return Ok(value.trim().parse().ok());
[INFO] [stdout]     |                                 ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:429:29
[INFO] [stdout]     |
[INFO] [stdout] 429 |                 for line in content.lines() {
[INFO] [stdout]     |                             ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:430:24
[INFO] [stdout]     |
[INFO] [stdout] 430 |                     if line.starts_with("cpu family") {
[INFO] [stdout]     |                        ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:432:39
[INFO] [stdout]     |
[INFO] [stdout] 432 | ...                   return Ok(value.trim().parse().ok());
[INFO] [stdout]     |                                 ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:445:29
[INFO] [stdout]     |
[INFO] [stdout] 445 |                 for line in content.lines() {
[INFO] [stdout]     |                             ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:446:24
[INFO] [stdout]     |
[INFO] [stdout] 446 |                     if line.starts_with("model") && !line.starts_with("model name") {
[INFO] [stdout]     |                        ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:448:39
[INFO] [stdout]     |
[INFO] [stdout] 448 | ...                   return Ok(value.trim().parse().ok());
[INFO] [stdout]     |                                 ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:461:29
[INFO] [stdout]     |
[INFO] [stdout] 461 |                 for line in content.lines() {
[INFO] [stdout]     |                             ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:462:24
[INFO] [stdout]     |
[INFO] [stdout] 462 |                     if line.starts_with("microcode") {
[INFO] [stdout]     |                        ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:464:41
[INFO] [stdout]     |
[INFO] [stdout] 464 | ...                   return Some(value.trim().to_string());
[INFO] [stdout]     |                                   ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:479:30
[INFO] [stdout]     |
[INFO] [stdout] 479 |                 for entry in entries.flatten() {
[INFO] [stdout]     |                              ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:480:39
[INFO] [stdout]     |
[INFO] [stdout] 480 |                     if let Ok(name) = entry.file_name().into_string() {
[INFO] [stdout]     |                                       ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:482:42
[INFO] [stdout]     |
[INFO] [stdout] 482 | ...                   let status = status.trim();
[INFO] [stdout]     |                                    ^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:599:25
[INFO] [stdout]     |
[INFO] [stdout] 599 |             for line in content.lines() {
[INFO] [stdout]     |                         ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:600:20
[INFO] [stdout]     |
[INFO] [stdout] 600 |                 if line.starts_with("core id") {
[INFO] [stdout]     |                    ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:602:41
[INFO] [stdout]     |
[INFO] [stdout] 602 |                         if let Ok(id) = value.trim().parse::<u32>() {
[INFO] [stdout]     |                                         ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:618:25
[INFO] [stdout]     |
[INFO] [stdout] 618 |             for line in content.lines() {
[INFO] [stdout]     |                         ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:619:20
[INFO] [stdout]     |
[INFO] [stdout] 619 |                 if line.starts_with("cpu MHz") {
[INFO] [stdout]     |                    ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:621:43
[INFO] [stdout]     |
[INFO] [stdout] 621 |                         if let Ok(freq) = value.trim().parse::<f32>() {
[INFO] [stdout]     |                                           ^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:633:31
[INFO] [stdout]     |
[INFO] [stdout] 633 |             if let Ok(freq) = content.trim().parse::<u32>() {
[INFO] [stdout]     |                               ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:644:35
[INFO] [stdout]     |
[INFO] [stdout] 644 |             if let Ok(size_str) = content.trim().parse::<String>() {
[INFO] [stdout]     |                                   ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:645:35
[INFO] [stdout]     |
[INFO] [stdout] 645 |                 if let Ok(size) = size_str.trim_end_matches('K').parse::<u32>() {
[INFO] [stdout]     |                                   ^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:656:35
[INFO] [stdout]     |
[INFO] [stdout] 656 |             if let Ok(size_str) = content.trim().parse::<String>() {
[INFO] [stdout]     |                                   ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:657:35
[INFO] [stdout]     |
[INFO] [stdout] 657 |                 if let Ok(size) = size_str.trim_end_matches('K').parse::<u32>() {
[INFO] [stdout]     |                                   ^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:668:35
[INFO] [stdout]     |
[INFO] [stdout] 668 |             if let Ok(size_str) = content.trim().parse::<String>() {
[INFO] [stdout]     |                                   ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:669:35
[INFO] [stdout]     |
[INFO] [stdout] 669 |                 if let Ok(size) = size_str.trim_end_matches('K').parse::<u32>() {
[INFO] [stdout]     |                                   ^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:682:25
[INFO] [stdout]     |
[INFO] [stdout] 682 |             for line in content.lines() {
[INFO] [stdout]     |                         ^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:683:20
[INFO] [stdout]     |
[INFO] [stdout] 683 |                 if line.starts_with("flags") {
[INFO] [stdout]     |                    ^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> src/cpu.rs:685:48
[INFO] [stdout]     |
[INFO] [stdout] 685 |                         let flags: Vec<&str> = flags_str.split_whitespace().collect();
[INFO] [stdout]     |                                                ^^^^^^^^^ cannot infer type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `get_edge_tpu_driver_version` found for struct `TPUInfo` in the current scope
[INFO] [stdout]    --> src/tpu.rs:207:51
[INFO] [stdout]     |
[INFO] [stdout]  59 | pub struct TPUInfo {
[INFO] [stdout]     | ------------------ function or associated item `get_edge_tpu_driver_version` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 207 |                             driver_version: Self::get_edge_tpu_driver_version(),
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `TPUInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated function `get_tpu_driver_version` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 207 -                             driver_version: Self::get_edge_tpu_driver_version(),
[INFO] [stdout] 207 +                             driver_version: Self::get_tpu_driver_version(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `get_edge_tpu_driver_version` found for struct `TPUInfo` in the current scope
[INFO] [stdout]    --> src/tpu.rs:245:51
[INFO] [stdout]     |
[INFO] [stdout]  59 | pub struct TPUInfo {
[INFO] [stdout]     | ------------------ function or associated item `get_edge_tpu_driver_version` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 245 |                             driver_version: Self::get_edge_tpu_driver_version(),
[INFO] [stdout]     |                                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `TPUInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated function `get_tpu_driver_version` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 245 -                             driver_version: Self::get_edge_tpu_driver_version(),
[INFO] [stdout] 245 +                             driver_version: Self::get_tpu_driver_version(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `get_habana_driver_version` found for struct `TPUInfo` in the current scope
[INFO] [stdout]    --> src/tpu.rs:306:71
[INFO] [stdout]     |
[INFO] [stdout]  59 | pub struct TPUInfo {
[INFO] [stdout]     | ------------------ function or associated item `get_habana_driver_version` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 306 |                                                 driver_version: Self::get_habana_driver_version(),
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `TPUInfo`
[INFO] [stdout]     |
[INFO] [stdout] help: there is an associated function `get_tpu_driver_version` with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 306 -                                                 driver_version: Self::get_habana_driver_version(),
[INFO] [stdout] 306 +                                                 driver_version: Self::get_tpu_driver_version(),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/npu.rs:327:13
[INFO] [stdout]     |
[INFO] [stdout] 327 |         let mut npus = Vec::new();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `output_str`
[INFO] [stdout]    --> src/platform/linux.rs:251:17
[INFO] [stdout]     |
[INFO] [stdout] 251 |             let output_str = String::from_utf8_lossy(&output.stdout);
[INFO] [stdout]     |                 ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_str`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/platform/linux.rs:301:13
[INFO] [stdout]     |
[INFO] [stdout] 301 |         let mut gpus = Vec::new();
[INFO] [stdout]     |             ----^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hardware-query` (lib) due to 47 previous errors; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3fba2d4431ea1b8152243b3698da304e5a0c13a4dd8f6ac1fac910f731ac41d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3fba2d4431ea1b8152243b3698da304e5a0c13a4dd8f6ac1fac910f731ac41d8", kill_on_drop: false }`
[INFO] [stdout] 3fba2d4431ea1b8152243b3698da304e5a0c13a4dd8f6ac1fac910f731ac41d8
