[INFO] cloning repository https://github.com/typing233/37SystemPulse-1
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/typing233/37SystemPulse-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyping233%2F37SystemPulse-1", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyping233%2F37SystemPulse-1'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 515f1e2287aecf2b9e11d2c557880dbbb1f3f44b
[INFO] checking typing233/37SystemPulse-1 against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftyping233%2F37SystemPulse-1" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/typing233/37SystemPulse-1
[INFO] finished tweaking git repo https://github.com/typing233/37SystemPulse-1
[INFO] tweaked toml for git repo https://github.com/typing233/37SystemPulse-1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/typing233/37SystemPulse-1 on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/typing233/37SystemPulse-1 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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 40bc46780d3aceb7750f650c0325bf84b14a40989498092bba53535fe35a6d96
[INFO] running `Command { std: "docker" "start" "40bc46780d3aceb7750f650c0325bf84b14a40989498092bba53535fe35a6d96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "40bc46780d3aceb7750f650c0325bf84b14a40989498092bba53535fe35a6d96", 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" "40bc46780d3aceb7750f650c0325bf84b14a40989498092bba53535fe35a6d96" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "40bc46780d3aceb7750f650c0325bf84b14a40989498092bba53535fe35a6d96", 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" "40bc46780d3aceb7750f650c0325bf84b14a40989498092bba53535fe35a6d96" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking syspulse v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `pos` is never read
[INFO] [stdout]    --> src/collector/network.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |             pos += 1;
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `pos` is never read
[INFO] [stdout]    --> src/collector/network.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |             pos += 1;
[INFO] [stdout]     |             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Collector` is never used
[INFO] [stdout]  --> src/collector/mod.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Collector: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unsupported` is never constructed
[INFO] [stdout]   --> src/collector/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum CollectorError {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     Unsupported(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CollectorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `io_ticks_ms` is never read
[INFO] [stdout]   --> src/collector/disk.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct DiskRawStat {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     io_ticks_ms: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DiskRawStat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bpf_start_map_fd` is never read
[INFO] [stdout]   --> src/collector/disk.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct IoLatencyTracker {
[INFO] [stdout]    |        ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     bpf_start_map_fd: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `read_process` is never used
[INFO] [stdout]    --> src/collector/process.rs:177:8
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl ProcessCollector {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 177 |     fn read_process(&self, pid: u32, dt_secs: f64) -> Result<(ProcessInfo, ProcTicks), CollectorError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Counter` is never constructed
[INFO] [stdout]   --> src/metrics.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum MetricValue {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] 24 |     Gauge(f64),
[INFO] [stdout] 25 |     Counter(u64),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MetricValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `name` is never used
[INFO] [stdout]   --> src/output/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait OutputBackend: Send + Sync {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 11 |     fn write(&self, snapshot: &SystemSnapshot) -> Result<(), OutputError>;
[INFO] [stdout] 12 |     fn name(&self) -> &'static str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_usize` is never used
[INFO] [stdout]   --> src/output/mod.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | impl BackendType {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 47 |     pub fn from_usize(v: usize) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `active_type` and `handle` are never used
[INFO] [stdout]   --> src/output/mod.rs:93:12
[INFO] [stdout]    |
[INFO] [stdout] 74 | impl OutputRouter {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 93 |     pub fn active_type(&self) -> BackendType {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97 |     pub fn handle(&self) -> OutputHandle {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OutputHandle` is never constructed
[INFO] [stdout]    --> src/output/mod.rs:111:12
[INFO] [stdout]     |
[INFO] [stdout] 111 | pub struct OutputHandle {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `switch` is never used
[INFO] [stdout]    --> src/output/mod.rs:116:12
[INFO] [stdout]     |
[INFO] [stdout] 115 | impl OutputHandle {
[INFO] [stdout]     | ----------------- method in this implementation
[INFO] [stdout] 116 |     pub fn switch(&self, backend: BackendType) {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Collector` is never used
[INFO] [stdout]  --> src/collector/mod.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait Collector: Send + Sync {
[INFO] [stdout]   |           ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Unsupported` is never constructed
[INFO] [stdout]   --> src/collector/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | pub enum CollectorError {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 11 |     Unsupported(String),
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `CollectorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `io_ticks_ms` is never read
[INFO] [stdout]   --> src/collector/disk.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct DiskRawStat {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 26 |     io_ticks_ms: u64,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DiskRawStat` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `bpf_start_map_fd` is never read
[INFO] [stdout]   --> src/collector/disk.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 33 | struct IoLatencyTracker {
[INFO] [stdout]    |        ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 36 |     bpf_start_map_fd: i32,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.84s
[INFO] [stdout] warning: method `read_process` is never used
[INFO] [stdout]    --> src/collector/process.rs:177:8
[INFO] [stdout]     |
[INFO] [stdout]  20 | impl ProcessCollector {
[INFO] [stdout]     | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 177 |     fn read_process(&self, pid: u32, dt_secs: f64) -> Result<(ProcessInfo, ProcTicks), CollectorError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Counter` is never constructed
[INFO] [stdout]   --> src/metrics.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub enum MetricValue {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] 24 |     Gauge(f64),
[INFO] [stdout] 25 |     Counter(u64),
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MetricValue` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `name` is never used
[INFO] [stdout]   --> src/output/mod.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub trait OutputBackend: Send + Sync {
[INFO] [stdout]    |           ------------- method in this trait
[INFO] [stdout] 11 |     fn write(&self, snapshot: &SystemSnapshot) -> Result<(), OutputError>;
[INFO] [stdout] 12 |     fn name(&self) -> &'static str;
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "40bc46780d3aceb7750f650c0325bf84b14a40989498092bba53535fe35a6d96", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40bc46780d3aceb7750f650c0325bf84b14a40989498092bba53535fe35a6d96", kill_on_drop: false }`
[INFO] [stdout] 40bc46780d3aceb7750f650c0325bf84b14a40989498092bba53535fe35a6d96
