[INFO] cloning repository https://github.com/tahuffman1s/rsensor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tahuffman1s/rsensor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahuffman1s%2Frsensor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahuffman1s%2Frsensor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf24cc3b70466a128b5f94293e6323b8694be0bb [INFO] testing tahuffman1s/rsensor against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftahuffman1s%2Frsensor" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/tahuffman1s/rsensor [INFO] finished tweaking git repo https://github.com/tahuffman1s/rsensor [INFO] tweaked toml for git repo https://github.com/tahuffman1s/rsensor written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tahuffman1s/rsensor on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tahuffman1s/rsensor 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded byte-unit v5.1.6 [INFO] [stderr] Downloaded sysinfo v0.33.1 [INFO] [stderr] Downloaded rust_decimal v1.37.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 241a3009966353fd428e27e15f883ce10791c8489fe7892cdd93fff8b7b082d9 [INFO] running `Command { std: "docker" "start" "-a" "241a3009966353fd428e27e15f883ce10791c8489fe7892cdd93fff8b7b082d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "241a3009966353fd428e27e15f883ce10791c8489fe7892cdd93fff8b7b082d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "241a3009966353fd428e27e15f883ce10791c8489fe7892cdd93fff8b7b082d9", kill_on_drop: false }` [INFO] [stdout] 241a3009966353fd428e27e15f883ce10791c8489fe7892cdd93fff8b7b082d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf7890754d2367cb7cd1244716fcf2fd8397524122860652ea75977b7a082b7e [INFO] running `Command { std: "docker" "start" "-a" "bf7890754d2367cb7cd1244716fcf2fd8397524122860652ea75977b7a082b7e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling rust_decimal v1.37.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling byte-unit v5.1.6 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling ctrlc v3.4.6 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling sysinfo v0.33.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling instability v0.3.7 [INFO] [stderr] Compiling ratatui v0.29.0 [INFO] [stderr] Compiling rsensor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/stats/cpu.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/stats/gpu.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name [INFO] [stdout] --> src/renderer/core.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | let area = frame.size(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/stats/cpu.rs:316:18 [INFO] [stdout] | [INFO] [stdout] 316 | for (i, group) in core_groups.iter().take(4).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_gpus` [INFO] [stdout] --> src/stats/gpu.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let previous_gpus = self.gpus.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_gpus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sys_obj` [INFO] [stdout] --> src/stats/gpu.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn update(&mut self, sys_obj: &mut SysWrapper) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sys_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/renderer/core.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Rat { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn remove(&mut self, mouse: &Mouse) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content_width` and `content_height` are never used [INFO] [stdout] --> src/renderer/core.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl Mouse { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn content_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn content_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/stats/gpu.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum GpuVendor { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuVendor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_gpus` is never used [INFO] [stdout] --> src/stats/gpu.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl GpuStats { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn get_gpus(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/renderer/core.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn get_paragraph(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 205 | pub fn get_paragraph(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.84s [INFO] running `Command { std: "docker" "inspect" "bf7890754d2367cb7cd1244716fcf2fd8397524122860652ea75977b7a082b7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf7890754d2367cb7cd1244716fcf2fd8397524122860652ea75977b7a082b7e", kill_on_drop: false }` [INFO] [stdout] bf7890754d2367cb7cd1244716fcf2fd8397524122860652ea75977b7a082b7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f73b20ab67468e748b512d9edf362c4c494bd4c9d9efcc7525f5f60501393885 [INFO] running `Command { std: "docker" "start" "-a" "f73b20ab67468e748b512d9edf362c4c494bd4c9d9efcc7525f5f60501393885", kill_on_drop: false }` [INFO] [stderr] Compiling rsensor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/stats/cpu.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/stats/gpu.rs:8:23 [INFO] [stdout] | [INFO] [stdout] 8 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name [INFO] [stdout] --> src/renderer/core.rs:51:30 [INFO] [stdout] | [INFO] [stdout] 51 | let area = frame.size(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/stats/cpu.rs:316:18 [INFO] [stdout] | [INFO] [stdout] 316 | for (i, group) in core_groups.iter().take(4).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `previous_gpus` [INFO] [stdout] --> src/stats/gpu.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let previous_gpus = self.gpus.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_gpus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sys_obj` [INFO] [stdout] --> src/stats/gpu.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn update(&mut self, sys_obj: &mut SysWrapper) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sys_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove` is never used [INFO] [stdout] --> src/renderer/core.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Rat { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn remove(&mut self, mouse: &Mouse) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `content_width` and `content_height` are never used [INFO] [stdout] --> src/renderer/core.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 192 | impl Mouse { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn content_width(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn content_height(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/stats/gpu.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum GpuVendor { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 52 | Unknown, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GpuVendor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_gpus` is never used [INFO] [stdout] --> src/stats/gpu.rs:363:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl GpuStats { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn get_gpus(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/renderer/core.rs:205:26 [INFO] [stdout] | [INFO] [stdout] 205 | pub fn get_paragraph(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 205 | pub fn get_paragraph(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "f73b20ab67468e748b512d9edf362c4c494bd4c9d9efcc7525f5f60501393885", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f73b20ab67468e748b512d9edf362c4c494bd4c9d9efcc7525f5f60501393885", kill_on_drop: false }` [INFO] [stdout] f73b20ab67468e748b512d9edf362c4c494bd4c9d9efcc7525f5f60501393885 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 49b90c879476fd813a19877cc86f94ef2874f241360404b4cac348be28a95d17 [INFO] running `Command { std: "docker" "start" "-a" "49b90c879476fd813a19877cc86f94ef2874f241360404b4cac348be28a95d17", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `PathBuf` [INFO] [stderr] --> src/stats/cpu.rs:4:23 [INFO] [stderr] | [INFO] [stderr] 4 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `PathBuf` [INFO] [stderr] --> src/stats/gpu.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `ratatui::Frame::<'_>::size`: use .area() as it's the more correct name [INFO] [stderr] --> src/renderer/core.rs:51:30 [INFO] [stderr] | [INFO] [stderr] 51 | let area = frame.size(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/stats/cpu.rs:316:18 [INFO] [stderr] | [INFO] [stderr] 316 | for (i, group) in core_groups.iter().take(4).enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `previous_gpus` [INFO] [stderr] --> src/stats/gpu.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | let previous_gpus = self.gpus.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_previous_gpus` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sys_obj` [INFO] [stderr] --> src/stats/gpu.rs:73:30 [INFO] [stderr] | [INFO] [stderr] 73 | pub fn update(&mut self, sys_obj: &mut SysWrapper) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sys_obj` [INFO] [stderr] [INFO] [stderr] warning: method `remove` is never used [INFO] [stderr] --> src/renderer/core.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl Rat { [INFO] [stderr] | -------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 38 | pub fn remove(&mut self, mouse: &Mouse) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `content_width` and `content_height` are never used [INFO] [stderr] --> src/renderer/core.rs:213:12 [INFO] [stderr] | [INFO] [stderr] 192 | impl Mouse { [INFO] [stderr] | ---------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 213 | pub fn content_width(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 223 | pub fn content_height(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Unknown` is never constructed [INFO] [stderr] --> src/stats/gpu.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 49 | pub enum GpuVendor { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 52 | Unknown, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `GpuVendor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `get_gpus` is never used [INFO] [stderr] --> src/stats/gpu.rs:363:12 [INFO] [stderr] | [INFO] [stderr] 65 | impl GpuStats { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 363 | pub fn get_gpus(&self) -> &Vec { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/renderer/core.rs:205:26 [INFO] [stderr] | [INFO] [stderr] 205 | pub fn get_paragraph(&self) -> Paragraph { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 205 | pub fn get_paragraph(&self) -> Paragraph<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rsensor` (bin "rsensor" test) generated 11 warnings (run `cargo fix --bin "rsensor" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rsensor-73511ceafc82e2d3) [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" "49b90c879476fd813a19877cc86f94ef2874f241360404b4cac348be28a95d17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49b90c879476fd813a19877cc86f94ef2874f241360404b4cac348be28a95d17", kill_on_drop: false }` [INFO] [stdout] 49b90c879476fd813a19877cc86f94ef2874f241360404b4cac348be28a95d17