[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] building humaxai2025/gputop against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhumaxai2025%2Fgputop" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 88% (907/1021) Updating files: 89% (909/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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/humaxai2025/gputop on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0df870466e65923ee90853d3fb5a4d378c464a93fd7bc2827a67133d58707911 [INFO] running `Command { std: "docker" "start" "-a" "0df870466e65923ee90853d3fb5a4d378c464a93fd7bc2827a67133d58707911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0df870466e65923ee90853d3fb5a4d378c464a93fd7bc2827a67133d58707911", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0df870466e65923ee90853d3fb5a4d378c464a93fd7bc2827a67133d58707911", kill_on_drop: false }` [INFO] [stdout] 0df870466e65923ee90853d3fb5a4d378c464a93fd7bc2827a67133d58707911 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0027243ed77d7dfc1a1bb623906e1dfe6224fc7f755db2ba7c3253c524a1994c [INFO] running `Command { std: "docker" "start" "-a" "0027243ed77d7dfc1a1bb623906e1dfe6224fc7f755db2ba7c3253c524a1994c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling nvml-wrapper-sys v0.7.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling regex-automata v0.4.9 [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 thiserror-impl v1.0.69 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling clap_derive v4.5.41 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling wrapcenum-derive v0.4.1 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling clap v4.5.43 [INFO] [stderr] Compiling ratatui v0.24.0 [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: 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] [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 `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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.42s [INFO] running `Command { std: "docker" "inspect" "0027243ed77d7dfc1a1bb623906e1dfe6224fc7f755db2ba7c3253c524a1994c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0027243ed77d7dfc1a1bb623906e1dfe6224fc7f755db2ba7c3253c524a1994c", kill_on_drop: false }` [INFO] [stdout] 0027243ed77d7dfc1a1bb623906e1dfe6224fc7f755db2ba7c3253c524a1994c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a526f6c57f9772e8942d266698e6ca0755265f1fb8edfb69e534262732408c10 [INFO] running `Command { std: "docker" "start" "-a" "a526f6c57f9772e8942d266698e6ca0755265f1fb8edfb69e534262732408c10", 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: `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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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: 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] [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: 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: 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: 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: 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] [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: 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: 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "a526f6c57f9772e8942d266698e6ca0755265f1fb8edfb69e534262732408c10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a526f6c57f9772e8942d266698e6ca0755265f1fb8edfb69e534262732408c10", kill_on_drop: false }` [INFO] [stdout] a526f6c57f9772e8942d266698e6ca0755265f1fb8edfb69e534262732408c10