[INFO] cloning repository https://github.com/era/guardian_bell
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/era/guardian_bell" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fera%2Fguardian_bell", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fera%2Fguardian_bell'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 51e5deb94aea3364b96c4503592669d1eecf2256
[INFO] checking era/guardian_bell against master#ff647322379c48947c196639599067665ff9eb88 for pr-151539-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fera%2Fguardian_bell" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/era/guardian_bell
[INFO] finished tweaking git repo https://github.com/era/guardian_bell
[INFO] tweaked toml for git repo https://github.com/era/guardian_bell written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/era/guardian_bell on toolchain ff647322379c48947c196639599067665ff9eb88
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/era/guardian_bell 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" "+ff647322379c48947c196639599067665ff9eb88" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded temp-dir v0.1.13
[INFO] [stderr]   Downloaded tonic-health v0.11.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] ceb45c289c55c08d7f0e44e00d53e7c42b8caba13372fe2db0e11c65dd62183a
[INFO] running `Command { std: "docker" "start" "ceb45c289c55c08d7f0e44e00d53e7c42b8caba13372fe2db0e11c65dd62183a", 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" "ceb45c289c55c08d7f0e44e00d53e7c42b8caba13372fe2db0e11c65dd62183a" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ceb45c289c55c08d7f0e44e00d53e7c42b8caba13372fe2db0e11c65dd62183a", 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" "ceb45c289c55c08d7f0e44e00d53e7c42b8caba13372fe2db0e11c65dd62183a" "/opt/rustwide/cargo-home/bin/cargo" "+ff647322379c48947c196639599067665ff9eb88" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.81
[INFO] [stderr]    Compiling autocfg v1.2.0
[INFO] [stderr]    Compiling anyhow v1.0.82
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling rustversion v1.0.15
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling serde v1.0.203
[INFO] [stderr]     Checking indexmap v2.2.6
[INFO] [stderr]    Compiling rustix v0.38.34
[INFO] [stderr]    Compiling prettyplease v0.2.19
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling regex-syntax v0.8.3
[INFO] [stderr]    Compiling fastrand v2.0.2
[INFO] [stderr]     Checking utf8parse v0.2.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.19
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling multimap v0.10.0
[INFO] [stderr]     Checking anstyle-parse v0.2.3
[INFO] [stderr]    Compiling thiserror v1.0.59
[INFO] [stderr]     Checking anstyle v1.0.6
[INFO] [stderr]     Checking anstyle-query v1.0.2
[INFO] [stderr]     Checking colorchoice v1.0.0
[INFO] [stderr]     Checking clap_lex v0.7.0
[INFO] [stderr]     Checking smallvec v1.13.2
[INFO] [stderr]     Checking time v0.3.36
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking anstream v0.6.13
[INFO] [stderr]     Checking tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking num_cpus v1.16.0
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking socket2 v0.5.6
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]     Checking clap_builder v4.5.2
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking crossbeam-channel v0.5.12
[INFO] [stderr]     Checking temp-dir v0.1.13
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling tempfile v3.10.1
[INFO] [stderr]    Compiling regex-automata v0.4.6
[INFO] [stderr]    Compiling regex v1.10.4
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling prost-derive v0.12.4
[INFO] [stderr]    Compiling tracing-attributes v0.1.27
[INFO] [stderr]    Compiling serde_derive v1.0.203
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling async-trait v0.1.80
[INFO] [stderr]    Compiling async-stream-impl v0.3.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.59
[INFO] [stderr]    Compiling clap_derive v4.5.4
[INFO] [stderr]     Checking async-stream v0.3.5
[INFO] [stderr]     Checking tokio v1.37.0
[INFO] [stderr]     Checking tracing-appender v0.2.3
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking clap v4.5.4
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling prost v0.12.4
[INFO] [stderr]    Compiling prost-types v0.12.4
[INFO] [stderr]    Compiling prost-build v0.12.4
[INFO] [stderr]    Compiling tonic-build v0.11.0
[INFO] [stderr]    Compiling guardian_bell v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking tokio-util v0.7.10
[INFO] [stderr]     Checking tokio-io-timeout v1.2.0
[INFO] [stderr]     Checking tokio-stream v0.1.15
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking serde_json v1.0.117
[INFO] [stderr]     Checking hyper v0.14.28
[INFO] [stderr]     Checking hyper-timeout v0.4.1
[INFO] [stderr]     Checking tonic v0.11.0
[INFO] [stderr]     Checking tonic-health v0.11.0
[INFO] [stdout] warning: unused import: `alarm::CombinationAlarmConfig`
[INFO] [stdout]  --> src/alarm/alarm.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 |     alarm::Aggregation, alarm::CombinationAlarmConfig, alarm::LogicalOperator, alarm::Matcher,
[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: `BufReader`
[INFO] [stdout]  --> src/wal/mod.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{BufReader, Error as StdIOError, Write};
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alarm::CombinationAlarmConfig`
[INFO] [stdout]  --> src/alarm/alarm.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 |     alarm::Aggregation, alarm::CombinationAlarmConfig, alarm::LogicalOperator, alarm::Matcher,
[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: `BufReader`
[INFO] [stdout]  --> src/wal/mod.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{BufReader, Error as StdIOError, Write};
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `description`
[INFO] [stdout]   --> src/alarm/alarm.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn notify(&self, description: String) {
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metric`
[INFO] [stdout]   --> src/model/alarm.rs:83:30
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn metric_matches(&self, metric: &Metric) -> bool {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_metric`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metric`
[INFO] [stdout]   --> src/model/alarm.rs:88:30
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn metric_matches(&self, metric: &Metric) -> bool {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_metric`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Alarm` is never used
[INFO] [stdout]  --> src/alarm/alarm.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) trait Alarm {
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Notifier` is never used
[INFO] [stdout]   --> src/alarm/alarm.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub trait Notifier {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NoOpNotifier` is never constructed
[INFO] [stdout]   --> src/alarm/alarm.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct NoOpNotifier {}
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CombinationAlarmLogicalOperator` is never used
[INFO] [stdout]   --> src/alarm/alarm.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub type CombinationAlarmLogicalOperator = LogicalOperator<CombinationAlarm>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CombinationAlarm` is never constructed
[INFO] [stdout]   --> src/alarm/alarm.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct CombinationAlarm {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataPointAlarm` is never constructed
[INFO] [stdout]   --> src/alarm/alarm.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct DataPointAlarm {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/alarm/service.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlarmService` is never constructed
[INFO] [stdout]   --> src/alarm/service.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct AlarmService {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]   --> src/alarm/service.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Config {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add`, `delete`, `consume`, `tick`, and `recover` are never used
[INFO] [stdout]   --> src/alarm/service.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl AlarmService {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 29 |     fn new(config: Config, alarms: Vec<Box<dyn Alarm>>) -> Result<Self, Error> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn add(&mut self, alarm: Box<dyn Alarm>) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn delete(&mut self, alarm_id: &str) -> bool {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn consume(&mut self, metric: metrics::Metric, recover_mode: bool) -> Result<(), Error> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn tick(&self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     fn recover(&mut self) -> Result<(), Error> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MetricsData` is never constructed
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/guardian_bell-b0f7d8c4f6e27861/out/opentelemetry.proto.metrics.v1.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct MetricsData {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnknownCause` is never constructed
[INFO] [stdout]  --> src/server.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum ShutdownError {
[INFO] [stdout]   |          ------------- variant in this enum
[INFO] [stdout] 5 |     #[error("unkown cause {0}")]
[INFO] [stdout] 6 |     UnknownCause(String),
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ShutdownError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]   --> src/wal/mod.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Error {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Log` is never constructed
[INFO] [stdout]   --> src/wal/mod.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Log {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `write`, `read`, and `len` are never used
[INFO] [stdout]   --> src/wal/mod.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Log {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 28 |     fn new(file_name: PathBuf, name: String) -> Result<Self, Error> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn write(&mut self, data: &[u8]) -> Result<usize, Error> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn read(&mut self, offset: u64, buf: &mut [u8]) -> Result<usize, Error> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn len(&self) -> Result<usize, Error> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WAL` is never constructed
[INFO] [stdout]   --> src/wal/mod.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct WAL {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]   --> src/wal/mod.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct Config {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/wal/mod.rs:79:11
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl WAL {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout]  79 |     const LOG_PREFIX: &'static str = "log_page_";
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout]  80 |
[INFO] [stdout]  81 |     pub fn new(config: Config) -> Result<Self, Error> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn create_log(mut path: PathBuf, page: usize) -> Result<Log, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn find_logs(path: &PathBuf) -> Result<Vec<Log>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn write(&mut self, data: &[u8]) -> Result<(usize, usize), Error> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn read(&mut self, page: usize, offset: u64, buf: &mut [u8]) -> Result<usize, Error> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn last_page(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub fn curr_page_size(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn is_empty_wal(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `description`
[INFO] [stdout]   --> src/alarm/alarm.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn notify(&self, description: String) {
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/alarm/service.rs:205:13
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let mut alarm_service = AlarmService::new(
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/alarm/service.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |         for i in 0..number_of_metrics {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metric`
[INFO] [stdout]   --> src/model/alarm.rs:83:30
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn metric_matches(&self, metric: &Metric) -> bool {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_metric`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metric`
[INFO] [stdout]   --> src/model/alarm.rs:88:30
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn metric_matches(&self, metric: &Metric) -> bool {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_metric`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alarm::CombinationAlarmConfig`
[INFO] [stdout]  --> src/alarm/alarm.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 |     alarm::Aggregation, alarm::CombinationAlarmConfig, alarm::LogicalOperator, alarm::Matcher,
[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: `BufReader`
[INFO] [stdout]  --> src/wal/mod.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{BufReader, Error as StdIOError, Write};
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `tick` is never used
[INFO] [stdout]   --> src/alarm/alarm.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub(crate) trait Alarm {
[INFO] [stdout]    |                  ----- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn tick(&self);
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Notifier` is never used
[INFO] [stdout]   --> src/alarm/alarm.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub trait Notifier {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NoOpNotifier` is never constructed
[INFO] [stdout]   --> src/alarm/alarm.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct NoOpNotifier {}
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CombinationAlarmLogicalOperator` is never used
[INFO] [stdout]   --> src/alarm/alarm.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub type CombinationAlarmLogicalOperator = LogicalOperator<CombinationAlarm>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CombinationAlarm` is never constructed
[INFO] [stdout]   --> src/alarm/alarm.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct CombinationAlarm {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataPointAlarm` is never constructed
[INFO] [stdout]   --> src/alarm/alarm.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct DataPointAlarm {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add`, `delete`, and `tick` are never used
[INFO] [stdout]   --> src/alarm/service.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl AlarmService {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn add(&mut self, alarm: Box<dyn Alarm>) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn delete(&mut self, alarm_id: &str) -> bool {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn tick(&self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MetricsData` is never constructed
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/guardian_bell-b0f7d8c4f6e27861/out/opentelemetry.proto.metrics.v1.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct MetricsData {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnknownCause` is never constructed
[INFO] [stdout]  --> src/server.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum ShutdownError {
[INFO] [stdout]   |          ------------- variant in this enum
[INFO] [stdout] 5 |     #[error("unkown cause {0}")]
[INFO] [stdout] 6 |     UnknownCause(String),
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ShutdownError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CorruptedLogFile` is never constructed
[INFO] [stdout]   --> src/wal/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     CorruptedLogFile,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` 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 `name` is never read
[INFO] [stdout]   --> src/wal/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Log {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `tonic_health::pb::health_check_response::ServingStatus::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]   --> tests/grpc.rs:72:24
[INFO] [stdout]    |
[INFO] [stdout] 72 |         ServingStatus::from_i32(response.status).unwrap()
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated associated function `tonic_health::pb::health_check_response::ServingStatus::from_i32`: Use the TryFrom<i32> implementation instead
[INFO] [stdout]   --> tests/grpc.rs:89:24
[INFO] [stdout]    |
[INFO] [stdout] 89 |         ServingStatus::from_i32(response.status).unwrap()
[INFO] [stdout]    |                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `alarm::CombinationAlarmConfig`
[INFO] [stdout]  --> src/alarm/alarm.rs:2:25
[INFO] [stdout]   |
[INFO] [stdout] 2 |     alarm::Aggregation, alarm::CombinationAlarmConfig, alarm::LogicalOperator, alarm::Matcher,
[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: `BufReader`
[INFO] [stdout]  --> src/wal/mod.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::{BufReader, Error as StdIOError, Write};
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `description`
[INFO] [stdout]   --> src/alarm/alarm.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn notify(&self, description: String) {
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/alarm/service.rs:205:13
[INFO] [stdout]     |
[INFO] [stdout] 205 |         let mut alarm_service = AlarmService::new(
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/alarm/service.rs:191:13
[INFO] [stdout]     |
[INFO] [stdout] 191 |         for i in 0..number_of_metrics {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metric`
[INFO] [stdout]   --> src/model/alarm.rs:83:30
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn metric_matches(&self, metric: &Metric) -> bool {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_metric`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metric`
[INFO] [stdout]   --> src/model/alarm.rs:88:30
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn metric_matches(&self, metric: &Metric) -> bool {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_metric`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `description`
[INFO] [stdout]   --> src/alarm/alarm.rs:31:22
[INFO] [stdout]    |
[INFO] [stdout] 31 |     fn notify(&self, description: String) {
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `tick` is never used
[INFO] [stdout]   --> src/alarm/alarm.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub(crate) trait Alarm {
[INFO] [stdout]    |                  ----- method in this trait
[INFO] [stdout] ...
[INFO] [stdout] 15 |     fn tick(&self);
[INFO] [stdout]    |        ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Notifier` is never used
[INFO] [stdout]   --> src/alarm/alarm.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub trait Notifier {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NoOpNotifier` is never constructed
[INFO] [stdout]   --> src/alarm/alarm.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct NoOpNotifier {}
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CombinationAlarmLogicalOperator` is never used
[INFO] [stdout]   --> src/alarm/alarm.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub type CombinationAlarmLogicalOperator = LogicalOperator<CombinationAlarm>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CombinationAlarm` is never constructed
[INFO] [stdout]   --> src/alarm/alarm.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct CombinationAlarm {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataPointAlarm` is never constructed
[INFO] [stdout]   --> src/alarm/alarm.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct DataPointAlarm {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `add`, `delete`, and `tick` are never used
[INFO] [stdout]   --> src/alarm/service.rs:49:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl AlarmService {
[INFO] [stdout]    | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn add(&mut self, alarm: Box<dyn Alarm>) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn delete(&mut self, alarm_id: &str) -> bool {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn tick(&self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MetricsData` is never constructed
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/guardian_bell-b0f7d8c4f6e27861/out/opentelemetry.proto.metrics.v1.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct MetricsData {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AlarmConfig` is never used
[INFO] [stdout]  --> src/model/alarm.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum AlarmConfig {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TagBasedAlarmConfig` is never constructed
[INFO] [stdout]   --> src/model/alarm.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct TagBasedAlarmConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CombinationAlarmConfig` is never constructed
[INFO] [stdout]   --> src/model/alarm.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct CombinationAlarmConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AlarmLogicalOperator` is never used
[INFO] [stdout]   --> src/model/alarm.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub type AlarmLogicalOperator = LogicalOperator<TagBasedAlarmConfig>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LogicalOperator` is never used
[INFO] [stdout]   --> src/model/alarm.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum LogicalOperator<I> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ThresholdType` is never used
[INFO] [stdout]   --> src/model/alarm.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub enum ThresholdType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Match` is never constructed
[INFO] [stdout]   --> src/model/alarm.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct Match {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MatchType` is never used
[INFO] [stdout]   --> src/model/alarm.rs:67:10
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub enum MatchType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Aggregation` is never used
[INFO] [stdout]   --> src/model/alarm.rs:72:10
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub enum Aggregation {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Matcher` is never used
[INFO] [stdout]   --> src/model/alarm.rs:78:11
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub trait Matcher {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnknownCause` is never constructed
[INFO] [stdout]  --> src/server.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum ShutdownError {
[INFO] [stdout]   |          ------------- variant in this enum
[INFO] [stdout] 5 |     #[error("unkown cause {0}")]
[INFO] [stdout] 6 |     UnknownCause(String),
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ShutdownError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `CorruptedLogFile` is never constructed
[INFO] [stdout]   --> src/wal/mod.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Error {
[INFO] [stdout]    |          ----- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     CorruptedLogFile,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Error` 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 `name` is never read
[INFO] [stdout]   --> src/wal/mod.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Log {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 24 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metric`
[INFO] [stdout]   --> src/model/alarm.rs:83:30
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn metric_matches(&self, metric: &Metric) -> bool {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_metric`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `metric`
[INFO] [stdout]   --> src/model/alarm.rs:88:30
[INFO] [stdout]    |
[INFO] [stdout] 88 |     fn metric_matches(&self, metric: &Metric) -> bool {
[INFO] [stdout]    |                              ^^^^^^ help: if this is intentional, prefix it with an underscore: `_metric`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Alarm` is never used
[INFO] [stdout]  --> src/alarm/alarm.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub(crate) trait Alarm {
[INFO] [stdout]   |                  ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Notifier` is never used
[INFO] [stdout]   --> src/alarm/alarm.rs:25:11
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub trait Notifier {
[INFO] [stdout]    |           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `NoOpNotifier` is never constructed
[INFO] [stdout]   --> src/alarm/alarm.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct NoOpNotifier {}
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CombinationAlarmLogicalOperator` is never used
[INFO] [stdout]   --> src/alarm/alarm.rs:37:10
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub type CombinationAlarmLogicalOperator = LogicalOperator<CombinationAlarm>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CombinationAlarm` is never constructed
[INFO] [stdout]   --> src/alarm/alarm.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct CombinationAlarm {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataPointAlarm` is never constructed
[INFO] [stdout]   --> src/alarm/alarm.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub struct DataPointAlarm {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]  --> src/alarm/service.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum Error {
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AlarmService` is never constructed
[INFO] [stdout]   --> src/alarm/service.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub struct AlarmService {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]   --> src/alarm/service.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct Config {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `add`, `delete`, `consume`, `tick`, and `recover` are never used
[INFO] [stdout]   --> src/alarm/service.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | impl AlarmService {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 29 |     fn new(config: Config, alarms: Vec<Box<dyn Alarm>>) -> Result<Self, Error> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     fn add(&mut self, alarm: Box<dyn Alarm>) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn delete(&mut self, alarm_id: &str) -> bool {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61 |     fn consume(&mut self, metric: metrics::Metric, recover_mode: bool) -> Result<(), Error> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 79 |     fn tick(&self) {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     fn recover(&mut self) -> Result<(), Error> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MetricsData` is never constructed
[INFO] [stdout]   --> /opt/rustwide/target/debug/build/guardian_bell-b0f7d8c4f6e27861/out/opentelemetry.proto.metrics.v1.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct MetricsData {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AlarmConfig` is never used
[INFO] [stdout]  --> src/model/alarm.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub enum AlarmConfig {
[INFO] [stdout]   |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TagBasedAlarmConfig` is never constructed
[INFO] [stdout]   --> src/model/alarm.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct TagBasedAlarmConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CombinationAlarmConfig` is never constructed
[INFO] [stdout]   --> src/model/alarm.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct CombinationAlarmConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `AlarmLogicalOperator` is never used
[INFO] [stdout]   --> src/model/alarm.rs:40:10
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub type AlarmLogicalOperator = LogicalOperator<TagBasedAlarmConfig>;
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LogicalOperator` is never used
[INFO] [stdout]   --> src/model/alarm.rs:43:10
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum LogicalOperator<I> {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ThresholdType` is never used
[INFO] [stdout]   --> src/model/alarm.rs:54:10
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub enum ThresholdType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Match` is never constructed
[INFO] [stdout]   --> src/model/alarm.rs:61:12
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub struct Match {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MatchType` is never used
[INFO] [stdout]   --> src/model/alarm.rs:67:10
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub enum MatchType {
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Aggregation` is never used
[INFO] [stdout]   --> src/model/alarm.rs:72:10
[INFO] [stdout]    |
[INFO] [stdout] 72 | pub enum Aggregation {
[INFO] [stdout]    |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Matcher` is never used
[INFO] [stdout]   --> src/model/alarm.rs:78:11
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub trait Matcher {
[INFO] [stdout]    |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Metric` is never constructed
[INFO] [stdout]  --> src/model/metrics.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Metric {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MetricData` is never used
[INFO] [stdout]   --> src/model/metrics.rs:42:10
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub enum MetricData {
[INFO] [stdout]    |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DataPoint` is never constructed
[INFO] [stdout]   --> src/model/metrics.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct DataPoint {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `HistogramDataPoint` is never constructed
[INFO] [stdout]   --> src/model/metrics.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct HistogramDataPoint {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AggregationTemporality` is never used
[INFO] [stdout]    --> src/model/metrics.rs:101:10
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub enum AggregationTemporality {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UnknownCause` is never constructed
[INFO] [stdout]  --> src/server.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum ShutdownError {
[INFO] [stdout]   |          ------------- variant in this enum
[INFO] [stdout] 5 |     #[error("unkown cause {0}")]
[INFO] [stdout] 6 |     UnknownCause(String),
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ShutdownError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Error` is never used
[INFO] [stdout]   --> src/wal/mod.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub enum Error {
[INFO] [stdout]    |          ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Log` is never constructed
[INFO] [stdout]   --> src/wal/mod.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 21 | struct Log {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `write`, `read`, and `len` are never used
[INFO] [stdout]   --> src/wal/mod.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 27 | impl Log {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 28 |     fn new(file_name: PathBuf, name: String) -> Result<Self, Error> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     fn write(&mut self, data: &[u8]) -> Result<usize, Error> {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 51 |     fn read(&mut self, offset: u64, buf: &mut [u8]) -> Result<usize, Error> {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     fn len(&self) -> Result<usize, Error> {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WAL` is never constructed
[INFO] [stdout]   --> src/wal/mod.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub struct WAL {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Config` is never constructed
[INFO] [stdout]   --> src/wal/mod.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | pub struct Config {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/wal/mod.rs:79:11
[INFO] [stdout]     |
[INFO] [stdout]  78 | impl WAL {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout]  79 |     const LOG_PREFIX: &'static str = "log_page_";
[INFO] [stdout]     |           ^^^^^^^^^^
[INFO] [stdout]  80 |
[INFO] [stdout]  81 |     pub fn new(config: Config) -> Result<Self, Error> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     fn create_log(mut path: PathBuf, page: usize) -> Result<Log, Error> {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn find_logs(path: &PathBuf) -> Result<Vec<Log>, Error> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn write(&mut self, data: &[u8]) -> Result<(usize, usize), Error> {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     pub fn read(&mut self, page: usize, offset: u64, buf: &mut [u8]) -> Result<usize, Error> {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 159 |     pub fn last_page(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 163 |     pub fn curr_page_size(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn is_empty_wal(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.80s
[INFO] running `Command { std: "docker" "inspect" "ceb45c289c55c08d7f0e44e00d53e7c42b8caba13372fe2db0e11c65dd62183a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ceb45c289c55c08d7f0e44e00d53e7c42b8caba13372fe2db0e11c65dd62183a", kill_on_drop: false }`
[INFO] [stdout] ceb45c289c55c08d7f0e44e00d53e7c42b8caba13372fe2db0e11c65dd62183a
