[INFO] cloning repository https://github.com/emamulandalib/aws-cw-tui
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emamulandalib/aws-cw-tui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femamulandalib%2Faws-cw-tui", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femamulandalib%2Faws-cw-tui'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0cfb7dbe36b8cbe990c20aa176dc3f2de0d65b4e
[INFO] checking emamulandalib/aws-cw-tui against dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8 for pr-133502-27
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femamulandalib%2Faws-cw-tui" "/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/emamulandalib/aws-cw-tui
[INFO] finished tweaking git repo https://github.com/emamulandalib/aws-cw-tui
[INFO] tweaked toml for git repo https://github.com/emamulandalib/aws-cw-tui written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/emamulandalib/aws-cw-tui on toolchain dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/emamulandalib/aws-cw-tui 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" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded instability v0.3.7
[INFO] [stderr]   Downloaded castaway v0.2.3
[INFO] [stderr]   Downloaded redox_syscall v0.5.12
[INFO] [stderr]   Downloaded clap v4.5.39
[INFO] [stderr]   Downloaded aws-smithy-compression v0.0.3
[INFO] [stderr]   Downloaded aws-smithy-xml v0.60.9
[INFO] [stderr]   Downloaded aws-credential-types v1.2.3
[INFO] [stderr]   Downloaded aws-types v1.3.7
[INFO] [stderr]   Downloaded aws-smithy-json v0.61.3
[INFO] [stderr]   Downloaded aws-smithy-http v0.62.1
[INFO] [stderr]   Downloaded aws-runtime v1.5.7
[INFO] [stderr]   Downloaded aws-smithy-runtime-api v1.8.0
[INFO] [stderr]   Downloaded aws-sigv4 v1.3.2
[INFO] [stderr]   Downloaded prettyplease v0.2.33
[INFO] [stderr]   Downloaded aws-sdk-ssooidc v1.73.0
[INFO] [stderr]   Downloaded aws-sdk-sso v1.72.0
[INFO] [stderr]   Downloaded aws-smithy-http-client v1.0.3
[INFO] [stderr]   Downloaded rustls-webpki v0.103.3
[INFO] [stderr]   Downloaded aws-smithy-types v1.3.1
[INFO] [stderr]   Downloaded aws-smithy-runtime v1.8.3
[INFO] [stderr]   Downloaded cc v1.2.26
[INFO] [stderr]   Downloaded aws-config v1.6.3
[INFO] [stderr]   Downloaded aws-sdk-sts v1.73.0
[INFO] [stderr]   Downloaded clap_builder v4.5.39
[INFO] [stderr]   Downloaded aws-lc-rs v1.13.1
[INFO] [stderr]   Downloaded bindgen v0.69.5
[INFO] [stderr]   Downloaded aws-sdk-sqs v1.72.0
[INFO] [stderr]   Downloaded rustls v0.23.27
[INFO] [stderr]   Downloaded aws-sdk-cloudwatch v1.78.0
[INFO] [stderr]   Downloaded ratatui v0.28.1
[INFO] [stderr]   Downloaded aws-sdk-rds v1.91.0
[INFO] [stderr]   Downloaded aws-lc-sys v0.29.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:c36f533e8924a726b63f9d01e781fa8c8c28c96d1d595403829afb31452ee0f5" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 66e8922be585a8ef616e716b9b90a279e0db91c193a6a3ff8c9b179d80769111
[INFO] running `Command { std: "docker" "start" "66e8922be585a8ef616e716b9b90a279e0db91c193a6a3ff8c9b179d80769111", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "66e8922be585a8ef616e716b9b90a279e0db91c193a6a3ff8c9b179d80769111", 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" "66e8922be585a8ef616e716b9b90a279e0db91c193a6a3ff8c9b179d80769111" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "66e8922be585a8ef616e716b9b90a279e0db91c193a6a3ff8c9b179d80769111", 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" "66e8922be585a8ef616e716b9b90a279e0db91c193a6a3ff8c9b179d80769111" "/opt/rustwide/cargo-home/bin/cargo" "+dfbea5bc945a9d7ff017d3d4bfbd1af9295fe5b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking zeroize v1.8.1
[INFO] [stderr]     Checking vsimd v0.8.0
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking outref v0.5.2
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking bytes-utils v0.1.4
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]    Compiling aws-lc-rs v1.13.1
[INFO] [stderr]    Compiling rustls v0.23.27
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking rustls-native-certs v0.6.3
[INFO] [stderr]     Checking rustls-pki-types v1.12.0
[INFO] [stderr]     Checking tower v0.5.2
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking uuid v1.17.0
[INFO] [stderr]     Checking regex-lite v0.1.6
[INFO] [stderr]     Checking xmlparser v0.13.6
[INFO] [stderr]     Checking miniz_oxide v0.8.8
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking rustix v0.38.44
[INFO] [stderr]     Checking base64-simd v0.8.0
[INFO] [stderr]     Checking castaway v0.2.3
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]     Checking aws-smithy-xml v0.60.9
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]     Checking rustls-native-certs v0.8.1
[INFO] [stderr]     Checking compact_str v0.8.1
[INFO] [stderr]     Checking clap_builder v4.5.39
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling aws-types v1.3.7
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking flate2 v1.1.1
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking lru v0.12.5
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking parking_lot_core v0.9.11
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling cc v1.2.26
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking signal-hook v0.3.18
[INFO] [stderr]     Checking signal-hook-mio v0.2.4
[INFO] [stderr]     Checking crossterm v0.28.1
[INFO] [stderr]    Compiling cmake v0.1.54
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling aws-lc-sys v0.29.0
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.29
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling async-trait v0.1.88
[INFO] [stderr]     Checking tokio v1.45.1
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking strum v0.26.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]     Checking zerovec v0.11.2
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling instability v0.3.7
[INFO] [stderr]     Checking ratatui v0.28.1
[INFO] [stderr]     Checking clap v4.5.39
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.2
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking tokio-util v0.7.15
[INFO] [stderr]     Checking aws-smithy-async v1.2.5
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking aws-smithy-types v1.3.1
[INFO] [stderr]     Checking h2 v0.4.10
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking aws-smithy-runtime-api v1.8.0
[INFO] [stderr]     Checking aws-smithy-json v0.61.3
[INFO] [stderr]     Checking aws-smithy-query v0.60.7
[INFO] [stderr]     Checking rustls-webpki v0.103.3
[INFO] [stderr]     Checking aws-smithy-http v0.62.1
[INFO] [stderr]     Checking aws-credential-types v1.2.3
[INFO] [stderr]     Checking aws-smithy-observability v0.1.3
[INFO] [stderr]     Checking aws-smithy-compression v0.0.3
[INFO] [stderr]     Checking aws-sigv4 v1.3.2
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper v1.6.0
[INFO] [stderr]     Checking hyper-util v0.1.14
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking tokio-rustls v0.26.2
[INFO] [stderr]     Checking hyper-rustls v0.27.7
[INFO] [stderr]     Checking aws-smithy-http-client v1.0.3
[INFO] [stderr]     Checking aws-smithy-runtime v1.8.3
[INFO] [stderr]     Checking aws-runtime v1.5.7
[INFO] [stderr]     Checking aws-sdk-sso v1.72.0
[INFO] [stderr]     Checking aws-sdk-ssooidc v1.73.0
[INFO] [stderr]     Checking aws-sdk-sts v1.73.0
[INFO] [stderr]     Checking aws-sdk-sqs v1.72.0
[INFO] [stderr]     Checking aws-sdk-rds v1.91.0
[INFO] [stderr]     Checking aws-sdk-cloudwatch v1.78.0
[INFO] [stderr]     Checking aws-config v1.6.3
[INFO] [stderr]     Checking awscw v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated functions `get_region` and `reload_config` are never used
[INFO] [stdout]    --> src/aws/session.rs:168:18
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl AwsSessionManager {
[INFO] [stdout]     | ---------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub async fn get_region() -> String {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub async fn reload_config() -> Arc<SdkConfig> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `profile`, `region`, `account_id`, `user_id`, and `arn` are never read
[INFO] [stdout]    --> src/aws/session.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 194 | pub struct CredentialInfo {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 195 |     pub profile: String,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 196 |     pub region: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 197 |     pub account_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 198 |     pub user_id: String,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 199 |     pub arn: String,
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CredentialInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `credential_info` is never read
[INFO] [stdout]    --> src/aws/session.rs:206:9
[INFO] [stdout]     |
[INFO] [stdout] 204 | pub struct CredentialValidationResult {
[INFO] [stdout]     |            -------------------------- field in this struct
[INFO] [stdout] 205 |     pub success: bool,
[INFO] [stdout] 206 |     pub credential_info: Option<CredentialInfo>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CredentialValidationResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AwsClients` is never constructed
[INFO] [stdout]    --> src/aws/session.rs:214:12
[INFO] [stdout]     |
[INFO] [stdout] 214 | pub struct AwsClients {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DynamicMetricBuilder` is never constructed
[INFO] [stdout]   --> src/aws/metric_builder.rs:27:12
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct DynamicMetricBuilder {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/aws/metric_builder.rs:33:12
[INFO] [stdout]     |
[INFO] [stdout]  31 | impl DynamicMetricBuilder {
[INFO] [stdout]     | ------------------------- associated items in this implementation
[INFO] [stdout]  32 |     /// Create a new dynamic metric builder with the default factory
[INFO] [stdout]  33 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  40 |     pub fn build_from_service_metrics(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  59 |     fn transform_service_metrics_to_legacy(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  70 |     fn get_service_provider(&self, service_type: &AwsService) -> Result<&dyn MetricProvider> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     fn apply_provider_transformation(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  90 |     fn downcast_to_metric_data(
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 106 |     pub fn factory(&self) -> &MetricServiceFactory {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_from_service_metrics` is never used
[INFO] [stdout]    --> src/aws/metric_builder.rs:200:8
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub fn build_from_service_metrics(service_metrics: ServiceMetrics) -> Result<MetricData> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MetricServiceFactory` is never constructed
[INFO] [stdout]   --> src/aws/metrics/factory/provider_factory.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct MetricServiceFactory {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `register_provider`, `get_provider`, `has_provider`, and `get_supported_services` are never used
[INFO] [stdout]   --> src/aws/metrics/factory/provider_factory.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl MetricServiceFactory {
[INFO] [stdout]    | ------------------------- associated items in this implementation
[INFO] [stdout] 17 |     /// Create a new factory with default providers registered
[INFO] [stdout] 18 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub fn register_provider(
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn get_provider(&self, service_type: &AwsService) -> Result<&dyn MetricProvider> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn has_provider(&self, service_type: &AwsService) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn get_supported_services(&self) -> Vec<AwsService> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `MetricProvider` is never used
[INFO] [stdout]   --> src/aws/metrics/providers/mod.rs:17:11
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait MetricProvider: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RdsMetricProvider` is never constructed
[INFO] [stdout]   --> src/aws/metrics/providers/rds_provider.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct RdsMetricProvider;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/aws/metrics/providers/rds_provider.rs:283:12
[INFO] [stdout]     |
[INFO] [stdout] 282 | impl RdsMetricProvider {
[INFO] [stdout]     | ---------------------- associated function in this implementation
[INFO] [stdout] 283 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MetricDefinition` is never constructed
[INFO] [stdout]  --> src/aws/metrics/types.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct MetricDefinition {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StatisticType` is never used
[INFO] [stdout]   --> src/aws/metrics/types.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum StatisticType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MetricCategory` is never used
[INFO] [stdout]   --> src/aws/metrics/types.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub enum MetricCategory {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `get_region` and `reload_config` are never used
[INFO] [stdout]    --> src/aws/session.rs:168:18
[INFO] [stdout]     |
[INFO] [stdout]  21 | impl AwsSessionManager {
[INFO] [stdout]     | ---------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub async fn get_region() -> String {
[INFO] [stdout]     |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 180 |     pub async fn reload_config() -> Arc<SdkConfig> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `profile`, `region`, `account_id`, `user_id`, and `arn` are never read
[INFO] [stdout]    --> src/aws/session.rs:195:9
[INFO] [stdout]     |
[INFO] [stdout] 194 | pub struct CredentialInfo {
[INFO] [stdout]     |            -------------- fields in this struct
[INFO] [stdout] 195 |     pub profile: String,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 196 |     pub region: String,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout] 197 |     pub account_id: String,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 198 |     pub user_id: String,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 199 |     pub arn: String,
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CredentialInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `credential_info` is never read
[INFO] [stdout]    --> src/aws/session.rs:206:9
[INFO] [stdout]     |
[INFO] [stdout] 204 | pub struct CredentialValidationResult {
[INFO] [stdout]     |            -------------------------- field in this struct
[INFO] [stdout] 205 |     pub success: bool,
[INFO] [stdout] 206 |     pub credential_info: Option<CredentialInfo>,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `CredentialValidationResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AwsClients` is never constructed
[INFO] [stdout]    --> src/aws/session.rs:214:12
[INFO] [stdout]     |
[INFO] [stdout] 214 | pub struct AwsClients {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_from_service_metrics` is never used
[INFO] [stdout]    --> src/aws/metric_builder.rs:200:8
[INFO] [stdout]     |
[INFO] [stdout] 200 | pub fn build_from_service_metrics(service_metrics: ServiceMetrics) -> Result<MetricData> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_supported_services` is never used
[INFO] [stdout]   --> src/aws/metrics/factory/provider_factory.rs:57:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl MetricServiceFactory {
[INFO] [stdout]    | ------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub fn get_supported_services(&self) -> Vec<AwsService> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_service_namespace`, `get_metrics_config`, `get_dimension_mappings`, and `get_service_type` are never used
[INFO] [stdout]   --> src/aws/metrics/providers/mod.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub trait MetricProvider: Send + Sync {
[INFO] [stdout]    |           -------------- methods in this trait
[INFO] [stdout] 18 |     /// Returns the CloudWatch namespace for this service (e.g., "AWS/RDS")
[INFO] [stdout] 19 |     fn get_service_namespace(&self) -> &'static str;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     fn get_metrics_config(&self) -> Vec<MetricDefinition>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn get_dimension_mappings(&self) -> HashMap<String, String>;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     fn get_service_type(&self) -> AwsService;
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MetricDefinition` is never constructed
[INFO] [stdout]  --> src/aws/metrics/types.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct MetricDefinition {
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ServiceMetrics` is never constructed
[INFO] [stdout]   --> src/aws/metrics/types.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub struct ServiceMetrics {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `StatisticType` is never used
[INFO] [stdout]   --> src/aws/metrics/types.rs:18:10
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum StatisticType {
[INFO] [stdout]    |          ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MetricCategory` is never used
[INFO] [stdout]   --> src/aws/metrics/types.rs:27:10
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub enum MetricCategory {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `empty` is never used
[INFO] [stdout]   --> src/aws/metrics/types.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl MetricValue {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn empty() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `available_metrics`, `get_metric_unit`, and `validate_instance_id` are never used
[INFO] [stdout]   --> src/aws/rds/instances.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl RdsInstanceManager {
[INFO] [stdout]    | ----------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn available_metrics() -> Vec<&'static str> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn get_metric_unit(metric_name: &str) -> &'static str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn validate_instance_id(id: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RdsMetricsManager` is never constructed
[INFO] [stdout]  --> src/aws/rds/metrics.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct RdsMetricsManager;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `load_metrics`, `namespace`, and `dimension_key` are never used
[INFO] [stdout]   --> src/aws/rds/metrics.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl RdsMetricsManager {
[INFO] [stdout]    | ---------------------- associated functions in this implementation
[INFO] [stdout] 10 |     /// Load metrics for a specific RDS instance
[INFO] [stdout] 11 |     pub async fn load_metrics(
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn namespace() -> &'static str {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn dimension_key() -> &'static str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MetricValue` is never constructed
[INFO] [stdout]   --> src/aws/metrics/types.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub struct MetricValue {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `new` and `empty` are never used
[INFO] [stdout]   --> src/aws/metrics/types.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl MetricValue {
[INFO] [stdout]    | ---------------- associated functions in this implementation
[INFO] [stdout] 51 |     pub fn new(current: f64, history: Vec<f64>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 55 |     pub fn empty() -> Self {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_metric` are never used
[INFO] [stdout]   --> src/aws/metrics/types.rs:64:12
[INFO] [stdout]    |
[INFO] [stdout] 63 | impl ServiceMetrics {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 64 |     pub fn new(service_type: AwsService) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 72 |     pub fn add_metric(&mut self, name: String, value: MetricValue) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `available_metrics`, `get_metric_unit`, and `validate_instance_id` are never used
[INFO] [stdout]   --> src/aws/rds/instances.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout]  8 | impl RdsInstanceManager {
[INFO] [stdout]    | ----------------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 16 |     pub fn available_metrics() -> Vec<&'static str> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn get_metric_unit(metric_name: &str) -> &'static str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn validate_instance_id(id: &str) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RdsMetricsManager` is never constructed
[INFO] [stdout]  --> src/aws/rds/metrics.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct RdsMetricsManager;
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `load_metrics`, `namespace`, and `dimension_key` are never used
[INFO] [stdout]   --> src/aws/rds/metrics.rs:11:18
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl RdsMetricsManager {
[INFO] [stdout]    | ---------------------- associated functions in this implementation
[INFO] [stdout] 10 |     /// Load metrics for a specific RDS instance
[INFO] [stdout] 11 |     pub async fn load_metrics(
[INFO] [stdout]    |                  ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn namespace() -> &'static str {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 34 |     pub fn dimension_key() -> &'static str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s
[INFO] running `Command { std: "docker" "inspect" "66e8922be585a8ef616e716b9b90a279e0db91c193a6a3ff8c9b179d80769111", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "66e8922be585a8ef616e716b9b90a279e0db91c193a6a3ff8c9b179d80769111", kill_on_drop: false }`
[INFO] [stdout] 66e8922be585a8ef616e716b9b90a279e0db91c193a6a3ff8c9b179d80769111
