[INFO] fetching crate workflow-perf-monitor 0.0.2... [INFO] testing workflow-perf-monitor-0.0.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate workflow-perf-monitor 0.0.2 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate workflow-perf-monitor 0.0.2 [INFO] finished tweaking crates.io crate workflow-perf-monitor 0.0.2 [INFO] tweaked toml for crates.io crate workflow-perf-monitor 0.0.2 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate workflow-perf-monitor 0.0.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate workflow-perf-monitor 0.0.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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 30084d6fee535a92f39e8d8f8fdfdaf9499e742730a96a72b3ad367980c4cbab [INFO] running `Command { std: "docker" "start" "-a" "30084d6fee535a92f39e8d8f8fdfdaf9499e742730a96a72b3ad367980c4cbab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "30084d6fee535a92f39e8d8f8fdfdaf9499e742730a96a72b3ad367980c4cbab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30084d6fee535a92f39e8d8f8fdfdaf9499e742730a96a72b3ad367980c4cbab", kill_on_drop: false }` [INFO] [stdout] 30084d6fee535a92f39e8d8f8fdfdaf9499e742730a96a72b3ad367980c4cbab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23147812414a7ddf7cd72ba643d4d1fdf18149b2e47eec53a02814606d5d6c8a [INFO] running `Command { std: "docker" "start" "-a" "23147812414a7ddf7cd72ba643d4d1fdf18149b2e47eec53a02814606d5d6c8a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling log v0.4.19 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Compiling thiserror v1.0.44 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling regex-automata v0.3.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling thiserror-impl v1.0.44 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling workflow-perf-monitor v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `fd_count_pid` is never used [INFO] [stdout] --> src/fd/android_linux.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn fd_count_pid(pid: u32) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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 34.97s [INFO] running `Command { std: "docker" "inspect" "23147812414a7ddf7cd72ba643d4d1fdf18149b2e47eec53a02814606d5d6c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23147812414a7ddf7cd72ba643d4d1fdf18149b2e47eec53a02814606d5d6c8a", kill_on_drop: false }` [INFO] [stdout] 23147812414a7ddf7cd72ba643d4d1fdf18149b2e47eec53a02814606d5d6c8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24e4c98883698d8dcf5df20c7bb8c0ead8e2170a97ba3e7f5608d9888b3d6e6c [INFO] running `Command { std: "docker" "start" "-a" "24e4c98883698d8dcf5df20c7bb8c0ead8e2170a97ba3e7f5608d9888b3d6e6c", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.0.2 [INFO] [stderr] Compiling regex-syntax v0.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling serde v1.0.180 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling serde_derive v1.0.180 [INFO] [stderr] Compiling clang-sys v1.6.1 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling rustix v0.38.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.8 [INFO] [stderr] Compiling crossbeam-deque v0.8.3 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.5 [INFO] [stderr] Compiling clap_lex v0.5.0 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling anstyle v1.0.1 [INFO] [stderr] Compiling bitflags v2.3.3 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling clap_builder v4.3.19 [INFO] [stderr] Compiling regex-automata v0.3.4 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling plotters v0.3.5 [INFO] [stderr] Compiling ciborium v0.2.1 [INFO] [stderr] Compiling clap v4.3.19 [INFO] [stderr] Compiling is-terminal v0.4.9 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling regex v1.9.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling workflow-perf-monitor v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `fd_count_pid` is never used [INFO] [stdout] --> src/fd/android_linux.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn fd_count_pid(pid: u32) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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] [stdout] warning: function `fd_count_pid` is never used [INFO] [stdout] --> src/fd/android_linux.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn fd_count_pid(pid: u32) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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 `test` profile [unoptimized + debuginfo] target(s) in 57.00s [INFO] running `Command { std: "docker" "inspect" "24e4c98883698d8dcf5df20c7bb8c0ead8e2170a97ba3e7f5608d9888b3d6e6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24e4c98883698d8dcf5df20c7bb8c0ead8e2170a97ba3e7f5608d9888b3d6e6c", kill_on_drop: false }` [INFO] [stdout] 24e4c98883698d8dcf5df20c7bb8c0ead8e2170a97ba3e7f5608d9888b3d6e6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91f831f46b3faf7391175b85385391a15dfd0807516f1835c1d2602140fd7dc9 [INFO] running `Command { std: "docker" "start" "-a" "91f831f46b3faf7391175b85385391a15dfd0807516f1835c1d2602140fd7dc9", kill_on_drop: false }` [INFO] [stderr] warning: function `fd_count_pid` is never used [INFO] [stderr] --> src/fd/android_linux.rs:1:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub fn fd_count_pid(pid: u32) -> std::io::Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: trait `HandleUpgrade` is never used [INFO] [stderr] --> src/utils/ptr_upgrade.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub trait HandleUpgrade: Sized { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `workflow-perf-monitor` (lib) generated 2 warnings [INFO] [stderr] warning: `workflow-perf-monitor` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/workflow_perf_monitor-8c1dc45c97ed0033) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test cpu::test::test_process_usage ... ignored [INFO] [stdout] test fd::android_linux::test::test_fd_count ... ok [INFO] [stdout] test cpu::test::test_thread_usage ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 20.27s [INFO] [stdout] [INFO] [stderr] Doc-tests workflow_perf_monitor [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/mem/mod.rs - mem (line 7) ... ignored [INFO] [stdout] test src/cpu/mod.rs - cpu (line 12) ... FAILED [INFO] [stdout] test src/fd/mod.rs - fd (line 3) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/cpu/mod.rs - cpu (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `perf_monitor` [INFO] [stdout] --> src/cpu/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 3 | use perf_monitor::cpu::ThreadStat; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `perf_monitor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `perf_monitor`, use `cargo add perf_monitor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/fd/mod.rs - fd (line 3) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `perf_monitor` [INFO] [stdout] --> src/fd/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | use perf_monitor::fd::fd_count_cur; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `perf_monitor` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `perf_monitor`, use `cargo add perf_monitor` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/cpu/mod.rs - cpu (line 12) [INFO] [stdout] src/fd/mod.rs - fd (line 3) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "91f831f46b3faf7391175b85385391a15dfd0807516f1835c1d2602140fd7dc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91f831f46b3faf7391175b85385391a15dfd0807516f1835c1d2602140fd7dc9", kill_on_drop: false }` [INFO] [stdout] 91f831f46b3faf7391175b85385391a15dfd0807516f1835c1d2602140fd7dc9