[INFO] cloning repository https://github.com/steob92/rust_api_promdb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/steob92/rust_api_promdb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteob92%2Frust_api_promdb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteob92%2Frust_api_promdb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ab0390c1468ed6faf0d6ee54922a436795c389d [INFO] checking steob92/rust_api_promdb against master#092a284ba0421695f2032c947765429fd7095796 for pr-139763 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsteob92%2Frust_api_promdb" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/steob92/rust_api_promdb on toolchain 092a284ba0421695f2032c947765429fd7095796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/steob92/rust_api_promdb [INFO] finished tweaking git repo https://github.com/steob92/rust_api_promdb [INFO] tweaked toml for git repo https://github.com/steob92/rust_api_promdb written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/steob92/rust_api_promdb 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" "+092a284ba0421695f2032c947765429fd7095796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded figment v0.10.18 [INFO] [stderr] Downloaded rocket_prometheus v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f32c614d7e684e917520ef6776238983a39ec58c4e1fb2d2effbaed5e25e0ea8 [INFO] running `Command { std: "docker" "start" "-a" "f32c614d7e684e917520ef6776238983a39ec58c4e1fb2d2effbaed5e25e0ea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f32c614d7e684e917520ef6776238983a39ec58c4e1fb2d2effbaed5e25e0ea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f32c614d7e684e917520ef6776238983a39ec58c4e1fb2d2effbaed5e25e0ea8", kill_on_drop: false }` [INFO] [stdout] f32c614d7e684e917520ef6776238983a39ec58c4e1fb2d2effbaed5e25e0ea8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+092a284ba0421695f2032c947765429fd7095796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb473ee0c60a6ba35ee839c346945e6c85ff69425f5003f2ebcb0966267c8e8e [INFO] running `Command { std: "docker" "start" "-a" "fb473ee0c60a6ba35ee839c346945e6c85ff69425f5003f2ebcb0966267c8e8e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.199 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Checking winnow v0.6.7 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling figment v0.10.18 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling prometheus v0.13.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Checking sysinfo v0.30.11 [INFO] [stderr] Compiling serde_derive v1.0.199 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking rocket_prometheus v0.10.0 [INFO] [stderr] Checking sys_monitor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `CPU_Stats` should have an upper camel case name [INFO] [stdout] --> src/monitors/cpu.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CPU_Stats{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CpuStats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CPU_Monitor` should have an upper camel case name [INFO] [stdout] --> src/monitors/cpu.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CPU_Monitor; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CpuMonitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Memory_Stats` should have an upper camel case name [INFO] [stdout] --> src/monitors/memory.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Memory_Stats{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemoryStats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Memory_Monitor` should have an upper camel case name [INFO] [stdout] --> src/monitors/memory.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Memory_Monitor; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemoryMonitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Memory_Stats` [INFO] [stdout] --> src/monitors/mod.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub use memory::{Memory_Monitor, Memory_Stats}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::Status` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::http::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::status` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::response::status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Build` and `Rocket` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use rocket::{Build, Rocket}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket_prometheus::prometheus::labels` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rocket_prometheus::prometheus::labels; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntCounterVec` [INFO] [stdout] --> src/main.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | prometheus::{opts, IntCounterVec, Gauge, GaugeVec}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut monitor = CPU_Monitor; [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:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut monitor = CPU_Monitor; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CPU_Stats` should have an upper camel case name [INFO] [stdout] --> src/monitors/cpu.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CPU_Stats{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `CpuStats` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `CPU_Monitor` should have an upper camel case name [INFO] [stdout] --> src/monitors/cpu.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct CPU_Monitor; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CpuMonitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Memory_Stats` should have an upper camel case name [INFO] [stdout] --> src/monitors/memory.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Memory_Stats{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemoryStats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Memory_Monitor` should have an upper camel case name [INFO] [stdout] --> src/monitors/memory.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Memory_Monitor; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MemoryMonitor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Memory_Stats` [INFO] [stdout] --> src/monitors/mod.rs:4:34 [INFO] [stdout] | [INFO] [stdout] 4 | pub use memory::{Memory_Monitor, Memory_Stats}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::http::Status` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rocket::http::Status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket::response::status` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use rocket::response::status; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Build` and `Rocket` [INFO] [stdout] --> src/main.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use rocket::{Build, Rocket}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rocket_prometheus::prometheus::labels` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use rocket_prometheus::prometheus::labels; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntCounterVec` [INFO] [stdout] --> src/main.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | prometheus::{opts, IntCounterVec, Gauge, GaugeVec}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | let mut monitor = CPU_Monitor; [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:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | let mut monitor = CPU_Monitor; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut monitor = CPU_Monitor; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut monitor = Memory_Monitor; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let mut monitor = Memory_Monitor; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_join_handle` [INFO] [stdout] --> src/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let thread_join_handle = thread::spawn(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_join_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_ncpu` and `print_cpu_usage` are never used [INFO] [stdout] --> src/monitors/cpu.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CPU_Monitor{ [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_ncpu(self : &Self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn print_cpu_usage(self: &Self) -> (){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_memory_usage_percentage` and `get_swap_usage_percentage` are never used [INFO] [stdout] --> src/monitors/memory.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Memory_Monitor{ [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_memory_usage_percentage(self : &Self) -> Memory_Stats{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_swap_usage_percentage(self : &Self) -> Memory_Stats{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | let mut monitor = CPU_Monitor; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let mut monitor = Memory_Monitor; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let mut monitor = Memory_Monitor; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thread_join_handle` [INFO] [stdout] --> src/main.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let thread_join_handle = thread::spawn(|| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thread_join_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_ncpu` and `print_cpu_usage` are never used [INFO] [stdout] --> src/monitors/cpu.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl CPU_Monitor{ [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_ncpu(self : &Self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn print_cpu_usage(self: &Self) -> (){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_memory_usage_percentage` and `get_swap_usage_percentage` are never used [INFO] [stdout] --> src/monitors/memory.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Memory_Monitor{ [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_memory_usage_percentage(self : &Self) -> Memory_Stats{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn get_swap_usage_percentage(self : &Self) -> Memory_Stats{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 56.02s [INFO] running `Command { std: "docker" "inspect" "fb473ee0c60a6ba35ee839c346945e6c85ff69425f5003f2ebcb0966267c8e8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb473ee0c60a6ba35ee839c346945e6c85ff69425f5003f2ebcb0966267c8e8e", kill_on_drop: false }` [INFO] [stdout] fb473ee0c60a6ba35ee839c346945e6c85ff69425f5003f2ebcb0966267c8e8e