[INFO] cloning repository https://github.com/SamanodyJr/OS_Project [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SamanodyJr/OS_Project" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamanodyJr%2FOS_Project", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamanodyJr%2FOS_Project'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d68c80613b6c90ca75aaaa55126bf14d7fd12d1 [INFO] testing SamanodyJr/OS_Project against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSamanodyJr%2FOS_Project" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SamanodyJr/OS_Project [INFO] finished tweaking git repo https://github.com/SamanodyJr/OS_Project [INFO] tweaked toml for git repo https://github.com/SamanodyJr/OS_Project written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SamanodyJr/OS_Project on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SamanodyJr/OS_Project 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37917fecf1be60513d15c72afc562efeaaf1ab3ebc0145f790ffe1053bcb3129 [INFO] running `Command { std: "docker" "start" "-a" "37917fecf1be60513d15c72afc562efeaaf1ab3ebc0145f790ffe1053bcb3129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37917fecf1be60513d15c72afc562efeaaf1ab3ebc0145f790ffe1053bcb3129", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37917fecf1be60513d15c72afc562efeaaf1ab3ebc0145f790ffe1053bcb3129", kill_on_drop: false }` [INFO] [stdout] 37917fecf1be60513d15c72afc562efeaaf1ab3ebc0145f790ffe1053bcb3129 [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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a29dd84ca3d76f98a878f11835a1c254460d53eda76bfa35f411bab286b6be9c [INFO] running `Command { std: "docker" "start" "-a" "a29dd84ca3d76f98a878f11835a1c254460d53eda76bfa35f411bab286b6be9c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling cc v1.1.36 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.39 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling allocator-api2 v0.2.20 [INFO] [stderr] Compiling rustix v0.36.17 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling procfs v0.14.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling owo-colors v3.5.0 [INFO] [stderr] Compiling compact_str v0.8.0 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling color-spantrace v0.2.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling flate2 v1.0.34 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling bytes v1.8.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling instability v0.3.3 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling tokio v1.41.1 [INFO] [stderr] Compiling sysinfo v0.27.8 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling color-eyre v0.6.3 [INFO] [stderr] Compiling users v0.11.0 [INFO] [stderr] Compiling user v0.1.1 [INFO] [stderr] Compiling OS_Project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Paragraph` [INFO] [stdout] --> src/main.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | widgets::{Block, Borders, Cell, Row, Paragraph, Tabs, Table, Widget, Gauge}, DefaultTerminal, [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 imports: `Disk` and `System` [INFO] [stdout] --> src/cpuUsage.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use sysinfo::{System, Disk}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Memory::Mem_Usage` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use Memory::Mem_Usage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IO::Disk_Usage` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use IO::Disk_Usage; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpuUsage.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut prev_cpu_stats = read_cpu_stat().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filtered_data` [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let filtered_data: Vec<&Process> = data.iter() [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filtered_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gaugeBarColor` is never used [INFO] [stdout] --> src/main.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const gaugeBarColor: Color = tailwind::RED.c800; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `killall` is never used [INFO] [stdout] --> src/ctrl.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn killall(process_name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `cpuUsage` should have a snake case name [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | mod cpuUsage; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cpu_usage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gaugeBarColor` should have an upper case name [INFO] [stdout] --> src/main.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const gaugeBarColor: Color = tailwind::RED.c800; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `GAUGE_BAR_COLOR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gaugeTextColor` should have an upper case name [INFO] [stdout] --> src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const gaugeTextColor: Color = tailwind::GREEN.c600; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 39 - const gaugeTextColor: Color = tailwind::GREEN.c600; [INFO] [stdout] 39 + const GAUGE_TEXT_COLOR: Color = tailwind::GREEN.c600; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/overview.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | ... if statm.shared < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.83s [INFO] running `Command { std: "docker" "inspect" "a29dd84ca3d76f98a878f11835a1c254460d53eda76bfa35f411bab286b6be9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a29dd84ca3d76f98a878f11835a1c254460d53eda76bfa35f411bab286b6be9c", kill_on_drop: false }` [INFO] [stdout] a29dd84ca3d76f98a878f11835a1c254460d53eda76bfa35f411bab286b6be9c [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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c14438d18da5bcd76514ad706cdce4f2dce5862c2d91716bf647a1fed71527d [INFO] running `Command { std: "docker" "start" "-a" "5c14438d18da5bcd76514ad706cdce4f2dce5862c2d91716bf647a1fed71527d", kill_on_drop: false }` [INFO] [stderr] Compiling OS_Project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Paragraph` [INFO] [stdout] --> src/main.rs:19:42 [INFO] [stdout] | [INFO] [stdout] 19 | widgets::{Block, Borders, Cell, Row, Paragraph, Tabs, Table, Widget, Gauge}, DefaultTerminal, [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 imports: `Disk` and `System` [INFO] [stdout] --> src/cpuUsage.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use sysinfo::{System, Disk}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Memory::Mem_Usage` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use Memory::Mem_Usage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IO::Disk_Usage` [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use IO::Disk_Usage; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpuUsage.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let mut prev_cpu_stats = read_cpu_stat().unwrap(); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filtered_data` [INFO] [stdout] --> src/main.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let filtered_data: Vec<&Process> = data.iter() [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filtered_data` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gaugeBarColor` is never used [INFO] [stdout] --> src/main.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const gaugeBarColor: Color = tailwind::RED.c800; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `killall` is never used [INFO] [stdout] --> src/ctrl.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn killall(process_name: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `cpuUsage` should have a snake case name [INFO] [stdout] --> src/main.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | mod cpuUsage; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cpu_usage` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gaugeBarColor` should have an upper case name [INFO] [stdout] --> src/main.rs:38:7 [INFO] [stdout] | [INFO] [stdout] 38 | const gaugeBarColor: Color = tailwind::RED.c800; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `GAUGE_BAR_COLOR` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gaugeTextColor` should have an upper case name [INFO] [stdout] --> src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | const gaugeTextColor: Color = tailwind::GREEN.c600; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 39 - const gaugeTextColor: Color = tailwind::GREEN.c600; [INFO] [stdout] 39 + const GAUGE_TEXT_COLOR: Color = tailwind::GREEN.c600; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/overview.rs:62:36 [INFO] [stdout] | [INFO] [stdout] 62 | ... if statm.shared < 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "5c14438d18da5bcd76514ad706cdce4f2dce5862c2d91716bf647a1fed71527d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c14438d18da5bcd76514ad706cdce4f2dce5862c2d91716bf647a1fed71527d", kill_on_drop: false }` [INFO] [stdout] 5c14438d18da5bcd76514ad706cdce4f2dce5862c2d91716bf647a1fed71527d [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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 420b57bf2b4bfc4238f726b205b315639ac74ab9bfe75313cb0397fbfd39a7ee [INFO] running `Command { std: "docker" "start" "-a" "420b57bf2b4bfc4238f726b205b315639ac74ab9bfe75313cb0397fbfd39a7ee", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Paragraph` [INFO] [stderr] --> src/main.rs:19:42 [INFO] [stderr] | [INFO] [stderr] 19 | widgets::{Block, Borders, Cell, Row, Paragraph, Tabs, Table, Widget, Gauge}, DefaultTerminal, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Disk` and `System` [INFO] [stderr] --> src/cpuUsage.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use sysinfo::{System, Disk}; [INFO] [stderr] | ^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Memory::Mem_Usage` [INFO] [stderr] --> src/main.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | use Memory::Mem_Usage; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `IO::Disk_Usage` [INFO] [stderr] --> src/main.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use IO::Disk_Usage; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/cpuUsage.rs:54:9 [INFO] [stderr] | [INFO] [stderr] 54 | let mut prev_cpu_stats = read_cpu_stat().unwrap(); [INFO] [stderr] | ----^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `filtered_data` [INFO] [stderr] --> src/main.rs:143:13 [INFO] [stderr] | [INFO] [stderr] 143 | let filtered_data: Vec<&Process> = data.iter() [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_filtered_data` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `gaugeBarColor` is never used [INFO] [stderr] --> src/main.rs:38:7 [INFO] [stderr] | [INFO] [stderr] 38 | const gaugeBarColor: Color = tailwind::RED.c800; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `killall` is never used [INFO] [stderr] --> src/ctrl.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 36 | pub fn killall(process_name: &str) -> Result<(), String> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: module `cpuUsage` should have a snake case name [INFO] [stderr] --> src/main.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | mod cpuUsage; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `cpu_usage` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `gaugeBarColor` should have an upper case name [INFO] [stderr] --> src/main.rs:38:7 [INFO] [stderr] | [INFO] [stderr] 38 | const gaugeBarColor: Color = tailwind::RED.c800; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `GAUGE_BAR_COLOR` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `gaugeTextColor` should have an upper case name [INFO] [stderr] --> src/main.rs:39:7 [INFO] [stderr] | [INFO] [stderr] 39 | const gaugeTextColor: Color = tailwind::GREEN.c600; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 39 - const gaugeTextColor: Color = tailwind::GREEN.c600; [INFO] [stderr] 39 + const GAUGE_TEXT_COLOR: Color = tailwind::GREEN.c600; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/overview.rs:62:36 [INFO] [stderr] | [INFO] [stderr] 62 | ... if statm.shared < 0 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `OS_Project` (bin "OS_Project" test) generated 12 warnings (run `cargo fix --bin "OS_Project" --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/OS_Project-34a2ce90a8ae7322) [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" "420b57bf2b4bfc4238f726b205b315639ac74ab9bfe75313cb0397fbfd39a7ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "420b57bf2b4bfc4238f726b205b315639ac74ab9bfe75313cb0397fbfd39a7ee", kill_on_drop: false }` [INFO] [stdout] 420b57bf2b4bfc4238f726b205b315639ac74ab9bfe75313cb0397fbfd39a7ee