[INFO] cloning repository https://github.com/rucoder/zcli-compose [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rucoder/zcli-compose" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frucoder%2Fzcli-compose", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frucoder%2Fzcli-compose'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 984691506b15af93e84d34121e31ba26403c6726 [INFO] checking rucoder/zcli-compose against master#eeb94be79adc9df7a09ad0b2421f16e60e6d932c for pr-152971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frucoder%2Fzcli-compose" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rucoder/zcli-compose [INFO] finished tweaking git repo https://github.com/rucoder/zcli-compose [INFO] tweaked toml for git repo https://github.com/rucoder/zcli-compose written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rucoder/zcli-compose on toolchain eeb94be79adc9df7a09ad0b2421f16e60e6d932c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rucoder/zcli-compose 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" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling_macro v0.21.3 [INFO] [stderr] Downloaded hyper-named-pipe v0.1.0 [INFO] [stderr] Downloaded tonic-prost v0.14.2 [INFO] [stderr] Downloaded test-context-macros v0.4.1 [INFO] [stderr] Downloaded hyperlocal v0.9.1 [INFO] [stderr] Downloaded structmeta v0.3.0 [INFO] [stderr] Downloaded test-context v0.4.1 [INFO] [stderr] Downloaded prost v0.14.1 [INFO] [stderr] Downloaded axum-core v0.5.5 [INFO] [stderr] Downloaded clap_complete v4.5.61 [INFO] [stderr] Downloaded astral-tokio-tar v0.5.6 [INFO] [stderr] Downloaded bollard-stubs v1.49.1-rc.28.4.0 [INFO] [stderr] Downloaded bollard-buildkit-proto v0.7.0 [INFO] [stderr] Downloaded tonic v0.14.2 [INFO] [stderr] Downloaded hyper-util v0.1.18 [INFO] [stderr] Downloaded bollard v0.19.4 [INFO] [stderr] Downloaded ureq v3.1.4 [INFO] [stderr] Downloaded axum v0.8.7 [INFO] [stderr] Downloaded serde_with v3.16.0 [INFO] [stderr] Downloaded cc v1.2.47 [INFO] [stderr] Downloaded webpki-roots v1.0.4 [INFO] [stderr] Downloaded zerocopy v0.8.30 [INFO] [stderr] Downloaded schemars v1.1.0 [INFO] [stderr] Downloaded security-framework v3.5.1 [INFO] [stderr] Downloaded prost-types v0.14.1 [INFO] [stderr] Downloaded rustls-native-certs v0.8.2 [INFO] [stderr] Downloaded darling v0.21.3 [INFO] [stderr] Downloaded serde_with_macros v3.16.0 [INFO] [stderr] Downloaded zerocopy-derive v0.8.30 [INFO] [stderr] Downloaded darling_core v0.21.3 [INFO] [stderr] Downloaded filetime v0.2.26 [INFO] [stderr] Downloaded prost-derive v0.14.1 [INFO] [stderr] Downloaded docker_credential v1.3.2 [INFO] [stderr] Downloaded etcetera v0.10.0 [INFO] [stderr] Downloaded parse-display-derive v0.9.1 [INFO] [stderr] Downloaded parse-display v0.9.1 [INFO] [stderr] Downloaded testcontainers v0.25.2 [INFO] [stderr] Downloaded structmeta-derive v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a050384f9f4b17612225ff9fcc034314d42a5ed0214068a84cf902f389424028 [INFO] running `Command { std: "docker" "start" "-a" "a050384f9f4b17612225ff9fcc034314d42a5ed0214068a84cf902f389424028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a050384f9f4b17612225ff9fcc034314d42a5ed0214068a84cf902f389424028", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a050384f9f4b17612225ff9fcc034314d42a5ed0214068a84cf902f389424028", kill_on_drop: false }` [INFO] [stdout] a050384f9f4b17612225ff9fcc034314d42a5ed0214068a84cf902f389424028 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+eeb94be79adc9df7a09ad0b2421f16e60e6d932c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b05062162c958db39ac5868b9dc4d166f1d86e4d8f05a01317ad5625b7078e6 [INFO] running `Command { std: "docker" "start" "-a" "1b05062162c958db39ac5868b9dc4d166f1d86e4d8f05a01317ad5625b7078e6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking rustls-pki-types v1.13.0 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking iana-time-zone v0.1.64 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling bollard-buildkit-proto v0.7.0 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking webpki-roots v1.0.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking ureq-proto v0.5.3 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking shellexpand v3.1.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking rustls-native-certs v0.8.2 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking filetime v0.2.26 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking etcetera v0.10.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking xattr v1.6.1 [INFO] [stderr] Checking tempfile v3.23.0 [INFO] [stderr] Checking ulid v1.2.1 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling prost-derive v0.14.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling structmeta-derive v0.3.0 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling test-context-macros v0.4.1 [INFO] [stderr] Compiling structmeta v0.3.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Compiling parse-display-derive v0.9.1 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking prost v0.14.1 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking clap_complete v4.5.61 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking prost-types v0.14.1 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Checking parse-display v0.9.1 [INFO] [stderr] Compiling serde_with_macros v3.16.0 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking docker_credential v1.3.2 [INFO] [stderr] Checking serde_with v3.16.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking test-context v0.4.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking zcli-compose v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ureq v3.1.4 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stdout] warning: unused import: `ZCliError` [INFO] [stdout] --> src/enterprise.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::{CliError, ConfigError, Result, ZCliError}; [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: `AppInstanceConfig` [INFO] [stdout] --> src/resources/app_instance.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::zcli::app_instance::{AppInstanceConfig, AppInstanceResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::StateManager` [INFO] [stdout] --> src/resources/datastore.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::state::StateManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NetworkKind` [INFO] [stdout] --> src/resources/network.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::compose::{DhcpConfig, Network, NetworkKind}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::StateManager` [INFO] [stdout] --> src/resources/project.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::state::StateManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking h2 v0.4.12 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking astral-tokio-tar v0.5.6 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking axum v0.8.7 [INFO] [stdout] warning: unused import: `crate::resources::Resource` [INFO] [stdout] --> src/dependency.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::resources::Resource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_key` [INFO] [stdout] --> src/resources/base.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let resource_key = format!("{}/{}", self.resource_type(), self.name()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> src/resources/network_instance.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | fn build_create_args(&self, node_id: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zcli` [INFO] [stdout] --> src/resources/network_instance.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | fn create(&self, zcli: &ZCli, dry_run: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zcli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/resources/network_instance.rs:346:35 [INFO] [stdout] | [INFO] [stdout] 346 | fn create(&self, zcli: &ZCli, dry_run: bool) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zcli` [INFO] [stdout] --> src/resources/network_instance.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | zcli: &ZCli, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zcli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/resources/network_instance.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | state: &mut StateManager, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/resources/network_instance.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | dry_run: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zcli` [INFO] [stdout] --> src/resources/node.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | fn create(&self, zcli: &ZCli, dry_run: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zcli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/resources/project.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let output = zcli.exec(&cmd).map_err(ResourceError::OperationFailed)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnterpriseInfo` is never constructed [INFO] [stdout] --> src/enterprise.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct EnterpriseInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project_name` is never read [INFO] [stdout] --> src/resources/app_instance.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AppInstanceResource { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | project_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operation_type` and `operation_status` are never read [INFO] [stdout] --> src/zcli.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct ZCliErrorResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 16 | operation_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | operation_status: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZCliErrorResponse` 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 `location` is never read [INFO] [stdout] --> src/zcli.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct ZCliErrorDetail { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZCliErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `licenseList` should have a snake case name [INFO] [stdout] --> src/manifest.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub licenseList: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `license_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `limitValue` should have a snake case name [INFO] [stdout] --> src/manifest.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub limitValue: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `limit_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `manifestJSON` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub manifestJSON: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `manifest_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `displayName` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub displayName: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `display_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `appType` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub appType: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `app_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `appPort` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | pub appPort: u16, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `app_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env::expand_env_vars` [INFO] [stdout] --> src/config/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use env::expand_env_vars; [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 imports: `Credentials`, `WorkspaceConfig`, and `Workspace` [INFO] [stdout] --> src/config/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub use workspace::{Credentials, Workspace, WorkspaceConfig}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZCliError` [INFO] [stdout] --> src/enterprise.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::{CliError, ConfigError, Result, ZCliError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DhcpRange as NetworkDhcpRange`, `ServerDhcpConfig`, and `StaticDhcpConfig` [INFO] [stdout] --> src/models/compose/mod.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | DhcpConfig, DhcpRange as NetworkDhcpRange, Network, NetworkKind, ServerDhcpConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | StaticDhcpConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CloudNetworkInstance`, `DhcpRange`, `IpType`, `LocalNetworkInstance`, and `SwitchNetworkInstance` [INFO] [stdout] --> src/models/compose/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | CloudNetworkInstance, DhcpRange, IpType, LocalNetworkInstance, NetworkInstance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | NetworkInstanceConfig, SwitchNetworkInstance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compose::ComposeFile` [INFO] [stdout] --> src/models/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use compose::ComposeFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppInstanceConfig` [INFO] [stdout] --> src/resources/app_instance.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::zcli::app_instance::{AppInstanceConfig, AppInstanceResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::StateManager` [INFO] [stdout] --> src/resources/datastore.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::state::StateManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NetworkKind` [INFO] [stdout] --> src/resources/network.rs:7:51 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::models::compose::{DhcpConfig, Network, NetworkKind}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::StateManager` [INFO] [stdout] --> src/resources/project.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::state::StateManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking hyper-util v0.1.18 [INFO] [stderr] Checking hyper-timeout v0.5.2 [INFO] [stderr] Checking hyperlocal v0.9.1 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking tonic v0.14.2 [INFO] [stdout] warning: unused import: `crate::resources::Resource` [INFO] [stdout] --> src/dependency.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::resources::Resource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tonic-prost v0.14.2 [INFO] [stdout] warning: unused variable: `resource_key` [INFO] [stdout] --> src/resources/base.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let resource_key = format!("{}/{}", self.resource_type(), self.name()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> src/resources/network_instance.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | fn build_create_args(&self, node_id: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zcli` [INFO] [stdout] --> src/resources/network_instance.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | fn create(&self, zcli: &ZCli, dry_run: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zcli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/resources/network_instance.rs:346:35 [INFO] [stdout] | [INFO] [stdout] 346 | fn create(&self, zcli: &ZCli, dry_run: bool) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zcli` [INFO] [stdout] --> src/resources/network_instance.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | zcli: &ZCli, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zcli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/resources/network_instance.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | state: &mut StateManager, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/resources/network_instance.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | dry_run: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zcli` [INFO] [stdout] --> src/resources/node.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | fn create(&self, zcli: &ZCli, dry_run: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zcli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/resources/project.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let output = zcli.exec(&cmd).map_err(ResourceError::OperationFailed)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_env_vars` is never used [INFO] [stdout] --> src/config/env.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn expand_env_vars(input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_env_vars_opt` is never used [INFO] [stdout] --> src/config/env.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn expand_env_vars_opt(input: Option<&str>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_path` and `project_state_path` are never used [INFO] [stdout] --> src/config/workspace.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Workspace { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_path(path: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn project_state_path(&self, cluster: &str, name: &str, project: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_compose` is never read [INFO] [stdout] --> src/dependency.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ResourceNode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub in_compose: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceNode` 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: method `get_node` is never used [INFO] [stdout] --> src/dependency.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl DependencyGraph { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn get_node(&self, resource_type: &str, name: &str) -> Option<&ResourceNode> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push_dependency`, `is_empty`, and `len` are never used [INFO] [stdout] --> src/dependency.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 230 | impl DeploymentQueue { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn push_dependency(&mut self, mut node: ResourceNode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enterprise_path` is never read [INFO] [stdout] --> src/deployment.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct DeploymentContext { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub enterprise_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `safe_delete` is never used [INFO] [stdout] --> src/deployment.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl DeploymentContext { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn safe_delete( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnterpriseInfo` is never constructed [INFO] [stdout] --> src/enterprise.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct EnterpriseInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoProject` is never constructed [INFO] [stdout] --> src/error.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum CliError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | NoProject, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CliError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidCompose`, `EnvVarNotSet`, and `MissingField` are never constructed [INFO] [stdout] --> src/error.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum ConfigError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 54 | InvalidCompose(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | EnvVarNotSet(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | MissingField(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MissingField`, `CircularDependency`, and `Other` are never constructed [INFO] [stdout] --> src/error.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum ComposeError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 111 | MissingField { section: String, field: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | CircularDependency { details: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | Other(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComposeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ContainerNotFound`, `ParseError`, `DockerNotFound`, and `ConfigNotFound` are never constructed [INFO] [stdout] --> src/error.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum ZCliError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 157 | #[error("Container '{0}' not found or not running")] [INFO] [stdout] 158 | ContainerNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | ParseError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | DockerNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | ConfigNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZCliError` 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: methods `is_already_exists`, `is_in_use`, `http_status_code`, `error_code`, and `command` are never used [INFO] [stdout] --> src/error.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl ZCliError { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn is_already_exists(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn is_in_use(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn http_status_code(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn error_code(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn command(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ResourceNotInState` and `Desync` are never constructed [INFO] [stdout] --> src/error.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 272 | pub enum StateError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 280 | ResourceNotInState { resource_type: String, name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | Desync(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateError` 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: method `summary` is never used [INFO] [stdout] --> src/models/compose/mod.rs:421:12 [INFO] [stdout] | [INFO] [stdout] 72 | impl ComposeFile { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 421 | pub fn summary(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `zcli_type` is never used [INFO] [stdout] --> src/models/compose/datastore.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Datastore { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn zcli_type(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_zcli` is never used [INFO] [stdout] --> src/models/compose/network.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl NetworkKind { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 154 | /// Convert to zcli format [INFO] [stdout] 155 | pub fn to_zcli(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `zcli_kind` is never used [INFO] [stdout] --> src/models/compose/network_instance.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl NetworkInstance { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn zcli_kind(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `zcli_interface_type` is never used [INFO] [stdout] --> src/models/compose/node.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 120 | impl Node { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn zcli_interface_type(interface_type: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate` is never used [INFO] [stdout] --> src/models/compose/node.rs:200:12 [INFO] [stdout] | [INFO] [stdout] 198 | impl AppInstance { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 199 | /// Validate app instance configuration [INFO] [stdout] 200 | pub fn validate(&self) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `name`, `title`, `revision`, `project_access_list`, and `is_in_project` are never used [INFO] [stdout] --> src/models/zcli/application.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl ApplicationResponse { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] 187 | /// Get the application ID [INFO] [stdout] 188 | pub fn id(&self) -> &str { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 193 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 198 | pub fn title(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn revision(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn project_access_list(&self) -> &[String] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn is_in_project(&self, project_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/zcli/datastore.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct DatastoreConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 19 | /// Unique identifier [INFO] [stdout] 20 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub revision: Revision, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub enterprise_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub ds_type: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub ds_fqdn: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub ds_path: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub region: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub ds_status: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub project_access_list: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatastoreConfig` 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: fields `prev`, `curr`, `created_at`, `created_by`, `updated_at`, and `updated_by` are never read [INFO] [stdout] --> src/models/zcli/datastore.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Revision { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub prev: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub curr: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub created_by: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub updated_by: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Revision` 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: methods `id`, `name`, `ds_type`, and `project_access_list` are never used [INFO] [stdout] --> src/models/zcli/datastore.rs:97:12 [INFO] [stdout] | [INFO] [stdout] 95 | impl DatastoreResponse { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] 96 | /// Get the datastore ID [INFO] [stdout] 97 | pub fn id(&self) -> &str { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn ds_type(&self) -> &str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn project_access_list(&self) -> &[String] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/models/zcli/image.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl ImageResponse { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 125 | /// Get the image ID [INFO] [stdout] 126 | pub fn id(&self) -> &str { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn description(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn image_format(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn image_arch(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn datastore_id(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn image_rel_url(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 166 | pub fn has_project_scope(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn project_access_list(&self) -> &[String] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `name`, `brand_name`, `arch_type`, and `is_active` are never used [INFO] [stdout] --> src/models/zcli/model.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ModelResponse { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 59 | /// Get the model ID [INFO] [stdout] 60 | pub fn id(&self) -> &str { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn brand_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn arch_type(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn is_active(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `id`, `name`, `has_project_scope`, `project_id`, and `kind` are never used [INFO] [stdout] --> src/models/zcli/network.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl NetworkResponse { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 43 | /// Get the network ID [INFO] [stdout] 44 | pub fn id(&self) -> &str { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn has_project_scope(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn project_id(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn kind(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_owned_by_project`, `is_on_node`, `kind_display`, `ip_type_display`, and `run_state_display` are never used [INFO] [stdout] --> src/models/zcli/network_instance.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl NetworkInstanceResponse { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] 101 | /// Check if the network instance is owned by the given project [INFO] [stdout] 102 | pub fn is_owned_by_project(&self, project_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn is_on_node(&self, node_id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn kind_display(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn ip_type_display(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn run_state_display(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/models/zcli/node.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl NodeResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 74 | /// Get the node ID [INFO] [stdout] 75 | pub fn id(&self) -> &str { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn title(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn project_id(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn serial(&self) -> &str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn model_id(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn admin_state(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn config_items(&self) -> &[ConfigItem] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn ssh_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn ssh_public_key(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project_name` is never read [INFO] [stdout] --> src/resources/app_instance.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AppInstanceResource { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | project_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `config` and `is_protected` are never used [INFO] [stdout] --> src/resources/application.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ApplicationResource { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn config(&self) -> &Application { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_protected(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `can_delete` and `explain` are never used [INFO] [stdout] --> src/resources/base.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl OwnershipStatus { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 25 | /// Check if we can delete this resource [INFO] [stdout] 26 | pub fn can_delete(&self, force: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn explain(&self, resource_type: &str, resource_name: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `format` is never used [INFO] [stdout] --> src/resources/base.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 157 | impl Diff { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn format(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete`, `ensure`, and `display_name` are never used [INFO] [stdout] --> src/resources/base.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub trait Resource: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 204 | fn delete(&self, zcli: &ZCli, dry_run: bool) -> Result<(), ResourceError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn ensure( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_with_context` is never used [INFO] [stdout] --> src/resources/datastore.rs:326:8 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn ensure_with_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_protected` is never used [INFO] [stdout] --> src/resources/image.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl ImageResource { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn is_protected(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `config` and `is_protected` are never used [INFO] [stdout] --> src/resources/model.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ModelResource { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn config(&self) -> &Model { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_protected(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `config` is never used [INFO] [stdout] --> src/resources/network.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl NetworkResource { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn config(&self) -> &Network { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `config` and `is_protected` are never used [INFO] [stdout] --> src/resources/node.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl NodeResource { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn config(&self) -> &Node { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn is_protected(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/state.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl StateManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn remove(&mut self, resource_type: &str, name: &str) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn exists(&self, resource_type: &str, name: &str) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | pub fn list_by_type(&self, resource_type: &str) -> Vec<(String, &Value)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub fn count(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn show_summary(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn show_details(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 279 | pub fn project_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn state_file_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn is_dirty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operation_type` and `operation_status` are never read [INFO] [stdout] --> src/zcli.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct ZCliErrorResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 16 | operation_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | operation_status: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZCliErrorResponse` 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 `location` is never read [INFO] [stdout] --> src/zcli.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct ZCliErrorDetail { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZCliErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `container_name`, `check_docker`, `exec_json`, and `read_zcli_json` are never used [INFO] [stdout] --> src/zcli.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl ZCli { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn container_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn check_docker() -> Result<(), ZCliError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 511 | pub fn exec_json(&self, args: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub fn read_zcli_json(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `licenseList` should have a snake case name [INFO] [stdout] --> src/manifest.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub licenseList: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `license_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `limitValue` should have a snake case name [INFO] [stdout] --> src/manifest.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub limitValue: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `limit_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `manifestJSON` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub manifestJSON: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `manifest_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `displayName` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub displayName: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `display_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `appType` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub appType: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `app_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `appPort` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | pub appPort: u16, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `app_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bollard-stubs v1.49.1-rc.28.4.0 [INFO] [stderr] Checking bollard v0.19.4 [INFO] [stderr] Checking testcontainers v0.25.2 [INFO] [stdout] warning: unused import: `AsyncTestContext` [INFO] [stdout] --> tests/common/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use test_context::{AsyncTestContext, TestContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/common/mod.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncTestContext` [INFO] [stdout] --> tests/common/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use test_context::{AsyncTestContext, TestContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/common/mod.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_PROJECT_PREFIX` is never used [INFO] [stdout] --> tests/common/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const TEST_PROJECT_PREFIX: &str = "rt-compose-test"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZCliTestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ZCliTestContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `zcli` and `container_name` are never used [INFO] [stdout] --> tests/common/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl ZCliTestContext { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 129 | /// Get reference to the ZCli instance [INFO] [stdout] 130 | pub fn zcli(&self) -> &ZCli { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn container_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZCli` [INFO] [stdout] --> tests/integration_datastore.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | use zcli_compose::{DeploymentContext, ZCli}; [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: `AsyncTestContext` [INFO] [stdout] --> tests/common/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use test_context::{AsyncTestContext, TestContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/common/mod.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncTestContext` [INFO] [stdout] --> tests/common/mod.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use test_context::{AsyncTestContext, TestContext}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> tests/common/mod.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/integration_datastore.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | let mut deployment_ctx = DeploymentContext::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: field `container_name` is never read [INFO] [stdout] --> tests/common/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ZCliTestContext { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | container_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `zcli` and `container_name` are never used [INFO] [stdout] --> tests/common/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl ZCliTestContext { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 129 | /// Get reference to the ZCli instance [INFO] [stdout] 130 | pub fn zcli(&self) -> &ZCli { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn container_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_PROJECT_PREFIX` is never used [INFO] [stdout] --> tests/common/mod.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const TEST_PROJECT_PREFIX: &str = "rt-compose-test"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ZCliTestContext` is never constructed [INFO] [stdout] --> tests/common/mod.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ZCliTestContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `zcli` and `container_name` are never used [INFO] [stdout] --> tests/common/mod.rs:130:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl ZCliTestContext { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] 129 | /// Get reference to the ZCli instance [INFO] [stdout] 130 | pub fn zcli(&self) -> &ZCli { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn container_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `project_name`, `workspace_path`, and `container_name` are never read [INFO] [stdout] --> tests/common/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct ZCliTestContext { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 68 | pub zcli: ZCli, [INFO] [stdout] 69 | pub project_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 70 | pub workspace_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 71 | container_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `container_name` is never used [INFO] [stdout] --> tests/common/mod.rs:135:12 [INFO] [stdout] | [INFO] [stdout] 128 | impl ZCliTestContext { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn container_name(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZCliError` [INFO] [stdout] --> src/enterprise.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::{CliError, ConfigError, Result, ZCliError}; [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: `AppInstanceConfig` [INFO] [stdout] --> src/resources/app_instance.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::zcli::app_instance::{AppInstanceConfig, AppInstanceResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::StateManager` [INFO] [stdout] --> src/resources/datastore.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::state::StateManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::StateManager` [INFO] [stdout] --> src/resources/project.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::state::StateManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `env::expand_env_vars` [INFO] [stdout] --> src/config/mod.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub use env::expand_env_vars; [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 imports: `Credentials`, `WorkspaceConfig`, and `Workspace` [INFO] [stdout] --> src/config/mod.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | pub use workspace::{Credentials, Workspace, WorkspaceConfig}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ZCliError` [INFO] [stdout] --> src/enterprise.rs:6:51 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::error::{CliError, ConfigError, Result, ZCliError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DhcpRange as NetworkDhcpRange`, `ServerDhcpConfig`, and `StaticDhcpConfig` [INFO] [stdout] --> src/models/compose/mod.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | DhcpConfig, DhcpRange as NetworkDhcpRange, Network, NetworkKind, ServerDhcpConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | StaticDhcpConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CloudNetworkInstance` and `SwitchNetworkInstance` [INFO] [stdout] --> src/models/compose/mod.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | CloudNetworkInstance, DhcpRange, IpType, LocalNetworkInstance, NetworkInstance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 28 | NetworkInstanceConfig, SwitchNetworkInstance, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `compose::ComposeFile` [INFO] [stdout] --> src/models/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub use compose::ComposeFile; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AppInstanceConfig` [INFO] [stdout] --> src/resources/app_instance.rs:6:41 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::models::zcli::app_instance::{AppInstanceConfig, AppInstanceResponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::StateManager` [INFO] [stdout] --> src/resources/datastore.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::state::StateManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::StateManager` [INFO] [stdout] --> src/resources/project.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::state::StateManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::resources::Resource` [INFO] [stdout] --> src/dependency.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::resources::Resource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::resources::Resource` [INFO] [stdout] --> src/dependency.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::resources::Resource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_key` [INFO] [stdout] --> src/resources/base.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let resource_key = format!("{}/{}", self.resource_type(), self.name()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> src/resources/network_instance.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | fn build_create_args(&self, node_id: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zcli` [INFO] [stdout] --> src/resources/network_instance.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | fn create(&self, zcli: &ZCli, dry_run: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zcli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/resources/network_instance.rs:346:35 [INFO] [stdout] | [INFO] [stdout] 346 | fn create(&self, zcli: &ZCli, dry_run: bool) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zcli` [INFO] [stdout] --> src/resources/network_instance.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | zcli: &ZCli, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zcli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/resources/network_instance.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | state: &mut StateManager, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/resources/network_instance.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | dry_run: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zcli` [INFO] [stdout] --> src/resources/node.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | fn create(&self, zcli: &ZCli, dry_run: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zcli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/resources/project.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let output = zcli.exec(&cmd).map_err(ResourceError::OperationFailed)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnterpriseInfo` is never constructed [INFO] [stdout] --> src/enterprise.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct EnterpriseInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project_name` is never read [INFO] [stdout] --> src/resources/app_instance.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AppInstanceResource { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | project_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operation_type` and `operation_status` are never read [INFO] [stdout] --> src/zcli.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct ZCliErrorResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 16 | operation_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | operation_status: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZCliErrorResponse` 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 `location` is never read [INFO] [stdout] --> src/zcli.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct ZCliErrorDetail { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZCliErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `licenseList` should have a snake case name [INFO] [stdout] --> src/manifest.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub licenseList: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `license_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `limitValue` should have a snake case name [INFO] [stdout] --> src/manifest.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub limitValue: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `limit_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `manifestJSON` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub manifestJSON: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `manifest_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `displayName` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub displayName: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `display_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `appType` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub appType: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `app_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `appPort` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | pub appPort: u16, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `app_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `resource_key` [INFO] [stdout] --> src/resources/base.rs:214:13 [INFO] [stdout] | [INFO] [stdout] 214 | let resource_key = format!("{}/{}", self.resource_type(), self.name()); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_resource_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_id` [INFO] [stdout] --> src/resources/network_instance.rs:47:33 [INFO] [stdout] | [INFO] [stdout] 47 | fn build_create_args(&self, node_id: &str) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zcli` [INFO] [stdout] --> src/resources/network_instance.rs:346:22 [INFO] [stdout] | [INFO] [stdout] 346 | fn create(&self, zcli: &ZCli, dry_run: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zcli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/resources/network_instance.rs:346:35 [INFO] [stdout] | [INFO] [stdout] 346 | fn create(&self, zcli: &ZCli, dry_run: bool) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zcli` [INFO] [stdout] --> src/resources/network_instance.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | zcli: &ZCli, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zcli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/resources/network_instance.rs:440:9 [INFO] [stdout] | [INFO] [stdout] 440 | state: &mut StateManager, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dry_run` [INFO] [stdout] --> src/resources/network_instance.rs:441:9 [INFO] [stdout] | [INFO] [stdout] 441 | dry_run: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dry_run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zcli` [INFO] [stdout] --> src/resources/node.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | fn create(&self, zcli: &ZCli, dry_run: bool) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_zcli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output` [INFO] [stdout] --> src/resources/project.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | let output = zcli.exec(&cmd).map_err(ResourceError::OperationFailed)?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_output` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `with_path` and `project_state_path` are never used [INFO] [stdout] --> src/config/workspace.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Workspace { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn with_path(path: PathBuf) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 178 | pub fn project_state_path(&self, cluster: &str, name: &str, project: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `in_compose` is never read [INFO] [stdout] --> src/dependency.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct ResourceNode { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub in_compose: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResourceNode` 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: method `push_dependency` is never used [INFO] [stdout] --> src/dependency.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 230 | impl DeploymentQueue { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn push_dependency(&mut self, mut node: ResourceNode) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enterprise_path` is never read [INFO] [stdout] --> src/deployment.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct DeploymentContext { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | pub enterprise_path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `safe_delete` is never used [INFO] [stdout] --> src/deployment.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl DeploymentContext { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn safe_delete( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EnterpriseInfo` is never constructed [INFO] [stdout] --> src/enterprise.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | struct EnterpriseInfo { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NoProject` is never constructed [INFO] [stdout] --> src/error.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum CliError { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 38 | NoProject, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CliError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `InvalidCompose` and `MissingField` are never constructed [INFO] [stdout] --> src/error.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum ConfigError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 54 | InvalidCompose(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | MissingField(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `MissingField`, `CircularDependency`, and `Other` are never constructed [INFO] [stdout] --> src/error.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub enum ComposeError { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 111 | MissingField { section: String, field: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | CircularDependency { details: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | Other(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ComposeError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ContainerNotFound`, `ParseError`, `DockerNotFound`, and `ConfigNotFound` are never constructed [INFO] [stdout] --> src/error.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum ZCliError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 157 | #[error("Container '{0}' not found or not running")] [INFO] [stdout] 158 | ContainerNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | ParseError(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | DockerNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | ConfigNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZCliError` 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: methods `is_already_exists`, `is_in_use`, `http_status_code`, `error_code`, and `command` are never used [INFO] [stdout] --> src/error.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 229 | impl ZCliError { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn is_already_exists(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | pub fn is_in_use(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 246 | pub fn http_status_code(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn error_code(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | pub fn command(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ResourceNotInState` and `Desync` are never constructed [INFO] [stdout] --> src/error.rs:280:5 [INFO] [stdout] | [INFO] [stdout] 272 | pub enum StateError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 280 | ResourceNotInState { resource_type: String, name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 286 | Desync(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateError` 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: method `to_zcli` is never used [INFO] [stdout] --> src/models/compose/network.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 153 | impl NetworkKind { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 154 | /// Convert to zcli format [INFO] [stdout] 155 | pub fn to_zcli(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `project_access_list` is never used [INFO] [stdout] --> src/models/zcli/application.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 186 | impl ApplicationResponse { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn project_access_list(&self) -> &[String] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/zcli/datastore.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct DatastoreConfig { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 26 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub revision: Revision, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub enterprise_id: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub ds_path: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub api_key: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub region: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub ds_status: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatastoreConfig` 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: fields `prev`, `curr`, `created_at`, `created_by`, `updated_at`, and `updated_by` are never read [INFO] [stdout] --> src/models/zcli/datastore.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Revision { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub prev: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub curr: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub created_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub created_by: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub updated_at: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub updated_by: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Revision` 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: method `image_rel_url` is never used [INFO] [stdout] --> src/models/zcli/image.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 124 | impl ImageResponse { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn image_rel_url(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `config_items`, `ssh_enabled`, and `ssh_public_key` are never used [INFO] [stdout] --> src/models/zcli/node.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 73 | impl NodeResponse { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn config_items(&self) -> &[ConfigItem] { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn ssh_enabled(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn ssh_public_key(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `project_name` is never read [INFO] [stdout] --> src/resources/app_instance.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AppInstanceResource { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | project_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `config` is never used [INFO] [stdout] --> src/resources/application.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ApplicationResource { [INFO] [stdout] | ------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn config(&self) -> &Application { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete`, `ensure`, and `display_name` are never used [INFO] [stdout] --> src/resources/base.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub trait Resource: Send + Sync { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 204 | fn delete(&self, zcli: &ZCli, dry_run: bool) -> Result<(), ResourceError>; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn ensure( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 268 | fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_with_context` is never used [INFO] [stdout] --> src/resources/datastore.rs:326:8 [INFO] [stdout] | [INFO] [stdout] 326 | pub fn ensure_with_context( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `config` is never used [INFO] [stdout] --> src/resources/model.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl ModelResource { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn config(&self) -> &Model { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `config` is never used [INFO] [stdout] --> src/resources/network.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl NetworkResource { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn config(&self) -> &Network { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `show_summary`, `show_details`, and `state_file_path` are never used [INFO] [stdout] --> src/state.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl StateManager { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 210 | pub fn show_summary(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub fn show_details(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn state_file_path(&self) -> &Path { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operation_type` and `operation_status` are never read [INFO] [stdout] --> src/zcli.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | struct ZCliErrorResponse { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 16 | operation_type: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 17 | operation_status: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZCliErrorResponse` 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 `location` is never read [INFO] [stdout] --> src/zcli.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct ZCliErrorDetail { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | location: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ZCliErrorDetail` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `check_docker`, `exec_json`, and `read_zcli_json` are never used [INFO] [stdout] --> src/zcli.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl ZCli { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn check_docker() -> Result<(), ZCliError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 511 | pub fn exec_json(&self, args: &[&str]) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 601 | pub fn read_zcli_json(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `licenseList` should have a snake case name [INFO] [stdout] --> src/manifest.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub licenseList: HashMap, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `license_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `limitValue` should have a snake case name [INFO] [stdout] --> src/manifest.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | pub limitValue: Option, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `limit_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `manifestJSON` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub manifestJSON: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `manifest_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `displayName` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | pub displayName: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `display_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `appType` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub appType: String, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `app_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `appPort` should have a snake case name [INFO] [stdout] --> src/models/zcli/application.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | pub appPort: u16, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `app_port` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "1b05062162c958db39ac5868b9dc4d166f1d86e4d8f05a01317ad5625b7078e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b05062162c958db39ac5868b9dc4d166f1d86e4d8f05a01317ad5625b7078e6", kill_on_drop: false }` [INFO] [stdout] 1b05062162c958db39ac5868b9dc4d166f1d86e4d8f05a01317ad5625b7078e6