[INFO] cloning repository https://github.com/alexthemitchell/rhtop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexthemitchell/rhtop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexthemitchell%2Frhtop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexthemitchell%2Frhtop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f226f011111ab31cef5044808c335efe955eb66a [INFO] checking alexthemitchell/rhtop against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexthemitchell%2Frhtop" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexthemitchell/rhtop on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexthemitchell/rhtop [INFO] finished tweaking git repo https://github.com/alexthemitchell/rhtop [INFO] tweaked toml for git repo https://github.com/alexthemitchell/rhtop written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alexthemitchell/rhtop 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tui v0.6.2 [INFO] [stderr] Downloaded crossterm_style v0.4.0 [INFO] [stderr] Downloaded crossterm_input v0.3.8 [INFO] [stderr] Downloaded sysinfo v0.9.1 [INFO] [stderr] Downloaded crossterm_screen v0.2.4 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] [stderr] Downloaded crossterm_style v0.3.3 [INFO] [stderr] Downloaded crossterm_cursor v0.2.5 [INFO] [stderr] Downloaded crossterm_terminal v0.2.5 [INFO] [stderr] Downloaded crossterm_winapi v0.1.5 [INFO] [stderr] Downloaded crossterm_utils v0.2.4 [INFO] [stderr] Downloaded crossterm v0.9.6 [INFO] [stderr] Downloaded crossterm v0.10.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6aebac04b41ff07607ecb604ffd0effaec4fbaa18d14bee93ca7bb72f28358b7 [INFO] running `Command { std: "docker" "start" "-a" "6aebac04b41ff07607ecb604ffd0effaec4fbaa18d14bee93ca7bb72f28358b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6aebac04b41ff07607ecb604ffd0effaec4fbaa18d14bee93ca7bb72f28358b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6aebac04b41ff07607ecb604ffd0effaec4fbaa18d14bee93ca7bb72f28358b7", kill_on_drop: false }` [INFO] [stdout] 6aebac04b41ff07607ecb604ffd0effaec4fbaa18d14bee93ca7bb72f28358b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c147730170d6d3fd0f989b5c8059dba7e37fff689ca17e1ca781ef2e7a43e08d [INFO] running `Command { std: "docker" "start" "-a" "c147730170d6d3fd0f989b5c8059dba7e37fff689ca17e1ca781ef2e7a43e08d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling sysinfo v0.9.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking bytesize v1.0.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking crossterm_utils v0.2.4 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking crossterm_screen v0.2.4 [INFO] [stderr] Checking crossterm_cursor v0.2.5 [INFO] [stderr] Checking crossterm_style v0.3.3 [INFO] [stderr] Checking crossterm_style v0.4.0 [INFO] [stderr] Checking crossterm_input v0.3.8 [INFO] [stderr] Checking crossterm_terminal v0.2.5 [INFO] [stderr] Checking crossterm v0.9.6 [INFO] [stderr] Checking crossterm v0.10.1 [INFO] [stderr] Checking tui v0.6.2 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking rhtop v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl MemorySnapshot { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn new(total_bytes: u64, used_bytes: u64) -> MemorySnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiskSnapshot` is never constructed [INFO] [stdout] --> src/models/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct DiskSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiskSnapshot` 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: multiple associated items are never used [INFO] [stdout] --> src/models/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl DiskSnapshot { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 74 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_available_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_total_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwapSnapshot` is never constructed [INFO] [stdout] --> src/models/mod.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct SwapSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapSnapshot` 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: associated function `new` is never used [INFO] [stdout] --> src/models/mod.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl SwapSnapshot { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 133 | pub fn new(total_bytes: u64, used_bytes: u64) -> SwapSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SystemReport` is never constructed [INFO] [stdout] --> src/models/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct SystemReport { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemReport` 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: associated items `get_memory`, `get_time`, `get_processors`, and `new` are never used [INFO] [stdout] --> src/models/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl SystemReport { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 151 | pub fn get_memory(&self) -> &MemorySnapshot { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn get_time(&self) -> &std::time::SystemTime { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn get_processors(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl ProcessorSnapshot { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 187 | pub fn new(name: String, usage_percent: f32) -> ProcessorSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> src/models/mod.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait Gaugable { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 212 | fn display(&self) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiskSnapshot` is never constructed [INFO] [stdout] --> src/models/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct DiskSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/models/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl DiskSnapshot { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 74 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_available_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_total_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwapSnapshot` is never constructed [INFO] [stdout] --> src/models/mod.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct SwapSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapSnapshot` 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: associated function `new` is never used [INFO] [stdout] --> src/models/mod.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl SwapSnapshot { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 133 | pub fn new(total_bytes: u64, used_bytes: u64) -> SwapSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SystemReport` is never constructed [INFO] [stdout] --> src/models/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct SystemReport { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemReport` 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: associated items `get_memory`, `get_time`, `get_processors`, and `new` are never used [INFO] [stdout] --> src/models/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl SystemReport { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 151 | pub fn get_memory(&self) -> &MemorySnapshot { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn get_time(&self) -> &std::time::SystemTime { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn get_processors(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl ProcessorSnapshot { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 187 | pub fn new(name: String, usage_percent: f32) -> ProcessorSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> src/models/mod.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait Gaugable { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 212 | fn display(&self) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `fs_type`, `total`, and `available` are never read [INFO] [stdout] --> src/models/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct DiskSnapshot { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 67 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | fs_type: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | available: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `fs_type`, `total`, and `available` are never read [INFO] [stdout] --> src/models/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct DiskSnapshot { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 67 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | fs_type: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | available: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/models/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl DiskSnapshot { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 74 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_available_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_total_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total` and `used` are never read [INFO] [stdout] --> src/models/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct SwapSnapshot { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 128 | total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 129 | used: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapSnapshot` 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 `disks` and `swap` are never read [INFO] [stdout] --> src/models/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct SystemReport { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 143 | disks: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 144 | memory: MemorySnapshot, [INFO] [stdout] 145 | swap: SwapSnapshot, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemReport` 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: multiple methods are never used [INFO] [stdout] --> src/models/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl DiskSnapshot { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 74 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_available_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_total_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total` and `used` are never read [INFO] [stdout] --> src/models/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct SwapSnapshot { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 128 | total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 129 | used: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapSnapshot` 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 `disks` and `swap` are never read [INFO] [stdout] --> src/models/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct SystemReport { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 143 | disks: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 144 | memory: MemorySnapshot, [INFO] [stdout] 145 | swap: SwapSnapshot, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemReport` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.28s [INFO] running `Command { std: "docker" "inspect" "c147730170d6d3fd0f989b5c8059dba7e37fff689ca17e1ca781ef2e7a43e08d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c147730170d6d3fd0f989b5c8059dba7e37fff689ca17e1ca781ef2e7a43e08d", kill_on_drop: false }` [INFO] [stdout] c147730170d6d3fd0f989b5c8059dba7e37fff689ca17e1ca781ef2e7a43e08d [INFO] checking alexthemitchell/rhtop against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexthemitchell%2Frhtop" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexthemitchell/rhtop on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexthemitchell/rhtop [INFO] finished tweaking git repo https://github.com/alexthemitchell/rhtop [INFO] tweaked toml for git repo https://github.com/alexthemitchell/rhtop written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/alexthemitchell/rhtop 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9253c5ae3b7605acad5763fab5d7b1e89faa314d4bdf2325e41902215362c2a3 [INFO] running `Command { std: "docker" "start" "-a" "9253c5ae3b7605acad5763fab5d7b1e89faa314d4bdf2325e41902215362c2a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9253c5ae3b7605acad5763fab5d7b1e89faa314d4bdf2325e41902215362c2a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9253c5ae3b7605acad5763fab5d7b1e89faa314d4bdf2325e41902215362c2a3", kill_on_drop: false }` [INFO] [stdout] 9253c5ae3b7605acad5763fab5d7b1e89faa314d4bdf2325e41902215362c2a3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 09c0cf5bac5751c452801ec700b8e1414f3c32a6a06d30cd779956a773636ef5 [INFO] running `Command { std: "docker" "start" "-a" "09c0cf5bac5751c452801ec700b8e1414f3c32a6a06d30cd779956a773636ef5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling sysinfo v0.9.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking bytesize v1.0.0 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Checking itertools v0.8.0 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking crossbeam-deque v0.6.3 [INFO] [stderr] Checking crossterm_utils v0.2.4 [INFO] [stderr] Checking num_cpus v1.10.1 [INFO] [stderr] Checking crossterm_cursor v0.2.5 [INFO] [stderr] Checking crossterm_screen v0.2.4 [INFO] [stderr] Checking crossterm_style v0.3.3 [INFO] [stderr] Checking crossterm_style v0.4.0 [INFO] [stderr] Checking crossterm_input v0.3.8 [INFO] [stderr] Checking crossterm_terminal v0.2.5 [INFO] [stderr] Checking crossterm v0.9.6 [INFO] [stderr] Checking crossterm v0.10.1 [INFO] [stderr] Checking rayon v1.1.0 [INFO] [stderr] Checking tui v0.6.2 [INFO] [stderr] Checking rhtop v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/mod.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl MemorySnapshot { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn new(total_bytes: u64, used_bytes: u64) -> MemorySnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiskSnapshot` is never constructed [INFO] [stdout] --> src/models/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct DiskSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiskSnapshot` 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: multiple associated items are never used [INFO] [stdout] --> src/models/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl DiskSnapshot { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 74 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_available_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_total_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwapSnapshot` is never constructed [INFO] [stdout] --> src/models/mod.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct SwapSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapSnapshot` 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: associated function `new` is never used [INFO] [stdout] --> src/models/mod.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl SwapSnapshot { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 133 | pub fn new(total_bytes: u64, used_bytes: u64) -> SwapSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SystemReport` is never constructed [INFO] [stdout] --> src/models/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct SystemReport { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemReport` 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: associated items `get_memory`, `get_time`, `get_processors`, and `new` are never used [INFO] [stdout] --> src/models/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl SystemReport { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 151 | pub fn get_memory(&self) -> &MemorySnapshot { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn get_time(&self) -> &std::time::SystemTime { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn get_processors(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl ProcessorSnapshot { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 187 | pub fn new(name: String, usage_percent: f32) -> ProcessorSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> src/models/mod.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait Gaugable { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 212 | fn display(&self) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DiskSnapshot` is never constructed [INFO] [stdout] --> src/models/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct DiskSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/models/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl DiskSnapshot { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 74 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_available_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_total_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwapSnapshot` is never constructed [INFO] [stdout] --> src/models/mod.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct SwapSnapshot { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapSnapshot` 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: associated function `new` is never used [INFO] [stdout] --> src/models/mod.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl SwapSnapshot { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 133 | pub fn new(total_bytes: u64, used_bytes: u64) -> SwapSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SystemReport` is never constructed [INFO] [stdout] --> src/models/mod.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct SystemReport { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemReport` 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: associated items `get_memory`, `get_time`, `get_processors`, and `new` are never used [INFO] [stdout] --> src/models/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 150 | impl SystemReport { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 151 | pub fn get_memory(&self) -> &MemorySnapshot { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn get_time(&self) -> &std::time::SystemTime { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn get_processors(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl ProcessorSnapshot { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 187 | pub fn new(name: String, usage_percent: f32) -> ProcessorSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> src/models/mod.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 209 | pub trait Gaugable { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 212 | fn display(&self) -> String; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `fs_type`, `total`, and `available` are never read [INFO] [stdout] --> src/models/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct DiskSnapshot { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 67 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | fs_type: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | available: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/models/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl DiskSnapshot { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 74 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_available_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_total_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total` and `used` are never read [INFO] [stdout] --> src/models/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct SwapSnapshot { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 128 | total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 129 | used: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapSnapshot` 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 `disks` and `swap` are never read [INFO] [stdout] --> src/models/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct SystemReport { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 143 | disks: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 144 | memory: MemorySnapshot, [INFO] [stdout] 145 | swap: SwapSnapshot, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemReport` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `fs_type`, `total`, and `available` are never read [INFO] [stdout] --> src/models/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct DiskSnapshot { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 67 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 68 | fs_type: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 69 | total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 70 | available: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/models/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl DiskSnapshot { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 74 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn get_available_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_total_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `total` and `used` are never read [INFO] [stdout] --> src/models/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 127 | pub struct SwapSnapshot { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 128 | total: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 129 | used: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SwapSnapshot` 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 `disks` and `swap` are never read [INFO] [stdout] --> src/models/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 142 | pub struct SystemReport { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 143 | disks: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 144 | memory: MemorySnapshot, [INFO] [stdout] 145 | swap: SwapSnapshot, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SystemReport` 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.87s [INFO] running `Command { std: "docker" "inspect" "09c0cf5bac5751c452801ec700b8e1414f3c32a6a06d30cd779956a773636ef5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09c0cf5bac5751c452801ec700b8e1414f3c32a6a06d30cd779956a773636ef5", kill_on_drop: false }` [INFO] [stdout] 09c0cf5bac5751c452801ec700b8e1414f3c32a6a06d30cd779956a773636ef5