[INFO] cloning repository https://github.com/LoganBarnett/tacticus-prometheus-exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LoganBarnett/tacticus-prometheus-exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoganBarnett%2Ftacticus-prometheus-exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoganBarnett%2Ftacticus-prometheus-exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 01a70495d1540527df1176a45f84a4beafdc27a7 [INFO] checking LoganBarnett/tacticus-prometheus-exporter against master#b3f8586fb1e4859678d6b231e780ff81801d2282 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoganBarnett%2Ftacticus-prometheus-exporter" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LoganBarnett/tacticus-prometheus-exporter [INFO] finished tweaking git repo https://github.com/LoganBarnett/tacticus-prometheus-exporter [INFO] tweaked toml for git repo https://github.com/LoganBarnett/tacticus-prometheus-exporter written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LoganBarnett/tacticus-prometheus-exporter on toolchain b3f8586fb1e4859678d6b231e780ff81801d2282 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b3f8586fb1e4859678d6b231e780ff81801d2282" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LoganBarnett/tacticus-prometheus-exporter 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" "+b3f8586fb1e4859678d6b231e780ff81801d2282" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded multimap v0.10.1 [INFO] [stderr] Downloaded prost-build v0.12.6 [INFO] [stderr] Downloaded clap v4.5.39 [INFO] [stderr] Downloaded prettyplease v0.2.29 [INFO] [stderr] Downloaded tower-http v0.6.5 [INFO] [stderr] Downloaded clap_builder v4.5.39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b3f8586fb1e4859678d6b231e780ff81801d2282" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 61ded4014879b66fdd94b87aa7e4fcbd2dfb6548e1afb39f0f44e2e8c8a210b0 [INFO] running `Command { std: "docker" "start" "-a" "61ded4014879b66fdd94b87aa7e4fcbd2dfb6548e1afb39f0f44e2e8c8a210b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "61ded4014879b66fdd94b87aa7e4fcbd2dfb6548e1afb39f0f44e2e8c8a210b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61ded4014879b66fdd94b87aa7e4fcbd2dfb6548e1afb39f0f44e2e8c8a210b0", kill_on_drop: false }` [INFO] [stdout] 61ded4014879b66fdd94b87aa7e4fcbd2dfb6548e1afb39f0f44e2e8c8a210b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b3f8586fb1e4859678d6b231e780ff81801d2282" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fb1fe8ba79eff4aa04f36c4260c55b35e9c04cde79318ae1ef344d339ce376f [INFO] running `Command { std: "docker" "start" "-a" "2fb1fe8ba79eff4aa04f36c4260c55b35e9c04cde79318ae1ef344d339ce376f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking hashbrown v0.15.3 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking bytestring v1.4.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking clap_builder v4.5.39 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking iri-string v0.7.8 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking dtoa v1.0.10 [INFO] [stderr] Checking impl-more v0.1.9 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking tower-http v0.6.5 [INFO] [stderr] Checking stderrlog v0.6.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking h2 v0.4.10 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking actix-server v2.6.0 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking clap v4.5.39 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking clap-verbosity-flag v3.0.3 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling prometheus-client v0.23.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Checking hyper-util v0.1.13 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.19 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking tacticus-prometheus-exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/ability.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [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: `crate::models` [INFO] [stdout] --> src/models/ability_badge.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/campaign_level.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/component.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/forge_badge.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/guild_member.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/item.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/orb.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/player_details.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/player_meta_data.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/public_hero_detail.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/requisition_orders.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/shard.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/token.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/unit_item.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/upgrade.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/xp_book.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::middleware::Compress` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::middleware::Compress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/main.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | use actix_web::{web, App, HttpResponse, HttpServer, Responder, Result}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncodeLabelSet`, `EncodeLabelValue`, and `EncodeMetric` [INFO] [stdout] --> src/main.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | EncodeLabelSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | EncodeLabelValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | EncodeMetric, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prometheus_client::metrics::counter::Counter` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use prometheus_client::metrics::counter::Counter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/ability.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [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: `crate::models` [INFO] [stdout] --> src/models/ability_badge.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/campaign_level.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/component.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/forge_badge.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/guild_member.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/item.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/orb.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/player_details.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/player_meta_data.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/public_hero_detail.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/requisition_orders.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/shard.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/token.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/unit_item.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/upgrade.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::models` [INFO] [stdout] --> src/models/xp_book.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::models; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::middleware::Compress` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use actix_web::middleware::Compress; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Responder` [INFO] [stdout] --> src/main.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | use actix_web::{web, App, HttpResponse, HttpServer, Responder, Result}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EncodeLabelSet`, `EncodeLabelValue`, and `EncodeMetric` [INFO] [stdout] --> src/main.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | EncodeLabelSet, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 16 | EncodeLabelValue, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | EncodeMetric, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prometheus_client::metrics::counter::Counter` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use prometheus_client::metrics::counter::Counter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild` [INFO] [stdout] --> src/tacticus_poll.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | let guild = tokio::runtime::Runtime::new().unwrap().block_on( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guild` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild` [INFO] [stdout] --> src/tacticus_poll.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | let guild = tokio::runtime::Runtime::new().unwrap().block_on( [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_guild` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | let name = "name"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `help` [INFO] [stdout] --> src/main.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | let help = "help"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_help` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registry` [INFO] [stdout] --> src/main.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn register(registry: &mut Registry, metrics: &Metrics) -> () { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/main.rs:38:42 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn register(registry: &mut Registry, metrics: &Metrics) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guild_member_activity` is never read [INFO] [stdout] --> src/main.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Metrics { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 30 | guild_member_activity: Family, Gauge>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | ApiKeyReadError(std::io::Error), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 - ApiKeyReadError(std::io::Error), [INFO] [stdout] 3 + ApiKeyReadError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | CliParseError(clap::error::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - CliParseError(clap::error::Error), [INFO] [stdout] 4 + CliParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | HttpBindError(std::io::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - HttpBindError(std::io::Error), [INFO] [stdout] 5 + HttpBindError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | GetPlayerError(crate::apis::Error), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - GetPlayerError(crate::apis::Error), [INFO] [stdout] 7 + GetPlayerError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | GetGuildError(crate::apis::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - GetGuildError(crate::apis::Error), [INFO] [stdout] 8 + GetGuildError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content` and `entity` are never read [INFO] [stdout] --> src/apis/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ResponseContent { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | pub status: reqwest::StatusCode, [INFO] [stdout] 7 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub entity: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseContent` 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: function `urlencode` is never used [INFO] [stdout] --> src/apis/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn urlencode>(s: T) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_deep_object` is never used [INFO] [stdout] --> src/apis/mod.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn parse_deep_object(prefix: &str, value: &serde_json::Value) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GetGuildRaidError` is never used [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum GetGuildRaidError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GetGuildRaidSeasonError` is never used [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum GetGuildRaidSeasonError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_guild_raid` is never used [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn get_guild_raid(configuration: &configuration::Configuration, ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_guild_raid_season` is never used [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | pub async fn get_guild_raid_season(configuration: &configuration::Configuration, season: i32) -> Result src/apis/configuration.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Configuration { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub basic_auth: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub oauth_access_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub bearer_access_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Configuration` 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: associated function `new` is never used [INFO] [stdout] --> src/apis/configuration.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Configuration { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 34 | pub fn new() -> Configuration { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/ability.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Ability { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 25 | /// active and passive abilities of character [INFO] [stdout] 26 | pub fn new(id: String, level: i32) -> Ability { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/ability_badge.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl AbilityBadge { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 26 | /// key is the grand alliance [INFO] [stdout] 27 | pub fn new(rarity: Rarity, amount: i32) -> AbilityBadge { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/arena.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Arena { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 21 | pub fn new() -> Arena { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/campaign_level.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CampaignLevel { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 26 | pub fn new(battle_index: i32, attempts_left: i32, attempts_used: i32) -> CampaignLevel { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/campaign_progress.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl CampaignProgress { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(id: String, name: String, r#type: Type, battles: Vec) -> CampaignProgress { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/component.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Component { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(name: String, grand_alliance: GrandAlliance, amount: i32) -> Component { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/forge_badge.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ForgeBadge { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(name: String, rarity: Rarity, amount: i32) -> ForgeBadge { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/guild.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Guild { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(guild_id: String, guild_tag: String, name: String, level: i32, members: Vec, guild_raid_seasons: Vec<... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/guild_member.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl GuildMember { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 28 | pub fn new(user_id: String, role: Role, level: i32) -> GuildMember { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/guild_raid.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GuildRaid { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new() -> GuildRaid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GuildRaidResponse` is never constructed [INFO] [stdout] --> src/models/guild_raid_response.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GuildRaidResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/guild_raid_response.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl GuildRaidResponse { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(season: i32, season_config_id: String, entries: Vec) -> GuildRaidResponse { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/guild_response.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl GuildResponse { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 21 | pub fn new(guild: models::Guild) -> GuildResponse { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/inventory.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Inventory { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 41 | pub fn new(items: Vec, upgrades: Vec, shards: Vec, xp_books: Vec, abili... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/item.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Item { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(id: String, level: i32, amount: i32) -> Item { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/onslaught.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Onslaught { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new() -> Onslaught { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/orb.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Orb { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 24 | /// key is the grand alliance [INFO] [stdout] 25 | pub fn new(rarity: Rarity, amount: i32) -> Orb { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/player.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(details: models::PlayerDetails, units: Vec, inventory: models::Inventory, progress: models::Progress) -> Pla... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/player_details.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PlayerDetails { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 23 | pub fn new(name: String, power_level: i32) -> PlayerDetails { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/player_meta_data.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl PlayerMetaData { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new(config_hash: String, last_updated_on: i64, scopes: Vec) -> PlayerMetaData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/player_response.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PlayerResponse { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(player: models::Player, meta_data: models::PlayerMetaData) -> PlayerResponse { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/progress.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Progress { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 29 | pub fn new(campaigns: Vec) -> Progress { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicHeroDetail` is never constructed [INFO] [stdout] --> src/models/public_hero_detail.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PublicHeroDetail { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/public_hero_detail.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PublicHeroDetail { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(unit_id: String, power: i32) -> PublicHeroDetail { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Raid` is never constructed [INFO] [stdout] --> src/models/raid.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Raid { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/raid.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Raid { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 55 | pub fn new(user_id: String, tier: i32, set: i32, encounter_index: i32, remaining_hp: i32, max_hp: i32, encounter_type: EncounterType,... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EncounterType` is never used [INFO] [stdout] --> src/models/raid.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum EncounterType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Rarity` is never used [INFO] [stdout] --> src/models/raid.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum Rarity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DamageType` is never used [INFO] [stdout] --> src/models/raid.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub enum DamageType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/requisition_orders.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl RequisitionOrders { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(regular: i32, blessed: i32) -> RequisitionOrders { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/salvage_run.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl SalvageRun { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new() -> SalvageRun { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/shard.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Shard { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(id: String, amount: i32) -> Shard { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/token.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(current: i32, max: i32, regen_delay_in_seconds: i32) -> Token { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/unit.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Unit { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 51 | pub fn new(id: String, progression_index: i32, xp: i32, xp_level: i32, rank: i32, abilities: Vec, upgrades: Vec... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/unit_item.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl UnitItem { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 30 | /// equipped items of character [INFO] [stdout] 31 | pub fn new(slot_id: SlotId, level: i32, id: String) -> UnitItem { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/upgrade.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Upgrade { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 25 | pub fn new(id: String, amount: i32) -> Upgrade { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/xp_book.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl XpBook { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(id: Id, rarity: Rarity, amount: i32) -> XpBook { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | / HttpServer::new(move || { [INFO] [stdout] 80 | | App::new() [INFO] [stdout] 81 | | .app_data(app_data.clone()) [INFO] [stdout] 82 | | .service(web::resource("/metrics").route(web::get().to(metrics_handler))) [INFO] [stdout] ... | [INFO] [stdout] 87 | | .run() [INFO] [stdout] 88 | | .await [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = HttpServer::new(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/main.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 39 | let name = "name"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `help` [INFO] [stdout] --> src/main.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | let help = "help"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_help` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `registry` [INFO] [stdout] --> src/main.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn register(registry: &mut Registry, metrics: &Metrics) -> () { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metrics` [INFO] [stdout] --> src/main.rs:38:42 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn register(registry: &mut Registry, metrics: &Metrics) -> () { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metrics` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guild_member_activity` is never read [INFO] [stdout] --> src/main.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Metrics { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 30 | guild_member_activity: Family, Gauge>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Metrics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | ApiKeyReadError(std::io::Error), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 3 - ApiKeyReadError(std::io::Error), [INFO] [stdout] 3 + ApiKeyReadError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | CliParseError(clap::error::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 4 - CliParseError(clap::error::Error), [INFO] [stdout] 4 + CliParseError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | HttpBindError(std::io::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 - HttpBindError(std::io::Error), [INFO] [stdout] 5 + HttpBindError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | GetPlayerError(crate::apis::Error), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 - GetPlayerError(crate::apis::Error), [INFO] [stdout] 7 + GetPlayerError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | GetGuildError(crate::apis::Error), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 8 - GetGuildError(crate::apis::Error), [INFO] [stdout] 8 + GetGuildError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `content` and `entity` are never read [INFO] [stdout] --> src/apis/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct ResponseContent { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 6 | pub status: reqwest::StatusCode, [INFO] [stdout] 7 | pub content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 8 | pub entity: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseContent` 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: function `urlencode` is never used [INFO] [stdout] --> src/apis/mod.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn urlencode>(s: T) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_deep_object` is never used [INFO] [stdout] --> src/apis/mod.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn parse_deep_object(prefix: &str, value: &serde_json::Value) -> Vec<(String, String)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GetGuildRaidError` is never used [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub enum GetGuildRaidError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GetGuildRaidSeasonError` is never used [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub enum GetGuildRaidSeasonError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_guild_raid` is never used [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:100:14 [INFO] [stdout] | [INFO] [stdout] 100 | pub async fn get_guild_raid(configuration: &configuration::Configuration, ) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_guild_raid_season` is never used [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:142:14 [INFO] [stdout] | [INFO] [stdout] 142 | pub async fn get_guild_raid_season(configuration: &configuration::Configuration, season: i32) -> Result src/apis/configuration.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Configuration { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub basic_auth: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | pub oauth_access_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 20 | pub bearer_access_token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Configuration` 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: associated function `new` is never used [INFO] [stdout] --> src/apis/configuration.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl Configuration { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 34 | pub fn new() -> Configuration { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/ability.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Ability { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 25 | /// active and passive abilities of character [INFO] [stdout] 26 | pub fn new(id: String, level: i32) -> Ability { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/ability_badge.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl AbilityBadge { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 26 | /// key is the grand alliance [INFO] [stdout] 27 | pub fn new(rarity: Rarity, amount: i32) -> AbilityBadge { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/arena.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Arena { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 21 | pub fn new() -> Arena { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/campaign_level.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CampaignLevel { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 26 | pub fn new(battle_index: i32, attempts_left: i32, attempts_used: i32) -> CampaignLevel { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/campaign_progress.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl CampaignProgress { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(id: String, name: String, r#type: Type, battles: Vec) -> CampaignProgress { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/component.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Component { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(name: String, grand_alliance: GrandAlliance, amount: i32) -> Component { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/forge_badge.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ForgeBadge { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(name: String, rarity: Rarity, amount: i32) -> ForgeBadge { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/guild.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Guild { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(guild_id: String, guild_tag: String, name: String, level: i32, members: Vec, guild_raid_seasons: Vec<... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/guild_member.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl GuildMember { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 28 | pub fn new(user_id: String, role: Role, level: i32) -> GuildMember { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/guild_raid.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GuildRaid { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new() -> GuildRaid { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GuildRaidResponse` is never constructed [INFO] [stdout] --> src/models/guild_raid_response.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct GuildRaidResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/guild_raid_response.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl GuildRaidResponse { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(season: i32, season_config_id: String, entries: Vec) -> GuildRaidResponse { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/guild_response.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl GuildResponse { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 21 | pub fn new(guild: models::Guild) -> GuildResponse { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/inventory.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl Inventory { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 41 | pub fn new(items: Vec, upgrades: Vec, shards: Vec, xp_books: Vec, abili... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/item.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Item { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(id: String, level: i32, amount: i32) -> Item { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/onslaught.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Onslaught { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new() -> Onslaught { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/orb.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Orb { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 24 | /// key is the grand alliance [INFO] [stdout] 25 | pub fn new(rarity: Rarity, amount: i32) -> Orb { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/player.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Player { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(details: models::PlayerDetails, units: Vec, inventory: models::Inventory, progress: models::Progress) -> Pla... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/player_details.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PlayerDetails { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 23 | pub fn new(name: String, power_level: i32) -> PlayerDetails { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/player_meta_data.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl PlayerMetaData { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 31 | pub fn new(config_hash: String, last_updated_on: i64, scopes: Vec) -> PlayerMetaData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/player_response.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PlayerResponse { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(player: models::Player, meta_data: models::PlayerMetaData) -> PlayerResponse { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/progress.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Progress { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 29 | pub fn new(campaigns: Vec) -> Progress { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PublicHeroDetail` is never constructed [INFO] [stdout] --> src/models/public_hero_detail.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PublicHeroDetail { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/public_hero_detail.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl PublicHeroDetail { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(unit_id: String, power: i32) -> PublicHeroDetail { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Raid` is never constructed [INFO] [stdout] --> src/models/raid.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Raid { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/raid.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl Raid { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 55 | pub fn new(user_id: String, tier: i32, set: i32, encounter_index: i32, remaining_hp: i32, max_hp: i32, encounter_type: EncounterType,... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `EncounterType` is never used [INFO] [stdout] --> src/models/raid.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | pub enum EncounterType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Rarity` is never used [INFO] [stdout] --> src/models/raid.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | pub enum Rarity { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DamageType` is never used [INFO] [stdout] --> src/models/raid.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | pub enum DamageType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/requisition_orders.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl RequisitionOrders { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 23 | pub fn new(regular: i32, blessed: i32) -> RequisitionOrders { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/salvage_run.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl SalvageRun { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new() -> SalvageRun { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/shard.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Shard { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(id: String, amount: i32) -> Shard { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/token.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 26 | impl Token { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 27 | pub fn new(current: i32, max: i32, regen_delay_in_seconds: i32) -> Token { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/unit.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Unit { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 51 | pub fn new(id: String, progression_index: i32, xp: i32, xp_level: i32, rank: i32, abilities: Vec, upgrades: Vec... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/unit_item.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl UnitItem { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 30 | /// equipped items of character [INFO] [stdout] 31 | pub fn new(slot_id: SlotId, level: i32, id: String) -> UnitItem { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/upgrade.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Upgrade { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 25 | pub fn new(id: String, amount: i32) -> Upgrade { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/xp_book.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl XpBook { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(id: Id, rarity: Rarity, amount: i32) -> XpBook { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | / HttpServer::new(move || { [INFO] [stdout] 80 | | App::new() [INFO] [stdout] 81 | | .app_data(app_data.clone()) [INFO] [stdout] 82 | | .service(web::resource("/metrics").route(web::get().to(metrics_handler))) [INFO] [stdout] ... | [INFO] [stdout] 87 | | .run() [INFO] [stdout] 88 | | .await [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = HttpServer::new(move || { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized] target(s) in 59.50s [INFO] running `Command { std: "docker" "inspect" "2fb1fe8ba79eff4aa04f36c4260c55b35e9c04cde79318ae1ef344d339ce376f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fb1fe8ba79eff4aa04f36c4260c55b35e9c04cde79318ae1ef344d339ce376f", kill_on_drop: false }` [INFO] [stdout] 2fb1fe8ba79eff4aa04f36c4260c55b35e9c04cde79318ae1ef344d339ce376f