[INFO] fetching crate perfmon 0.2.2... [INFO] testing perfmon-0.2.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate perfmon 0.2.2 into /workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate perfmon 0.2.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded procfs-core v0.16.0 [INFO] [stderr] Downloaded procfs v0.16.0 [INFO] [stderr] Downloaded mach-sys v0.5.4 [INFO] [stderr] Downloaded chrono v0.4.37 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb5a2bad91afa40946c53fe1487aaec3f806fcd31824cecf267510303917e4e1 [INFO] running `Command { std: "docker" "start" "-a" "bb5a2bad91afa40946c53fe1487aaec3f806fcd31824cecf267510303917e4e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb5a2bad91afa40946c53fe1487aaec3f806fcd31824cecf267510303917e4e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb5a2bad91afa40946c53fe1487aaec3f806fcd31824cecf267510303917e4e1", kill_on_drop: false }` [INFO] [stdout] bb5a2bad91afa40946c53fe1487aaec3f806fcd31824cecf267510303917e4e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 15d0486665fe5e1133df8bb15e8048f2af8677cb44eb38b33696d71472ad8a31 [INFO] running `Command { std: "docker" "start" "-a" "15d0486665fe5e1133df8bb15e8048f2af8677cb44eb38b33696d71472ad8a31", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling procfs v0.16.0 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling procfs-core v0.16.0 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling env_logger v0.9.3 [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)]` 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)]` 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)]` 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 36.98s [INFO] running `Command { std: "docker" "inspect" "15d0486665fe5e1133df8bb15e8048f2af8677cb44eb38b33696d71472ad8a31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15d0486665fe5e1133df8bb15e8048f2af8677cb44eb38b33696d71472ad8a31", kill_on_drop: false }` [INFO] [stdout] 15d0486665fe5e1133df8bb15e8048f2af8677cb44eb38b33696d71472ad8a31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3c1a749e551745d4a4e5475119d1a827e6f34aca1b12addcf5d66002ec856df9 [INFO] running `Command { std: "docker" "start" "-a" "3c1a749e551745d4a4e5475119d1a827e6f34aca1b12addcf5d66002ec856df9", 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)]` 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)]` 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)]` 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: 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)]` 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 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] 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-06-19; consider upgrading it if it is out of date [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 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 `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)]` 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: 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)]` 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" "3c1a749e551745d4a4e5475119d1a827e6f34aca1b12addcf5d66002ec856df9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c1a749e551745d4a4e5475119d1a827e6f34aca1b12addcf5d66002ec856df9", kill_on_drop: false }` [INFO] [stdout] 3c1a749e551745d4a4e5475119d1a827e6f34aca1b12addcf5d66002ec856df9