[INFO] cloning repository https://github.com/snltd/intrd-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/snltd/intrd-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnltd%2Fintrd-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnltd%2Fintrd-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 892d50bfb78d8cd5e385c13d6f9bc2b4d54fd08e [INFO] building snltd/intrd-rs against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsnltd%2Fintrd-rs" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/snltd/intrd-rs on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/snltd/intrd-rs [INFO] finished tweaking git repo https://github.com/snltd/intrd-rs [INFO] tweaked toml for git repo https://github.com/snltd/intrd-rs written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/snltd/intrd-rs 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kstat-rs v0.2.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c8b5c4ad0246b1f20fbb84948973883030f38139f41f7dc34ac3842c006881e [INFO] running `Command { std: "docker" "start" "-a" "2c8b5c4ad0246b1f20fbb84948973883030f38139f41f7dc34ac3842c006881e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c8b5c4ad0246b1f20fbb84948973883030f38139f41f7dc34ac3842c006881e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c8b5c4ad0246b1f20fbb84948973883030f38139f41f7dc34ac3842c006881e", kill_on_drop: false }` [INFO] [stdout] 2c8b5c4ad0246b1f20fbb84948973883030f38139f41f7dc34ac3842c006881e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86c9c92a05c43ab7397372973c1071b0ffd7152bc99c03fc6bd48ec36363382b [INFO] running `Command { std: "docker" "start" "-a" "86c9c92a05c43ab7397372973c1071b0ffd7152bc99c03fc6bd48ec36363382b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling simplelog v0.12.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling kstat-rs v0.2.4 [INFO] [stderr] Compiling intrd-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Kstat` and `NamedType` [INFO] [stdout] --> src/main.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use kstat_rs::{Ctl, Data, Kstat, Named, NamedData, NamedType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorChoice`, `Config`, `LevelFilter`, `TermLogger`, and `TerminalMode` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use simplelog::{ColorChoice, Config, LevelFilter, TermLogger, TerminalMode}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/main.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_time` [INFO] [stdout] --> src/main.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let cpu_time: u64 = numeric_value_map(&val) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_crtime` [INFO] [stdout] --> src/main.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let cpu_crtime = vals.get("crtime").context("could not get crtime"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_crtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_apic` [INFO] [stdout] --> src/main.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | fn getstat(ctl: &Ctl, is_apic: bool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_apic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut this_cpu = cpu_sys [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] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let mut pci_intrs: Vec<_> = ctl.filter(Some("pci_intrs"), None, None).collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/main.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | let stats = getstat(&ctl, true); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/main.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | let stats = getstat(&ctl, is_apic); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let mut sleep_time = NORMAL_SLEEP_TIME; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Delta` is never used [INFO] [stdout] --> src/main.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type Delta = usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Deltas` is never used [INFO] [stdout] --> src/main.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | type Deltas = Vec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DeltasTotalTime` is never used [INFO] [stdout] --> src/main.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | type DeltasTotalTime = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Ivecs { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 24 | // ->{} iterates over pci_intrs:::cookie [INFO] [stdout] 25 | time: u64, // pci_intrs:::time (in nsec) [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pil: u64, // pci_intrs:::pil [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | crtime: u64, // pci_intrs:::crtime [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | ino: u64, // pci_intrs:::ino [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | num_ino: u64, // num inos of single device instance sharing this entry. Will be > 1 on pcplusmp X86 systems for devices with multiple... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | buspath: String, // pci_intrs:::buspath [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | name: String, // pci_intrs:::name [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | ihs: u64, // pci_intrs:::ihs [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tot`, `crtime`, and `ivecs` are never read [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct CpuStat { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 36 | tot: u64, // cpu::sys:cpu_nsec_{user + kernel + idle} [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | crtime: u64, // cpu::sys:crtime [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | ivecs: Ivecs, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `snaptime` and `cpus` are never read [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct GotStat { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 42 | snaptime: u64, // kstat's snaptime [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | cpus: HashMap, // one hash reference per online cpu [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_delta` is never used [INFO] [stdout] --> src/main.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn generate_delta() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_deltas` is never used [INFO] [stdout] --> src/main.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn compress_deltas() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dumpdelta` is never used [INFO] [stdout] --> src/main.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | fn dumpdelta() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goodness` is never used [INFO] [stdout] --> src/main.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn goodness() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `imbalanced` is never used [INFO] [stdout] --> src/main.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn imbalanced() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_reconfig` is never used [INFO] [stdout] --> src/main.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn do_reconfig() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goodness_cpu` is never used [INFO] [stdout] --> src/main.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn goodness_cpu() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_intr` is never used [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn move_intr() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ivecs_to_string` is never used [INFO] [stdout] --> src/main.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn ivecs_to_string() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_find_goal` is never used [INFO] [stdout] --> src/main.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn do_find_goal() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_goal` is never used [INFO] [stdout] --> src/main.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn find_goal() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_reconfig_cpu2cpu` is never used [INFO] [stdout] --> src/main.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn do_reconfig_cpu2cpu() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_reconfig_cpu` is never used [INFO] [stdout] --> src/main.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn do_reconfig_cpu() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.03s [INFO] running `Command { std: "docker" "inspect" "86c9c92a05c43ab7397372973c1071b0ffd7152bc99c03fc6bd48ec36363382b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c9c92a05c43ab7397372973c1071b0ffd7152bc99c03fc6bd48ec36363382b", kill_on_drop: false }` [INFO] [stdout] 86c9c92a05c43ab7397372973c1071b0ffd7152bc99c03fc6bd48ec36363382b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c187977612db424aca5b7428774796365c170fd522e9887545dd9e9efd0a5c80 [INFO] running `Command { std: "docker" "start" "-a" "c187977612db424aca5b7428774796365c170fd522e9887545dd9e9efd0a5c80", kill_on_drop: false }` [INFO] [stderr] Compiling intrd-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Kstat` and `NamedType` [INFO] [stdout] --> src/main.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use kstat_rs::{Ctl, Data, Kstat, Named, NamedData, NamedType}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ColorChoice`, `Config`, `LevelFilter`, `TermLogger`, and `TerminalMode` [INFO] [stdout] --> src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use simplelog::{ColorChoice, Config, LevelFilter, TermLogger, TerminalMode}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicBool` [INFO] [stdout] --> src/main.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_time` [INFO] [stdout] --> src/main.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let cpu_time: u64 = numeric_value_map(&val) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_time` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu_crtime` [INFO] [stdout] --> src/main.rs:135:17 [INFO] [stdout] | [INFO] [stdout] 135 | let cpu_crtime = vals.get("crtime").context("could not get crtime"); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cpu_crtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_apic` [INFO] [stdout] --> src/main.rs:90:23 [INFO] [stdout] | [INFO] [stdout] 90 | fn getstat(ctl: &Ctl, is_apic: bool) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_apic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut this_cpu = cpu_sys [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] --> src/main.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let mut pci_intrs: Vec<_> = ctl.filter(Some("pci_intrs"), None, None).collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/main.rs:302:9 [INFO] [stdout] | [INFO] [stdout] 302 | let stats = getstat(&ctl, true); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats` [INFO] [stdout] --> src/main.rs:351:13 [INFO] [stdout] | [INFO] [stdout] 351 | let stats = getstat(&ctl, is_apic); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | let mut sleep_time = NORMAL_SLEEP_TIME; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Delta` is never used [INFO] [stdout] --> src/main.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | type Delta = usize; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Deltas` is never used [INFO] [stdout] --> src/main.rs:20:6 [INFO] [stdout] | [INFO] [stdout] 20 | type Deltas = Vec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `DeltasTotalTime` is never used [INFO] [stdout] --> src/main.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | type DeltasTotalTime = usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | struct Ivecs { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 24 | // ->{} iterates over pci_intrs:::cookie [INFO] [stdout] 25 | time: u64, // pci_intrs:::time (in nsec) [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | pil: u64, // pci_intrs:::pil [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | crtime: u64, // pci_intrs:::crtime [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 28 | ino: u64, // pci_intrs:::ino [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | num_ino: u64, // num inos of single device instance sharing this entry. Will be > 1 on pcplusmp X86 systems for devices with multiple... [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 30 | buspath: String, // pci_intrs:::buspath [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 31 | name: String, // pci_intrs:::name [INFO] [stdout] | ^^^^ [INFO] [stdout] 32 | ihs: u64, // pci_intrs:::ihs [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tot`, `crtime`, and `ivecs` are never read [INFO] [stdout] --> src/main.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 35 | struct CpuStat { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 36 | tot: u64, // cpu::sys:cpu_nsec_{user + kernel + idle} [INFO] [stdout] | ^^^ [INFO] [stdout] 37 | crtime: u64, // cpu::sys:crtime [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 38 | ivecs: Ivecs, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `snaptime` and `cpus` are never read [INFO] [stdout] --> src/main.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 41 | struct GotStat { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 42 | snaptime: u64, // kstat's snaptime [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 43 | cpus: HashMap, // one hash reference per online cpu [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_delta` is never used [INFO] [stdout] --> src/main.rs:198:4 [INFO] [stdout] | [INFO] [stdout] 198 | fn generate_delta() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compress_deltas` is never used [INFO] [stdout] --> src/main.rs:204:4 [INFO] [stdout] | [INFO] [stdout] 204 | fn compress_deltas() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `dumpdelta` is never used [INFO] [stdout] --> src/main.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 208 | fn dumpdelta() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goodness` is never used [INFO] [stdout] --> src/main.rs:212:4 [INFO] [stdout] | [INFO] [stdout] 212 | fn goodness() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `imbalanced` is never used [INFO] [stdout] --> src/main.rs:216:4 [INFO] [stdout] | [INFO] [stdout] 216 | fn imbalanced() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_reconfig` is never used [INFO] [stdout] --> src/main.rs:220:4 [INFO] [stdout] | [INFO] [stdout] 220 | fn do_reconfig() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goodness_cpu` is never used [INFO] [stdout] --> src/main.rs:224:4 [INFO] [stdout] | [INFO] [stdout] 224 | fn goodness_cpu() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `move_intr` is never used [INFO] [stdout] --> src/main.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn move_intr() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ivecs_to_string` is never used [INFO] [stdout] --> src/main.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 232 | fn ivecs_to_string() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_find_goal` is never used [INFO] [stdout] --> src/main.rs:236:4 [INFO] [stdout] | [INFO] [stdout] 236 | fn do_find_goal() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_goal` is never used [INFO] [stdout] --> src/main.rs:240:4 [INFO] [stdout] | [INFO] [stdout] 240 | fn find_goal() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_reconfig_cpu2cpu` is never used [INFO] [stdout] --> src/main.rs:244:4 [INFO] [stdout] | [INFO] [stdout] 244 | fn do_reconfig_cpu2cpu() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `do_reconfig_cpu` is never used [INFO] [stdout] --> src/main.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 248 | fn do_reconfig_cpu() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "c187977612db424aca5b7428774796365c170fd522e9887545dd9e9efd0a5c80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c187977612db424aca5b7428774796365c170fd522e9887545dd9e9efd0a5c80", kill_on_drop: false }` [INFO] [stdout] c187977612db424aca5b7428774796365c170fd522e9887545dd9e9efd0a5c80