[INFO] cloning repository https://github.com/theanuragg/rustscope
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theanuragg/rustscope" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheanuragg%2Frustscope", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheanuragg%2Frustscope'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 741cf142403fabffd816020cbd4b3dc254f1c604
[INFO] checking theanuragg/rustscope against c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40 for pr-160391-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheanuragg%2Frustscope" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/theanuragg/rustscope
[INFO] finished tweaking git repo https://github.com/theanuragg/rustscope
[INFO] tweaked toml for git repo https://github.com/theanuragg/rustscope written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/theanuragg/rustscope on toolchain c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/theanuragg/rustscope 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" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]  --> rustscope/Cargo.toml:9:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | repository = "https://github.com/anurag/rustscope"
[INFO] [stderr]   |              -------------------------------------
[INFO] [stderr] 9 | homepage = "https://github.com/anurag/rustscope"
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `rustscope` (manifest) generated 1 warning
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]  --> rustscope-cli/Cargo.toml:9:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | repository = "https://github.com/anurag/rustscope"
[INFO] [stderr]   |              -------------------------------------
[INFO] [stderr] 9 | homepage = "https://github.com/anurag/rustscope"
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `rustscope-cli` (manifest) generated 1 warning
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]  --> rustscope-macros/Cargo.toml:9:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | repository = "https://github.com/anurag/rustscope"
[INFO] [stderr]   |              -------------------------------------
[INFO] [stderr] 9 | homepage = "https://github.com/anurag/rustscope"
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `rustscope-macros` (manifest) generated 1 warning
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded procfs v0.16.0
[INFO] [stderr]   Downloaded perf-event-open-sys v6.0.0
[INFO] [stderr]   Downloaded perf-event v0.4.9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 374e325c8d69339c59d0b0eabc888ef873dfc709fea4cd6c5875b68718350f27
[INFO] running `Command { std: "docker" "start" "374e325c8d69339c59d0b0eabc888ef873dfc709fea4cd6c5875b68718350f27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "374e325c8d69339c59d0b0eabc888ef873dfc709fea4cd6c5875b68718350f27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "374e325c8d69339c59d0b0eabc888ef873dfc709fea4cd6c5875b68718350f27" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "374e325c8d69339c59d0b0eabc888ef873dfc709fea4cd6c5875b68718350f27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "374e325c8d69339c59d0b0eabc888ef873dfc709fea4cd6c5875b68718350f27" "/opt/rustwide/cargo-home/bin/cargo" "+c319ab3d7cf6bd67099fd3635f0e3c0fccb07e40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]  --> rustscope-macros/Cargo.toml:9:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | repository = "https://github.com/anurag/rustscope"
[INFO] [stderr]   |              -------------------------------------
[INFO] [stderr] 9 | homepage = "https://github.com/anurag/rustscope"
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `rustscope-macros` (manifest) generated 1 warning
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]  --> rustscope/Cargo.toml:9:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | repository = "https://github.com/anurag/rustscope"
[INFO] [stderr]   |              -------------------------------------
[INFO] [stderr] 9 | homepage = "https://github.com/anurag/rustscope"
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `rustscope` (manifest) generated 1 warning
[INFO] [stderr] warning: `package.homepage` is redundant with `package.repository`
[INFO] [stderr]  --> rustscope-cli/Cargo.toml:9:12
[INFO] [stderr]   |
[INFO] [stderr] 8 | repository = "https://github.com/anurag/rustscope"
[INFO] [stderr]   |              -------------------------------------
[INFO] [stderr] 9 | homepage = "https://github.com/anurag/rustscope"
[INFO] [stderr]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::redundant_homepage` is set to `warn` by default
[INFO] [stderr] help: consider removing `package.homepage`
[INFO] [stderr] warning: `rustscope-cli` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.183
[INFO] [stderr]    Compiling rustscope v0.3.0 (/opt/rustwide/workdir/rustscope)
[INFO] [stderr]    Compiling rustscope-macros v0.3.0 (/opt/rustwide/workdir/rustscope-macros)
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking unicode-ident v1.0.24
[INFO] [stderr]     Checking simd-adler32 v0.3.8
[INFO] [stderr]     Checking chrono v0.4.44
[INFO] [stderr]    Compiling procfs v0.16.0
[INFO] [stderr]     Checking proc-macro2 v1.0.106
[INFO] [stderr]    Compiling tokio-macros v2.6.1
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking quote v1.0.45
[INFO] [stderr]     Checking syn v2.0.117
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]     Checking procfs-core v0.16.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking nix v0.31.2
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking socket2 v0.6.3
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking nix v0.27.1
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking tokio v1.50.0
[INFO] [stderr]     Checking ctrlc v3.5.2
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> rustscope/src/output/writer.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fs::{File, OpenOptions};
[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: `StackMetrics`
[INFO] [stdout]   --> rustscope/src/global.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         StackMetrics,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> rustscope/src/export.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]   --> rustscope/src/features/pprof_export.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 | use std::io::{self, Write};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `File`
[INFO] [stdout]  --> rustscope/src/output/writer.rs:9:15
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fs::{File, OpenOptions};
[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: `StackMetrics`
[INFO] [stdout]   --> rustscope/src/global.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |         StackMetrics,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> rustscope/src/export.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Write`
[INFO] [stdout]   --> rustscope/src/features/pprof_export.rs:28:21
[INFO] [stdout]    |
[INFO] [stdout] 28 | use std::io::{self, Write};
[INFO] [stdout]    |                     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module`
[INFO] [stdout]   --> rustscope/src/stats.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     module: &'static str,
[INFO] [stdout]    |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alloc_start`
[INFO] [stdout]   --> rustscope/src/stats.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let alloc_start = memory::snapshot();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alloc_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> rustscope/src/stats.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     for i in 0..iters {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `module`
[INFO] [stdout]   --> rustscope/src/stats.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     module: &'static str,
[INFO] [stdout]    |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_module`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alloc_start`
[INFO] [stdout]   --> rustscope/src/stats.rs:50:9
[INFO] [stdout]    |
[INFO] [stdout] 50 |     let alloc_start = memory::snapshot();
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_alloc_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> rustscope/src/stats.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     for i in 0..iters {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `current_call_depth` is never used
[INFO] [stdout]   --> rustscope/src/collectors/stack.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn current_call_depth() -> 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: function `measure` is never used
[INFO] [stdout]   --> rustscope/src/collectors/timing.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub fn measure<T>(f: impl FnOnce() -> T) -> (T, u64) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `NEXT_LOCK_ID` is never used
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | static NEXT_LOCK_ID: AtomicU64 = AtomicU64::new(1);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl LockId {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WaitToken` is never constructed
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct WaitToken {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HoldToken` is never constructed
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct HoldToken {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_lock` is never used
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn register_lock(name: &str) -> LockId {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_lock_wait_start` is never used
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn record_lock_wait_start(id: LockId) -> WaitToken {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_lock_acquired` is never used
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn record_lock_acquired(token: WaitToken) -> HoldToken {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_lock_released` is never used
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn record_lock_released(token: HoldToken) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `call_index` is never read
[INFO] [stdout]   --> rustscope/src/global.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct Frame {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 51 |     call_index: u64,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `file`, `line`, and `module` are never read
[INFO] [stdout]    --> rustscope/src/global.rs:527:5
[INFO] [stdout]     |
[INFO] [stdout] 526 | pub struct ProfileGuard {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 527 |     name: &'static str,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 528 |     file: &'static str,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 529 |     line: u32,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 530 |     module: &'static str,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `first_seen` is never read
[INFO] [stdout]   --> rustscope/src/thread_profile.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct ThreadEntry {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     first_seen: Instant,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `SESSION_START` is never used
[INFO] [stdout]   --> rustscope/src/features/timeline.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | static SESSION_START: Lazy<Instant> = Lazy::new(Instant::now);
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `session_offset_ns` is never used
[INFO] [stdout]    --> rustscope/src/features/timeline.rs:129:15
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub(crate) fn session_offset_ns() -> u64 {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `current_call_depth` is never used
[INFO] [stdout]   --> rustscope/src/collectors/stack.rs:53:8
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub fn current_call_depth() -> 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: function `measure` is never used
[INFO] [stdout]   --> rustscope/src/collectors/timing.rs:93:8
[INFO] [stdout]    |
[INFO] [stdout] 93 | pub fn measure<T>(f: impl FnOnce() -> T) -> (T, u64) {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `NEXT_LOCK_ID` is never used
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | static NEXT_LOCK_ID: AtomicU64 = AtomicU64::new(1);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl LockId {
[INFO] [stdout]    | ----------- associated function in this implementation
[INFO] [stdout] 15 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WaitToken` is never constructed
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct WaitToken {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HoldToken` is never constructed
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct HoldToken {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `register_lock` is never used
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:43:8
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub fn register_lock(name: &str) -> LockId {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_lock_wait_start` is never used
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:59:8
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub fn record_lock_wait_start(id: LockId) -> WaitToken {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_lock_acquired` is never used
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn record_lock_acquired(token: WaitToken) -> HoldToken {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `record_lock_released` is never used
[INFO] [stdout]   --> rustscope/src/collectors/locks.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 | pub fn record_lock_released(token: HoldToken) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `call_index` is never read
[INFO] [stdout]   --> rustscope/src/global.rs:51:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct Frame {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 51 |     call_index: u64,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `file`, `line`, and `module` are never read
[INFO] [stdout]    --> rustscope/src/global.rs:527:5
[INFO] [stdout]     |
[INFO] [stdout] 526 | pub struct ProfileGuard {
[INFO] [stdout]     |            ------------ fields in this struct
[INFO] [stdout] 527 |     name: &'static str,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 528 |     file: &'static str,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 529 |     line: u32,
[INFO] [stdout]     |     ^^^^
[INFO] [stdout] 530 |     module: &'static str,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `first_seen` is never read
[INFO] [stdout]   --> rustscope/src/thread_profile.rs:64:5
[INFO] [stdout]    |
[INFO] [stdout] 57 | struct ThreadEntry {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 64 |     first_seen: Instant,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `SESSION_START` is never used
[INFO] [stdout]   --> rustscope/src/features/timeline.rs:86:8
[INFO] [stdout]    |
[INFO] [stdout] 86 | static SESSION_START: Lazy<Instant> = Lazy::new(Instant::now);
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `session_offset_ns` is never used
[INFO] [stdout]    --> rustscope/src/features/timeline.rs:129:15
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub(crate) fn session_offset_ns() -> u64 {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rustscope-examples v0.3.0 (/opt/rustwide/workdir/examples)
[INFO] [stdout] warning: function `uninstrumented_heavy_work` is never used
[INFO] [stdout]   --> examples/src/advanced_demo.rs:92:4
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn uninstrumented_heavy_work() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> examples/src/profile_demo.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     for i in 0..data.len() {
[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: `i`
[INFO] [stdout]   --> examples/src/benchmark_demo.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     for i in 0..data.len() {
[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 import: `run_benchmark`
[INFO] [stdout]   --> examples/src/ci_demo.rs:22:50
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Profiler, profile, profile_scope, benchmark, run_benchmark,
[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 variable: `i`
[INFO] [stdout]    --> examples/src/ci_demo.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     for i in 0..v.len() {
[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: `i`
[INFO] [stdout]   --> examples/src/benchmark_demo.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     for i in 0..data.len() {
[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 import: `run_benchmark`
[INFO] [stdout]   --> examples/src/ci_demo.rs:22:50
[INFO] [stdout]    |
[INFO] [stdout] 22 |     Profiler, profile, profile_scope, benchmark, run_benchmark,
[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 variable: `i`
[INFO] [stdout]   --> examples/src/profile_demo.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     for i in 0..data.len() {
[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: `i`
[INFO] [stdout]    --> examples/src/ci_demo.rs:171:9
[INFO] [stdout]     |
[INFO] [stdout] 171 |     for i in 0..v.len() {
[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: function `uninstrumented_heavy_work` is never used
[INFO] [stdout]   --> examples/src/advanced_demo.rs:92:4
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn uninstrumented_heavy_work() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking rustscope-cli v0.3.1 (/opt/rustwide/workdir/rustscope-cli)
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:27:38
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let total_cpu_time = procfs::CpuStat::all()?.utime 
[INFO] [stdout]    |                                      ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:28:23
[INFO] [stdout]    |
[INFO] [stdout] 28 |             + procfs::CpuStat::all()?.nice 
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |             + procfs::CpuStat::all()?.system 
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |             + procfs::CpuStat::all()?.idle 
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:27:38
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let total_cpu_time = procfs::CpuStat::all()?.utime 
[INFO] [stdout]    |                                      ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 |             + procfs::CpuStat::all()?.iowait 
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |             + procfs::CpuStat::all()?.irq 
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 |             + procfs::CpuStat::all()?.softirq 
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:28:23
[INFO] [stdout]    |
[INFO] [stdout] 28 |             + procfs::CpuStat::all()?.nice 
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:34:23
[INFO] [stdout]    |
[INFO] [stdout] 34 |             + procfs::CpuStat::all()?.steal;
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]  --> rustscope-cli/src/profiler/functions.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:29:23
[INFO] [stdout]    |
[INFO] [stdout] 29 |             + procfs::CpuStat::all()?.system 
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:30:23
[INFO] [stdout]    |
[INFO] [stdout] 30 |             + procfs::CpuStat::all()?.idle 
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:31:23
[INFO] [stdout]    |
[INFO] [stdout] 31 |             + procfs::CpuStat::all()?.iowait 
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |             + procfs::CpuStat::all()?.irq 
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:33:23
[INFO] [stdout]    |
[INFO] [stdout] 33 |             + procfs::CpuStat::all()?.softirq 
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `CpuStat` in `procfs`
[INFO] [stdout]   --> rustscope-cli/src/profiler/cpu.rs:34:23
[INFO] [stdout]    |
[INFO] [stdout] 34 |             + procfs::CpuStat::all()?.steal;
[INFO] [stdout]    |                       ^^^^^^^ could not find `CpuStat` in `procfs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]  --> rustscope-cli/src/profiler/functions.rs:8:17
[INFO] [stdout]   |
[INFO] [stdout] 8 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `map` on type `MemoryMap`
[INFO] [stdout]   --> rustscope-cli/src/profiler/memory.rs:19:36
[INFO] [stdout]    |
[INFO] [stdout] 19 |             private_dirty += entry.map.get("Private_Dirty").cloned().unwrap_or(0);
[INFO] [stdout]    |                                    ^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 19 |             private_dirty += entry.extension.map.get("Private_Dirty").cloned().unwrap_or(0);
[INFO] [stdout]    |                                    ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `map` on type `MemoryMap`
[INFO] [stdout]   --> rustscope-cli/src/profiler/memory.rs:19:36
[INFO] [stdout]    |
[INFO] [stdout] 19 |             private_dirty += entry.map.get("Private_Dirty").cloned().unwrap_or(0);
[INFO] [stdout]    |                                    ^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 19 |             private_dirty += entry.extension.map.get("Private_Dirty").cloned().unwrap_or(0);
[INFO] [stdout]    |                                    ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]   --> rustscope-cli/src/profiler/syscalls.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let content = fs::read_to_string(path)?;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustscope-cli` (bin "rustscope" test) due to 9 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `content`
[INFO] [stdout]   --> rustscope-cli/src/profiler/syscalls.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |         let content = fs::read_to_string(path)?;
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustscope-cli` (bin "rustscope") due to 9 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "374e325c8d69339c59d0b0eabc888ef873dfc709fea4cd6c5875b68718350f27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "374e325c8d69339c59d0b0eabc888ef873dfc709fea4cd6c5875b68718350f27", kill_on_drop: false }`
[INFO] [stdout] 374e325c8d69339c59d0b0eabc888ef873dfc709fea4cd6c5875b68718350f27
