[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] testing alexthemitchell/rhtop against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexthemitchell%2Frhtop" "/workspace/builds/worker-87/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-87/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexthemitchell/rhtop on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-87/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30634bb26cf0182af31904c579beb1f8d4ec59aa453b8cd72a27df9cb11e4254 [INFO] running `Command { std: "docker" "start" "-a" "30634bb26cf0182af31904c579beb1f8d4ec59aa453b8cd72a27df9cb11e4254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30634bb26cf0182af31904c579beb1f8d4ec59aa453b8cd72a27df9cb11e4254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30634bb26cf0182af31904c579beb1f8d4ec59aa453b8cd72a27df9cb11e4254", kill_on_drop: false }` [INFO] [stdout] 30634bb26cf0182af31904c579beb1f8d4ec59aa453b8cd72a27df9cb11e4254 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 010362a0d8e4e765bd59b7fe550b4b4279e2bc07aa261cb062a20056ff204c0b [INFO] running `Command { std: "docker" "start" "-a" "010362a0d8e4e765bd59b7fe550b4b4279e2bc07aa261cb062a20056ff204c0b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling rayon-core v1.5.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling sysinfo v0.9.1 [INFO] [stderr] Compiling unicode-segmentation v1.3.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling bytesize v1.0.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling itertools v0.8.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling crossterm_utils v0.2.4 [INFO] [stderr] Compiling num_cpus v1.10.1 [INFO] [stderr] Compiling crossterm_cursor v0.2.5 [INFO] [stderr] Compiling crossterm_screen v0.2.4 [INFO] [stderr] Compiling crossterm_style v0.3.3 [INFO] [stderr] Compiling crossterm_style v0.4.0 [INFO] [stderr] Compiling crossterm_input v0.3.8 [INFO] [stderr] Compiling crossterm_terminal v0.2.5 [INFO] [stderr] Compiling crossterm v0.9.6 [INFO] [stderr] Compiling crossterm v0.10.1 [INFO] [stderr] Compiling crossbeam-epoch v0.7.2 [INFO] [stderr] Compiling tui v0.6.2 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling rayon v1.1.0 [INFO] [stderr] Compiling rhtop v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:44:12 [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: field is never read: `name` [INFO] [stdout] --> src/models/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | name: String, [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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fs_type` [INFO] [stdout] --> src/models/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | fs_type: String, [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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `total` [INFO] [stdout] --> src/models/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | total: 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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `available` [INFO] [stdout] --> src/models/mod.rs:70:5 [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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/models/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_fs_type` [INFO] [stdout] --> src/models/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_bytes` [INFO] [stdout] --> src/models/mod.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_available_bytes` [INFO] [stdout] --> src/models/mod.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_used_bytes` [INFO] [stdout] --> src/models/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_available_display` [INFO] [stdout] --> src/models/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_available_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_display` [INFO] [stdout] --> src/models/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_total_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `description` [INFO] [stdout] --> src/models/mod.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `total` [INFO] [stdout] --> src/models/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | total: 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] --> src/models/mod.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `used` [INFO] [stdout] --> src/models/mod.rs:129:5 [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] --> src/models/mod.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new(total_bytes: u64, used_bytes: u64) -> SwapSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `disks` [INFO] [stdout] --> src/models/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | disks: Vec, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `memory` [INFO] [stdout] --> src/models/mod.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | memory: MemorySnapshot, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `swap` [INFO] [stdout] --> src/models/mod.rs:145:5 [INFO] [stdout] | [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `processors` [INFO] [stdout] --> src/models/mod.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | processors: Vec, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/models/mod.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | time: std::time::SystemTime, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_memory` [INFO] [stdout] --> src/models/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_memory(&self) -> &MemorySnapshot { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_time` [INFO] [stdout] --> src/models/mod.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn get_time(&self) -> &std::time::SystemTime { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_processors` [INFO] [stdout] --> src/models/mod.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_processors(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn new(name: String, usage_percent: f32) -> ProcessorSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/models/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fs_type` [INFO] [stdout] --> src/models/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | fs_type: String, [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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `total` [INFO] [stdout] --> src/models/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | total: 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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `available` [INFO] [stdout] --> src/models/mod.rs:70:5 [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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/models/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_fs_type` [INFO] [stdout] --> src/models/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_bytes` [INFO] [stdout] --> src/models/mod.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_available_bytes` [INFO] [stdout] --> src/models/mod.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_used_bytes` [INFO] [stdout] --> src/models/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_available_display` [INFO] [stdout] --> src/models/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_available_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_display` [INFO] [stdout] --> src/models/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_total_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `description` [INFO] [stdout] --> src/models/mod.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `total` [INFO] [stdout] --> src/models/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | total: 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] --> src/models/mod.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `used` [INFO] [stdout] --> src/models/mod.rs:129:5 [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] --> src/models/mod.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `disks` [INFO] [stdout] --> src/models/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | disks: Vec, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `swap` [INFO] [stdout] --> src/models/mod.rs:145:5 [INFO] [stdout] | [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.14s [INFO] running `Command { std: "docker" "inspect" "010362a0d8e4e765bd59b7fe550b4b4279e2bc07aa261cb062a20056ff204c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "010362a0d8e4e765bd59b7fe550b4b4279e2bc07aa261cb062a20056ff204c0b", kill_on_drop: false }` [INFO] [stdout] 010362a0d8e4e765bd59b7fe550b4b4279e2bc07aa261cb062a20056ff204c0b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 72519cb2cb7eb2b5a8f1de54d01faae4e72b497a46406d45e0e258adeb47eb49 [INFO] running `Command { std: "docker" "start" "-a" "72519cb2cb7eb2b5a8f1de54d01faae4e72b497a46406d45e0e258adeb47eb49", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:44:12 [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: field is never read: `name` [INFO] [stdout] --> src/models/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | name: String, [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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fs_type` [INFO] [stdout] --> src/models/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | fs_type: String, [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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `total` [INFO] [stdout] --> src/models/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | total: 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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `available` [INFO] [stdout] --> src/models/mod.rs:70:5 [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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/models/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_fs_type` [INFO] [stdout] --> src/models/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_bytes` [INFO] [stdout] --> src/models/mod.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_available_bytes` [INFO] [stdout] --> src/models/mod.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_used_bytes` [INFO] [stdout] --> src/models/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_available_display` [INFO] [stdout] --> src/models/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_available_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_display` [INFO] [stdout] --> src/models/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_total_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `description` [INFO] [stdout] --> src/models/mod.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `total` [INFO] [stdout] --> src/models/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | total: 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] --> src/models/mod.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `used` [INFO] [stdout] --> src/models/mod.rs:129:5 [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] --> src/models/mod.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new(total_bytes: u64, used_bytes: u64) -> SwapSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `disks` [INFO] [stdout] --> src/models/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | disks: Vec, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `memory` [INFO] [stdout] --> src/models/mod.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | memory: MemorySnapshot, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `swap` [INFO] [stdout] --> src/models/mod.rs:145:5 [INFO] [stdout] | [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `processors` [INFO] [stdout] --> src/models/mod.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | processors: Vec, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/models/mod.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | time: std::time::SystemTime, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_memory` [INFO] [stdout] --> src/models/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_memory(&self) -> &MemorySnapshot { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_time` [INFO] [stdout] --> src/models/mod.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn get_time(&self) -> &std::time::SystemTime { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_processors` [INFO] [stdout] --> src/models/mod.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_processors(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn new(name: String, usage_percent: f32) -> ProcessorSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rhtop v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/models/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fs_type` [INFO] [stdout] --> src/models/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | fs_type: String, [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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `total` [INFO] [stdout] --> src/models/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | total: 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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `available` [INFO] [stdout] --> src/models/mod.rs:70:5 [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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/models/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_fs_type` [INFO] [stdout] --> src/models/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_bytes` [INFO] [stdout] --> src/models/mod.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_available_bytes` [INFO] [stdout] --> src/models/mod.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_used_bytes` [INFO] [stdout] --> src/models/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_available_display` [INFO] [stdout] --> src/models/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_available_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_display` [INFO] [stdout] --> src/models/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_total_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `description` [INFO] [stdout] --> src/models/mod.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `total` [INFO] [stdout] --> src/models/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | total: 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] --> src/models/mod.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `used` [INFO] [stdout] --> src/models/mod.rs:129:5 [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] --> src/models/mod.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn new(total_bytes: u64, used_bytes: u64) -> SwapSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `disks` [INFO] [stdout] --> src/models/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | disks: Vec, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `memory` [INFO] [stdout] --> src/models/mod.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | memory: MemorySnapshot, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `swap` [INFO] [stdout] --> src/models/mod.rs:145:5 [INFO] [stdout] | [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `processors` [INFO] [stdout] --> src/models/mod.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | processors: Vec, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time` [INFO] [stdout] --> src/models/mod.rs:147:5 [INFO] [stdout] | [INFO] [stdout] 147 | time: std::time::SystemTime, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_memory` [INFO] [stdout] --> src/models/mod.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn get_memory(&self) -> &MemorySnapshot { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_time` [INFO] [stdout] --> src/models/mod.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn get_time(&self) -> &std::time::SystemTime { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_processors` [INFO] [stdout] --> src/models/mod.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn get_processors(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/models/mod.rs:187:12 [INFO] [stdout] | [INFO] [stdout] 187 | pub fn new(name: String, usage_percent: f32) -> ProcessorSnapshot { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/models/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `fs_type` [INFO] [stdout] --> src/models/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | fs_type: String, [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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `total` [INFO] [stdout] --> src/models/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | total: 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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `available` [INFO] [stdout] --> src/models/mod.rs:70:5 [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] --> src/models/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_name` [INFO] [stdout] --> src/models/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn get_name(&self) -> &String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_fs_type` [INFO] [stdout] --> src/models/mod.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_bytes` [INFO] [stdout] --> src/models/mod.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_available_bytes` [INFO] [stdout] --> src/models/mod.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_used_bytes` [INFO] [stdout] --> src/models/mod.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_available_display` [INFO] [stdout] --> src/models/mod.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_available_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_total_display` [INFO] [stdout] --> src/models/mod.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn get_total_display(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `description` [INFO] [stdout] --> src/models/mod.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub fn description(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `total` [INFO] [stdout] --> src/models/mod.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | total: 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] --> src/models/mod.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `used` [INFO] [stdout] --> src/models/mod.rs:129:5 [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] --> src/models/mod.rs:126:10 [INFO] [stdout] | [INFO] [stdout] 126 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `disks` [INFO] [stdout] --> src/models/mod.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | disks: Vec, [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `swap` [INFO] [stdout] --> src/models/mod.rs:145:5 [INFO] [stdout] | [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] --> src/models/mod.rs:141:10 [INFO] [stdout] | [INFO] [stdout] 141 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 15.83s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rhtop-32d963fb625ce3bf) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rhtop-a69221d2c2c6bda6) [INFO] running `Command { std: "docker" "inspect" "72519cb2cb7eb2b5a8f1de54d01faae4e72b497a46406d45e0e258adeb47eb49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72519cb2cb7eb2b5a8f1de54d01faae4e72b497a46406d45e0e258adeb47eb49", kill_on_drop: false }` [INFO] [stdout] 72519cb2cb7eb2b5a8f1de54d01faae4e72b497a46406d45e0e258adeb47eb49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a9c62236942ff5d0fd1f89cb59e7dc8a9da2b5119d726e8fcd079231dabc510d [INFO] running `Command { std: "docker" "start" "-a" "a9c62236942ff5d0fd1f89cb59e7dc8a9da2b5119d726e8fcd079231dabc510d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/models/mod.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn new(total_bytes: u64, used_bytes: u64) -> MemorySnapshot { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/models/mod.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/mod.rs:65:10 [INFO] [stderr] | [INFO] [stderr] 65 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `fs_type` [INFO] [stderr] --> src/models/mod.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | fs_type: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/mod.rs:65:10 [INFO] [stderr] | [INFO] [stderr] 65 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `total` [INFO] [stderr] --> src/models/mod.rs:69:5 [INFO] [stderr] | [INFO] [stderr] 69 | total: u64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/mod.rs:65:10 [INFO] [stderr] | [INFO] [stderr] 65 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `available` [INFO] [stderr] --> src/models/mod.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | available: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/mod.rs:65:10 [INFO] [stderr] | [INFO] [stderr] 65 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_name` [INFO] [stderr] --> src/models/mod.rs:74:12 [INFO] [stderr] | [INFO] [stderr] 74 | pub fn get_name(&self) -> &String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_fs_type` [INFO] [stderr] --> src/models/mod.rs:78:12 [INFO] [stderr] | [INFO] [stderr] 78 | pub fn get_fs_type(&self) -> &String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_total_bytes` [INFO] [stderr] --> src/models/mod.rs:82:12 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn get_total_bytes(&self) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_available_bytes` [INFO] [stderr] --> src/models/mod.rs:86:12 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn get_available_bytes(&self) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_used_bytes` [INFO] [stderr] --> src/models/mod.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn get_used_bytes(&self) -> u64 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_available_display` [INFO] [stderr] --> src/models/mod.rs:93:12 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn get_available_display(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_total_display` [INFO] [stderr] --> src/models/mod.rs:97:12 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn get_total_display(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `description` [INFO] [stderr] --> src/models/mod.rs:101:12 [INFO] [stderr] | [INFO] [stderr] 101 | pub fn description(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/models/mod.rs:111:12 [INFO] [stderr] | [INFO] [stderr] 111 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `total` [INFO] [stderr] --> src/models/mod.rs:128:5 [INFO] [stderr] | [INFO] [stderr] 128 | total: u64, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SwapSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/mod.rs:126:10 [INFO] [stderr] | [INFO] [stderr] 126 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `used` [INFO] [stderr] --> src/models/mod.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 129 | used: u64, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SwapSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/mod.rs:126:10 [INFO] [stderr] | [INFO] [stderr] 126 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/models/mod.rs:133:12 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn new(total_bytes: u64, used_bytes: u64) -> SwapSnapshot { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `disks` [INFO] [stderr] --> src/models/mod.rs:143:5 [INFO] [stderr] | [INFO] [stderr] 143 | disks: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SystemReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/mod.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `memory` [INFO] [stderr] --> src/models/mod.rs:144:5 [INFO] [stderr] | [INFO] [stderr] 144 | memory: MemorySnapshot, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SystemReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/mod.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `swap` [INFO] [stderr] --> src/models/mod.rs:145:5 [INFO] [stderr] | [INFO] [stderr] 145 | swap: SwapSnapshot, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SystemReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/mod.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `processors` [INFO] [stderr] --> src/models/mod.rs:146:5 [INFO] [stderr] | [INFO] [stderr] 146 | processors: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SystemReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/mod.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `time` [INFO] [stderr] --> src/models/mod.rs:147:5 [INFO] [stderr] | [INFO] [stderr] 147 | time: std::time::SystemTime, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `SystemReport` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/mod.rs:141:10 [INFO] [stderr] | [INFO] [stderr] 141 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_memory` [INFO] [stderr] --> src/models/mod.rs:151:12 [INFO] [stderr] | [INFO] [stderr] 151 | pub fn get_memory(&self) -> &MemorySnapshot { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_time` [INFO] [stderr] --> src/models/mod.rs:155:12 [INFO] [stderr] | [INFO] [stderr] 155 | pub fn get_time(&self) -> &std::time::SystemTime { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_processors` [INFO] [stderr] --> src/models/mod.rs:159:12 [INFO] [stderr] | [INFO] [stderr] 159 | pub fn get_processors(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/models/mod.rs:163:12 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/models/mod.rs:187:12 [INFO] [stderr] | [INFO] [stderr] 187 | pub fn new(name: String, usage_percent: f32) -> ProcessorSnapshot { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/models/mod.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `DiskSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/models/mod.rs:65:10 [INFO] [stderr] | [INFO] [stderr] 65 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rhtop` (lib) generated 27 warnings [INFO] [stderr] warning: `rhtop` (lib test) generated 26 warnings (25 duplicates) [INFO] [stderr] warning: `rhtop` (bin "rhtop" test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rhtop-32d963fb625ce3bf) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test models::tests::test_get_display ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rhtop-a69221d2c2c6bda6) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test models::tests::test_get_display ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rhtop [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" "a9c62236942ff5d0fd1f89cb59e7dc8a9da2b5119d726e8fcd079231dabc510d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c62236942ff5d0fd1f89cb59e7dc8a9da2b5119d726e8fcd079231dabc510d", kill_on_drop: false }` [INFO] [stdout] a9c62236942ff5d0fd1f89cb59e7dc8a9da2b5119d726e8fcd079231dabc510d