[INFO] fetching crate perfmon 0.2.2... [INFO] testing perfmon-0.2.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate perfmon 0.2.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate perfmon 0.2.2 [INFO] finished tweaking crates.io crate perfmon 0.2.2 [INFO] tweaked toml for crates.io crate perfmon 0.2.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate perfmon 0.2.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate perfmon 0.2.2 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 04ae1c278627f186430561888ea2eafec137351c120f1bdf7652248f3a893684 [INFO] running `Command { std: "docker" "start" "-a" "04ae1c278627f186430561888ea2eafec137351c120f1bdf7652248f3a893684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "04ae1c278627f186430561888ea2eafec137351c120f1bdf7652248f3a893684", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04ae1c278627f186430561888ea2eafec137351c120f1bdf7652248f3a893684", kill_on_drop: false }` [INFO] [stdout] 04ae1c278627f186430561888ea2eafec137351c120f1bdf7652248f3a893684 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e302f8eb07eaee25313d0fd828c6812d784225a9f0c927a526f4da69bdc0dc3 [INFO] running `Command { std: "docker" "start" "-a" "3e302f8eb07eaee25313d0fd828c6812d784225a9f0c927a526f4da69bdc0dc3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling procfs-core v0.16.0 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling perfmon v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Error` and `Result` [INFO] [stdout] --> src/mem/process_memory_info.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Error, Result}; [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: `utils::*` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `cpu::android_linux::ThreadStat::cpu` [INFO] [stdout] --> src/cpu/mod.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | self.0.cpu() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/io/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | return get_process_io_stats_impl(); [INFO] [stdout] | ---------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 68 | anyhow::bail!("cannot get I/O stats: this platform is not supported"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pid` is never read [INFO] [stdout] --> src/cpu/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct ProcessStat { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 69 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CPU_INFO` is never used [INFO] [stdout] --> src/cpu/android_linux.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub static CPU_INFO: Lazy = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_task` is never used [INFO] [stdout] --> src/cpu/android_linux.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn current_task() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `cur` and `build` are never used [INFO] [stdout] --> src/cpu/android_linux.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl ThreadStat { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn cur() -> std::io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn build(tid: ThreadId)-> std::io::Result{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_cputime` is never used [INFO] [stdout] --> src/cpu/android_linux.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn process_cputime>(pid: T) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fd_count_pid` is never used [INFO] [stdout] --> src/fd/android_linux.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn fd_count_pid>(pid: T) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fd_count_cur` is never used [INFO] [stdout] --> src/fd/android_linux.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn fd_count_cur() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HandleUpgrade` is never used [INFO] [stdout] --> src/utils/ptr_upgrade.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait HandleUpgrade: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "3e302f8eb07eaee25313d0fd828c6812d784225a9f0c927a526f4da69bdc0dc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e302f8eb07eaee25313d0fd828c6812d784225a9f0c927a526f4da69bdc0dc3", kill_on_drop: false }` [INFO] [stdout] 3e302f8eb07eaee25313d0fd828c6812d784225a9f0c927a526f4da69bdc0dc3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bcc6a8d10e2ad7a0e8650012c254f3455c99d8de5df3be2de9ab43aaf590abe2 [INFO] running `Command { std: "docker" "start" "-a" "bcc6a8d10e2ad7a0e8650012c254f3455c99d8de5df3be2de9ab43aaf590abe2", kill_on_drop: false }` [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stdout] warning: unused imports: `Error` and `Result` [INFO] [stdout] --> src/mem/process_memory_info.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Error, Result}; [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: `utils::*` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `cpu::android_linux::ThreadStat::cpu` [INFO] [stdout] --> src/cpu/mod.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | self.0.cpu() [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/io/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | return get_process_io_stats_impl(); [INFO] [stdout] | ---------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 68 | anyhow::bail!("cannot get I/O stats: this platform is not supported"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pid` is never read [INFO] [stdout] --> src/cpu/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct ProcessStat { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 69 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CPU_INFO` is never used [INFO] [stdout] --> src/cpu/android_linux.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub static CPU_INFO: Lazy = [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `current_task` is never used [INFO] [stdout] --> src/cpu/android_linux.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn current_task() -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `cur` and `build` are never used [INFO] [stdout] --> src/cpu/android_linux.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl ThreadStat { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn cur() -> std::io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn build(tid: ThreadId)-> std::io::Result{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `process_cputime` is never used [INFO] [stdout] --> src/cpu/android_linux.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn process_cputime>(pid: T) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fd_count_pid` is never used [INFO] [stdout] --> src/fd/android_linux.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn fd_count_pid>(pid: T) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `fd_count_cur` is never used [INFO] [stdout] --> src/fd/android_linux.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn fd_count_cur() -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `HandleUpgrade` is never used [INFO] [stdout] --> src/utils/ptr_upgrade.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait HandleUpgrade: Sized { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling perfmon v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `perfmon::fd_count_cur` [INFO] [stdout] --> examples/activity_monitor.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use perfmon::fd::fd_count_cur; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `perfmon::fd_count_cur` [INFO] [stdout] --> examples/activity_monitor.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | let fd_num = fd_count_cur().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `perfmon::ProcessStat::cur` [INFO] [stdout] --> examples/activity_monitor.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | let mut stat_p = ProcessStat::cur().unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `perfmon::ThreadStat::cur` [INFO] [stdout] --> examples/activity_monitor.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | let mut stat_t = ThreadStat::cur().unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `perfmon::ThreadStat::cpu` [INFO] [stdout] --> examples/activity_monitor.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | let usage_t = stat_t.cpu().unwrap() * 100f64; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `perfmon::ThreadStat::cpu` [INFO] [stdout] --> examples/activity_monitor.rs:68:56 [INFO] [stdout] | [INFO] [stdout] 68 | println!("{i} cpu usage: {:?}", t_stat.cpu()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/activity_monitor.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut stat_p = ProcessStat::cur().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/activity_monitor.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut stat_t = ThreadStat::cur().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Result` [INFO] [stdout] --> src/mem/process_memory_info.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{Error, Result}; [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: `utils::*` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use utils::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature `test` [INFO] [stdout] --> src/lib.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | extern crate test; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #50297 for more information [INFO] [stdout] = help: add `#![feature(test)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-09-25; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `fd::android_linux::fd_count_cur` [INFO] [stdout] --> src/fd/android_linux.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let count = fd_count_cur().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `fd::android_linux::fd_count_cur` [INFO] [stdout] --> src/fd/android_linux.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let count = fd_count_cur().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `cpu::android_linux::ThreadStat::cpu` [INFO] [stdout] --> src/cpu/mod.rs:159:16 [INFO] [stdout] | [INFO] [stdout] 159 | self.0.cpu() [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `cpu::ThreadStat::cpu` [INFO] [stdout] --> src/cpu/mod.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | let usage = stat.cpu().unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `cpu::ThreadStat::cpu` [INFO] [stdout] --> src/cpu/mod.rs:219:26 [INFO] [stdout] | [INFO] [stdout] 219 | let usage = stat.cpu().unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/io/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 65 | return get_process_io_stats_impl(); [INFO] [stdout] | ---------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 68 | anyhow::bail!("cannot get I/O stats: this platform is not supported"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `anyhow::bail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0658`. [INFO] [stdout] [INFO] [stderr] error: could not compile `perfmon` (lib test) due to 1 previous error; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bcc6a8d10e2ad7a0e8650012c254f3455c99d8de5df3be2de9ab43aaf590abe2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bcc6a8d10e2ad7a0e8650012c254f3455c99d8de5df3be2de9ab43aaf590abe2", kill_on_drop: false }` [INFO] [stdout] bcc6a8d10e2ad7a0e8650012c254f3455c99d8de5df3be2de9ab43aaf590abe2