[INFO] cloning repository https://github.com/humaxai2025/gputop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/humaxai2025/gputop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumaxai2025%2Fgputop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumaxai2025%2Fgputop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9052736effd1ed5c783e799e01d719f75388b04 [INFO] testing humaxai2025/gputop against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumaxai2025%2Fgputop" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 89% (917/1021) Updating files: 90% (919/1021) Updating files: 91% (930/1021) Updating files: 92% (940/1021) Updating files: 93% (950/1021) Updating files: 94% (960/1021) Updating files: 95% (970/1021) Updating files: 96% (981/1021) Updating files: 97% (991/1021) Updating files: 98% (1001/1021) Updating files: 99% (1011/1021) Updating files: 100% (1021/1021) Updating files: 100% (1021/1021), done. [INFO] started tweaking git repo https://github.com/humaxai2025/gputop [INFO] finished tweaking git repo https://github.com/humaxai2025/gputop [INFO] tweaked toml for git repo https://github.com/humaxai2025/gputop written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/humaxai2025/gputop on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/humaxai2025/gputop 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded foldhash v0.1.5 [INFO] [stderr] Downloaded lru v0.12.5 [INFO] [stderr] Downloaded signal-hook-registry v1.4.6 [INFO] [stderr] Downloaded libredox v0.1.9 [INFO] [stderr] Downloaded redox_syscall v0.5.17 [INFO] [stderr] Downloaded darling_macro v0.20.11 [INFO] [stderr] Downloaded proc-macro2 v1.0.96 [INFO] [stderr] Downloaded windows-implement v0.60.0 [INFO] [stderr] Downloaded windows-interface v0.59.1 [INFO] [stderr] Downloaded clap_derive v4.5.41 [INFO] [stderr] Downloaded wrapcenum-derive v0.4.1 [INFO] [stderr] Downloaded nvml-wrapper-sys v0.7.0 [INFO] [stderr] Downloaded windows-core v0.61.2 [INFO] [stderr] Downloaded iana-time-zone v0.1.63 [INFO] [stderr] Downloaded crossterm v0.27.0 [INFO] [stderr] Downloaded sysinfo v0.29.11 [INFO] [stderr] Downloaded cc v1.2.32 [INFO] [stderr] Downloaded ratatui v0.24.0 [INFO] [stderr] Downloaded serde_json v1.0.142 [INFO] [stderr] Downloaded chrono v0.4.41 [INFO] [stderr] Downloaded nix v0.27.1 [INFO] [stderr] Downloaded darling_core v0.20.11 [INFO] [stderr] Downloaded nvml-wrapper v0.9.0 [INFO] [stderr] Downloaded clap v4.5.43 [INFO] [stderr] Downloaded clap_builder v4.5.43 [INFO] [stderr] Downloaded cassowary v0.3.0 [INFO] [stderr] Downloaded indoc v2.0.6 [INFO] [stderr] Downloaded darling v0.20.11 [INFO] [stderr] Downloaded crossterm_winapi v0.9.1 [INFO] [stderr] Downloaded signal-hook-mio v0.2.4 [INFO] [stderr] Downloaded signal-hook v0.3.18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb735072baa6f46e39c7b1b6761c85e32ca42d83ac61a261f25d6c2a0a205779 [INFO] running `Command { std: "docker" "start" "-a" "cb735072baa6f46e39c7b1b6761c85e32ca42d83ac61a261f25d6c2a0a205779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb735072baa6f46e39c7b1b6761c85e32ca42d83ac61a261f25d6c2a0a205779", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb735072baa6f46e39c7b1b6761c85e32ca42d83ac61a261f25d6c2a0a205779", kill_on_drop: false }` [INFO] [stdout] cb735072baa6f46e39c7b1b6761c85e32ca42d83ac61a261f25d6c2a0a205779 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d734322997d9785ac38eb312302b84cec705764553c9c977b1b7eadf7c43395 [INFO] running `Command { std: "docker" "start" "-a" "5d734322997d9785ac38eb312302b84cec705764553c9c977b1b7eadf7c43395", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling nvml-wrapper-sys v0.7.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.24.0 [INFO] [stderr] Compiling clap v4.5.43 [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.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling gputop v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HealthStatus` [INFO] [stdout] --> src/app.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::health::{HealthMonitor, GpuHealthMetrics, HealthStatus}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppSettings` [INFO] [stdout] --> src/app.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::settings::{SettingsManager, AppSettings}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/export.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/export.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/notifications.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Process` [INFO] [stdout] --> src/process.rs:2:63 [INFO] [stdout] | [INFO] [stdout] 2 | use sysinfo::{System, SystemExt, ProcessExt, UserExt, PidExt, Process, Pid}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_memory` [INFO] [stdout] --> src/health.rs:243:66 [INFO] [stdout] | [INFO] [stdout] 243 | fn calculate_memory_metrics(&self, current: &HealthSnapshot, total_memory: u64) -> MemoryHealthMetrics { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `icon` [INFO] [stdout] --> src/notifications.rs:49:67 [INFO] [stdout] | [INFO] [stdout] 49 | fn send_toast_notification(&self, title: &str, message: &str, icon: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_icon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/ui.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | let height = 8; // Chart height in characters [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/ui.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | let width = 60; // Chart width in characters [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_labels` [INFO] [stdout] --> src/ui.rs:465:9 [INFO] [stdout] | [INFO] [stdout] 465 | let y_labels = (0..=4) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/app.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct HistoryPoint { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HistoryPoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter_text`, `debug_mode`, `notification_queue`, and `scroll_offset` are never read [INFO] [stdout] --> src/app.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub filter_text: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub debug_mode: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub notification_queue: NotificationQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub scroll_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_status_message` is never used [INFO] [stdout] --> src/app.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 528 | pub fn clear_status_message(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `export_gpu_metrics_csv` and `export_health_alerts_csv` are never used [INFO] [stdout] --> src/export.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CsvExporter { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn export_gpu_metrics_csv(gpu: &GpuInfo, health: Option<&GpuHealthMetrics>, output_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn export_health_alerts_csv(health: &GpuHealthMetrics, output_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/gpu.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GpuInfo { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Amd` and `Intel` are never constructed [INFO] [stdout] --> src/gpu.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum GpuVendor { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 23 | Nvidia, [INFO] [stdout] 24 | Amd, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | Intel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuVendor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ClockInstability` and `FanIssue` are never constructed [INFO] [stdout] --> src/health.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum AlertType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | ClockInstability, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | FanIssue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlertType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `threshold` are never read [INFO] [stdout] --> src/health.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct HealthAlert { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | pub threshold: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HealthAlert` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alerts` is never read [INFO] [stdout] --> src/health.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct GpuHealthMetrics { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | pub alerts: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuHealthMetrics` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `clock_speeds` and `is_throttling` are never read [INFO] [stdout] --> src/health.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct HealthSnapshot { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | clock_speeds: (u32, u32), // gpu_clock, memory_clock [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 85 | is_throttling: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HealthSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_health_alert`, `send_export_error`, `send_process_killed`, `get_alert_icon`, and `test_notification` are never used [INFO] [stdout] --> src/notifications.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl NotificationManager { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn send_health_alert(&self, alert: &HealthAlert) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn send_export_error(&self, error: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn send_process_killed(&self, process_name: &str, pid: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_alert_icon(&self, severity: &HealthStatus) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn test_notification(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_notification_time` and `min_interval` are never read [INFO] [stdout] --> src/notifications.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct NotificationQueue { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 112 | last_notification_time: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | min_interval: std::time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_send_notification` is never used [INFO] [stdout] --> src/notifications.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl NotificationQueue { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn should_send_notification(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_process_name` is never used [INFO] [stdout] --> src/process.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ProcessManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn get_process_name(&mut self, pid: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_settings_mut` is never used [INFO] [stdout] --> src/settings.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl SettingsManager { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_settings_mut(&mut self) -> &mut AppSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_bytes` is never used [INFO] [stdout] --> src/utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn format_bytes(bytes: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_string` is never used [INFO] [stdout] --> src/utils.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn truncate_string(s: &str, max_width: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.76s [INFO] running `Command { std: "docker" "inspect" "5d734322997d9785ac38eb312302b84cec705764553c9c977b1b7eadf7c43395", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d734322997d9785ac38eb312302b84cec705764553c9c977b1b7eadf7c43395", kill_on_drop: false }` [INFO] [stdout] 5d734322997d9785ac38eb312302b84cec705764553c9c977b1b7eadf7c43395 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e82a6878d60adb0aa0e26f0dff92f9d00837d3d683b07c2e0ee17a6f26eff364 [INFO] running `Command { std: "docker" "start" "-a" "e82a6878d60adb0aa0e26f0dff92f9d00837d3d683b07c2e0ee17a6f26eff364", kill_on_drop: false }` [INFO] [stderr] Compiling gputop v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `HealthStatus` [INFO] [stdout] --> src/app.rs:8:54 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::health::{HealthMonitor, GpuHealthMetrics, HealthStatus}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppSettings` [INFO] [stdout] --> src/app.rs:11:40 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::settings::{SettingsManager, AppSettings}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> src/export.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use chrono::{DateTime, Local}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/export.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/notifications.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Process` [INFO] [stdout] --> src/process.rs:2:63 [INFO] [stdout] | [INFO] [stdout] 2 | use sysinfo::{System, SystemExt, ProcessExt, UserExt, PidExt, Process, Pid}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_memory` [INFO] [stdout] --> src/health.rs:243:66 [INFO] [stdout] | [INFO] [stdout] 243 | fn calculate_memory_metrics(&self, current: &HealthSnapshot, total_memory: u64) -> MemoryHealthMetrics { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `icon` [INFO] [stdout] --> src/notifications.rs:49:67 [INFO] [stdout] | [INFO] [stdout] 49 | fn send_toast_notification(&self, title: &str, message: &str, icon: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_icon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/ui.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | let height = 8; // Chart height in characters [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/ui.rs:462:9 [INFO] [stdout] | [INFO] [stdout] 462 | let width = 60; // Chart width in characters [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_labels` [INFO] [stdout] --> src/ui.rs:465:9 [INFO] [stdout] | [INFO] [stdout] 465 | let y_labels = (0..=4) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_labels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/app.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct HistoryPoint { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HistoryPoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `filter_text`, `debug_mode`, `notification_queue`, and `scroll_offset` are never read [INFO] [stdout] --> src/app.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct App { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub filter_text: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub debug_mode: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub notification_queue: NotificationQueue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub scroll_offset: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear_status_message` is never used [INFO] [stdout] --> src/app.rs:528:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl App { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 528 | pub fn clear_status_message(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `export_gpu_metrics_csv` and `export_health_alerts_csv` are never used [INFO] [stdout] --> src/export.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl CsvExporter { [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn export_gpu_metrics_csv(gpu: &GpuInfo, health: Option<&GpuHealthMetrics>, output_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn export_health_alerts_csv(health: &GpuHealthMetrics, output_path: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/gpu.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct GpuInfo { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Amd` and `Intel` are never constructed [INFO] [stdout] --> src/gpu.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | pub enum GpuVendor { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 23 | Nvidia, [INFO] [stdout] 24 | Amd, [INFO] [stdout] | ^^^ [INFO] [stdout] 25 | Intel, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuVendor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ClockInstability` and `FanIssue` are never constructed [INFO] [stdout] --> src/health.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum AlertType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | ClockInstability, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | FanIssue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AlertType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `threshold` are never read [INFO] [stdout] --> src/health.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct HealthAlert { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub value: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | pub threshold: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HealthAlert` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `alerts` is never read [INFO] [stdout] --> src/health.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct GpuHealthMetrics { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | pub alerts: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuHealthMetrics` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `clock_speeds` and `is_throttling` are never read [INFO] [stdout] --> src/health.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 78 | struct HealthSnapshot { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 84 | clock_speeds: (u32, u32), // gpu_clock, memory_clock [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 85 | is_throttling: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HealthSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send_health_alert`, `send_export_error`, `send_process_killed`, `get_alert_icon`, and `test_notification` are never used [INFO] [stdout] --> src/notifications.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 6 | impl NotificationManager { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 11 | pub fn send_health_alert(&self, alert: &HealthAlert) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn send_export_error(&self, error: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn send_process_killed(&self, process_name: &str, pid: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_alert_icon(&self, severity: &HealthStatus) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn test_notification(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_notification_time` and `min_interval` are never read [INFO] [stdout] --> src/notifications.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub struct NotificationQueue { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 112 | last_notification_time: std::time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 113 | min_interval: std::time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `should_send_notification` is never used [INFO] [stdout] --> src/notifications.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 116 | impl NotificationQueue { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn should_send_notification(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_process_name` is never used [INFO] [stdout] --> src/process.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ProcessManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn get_process_name(&mut self, pid: u32) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_settings_mut` is never used [INFO] [stdout] --> src/settings.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 76 | impl SettingsManager { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn get_settings_mut(&mut self) -> &mut AppSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_bytes` is never used [INFO] [stdout] --> src/utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn format_bytes(bytes: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate_string` is never used [INFO] [stdout] --> src/utils.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn truncate_string(s: &str, max_width: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "e82a6878d60adb0aa0e26f0dff92f9d00837d3d683b07c2e0ee17a6f26eff364", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e82a6878d60adb0aa0e26f0dff92f9d00837d3d683b07c2e0ee17a6f26eff364", kill_on_drop: false }` [INFO] [stdout] e82a6878d60adb0aa0e26f0dff92f9d00837d3d683b07c2e0ee17a6f26eff364 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e4b6927c09a78bc75abb6325924098a23805a3a97b52c73db6df90665ae2ff8 [INFO] running `Command { std: "docker" "start" "-a" "2e4b6927c09a78bc75abb6325924098a23805a3a97b52c73db6df90665ae2ff8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `HealthStatus` [INFO] [stderr] --> src/app.rs:8:54 [INFO] [stderr] | [INFO] [stderr] 8 | use crate::health::{HealthMonitor, GpuHealthMetrics, HealthStatus}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `AppSettings` [INFO] [stderr] --> src/app.rs:11:40 [INFO] [stderr] | [INFO] [stderr] 11 | use crate::settings::{SettingsManager, AppSettings}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `DateTime` [INFO] [stderr] --> src/export.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use chrono::{DateTime, Local}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/export.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::process::Command` [INFO] [stderr] --> src/notifications.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::process::Command; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Process` [INFO] [stderr] --> src/process.rs:2:63 [INFO] [stderr] | [INFO] [stderr] 2 | use sysinfo::{System, SystemExt, ProcessExt, UserExt, PidExt, Process, Pid}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `total_memory` [INFO] [stderr] --> src/health.rs:243:66 [INFO] [stderr] | [INFO] [stderr] 243 | fn calculate_memory_metrics(&self, current: &HealthSnapshot, total_memory: u64) -> MemoryHealthMetrics { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_total_memory` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `icon` [INFO] [stderr] --> src/notifications.rs:49:67 [INFO] [stderr] | [INFO] [stderr] 49 | fn send_toast_notification(&self, title: &str, message: &str, icon: &str) { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_icon` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/ui.rs:461:9 [INFO] [stderr] | [INFO] [stderr] 461 | let height = 8; // Chart height in characters [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `width` [INFO] [stderr] --> src/ui.rs:462:9 [INFO] [stderr] | [INFO] [stderr] 462 | let width = 60; // Chart width in characters [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y_labels` [INFO] [stderr] --> src/ui.rs:465:9 [INFO] [stderr] | [INFO] [stderr] 465 | let y_labels = (0..=4) [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_y_labels` [INFO] [stderr] [INFO] [stderr] warning: field `timestamp` is never read [INFO] [stderr] --> src/app.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct HistoryPoint { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 15 | pub timestamp: DateTime, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HistoryPoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `filter_text`, `debug_mode`, `notification_queue`, and `scroll_offset` are never read [INFO] [stderr] --> src/app.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 39 | pub struct App { [INFO] [stderr] | --- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 46 | pub filter_text: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 52 | pub debug_mode: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 59 | pub notification_queue: NotificationQueue, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | pub scroll_offset: usize, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `clear_status_message` is never used [INFO] [stderr] --> src/app.rs:528:12 [INFO] [stderr] | [INFO] [stderr] 78 | impl App { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 528 | pub fn clear_status_message(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `export_gpu_metrics_csv` and `export_health_alerts_csv` are never used [INFO] [stderr] --> src/export.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 12 | impl CsvExporter { [INFO] [stderr] | ---------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn export_gpu_metrics_csv(gpu: &GpuInfo, health: Option<&GpuHealthMetrics>, output_path: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 114 | pub fn export_health_alerts_csv(health: &GpuHealthMetrics, output_path: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `index` is never read [INFO] [stderr] --> src/gpu.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct GpuInfo { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 5 | pub index: usize, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GpuInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Amd` and `Intel` are never constructed [INFO] [stderr] --> src/gpu.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 22 | pub enum GpuVendor { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] 23 | Nvidia, [INFO] [stderr] 24 | Amd, [INFO] [stderr] | ^^^ [INFO] [stderr] 25 | Intel, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GpuVendor` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `ClockInstability` and `FanIssue` are never constructed [INFO] [stderr] --> src/health.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub enum AlertType { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 19 | ClockInstability, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 20 | FanIssue, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AlertType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `value` and `threshold` are never read [INFO] [stderr] --> src/health.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct HealthAlert { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 29 | pub value: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 30 | pub threshold: Option, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HealthAlert` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `alerts` is never read [INFO] [stderr] --> src/health.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct GpuHealthMetrics { [INFO] [stderr] | ---------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 68 | pub alerts: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GpuHealthMetrics` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `clock_speeds` and `is_throttling` are never read [INFO] [stderr] --> src/health.rs:84:5 [INFO] [stderr] | [INFO] [stderr] 78 | struct HealthSnapshot { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 84 | clock_speeds: (u32, u32), // gpu_clock, memory_clock [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 85 | is_throttling: bool, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HealthSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `send_health_alert`, `send_export_error`, `send_process_killed`, `get_alert_icon`, and `test_notification` are never used [INFO] [stderr] --> src/notifications.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 6 | impl NotificationManager { [INFO] [stderr] | ------------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 11 | pub fn send_health_alert(&self, alert: &HealthAlert) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 33 | pub fn send_export_error(&self, error: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn send_process_killed(&self, process_name: &str, pid: u32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 92 | fn get_alert_icon(&self, severity: &HealthStatus) -> &'static str { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 101 | pub fn test_notification(&self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `last_notification_time` and `min_interval` are never read [INFO] [stderr] --> src/notifications.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 111 | pub struct NotificationQueue { [INFO] [stderr] | ----------------- fields in this struct [INFO] [stderr] 112 | last_notification_time: std::time::Instant, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 113 | min_interval: std::time::Duration, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `should_send_notification` is never used [INFO] [stderr] --> src/notifications.rs:124:12 [INFO] [stderr] | [INFO] [stderr] 116 | impl NotificationQueue { [INFO] [stderr] | ---------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 124 | pub fn should_send_notification(&mut self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_process_name` is never used [INFO] [stderr] --> src/process.rs:170:12 [INFO] [stderr] | [INFO] [stderr] 23 | impl ProcessManager { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 170 | pub fn get_process_name(&mut self, pid: u32) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_settings_mut` is never used [INFO] [stderr] --> src/settings.rs:103:12 [INFO] [stderr] | [INFO] [stderr] 76 | impl SettingsManager { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 103 | pub fn get_settings_mut(&mut self) -> &mut AppSettings { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `format_bytes` is never used [INFO] [stderr] --> src/utils.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn format_bytes(bytes: u64) -> String { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `truncate_string` is never used [INFO] [stderr] --> src/utils.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | pub fn truncate_string(s: &str, max_width: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `gputop` (bin "gputop" test) generated 28 warnings (run `cargo fix --bin "gputop" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/gputop-5cb3d5859096ce5f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2e4b6927c09a78bc75abb6325924098a23805a3a97b52c73db6df90665ae2ff8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e4b6927c09a78bc75abb6325924098a23805a3a97b52c73db6df90665ae2ff8", kill_on_drop: false }` [INFO] [stdout] 2e4b6927c09a78bc75abb6325924098a23805a3a97b52c73db6df90665ae2ff8