[INFO] cloning repository https://github.com/a14e/droxporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/a14e/droxporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa14e%2Fdroxporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa14e%2Fdroxporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b644276d78d4ab8536fd2313134eecf3593f3efb [INFO] building a14e/droxporter against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa14e%2Fdroxporter" "/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/a14e/droxporter [INFO] finished tweaking git repo https://github.com/a14e/droxporter [INFO] tweaked toml for git repo https://github.com/a14e/droxporter written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/a14e/droxporter on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/a14e/droxporter 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded humantime-serde v1.1.1 [INFO] [stderr] Downloaded rfc7239 v0.1.1 [INFO] [stderr] Downloaded mimalloc-rust v0.2.1 [INFO] [stderr] Downloaded wildmatch v2.3.4 [INFO] [stderr] Downloaded poem-derive v1.3.59 [INFO] [stderr] Downloaded sysinfo v0.28.4 [INFO] [stderr] Downloaded mimalloc-rust-sys v1.7.9-source [INFO] [stderr] Downloaded poem v1.3.59 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52c6a22b211079668657247f95098c9c759053f6bc72b77c0820dc5f9935f194 [INFO] running `Command { std: "docker" "start" "-a" "52c6a22b211079668657247f95098c9c759053f6bc72b77c0820dc5f9935f194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52c6a22b211079668657247f95098c9c759053f6bc72b77c0820dc5f9935f194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52c6a22b211079668657247f95098c9c759053f6bc72b77c0820dc5f9935f194", kill_on_drop: false }` [INFO] [stdout] 52c6a22b211079668657247f95098c9c759053f6bc72b77c0820dc5f9935f194 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0fa82c114d4358d6635474ec1a417c4b8800f82d77e3ffe56f5d3c930d62469 [INFO] running `Command { std: "docker" "start" "-a" "f0fa82c114d4358d6635474ec1a417c4b8800f82d77e3ffe56f5d3c930d62469", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling cc v1.1.21 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling protobuf v2.28.0 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling prometheus v0.13.4 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.13 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling rfc7239 v0.1.1 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling wildmatch v2.3.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling mimalloc-rust-sys v1.7.9-source [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling mimalloc-rust v0.2.1 [INFO] [stderr] Compiling sysinfo v0.28.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling poem-derive v1.3.59 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling tracing-serde v0.1.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling humantime-serde v1.1.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling tracing-appender v0.2.3 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling poem v1.3.59 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling droxporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `types`, `interval`, and `enabled` are never read [INFO] [stdout] --> src/config/config_model.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct LoadSettings { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 279 | #[serde(default)] [INFO] [stdout] 280 | pub types: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub interval: std::time::Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 286 | #[serde(default)] [INFO] [stdout] 287 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoadSettings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DropletMetricMetaDefault` is never constructed [INFO] [stdout] --> src/client/do_json_protocol.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct DropletMetricMetaDefault { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppMetricMetaDefault` is never constructed [INFO] [stdout] --> src/client/do_json_protocol.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct AppMetricMetaDefault { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_droplet_load` is never used [INFO] [stdout] --> src/client/do_client.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait DigitalOceanClient: Send + Sync { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 55 | async fn get_droplet_load(&self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ClientLoadType` is never used [INFO] [stdout] --> src/client/do_client.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum ClientLoadType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DropletLoad1`, `DropletLoad5`, and `DropletLoad15` are never constructed [INFO] [stdout] --> src/client/do_client.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub enum RequestType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 278 | DropletLoad1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 279 | DropletLoad5, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 280 | DropletLoad15, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limit_time_interval` is never read [INFO] [stdout] --> src/client/rate_limiter.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct RateLimiter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | limit_time_interval: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimiter` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_load_metrics_loading` is never used [INFO] [stdout] --> src/metrics/jobs_scheduler.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait MetricsScheduler: Send + Sync { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | async fn run_load_metrics_loading(&self) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locked` is never read [INFO] [stdout] --> src/metrics/droplet_store.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct BasicDropletInfo { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub locked: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BasicDropletInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_load_metrics` is never used [INFO] [stdout] --> src/metrics/droplet_metrics_loader.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait DropletMetricsService: Send + Sync { [INFO] [stdout] | --------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 17 | async fn load_load_metrics(&self) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `droplet_load` is never read [INFO] [stdout] --> src/metrics/droplet_metrics_loader.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct LoaderDropletMetrics { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | droplet_load: prometheus::GaugeVec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoaderDropletMetrics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `configs` is never read [INFO] [stdout] --> src/metrics/app_metrics_loader.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct AppMetricsServiceImpl { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | configs: &'static AppSettings, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppMetricsServiceImpl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 59.15s [INFO] running `Command { std: "docker" "inspect" "f0fa82c114d4358d6635474ec1a417c4b8800f82d77e3ffe56f5d3c930d62469", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0fa82c114d4358d6635474ec1a417c4b8800f82d77e3ffe56f5d3c930d62469", kill_on_drop: false }` [INFO] [stdout] f0fa82c114d4358d6635474ec1a417c4b8800f82d77e3ffe56f5d3c930d62469 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee08ee839fe81afe1420d7f30c42224a3c85c69f1b99af7fb2b9bb56b93221cb [INFO] running `Command { std: "docker" "start" "-a" "ee08ee839fe81afe1420d7f30c42224a3c85c69f1b99af7fb2b9bb56b93221cb", kill_on_drop: false }` [INFO] [stderr] Compiling droxporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/key_manager.rs:326:13 [INFO] [stdout] | [INFO] [stdout] 326 | let mut configs: &'static mut _ = Box::leak(Box::new(AppSettings::default())); [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: variable does not need to be mutable [INFO] [stdout] --> src/client/key_manager.rs:380:13 [INFO] [stdout] | [INFO] [stdout] 380 | let mut configs = Box::leak(Box::new(AppSettings::default())); [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/client/key_manager.rs:398:13 [INFO] [stdout] | [INFO] [stdout] 398 | let mut configs = Box::leak(Box::new(AppSettings::default())); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `types`, `interval`, and `enabled` are never read [INFO] [stdout] --> src/config/config_model.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 278 | pub struct LoadSettings { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 279 | #[serde(default)] [INFO] [stdout] 280 | pub types: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 285 | pub interval: std::time::Duration, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 286 | #[serde(default)] [INFO] [stdout] 287 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoadSettings` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DropletMetricMetaDefault` is never constructed [INFO] [stdout] --> src/client/do_json_protocol.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct DropletMetricMetaDefault { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AppMetricMetaDefault` is never constructed [INFO] [stdout] --> src/client/do_json_protocol.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct AppMetricMetaDefault { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_droplet_load` is never used [INFO] [stdout] --> src/client/do_client.rs:55:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub trait DigitalOceanClient: Send + Sync { [INFO] [stdout] | ------------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 55 | async fn get_droplet_load(&self, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ClientLoadType` is never used [INFO] [stdout] --> src/client/do_client.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | pub enum ClientLoadType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DropletLoad1`, `DropletLoad5`, and `DropletLoad15` are never constructed [INFO] [stdout] --> src/client/do_client.rs:278:5 [INFO] [stdout] | [INFO] [stdout] 267 | pub enum RequestType { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 278 | DropletLoad1, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 279 | DropletLoad5, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 280 | DropletLoad15, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequestType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `limit_time_interval` is never read [INFO] [stdout] --> src/client/rate_limiter.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct RateLimiter { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | limit_time_interval: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RateLimiter` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run_load_metrics_loading` is never used [INFO] [stdout] --> src/metrics/jobs_scheduler.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 17 | pub trait MetricsScheduler: Send + Sync { [INFO] [stdout] | ---------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 24 | async fn run_load_metrics_loading(&self) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `locked` is never read [INFO] [stdout] --> src/metrics/droplet_store.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct BasicDropletInfo { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | pub locked: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BasicDropletInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `load_load_metrics` is never used [INFO] [stdout] --> src/metrics/droplet_metrics_loader.rs:17:14 [INFO] [stdout] | [INFO] [stdout] 12 | pub trait DropletMetricsService: Send + Sync { [INFO] [stdout] | --------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 17 | async fn load_load_metrics(&self) -> anyhow::Result<()>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `droplet_load` is never read [INFO] [stdout] --> src/metrics/droplet_metrics_loader.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 45 | struct LoaderDropletMetrics { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | droplet_load: prometheus::GaugeVec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LoaderDropletMetrics` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `configs` is never read [INFO] [stdout] --> src/metrics/app_metrics_loader.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct AppMetricsServiceImpl { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | configs: &'static AppSettings, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppMetricsServiceImpl` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.73s [INFO] running `Command { std: "docker" "inspect" "ee08ee839fe81afe1420d7f30c42224a3c85c69f1b99af7fb2b9bb56b93221cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee08ee839fe81afe1420d7f30c42224a3c85c69f1b99af7fb2b9bb56b93221cb", kill_on_drop: false }` [INFO] [stdout] ee08ee839fe81afe1420d7f30c42224a3c85c69f1b99af7fb2b9bb56b93221cb