[INFO] fetching crate hardware-query 0.2.1... [INFO] checking hardware-query-0.2.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate hardware-query 0.2.1 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hardware-query 0.2.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] abecdd5bb1abff6855fa861c6361ff34ead43eb7555449e63d1ed88b1b4c7049 [INFO] running `Command { std: "docker" "start" "-a" "abecdd5bb1abff6855fa861c6361ff34ead43eb7555449e63d1ed88b1b4c7049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "abecdd5bb1abff6855fa861c6361ff34ead43eb7555449e63d1ed88b1b4c7049", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abecdd5bb1abff6855fa861c6361ff34ead43eb7555449e63d1ed88b1b4c7049", kill_on_drop: false }` [INFO] [stdout] abecdd5bb1abff6855fa861c6361ff34ead43eb7555449e63d1ed88b1b4c7049 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb20e681c3b53bbc8068762d65567c5a9ce25035a2cfc5c80f92cbe1f573328e [INFO] running `Command { std: "docker" "start" "-a" "cb20e681c3b53bbc8068762d65567c5a9ce25035a2cfc5c80f92cbe1f573328e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Checking clap_builder v4.5.41 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking nvml-wrapper-sys v0.9.0 [INFO] [stderr] Checking bytesize v2.0.1 [INFO] [stderr] Checking clap v4.5.41 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking sysinfo v0.36.0 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling futures-macro v0.3.31 [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] Checking tokio v1.46.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking thiserror v2.0.12 [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] Checking nvml-wrapper v0.11.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking hardware-query v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking criterion v0.6.0 [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)]` on by default [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] 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)]` on by default [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)]` 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)]` 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] 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] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hardware-query` (lib) due to 16 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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)]` 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)]` 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: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hardware-query` (lib test) due to 16 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "cb20e681c3b53bbc8068762d65567c5a9ce25035a2cfc5c80f92cbe1f573328e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb20e681c3b53bbc8068762d65567c5a9ce25035a2cfc5c80f92cbe1f573328e", kill_on_drop: false }` [INFO] [stdout] cb20e681c3b53bbc8068762d65567c5a9ce25035a2cfc5c80f92cbe1f573328e