[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] linting LoganBarnett/tacticus-prometheus-exporter against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLoganBarnett%2Ftacticus-prometheus-exporter" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LoganBarnett/tacticus-prometheus-exporter on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap-verbosity-flag v3.0.3 [INFO] [stderr] Downloaded hyper-util v0.1.13 [INFO] [stderr] Downloaded hyper-rustls v0.27.6 [INFO] [stderr] Downloaded prettyplease v0.2.29 [INFO] [stderr] Downloaded prometheus-client v0.23.1 [INFO] [stderr] Downloaded tower-http v0.6.5 [INFO] [stderr] Downloaded cc v1.2.25 [INFO] [stderr] Downloaded stderrlog v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3be8f4caa5bc4c383721a13cd51fe2d5bdc702f997a57ba32a5a887614879323 [INFO] running `Command { std: "docker" "start" "-a" "3be8f4caa5bc4c383721a13cd51fe2d5bdc702f997a57ba32a5a887614879323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3be8f4caa5bc4c383721a13cd51fe2d5bdc702f997a57ba32a5a887614879323", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3be8f4caa5bc4c383721a13cd51fe2d5bdc702f997a57ba32a5a887614879323", kill_on_drop: false }` [INFO] [stdout] 3be8f4caa5bc4c383721a13cd51fe2d5bdc702f997a57ba32a5a887614879323 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 822d69e05c8dcfd06cfcca6b681405a414d227762d9a696e639ac93cfe4ecdd7 [INFO] running `Command { std: "docker" "start" "-a" "822d69e05c8dcfd06cfcca6b681405a414d227762d9a696e639ac93cfe4ecdd7", 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] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking scopeguard v1.2.0 [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] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking tracing-core v0.1.33 [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] Checking hashbrown v0.15.3 [INFO] [stderr] Checking bitflags v2.9.1 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling cc v1.2.25 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking local-waker v0.1.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking rand_core v0.9.3 [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 utf8_iter v1.0.4 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling multimap v0.10.1 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking openssl-probe v0.1.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking brotli-decompressor v5.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking actix-service v2.0.3 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking brotli v8.0.1 [INFO] [stderr] Checking clap_builder v4.5.39 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking foldhash v0.1.5 [INFO] [stderr] Checking iri-string v0.7.8 [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] Checking tokio-util v0.7.15 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking actix-rt v2.10.0 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking stderrlog v0.6.0 [INFO] [stderr] Checking tower-http v0.6.5 [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] Compiling prost-derive v0.12.6 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.0 [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] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling prost v0.12.6 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking prost-types v0.12.6 [INFO] [stderr] Checking derive_more v2.0.1 [INFO] [stderr] Checking clap v4.5.39 [INFO] [stderr] Checking clap-verbosity-flag v3.0.3 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling prost-build v0.12.6 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Compiling prometheus-client v0.23.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking actix-http v3.11.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.13 [INFO] [stderr] Checking actix-web v4.11.0 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.19 [INFO] [stderr] Checking tacticus-prometheus-exporter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | return Self::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 105 - return Self::Json; [INFO] [stdout] 105 + Self::Json [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | return Self::Text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 107 - return Self::Text; [INFO] [stdout] 107 + Self::Text [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | return Self::Unsupported(content_type.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 109 - return Self::Unsupported(content_type.to_string()); [INFO] [stdout] 109 + Self::Unsupported(content_type.to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 90 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildResponse`"))), [INFO] [stdout] 90 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:91:55 [INFO] [stdout] | [INFO] [stdout] 91 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 91 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildResponse`")))), [INFO] [stdout] 91 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 132 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] 132 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:133:55 [INFO] [stdout] | [INFO] [stdout] 133 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 133 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] 133 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 176 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] 176 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:177:55 [INFO] [stdout] | [INFO] [stdout] 177 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 177 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] 177 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PlayerResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 218 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PlayerResponse`"))), [INFO] [stdout] 218 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PlayerResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:219:55 [INFO] [stdout] | [INFO] [stdout] 219 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PlayerResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 219 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PlayerResponse`")))), [INFO] [stdout] 219 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PlayerResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/ability_badge.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] = note: `#[warn(clippy::empty_docs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/ability_badge.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl Default for Rarity { [INFO] [stdout] 51 | | fn default() -> Rarity { [INFO] [stdout] 52 | | Self::Common [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Default)] [INFO] [stdout] 38 | pub enum Rarity { [INFO] [stdout] 39 | #[serde(rename = "Common")] [INFO] [stdout] 40 ~ #[default] [INFO] [stdout] 41 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/campaign_progress.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/campaign_progress.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / impl Default for Type { [INFO] [stdout] 50 | | fn default() -> Type { [INFO] [stdout] 51 | | Self::Standard [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 38 + #[derive(Default)] [INFO] [stdout] 39 | pub enum Type { [INFO] [stdout] 40 | #[serde(rename = "Standard")] [INFO] [stdout] 41 ~ #[default] [INFO] [stdout] 42 ~ Standard, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/component.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/component.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / impl Default for GrandAlliance { [INFO] [stdout] 45 | | fn default() -> GrandAlliance { [INFO] [stdout] 46 | | Self::Imperial [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Default)] [INFO] [stdout] 36 | pub enum GrandAlliance { [INFO] [stdout] 37 | #[serde(rename = "Imperial")] [INFO] [stdout] 38 ~ #[default] [INFO] [stdout] 39 ~ Imperial, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/forge_badge.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/forge_badge.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / impl Default for Rarity { [INFO] [stdout] 49 | | fn default() -> Rarity { [INFO] [stdout] 50 | | Self::Common [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Default)] [INFO] [stdout] 36 | pub enum Rarity { [INFO] [stdout] 37 | #[serde(rename = "Common")] [INFO] [stdout] 38 ~ #[default] [INFO] [stdout] 39 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | return Self::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 105 - return Self::Json; [INFO] [stdout] 105 + Self::Json [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | return Self::Text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 107 - return Self::Text; [INFO] [stdout] 107 + Self::Text [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | return Self::Unsupported(content_type.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 109 - return Self::Unsupported(content_type.to_string()); [INFO] [stdout] 109 + Self::Unsupported(content_type.to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 90 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildResponse`"))), [INFO] [stdout] 90 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:91:55 [INFO] [stdout] | [INFO] [stdout] 91 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 91 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildResponse`")))), [INFO] [stdout] 91 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/guild_member.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 132 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] 132 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:133:55 [INFO] [stdout] | [INFO] [stdout] 133 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 133 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] 133 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/guild_member.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl Default for Role { [INFO] [stdout] 51 | | fn default() -> Role { [INFO] [stdout] 52 | | Self::Member [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 39 + #[derive(Default)] [INFO] [stdout] 40 | pub enum Role { [INFO] [stdout] 41 | #[serde(rename = "MEMBER")] [INFO] [stdout] 42 ~ #[default] [INFO] [stdout] 43 ~ Member, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 176 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] 176 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:177:55 [INFO] [stdout] | [INFO] [stdout] 177 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 177 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] 177 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PlayerResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 218 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PlayerResponse`"))), [INFO] [stdout] 218 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PlayerResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:219:55 [INFO] [stdout] | [INFO] [stdout] 219 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PlayerResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 219 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PlayerResponse`")))), [INFO] [stdout] 219 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PlayerResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/ability_badge.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] = note: `#[warn(clippy::empty_docs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/ability_badge.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl Default for Rarity { [INFO] [stdout] 51 | | fn default() -> Rarity { [INFO] [stdout] 52 | | Self::Common [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Default)] [INFO] [stdout] 38 | pub enum Rarity { [INFO] [stdout] 39 | #[serde(rename = "Common")] [INFO] [stdout] 40 ~ #[default] [INFO] [stdout] 41 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/campaign_progress.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/campaign_progress.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / impl Default for Type { [INFO] [stdout] 50 | | fn default() -> Type { [INFO] [stdout] 51 | | Self::Standard [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 38 + #[derive(Default)] [INFO] [stdout] 39 | pub enum Type { [INFO] [stdout] 40 | #[serde(rename = "Standard")] [INFO] [stdout] 41 ~ #[default] [INFO] [stdout] 42 ~ Standard, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/orb.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/orb.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / impl Default for Rarity { [INFO] [stdout] 48 | | fn default() -> Rarity { [INFO] [stdout] 49 | | Self::Common [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 34 + #[derive(Default)] [INFO] [stdout] 35 | pub enum Rarity { [INFO] [stdout] 36 | #[serde(rename = "Common")] [INFO] [stdout] 37 ~ #[default] [INFO] [stdout] 38 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/component.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/component.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / impl Default for GrandAlliance { [INFO] [stdout] 45 | | fn default() -> GrandAlliance { [INFO] [stdout] 46 | | Self::Imperial [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Default)] [INFO] [stdout] 36 | pub enum GrandAlliance { [INFO] [stdout] 37 | #[serde(rename = "Imperial")] [INFO] [stdout] 38 ~ #[default] [INFO] [stdout] 39 ~ Imperial, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/forge_badge.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/forge_badge.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / impl Default for Rarity { [INFO] [stdout] 49 | | fn default() -> Rarity { [INFO] [stdout] 50 | | Self::Common [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Default)] [INFO] [stdout] 36 | pub enum Rarity { [INFO] [stdout] 37 | #[serde(rename = "Common")] [INFO] [stdout] 38 ~ #[default] [INFO] [stdout] 39 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/guild_member.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/guild_member.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl Default for Role { [INFO] [stdout] 51 | | fn default() -> Role { [INFO] [stdout] 52 | | Self::Member [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 39 + #[derive(Default)] [INFO] [stdout] 40 | pub enum Role { [INFO] [stdout] 41 | #[serde(rename = "MEMBER")] [INFO] [stdout] 42 ~ #[default] [INFO] [stdout] 43 ~ Member, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/raid.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/raid.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl Default for EncounterType { [INFO] [stdout] 87 | | fn default() -> EncounterType { [INFO] [stdout] 88 | | Self::SideBoss [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 79 + #[derive(Default)] [INFO] [stdout] 80 | pub enum EncounterType { [INFO] [stdout] 81 | #[serde(rename = "SideBoss")] [INFO] [stdout] 82 ~ #[default] [INFO] [stdout] 83 ~ SideBoss, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/raid.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/raid.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / impl Default for Rarity { [INFO] [stdout] 107 | | fn default() -> Rarity { [INFO] [stdout] 108 | | Self::Common [INFO] [stdout] 109 | | } [INFO] [stdout] 110 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 93 + #[derive(Default)] [INFO] [stdout] 94 | pub enum Rarity { [INFO] [stdout] 95 | #[serde(rename = "Common")] [INFO] [stdout] 96 ~ #[default] [INFO] [stdout] 97 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/raid.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/raid.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / impl Default for DamageType { [INFO] [stdout] 121 | | fn default() -> DamageType { [INFO] [stdout] 122 | | Self::Bomb [INFO] [stdout] 123 | | } [INFO] [stdout] 124 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 113 + #[derive(Default)] [INFO] [stdout] 114 | pub enum DamageType { [INFO] [stdout] 115 | #[serde(rename = "Bomb")] [INFO] [stdout] 116 ~ #[default] [INFO] [stdout] 117 ~ Bomb, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/orb.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/orb.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / impl Default for Rarity { [INFO] [stdout] 48 | | fn default() -> Rarity { [INFO] [stdout] 49 | | Self::Common [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 34 + #[derive(Default)] [INFO] [stdout] 35 | pub enum Rarity { [INFO] [stdout] 36 | #[serde(rename = "Common")] [INFO] [stdout] 37 ~ #[default] [INFO] [stdout] 38 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/unit.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/unit.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / impl Default for GrandAlliance { [INFO] [stdout] 80 | | fn default() -> GrandAlliance { [INFO] [stdout] 81 | | Self::Imperial [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 70 + #[derive(Default)] [INFO] [stdout] 71 | pub enum GrandAlliance { [INFO] [stdout] 72 | #[serde(rename = "Imperial")] [INFO] [stdout] 73 ~ #[default] [INFO] [stdout] 74 ~ Imperial, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/unit_item.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/unit_item.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / impl Default for SlotId { [INFO] [stdout] 53 | | fn default() -> SlotId { [INFO] [stdout] 54 | | Self::Slot1 [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Default)] [INFO] [stdout] 44 | pub enum SlotId { [INFO] [stdout] 45 | #[serde(rename = "Slot1")] [INFO] [stdout] 46 ~ #[default] [INFO] [stdout] 47 ~ Slot1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/unit_item.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/unit_item.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / impl Default for Rarity { [INFO] [stdout] 73 | | fn default() -> Rarity { [INFO] [stdout] 74 | | Self::Common [INFO] [stdout] 75 | | } [INFO] [stdout] 76 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 59 + #[derive(Default)] [INFO] [stdout] 60 | pub enum Rarity { [INFO] [stdout] 61 | #[serde(rename = "Common")] [INFO] [stdout] 62 ~ #[default] [INFO] [stdout] 63 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/xp_book.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/raid.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/raid.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl Default for EncounterType { [INFO] [stdout] 87 | | fn default() -> EncounterType { [INFO] [stdout] 88 | | Self::SideBoss [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 79 + #[derive(Default)] [INFO] [stdout] 80 | pub enum EncounterType { [INFO] [stdout] 81 | #[serde(rename = "SideBoss")] [INFO] [stdout] 82 ~ #[default] [INFO] [stdout] 83 ~ SideBoss, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/raid.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/xp_book.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / impl Default for Id { [INFO] [stdout] 49 | | fn default() -> Id { [INFO] [stdout] 50 | | Self::XpCommon [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Default)] [INFO] [stdout] 36 | pub enum Id { [INFO] [stdout] 37 | #[serde(rename = "xpCommon")] [INFO] [stdout] 38 ~ #[default] [INFO] [stdout] 39 ~ XpCommon, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/xp_book.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/raid.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / impl Default for Rarity { [INFO] [stdout] 107 | | fn default() -> Rarity { [INFO] [stdout] 108 | | Self::Common [INFO] [stdout] 109 | | } [INFO] [stdout] 110 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 93 + #[derive(Default)] [INFO] [stdout] 94 | pub enum Rarity { [INFO] [stdout] 95 | #[serde(rename = "Common")] [INFO] [stdout] 96 ~ #[default] [INFO] [stdout] 97 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/raid.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/xp_book.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / impl Default for Rarity { [INFO] [stdout] 69 | | fn default() -> Rarity { [INFO] [stdout] 70 | | Self::Common [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 55 + #[derive(Default)] [INFO] [stdout] 56 | pub enum Rarity { [INFO] [stdout] 57 | #[serde(rename = "Common")] [INFO] [stdout] 58 ~ #[default] [INFO] [stdout] 59 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/raid.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / impl Default for DamageType { [INFO] [stdout] 121 | | fn default() -> DamageType { [INFO] [stdout] 122 | | Self::Bomb [INFO] [stdout] 123 | | } [INFO] [stdout] 124 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 113 + #[derive(Default)] [INFO] [stdout] 114 | pub enum DamageType { [INFO] [stdout] 115 | #[serde(rename = "Bomb")] [INFO] [stdout] 116 ~ #[default] [INFO] [stdout] 117 ~ Bomb, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/unit.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/unit.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / impl Default for GrandAlliance { [INFO] [stdout] 80 | | fn default() -> GrandAlliance { [INFO] [stdout] 81 | | Self::Imperial [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 70 + #[derive(Default)] [INFO] [stdout] 71 | pub enum GrandAlliance { [INFO] [stdout] 72 | #[serde(rename = "Imperial")] [INFO] [stdout] 73 ~ #[default] [INFO] [stdout] 74 ~ Imperial, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/unit_item.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/unit_item.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / impl Default for SlotId { [INFO] [stdout] 53 | | fn default() -> SlotId { [INFO] [stdout] 54 | | Self::Slot1 [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Default)] [INFO] [stdout] 44 | pub enum SlotId { [INFO] [stdout] 45 | #[serde(rename = "Slot1")] [INFO] [stdout] 46 ~ #[default] [INFO] [stdout] 47 ~ Slot1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/unit_item.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/unit_item.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / impl Default for Rarity { [INFO] [stdout] 73 | | fn default() -> Rarity { [INFO] [stdout] 74 | | Self::Common [INFO] [stdout] 75 | | } [INFO] [stdout] 76 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 59 + #[derive(Default)] [INFO] [stdout] 60 | pub enum Rarity { [INFO] [stdout] 61 | #[serde(rename = "Common")] [INFO] [stdout] 62 ~ #[default] [INFO] [stdout] 63 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/xp_book.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/xp_book.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / impl Default for Id { [INFO] [stdout] 49 | | fn default() -> Id { [INFO] [stdout] 50 | | Self::XpCommon [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Default)] [INFO] [stdout] 36 | pub enum Id { [INFO] [stdout] 37 | #[serde(rename = "xpCommon")] [INFO] [stdout] 38 ~ #[default] [INFO] [stdout] 39 ~ XpCommon, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/xp_book.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/xp_book.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / impl Default for Rarity { [INFO] [stdout] 69 | | fn default() -> Rarity { [INFO] [stdout] 70 | | Self::Common [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 55 + #[derive(Default)] [INFO] [stdout] 56 | pub enum Rarity { [INFO] [stdout] 57 | #[serde(rename = "Common")] [INFO] [stdout] 58 ~ #[default] [INFO] [stdout] 59 ~ Common, [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.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/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/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/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/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/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/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/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_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/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/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/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/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/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/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: `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: `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: `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: 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: 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: 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 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:... [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, ... [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) -... [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: 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: 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: 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: 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: Encounter... [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: 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: 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: 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: 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: 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: 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: 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: 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: 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 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:... [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, ... [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) -... [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: Encounter... [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: all variants have the same postfix: `Error` [INFO] [stdout] --> src/error.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / pub enum AppError { [INFO] [stdout] 3 | | ApiKeyReadError(std::io::Error), [INFO] [stdout] 4 | | CliParseError(clap::error::Error), [INFO] [stdout] 5 | | HttpBindError(std::io::Error), [INFO] [stdout] ... | [INFO] [stdout] 8 | | GetGuildError(crate::apis::Error), [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same postfix: `Error` [INFO] [stdout] --> src/error.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / pub enum AppError { [INFO] [stdout] 3 | | ApiKeyReadError(std::io::Error), [INFO] [stdout] 4 | | CliParseError(clap::error::Error), [INFO] [stdout] 5 | | HttpBindError(std::io::Error), [INFO] [stdout] ... | [INFO] [stdout] 8 | | GetGuildError(crate::apis::Error), [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the postfixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] = note: `#[warn(clippy::enum_variant_names)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/tacticus_poll.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn poll(api_key: &String, frequency: u64) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 14 ~ pub fn poll(api_key: &str, frequency: u64) -> JoinHandle<()> { [INFO] [stdout] 15 ~ let api_key = api_key.to_owned(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: writing `&String` instead of `&str` involves a new object where a slice will do [INFO] [stdout] --> src/tacticus_poll.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn poll(api_key: &String, frequency: u64) -> JoinHandle<()> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ptr_arg [INFO] [stdout] = note: `#[warn(clippy::ptr_arg)]` on by default [INFO] [stdout] help: change this to [INFO] [stdout] | [INFO] [stdout] 14 ~ pub fn poll(api_key: &str, frequency: u64) -> JoinHandle<()> { [INFO] [stdout] 15 ~ let api_key = api_key.to_owned(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant name ends with the enum's name [INFO] [stdout] --> src/apis/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ResponseError(ResponseContent), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant name ends with the enum's name [INFO] [stdout] --> src/apis/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | ResponseError(ResponseContent), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | return Self::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 105 - return Self::Json; [INFO] [stdout] 105 + Self::Json [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | return Self::Text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 107 - return Self::Text; [INFO] [stdout] 107 + Self::Text [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/mod.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | return Self::Json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 105 - return Self::Json; [INFO] [stdout] 105 + Self::Json [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/mod.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | return Self::Text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 107 - return Self::Text; [INFO] [stdout] 107 + Self::Text [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | return Self::Unsupported(content_type.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 109 - return Self::Unsupported(content_type.to_string()); [INFO] [stdout] 109 + Self::Unsupported(content_type.to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/mod.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 109 | return Self::Unsupported(content_type.to_string()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 109 - return Self::Unsupported(content_type.to_string()); [INFO] [stdout] 109 + Self::Unsupported(content_type.to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 90 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildResponse`"))), [INFO] [stdout] 90 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:91:55 [INFO] [stdout] | [INFO] [stdout] 91 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 91 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildResponse`")))), [INFO] [stdout] 91 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:90:34 [INFO] [stdout] | [INFO] [stdout] 90 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 90 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildResponse`"))), [INFO] [stdout] 90 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:91:55 [INFO] [stdout] | [INFO] [stdout] 91 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 91 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildResponse`")))), [INFO] [stdout] 91 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 132 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] 132 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:132:34 [INFO] [stdout] | [INFO] [stdout] 132 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 132 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] 132 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:133:55 [INFO] [stdout] | [INFO] [stdout] 133 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 133 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] 133 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:133:55 [INFO] [stdout] | [INFO] [stdout] 133 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 133 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] 133 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 176 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] 176 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:177:55 [INFO] [stdout] | [INFO] [stdout] 177 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 177 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] 177 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 176 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] 176 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::GuildRaidResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:177:55 [INFO] [stdout] | [INFO] [stdout] 177 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 177 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] 177 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::GuildRaidResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PlayerResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 218 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PlayerResponse`"))), [INFO] [stdout] 218 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PlayerResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | ...=> return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PlayerResponse`"))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 218 - ContentType::Text => return Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PlayerResponse`"))), [INFO] [stdout] 218 + ContentType::Text => Err(Error::from(serde_json::Error::custom("Received `text/plain` content type response that cannot be converted to `models::PlayerResponse`"))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:219:55 [INFO] [stdout] | [INFO] [stdout] 219 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PlayerResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 219 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PlayerResponse`")))), [INFO] [stdout] 219 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PlayerResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/apis/tacticus_player_api_api.rs:219:55 [INFO] [stdout] | [INFO] [stdout] 219 | ...=> return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PlayerResponse`")))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 219 - ContentType::Unsupported(unknown_type) => return Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PlayerResponse`")))), [INFO] [stdout] 219 + ContentType::Unsupported(unknown_type) => Err(Error::from(serde_json::Error::custom(format!("Received `{unknown_type}` content type response that cannot be converted to `models::PlayerResponse`")))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/ability_badge.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] = note: `#[warn(clippy::empty_docs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/ability_badge.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] = note: `#[warn(clippy::empty_docs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/ability_badge.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl Default for Rarity { [INFO] [stdout] 51 | | fn default() -> Rarity { [INFO] [stdout] 52 | | Self::Common [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Default)] [INFO] [stdout] 38 | pub enum Rarity { [INFO] [stdout] 39 | #[serde(rename = "Common")] [INFO] [stdout] 40 ~ #[default] [INFO] [stdout] 41 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/ability_badge.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl Default for Rarity { [INFO] [stdout] 51 | | fn default() -> Rarity { [INFO] [stdout] 52 | | Self::Common [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 37 + #[derive(Default)] [INFO] [stdout] 38 | pub enum Rarity { [INFO] [stdout] 39 | #[serde(rename = "Common")] [INFO] [stdout] 40 ~ #[default] [INFO] [stdout] 41 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/campaign_progress.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/campaign_progress.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/campaign_progress.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / impl Default for Type { [INFO] [stdout] 50 | | fn default() -> Type { [INFO] [stdout] 51 | | Self::Standard [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 38 + #[derive(Default)] [INFO] [stdout] 39 | pub enum Type { [INFO] [stdout] 40 | #[serde(rename = "Standard")] [INFO] [stdout] 41 ~ #[default] [INFO] [stdout] 42 ~ Standard, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/campaign_progress.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / impl Default for Type { [INFO] [stdout] 50 | | fn default() -> Type { [INFO] [stdout] 51 | | Self::Standard [INFO] [stdout] 52 | | } [INFO] [stdout] 53 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 38 + #[derive(Default)] [INFO] [stdout] 39 | pub enum Type { [INFO] [stdout] 40 | #[serde(rename = "Standard")] [INFO] [stdout] 41 ~ #[default] [INFO] [stdout] 42 ~ Standard, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/component.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/component.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/component.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / impl Default for GrandAlliance { [INFO] [stdout] 45 | | fn default() -> GrandAlliance { [INFO] [stdout] 46 | | Self::Imperial [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Default)] [INFO] [stdout] 36 | pub enum GrandAlliance { [INFO] [stdout] 37 | #[serde(rename = "Imperial")] [INFO] [stdout] 38 ~ #[default] [INFO] [stdout] 39 ~ Imperial, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/component.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / impl Default for GrandAlliance { [INFO] [stdout] 45 | | fn default() -> GrandAlliance { [INFO] [stdout] 46 | | Self::Imperial [INFO] [stdout] 47 | | } [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Default)] [INFO] [stdout] 36 | pub enum GrandAlliance { [INFO] [stdout] 37 | #[serde(rename = "Imperial")] [INFO] [stdout] 38 ~ #[default] [INFO] [stdout] 39 ~ Imperial, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/forge_badge.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/forge_badge.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/forge_badge.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / impl Default for Rarity { [INFO] [stdout] 49 | | fn default() -> Rarity { [INFO] [stdout] 50 | | Self::Common [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Default)] [INFO] [stdout] 36 | pub enum Rarity { [INFO] [stdout] 37 | #[serde(rename = "Common")] [INFO] [stdout] 38 ~ #[default] [INFO] [stdout] 39 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/forge_badge.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / impl Default for Rarity { [INFO] [stdout] 49 | | fn default() -> Rarity { [INFO] [stdout] 50 | | Self::Common [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Default)] [INFO] [stdout] 36 | pub enum Rarity { [INFO] [stdout] 37 | #[serde(rename = "Common")] [INFO] [stdout] 38 ~ #[default] [INFO] [stdout] 39 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/guild_member.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/guild_member.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/guild_member.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl Default for Role { [INFO] [stdout] 51 | | fn default() -> Role { [INFO] [stdout] 52 | | Self::Member [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 39 + #[derive(Default)] [INFO] [stdout] 40 | pub enum Role { [INFO] [stdout] 41 | #[serde(rename = "MEMBER")] [INFO] [stdout] 42 ~ #[default] [INFO] [stdout] 43 ~ Member, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/guild_member.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | / impl Default for Role { [INFO] [stdout] 51 | | fn default() -> Role { [INFO] [stdout] 52 | | Self::Member [INFO] [stdout] 53 | | } [INFO] [stdout] 54 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 39 + #[derive(Default)] [INFO] [stdout] 40 | pub enum Role { [INFO] [stdout] 41 | #[serde(rename = "MEMBER")] [INFO] [stdout] 42 ~ #[default] [INFO] [stdout] 43 ~ Member, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/models/inventory.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(items: Vec, upg...Vec>, reset_stones: i32) -> Inventory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/models/inventory.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn new(items: Vec, upg...Vec>, reset_stones: i32) -> Inventory { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] = note: `#[warn(clippy::too_many_arguments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/orb.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/orb.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 32 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/orb.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / impl Default for Rarity { [INFO] [stdout] 48 | | fn default() -> Rarity { [INFO] [stdout] 49 | | Self::Common [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 34 + #[derive(Default)] [INFO] [stdout] 35 | pub enum Rarity { [INFO] [stdout] 36 | #[serde(rename = "Common")] [INFO] [stdout] 37 ~ #[default] [INFO] [stdout] 38 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/orb.rs:47:1 [INFO] [stdout] | [INFO] [stdout] 47 | / impl Default for Rarity { [INFO] [stdout] 48 | | fn default() -> Rarity { [INFO] [stdout] 49 | | Self::Common [INFO] [stdout] 50 | | } [INFO] [stdout] 51 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 34 + #[derive(Default)] [INFO] [stdout] 35 | pub enum Rarity { [INFO] [stdout] 36 | #[serde(rename = "Common")] [INFO] [stdout] 37 ~ #[default] [INFO] [stdout] 38 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (15/7) [INFO] [stdout] --> src/models/raid.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(user_id: String, tier: i32, s...icHeroDetail>, global_config_hash: String) -> Raid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/raid.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/raid.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl Default for EncounterType { [INFO] [stdout] 87 | | fn default() -> EncounterType { [INFO] [stdout] 88 | | Self::SideBoss [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 79 + #[derive(Default)] [INFO] [stdout] 80 | pub enum EncounterType { [INFO] [stdout] 81 | #[serde(rename = "SideBoss")] [INFO] [stdout] 82 ~ #[default] [INFO] [stdout] 83 ~ SideBoss, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/raid.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (15/7) [INFO] [stdout] --> src/models/raid.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn new(user_id: String, tier: i32, s...icHeroDetail>, global_config_hash: String) -> Raid { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/raid.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/raid.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / impl Default for Rarity { [INFO] [stdout] 107 | | fn default() -> Rarity { [INFO] [stdout] 108 | | Self::Common [INFO] [stdout] 109 | | } [INFO] [stdout] 110 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 93 + #[derive(Default)] [INFO] [stdout] 94 | pub enum Rarity { [INFO] [stdout] 95 | #[serde(rename = "Common")] [INFO] [stdout] 96 ~ #[default] [INFO] [stdout] 97 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/raid.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | / impl Default for EncounterType { [INFO] [stdout] 87 | | fn default() -> EncounterType { [INFO] [stdout] 88 | | Self::SideBoss [INFO] [stdout] 89 | | } [INFO] [stdout] 90 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 79 + #[derive(Default)] [INFO] [stdout] 80 | pub enum EncounterType { [INFO] [stdout] 81 | #[serde(rename = "SideBoss")] [INFO] [stdout] 82 ~ #[default] [INFO] [stdout] 83 ~ SideBoss, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/raid.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/raid.rs:91:1 [INFO] [stdout] | [INFO] [stdout] 91 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/raid.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / impl Default for DamageType { [INFO] [stdout] 121 | | fn default() -> DamageType { [INFO] [stdout] 122 | | Self::Bomb [INFO] [stdout] 123 | | } [INFO] [stdout] 124 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 113 + #[derive(Default)] [INFO] [stdout] 114 | pub enum DamageType { [INFO] [stdout] 115 | #[serde(rename = "Bomb")] [INFO] [stdout] 116 ~ #[default] [INFO] [stdout] 117 ~ Bomb, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/raid.rs:106:1 [INFO] [stdout] | [INFO] [stdout] 106 | / impl Default for Rarity { [INFO] [stdout] 107 | | fn default() -> Rarity { [INFO] [stdout] 108 | | Self::Common [INFO] [stdout] 109 | | } [INFO] [stdout] 110 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 93 + #[derive(Default)] [INFO] [stdout] 94 | pub enum Rarity { [INFO] [stdout] 95 | #[serde(rename = "Common")] [INFO] [stdout] 96 ~ #[default] [INFO] [stdout] 97 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/raid.rs:111:1 [INFO] [stdout] | [INFO] [stdout] 111 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/raid.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / impl Default for DamageType { [INFO] [stdout] 121 | | fn default() -> DamageType { [INFO] [stdout] 122 | | Self::Bomb [INFO] [stdout] 123 | | } [INFO] [stdout] 124 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 113 + #[derive(Default)] [INFO] [stdout] 114 | pub enum DamageType { [INFO] [stdout] 115 | #[serde(rename = "Bomb")] [INFO] [stdout] 116 ~ #[default] [INFO] [stdout] 117 ~ Bomb, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/models/unit.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(id: String, progression_index: i32, xp: i32, xp_level: i32, rank: i32, abilities: Vec, upgrades: Vec, items: Vec, shards: i32) -> Unit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/unit.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/unit.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / impl Default for GrandAlliance { [INFO] [stdout] 80 | | fn default() -> GrandAlliance { [INFO] [stdout] 81 | | Self::Imperial [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 70 + #[derive(Default)] [INFO] [stdout] 71 | pub enum GrandAlliance { [INFO] [stdout] 72 | #[serde(rename = "Imperial")] [INFO] [stdout] 73 ~ #[default] [INFO] [stdout] 74 ~ Imperial, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function has too many arguments (9/7) [INFO] [stdout] --> src/models/unit.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn new(id: String, progression_index: i32, xp: i32, xp_level: i32, rank: i32, abilities: Vec, upgrades: Vec, items: Vec, shards: i32) -> Unit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/unit.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/unit.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 79 | / impl Default for GrandAlliance { [INFO] [stdout] 80 | | fn default() -> GrandAlliance { [INFO] [stdout] 81 | | Self::Imperial [INFO] [stdout] 82 | | } [INFO] [stdout] 83 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 70 + #[derive(Default)] [INFO] [stdout] 71 | pub enum GrandAlliance { [INFO] [stdout] 72 | #[serde(rename = "Imperial")] [INFO] [stdout] 73 ~ #[default] [INFO] [stdout] 74 ~ Imperial, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/unit_item.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/unit_item.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / impl Default for SlotId { [INFO] [stdout] 53 | | fn default() -> SlotId { [INFO] [stdout] 54 | | Self::Slot1 [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Default)] [INFO] [stdout] 44 | pub enum SlotId { [INFO] [stdout] 45 | #[serde(rename = "Slot1")] [INFO] [stdout] 46 ~ #[default] [INFO] [stdout] 47 ~ Slot1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/unit_item.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/unit_item.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/unit_item.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / impl Default for Rarity { [INFO] [stdout] 73 | | fn default() -> Rarity { [INFO] [stdout] 74 | | Self::Common [INFO] [stdout] 75 | | } [INFO] [stdout] 76 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 59 + #[derive(Default)] [INFO] [stdout] 60 | pub enum Rarity { [INFO] [stdout] 61 | #[serde(rename = "Common")] [INFO] [stdout] 62 ~ #[default] [INFO] [stdout] 63 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/unit_item.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | / impl Default for SlotId { [INFO] [stdout] 53 | | fn default() -> SlotId { [INFO] [stdout] 54 | | Self::Slot1 [INFO] [stdout] 55 | | } [INFO] [stdout] 56 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 43 + #[derive(Default)] [INFO] [stdout] 44 | pub enum SlotId { [INFO] [stdout] 45 | #[serde(rename = "Slot1")] [INFO] [stdout] 46 ~ #[default] [INFO] [stdout] 47 ~ Slot1, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/unit_item.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/unit_item.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | / impl Default for Rarity { [INFO] [stdout] 73 | | fn default() -> Rarity { [INFO] [stdout] 74 | | Self::Common [INFO] [stdout] 75 | | } [INFO] [stdout] 76 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 59 + #[derive(Default)] [INFO] [stdout] 60 | pub enum Rarity { [INFO] [stdout] 61 | #[serde(rename = "Common")] [INFO] [stdout] 62 ~ #[default] [INFO] [stdout] 63 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/xp_book.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same prefix: `Xp` [INFO] [stdout] --> src/models/xp_book.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / pub enum Id { [INFO] [stdout] 36 | | #[serde(rename = "xpCommon")] [INFO] [stdout] 37 | | XpCommon, [INFO] [stdout] 38 | | #[serde(rename = "xpUncommon")] [INFO] [stdout] ... | [INFO] [stdout] 45 | | XpLegendary, [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the prefixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/xp_book.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / impl Default for Id { [INFO] [stdout] 49 | | fn default() -> Id { [INFO] [stdout] 50 | | Self::XpCommon [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Default)] [INFO] [stdout] 36 | pub enum Id { [INFO] [stdout] 37 | #[serde(rename = "xpCommon")] [INFO] [stdout] 38 ~ #[default] [INFO] [stdout] 39 ~ XpCommon, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/xp_book.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/xp_book.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: all variants have the same prefix: `Xp` [INFO] [stdout] --> src/models/xp_book.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | / pub enum Id { [INFO] [stdout] 36 | | #[serde(rename = "xpCommon")] [INFO] [stdout] 37 | | XpCommon, [INFO] [stdout] 38 | | #[serde(rename = "xpUncommon")] [INFO] [stdout] ... | [INFO] [stdout] 45 | | XpLegendary, [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: remove the prefixes and use full paths to the variants instead of glob imports [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/xp_book.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / impl Default for Rarity { [INFO] [stdout] 69 | | fn default() -> Rarity { [INFO] [stdout] 70 | | Self::Common [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 55 + #[derive(Default)] [INFO] [stdout] 56 | pub enum Rarity { [INFO] [stdout] 57 | #[serde(rename = "Common")] [INFO] [stdout] 58 ~ #[default] [INFO] [stdout] 59 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/main.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn register(registry: &mut Registry, metrics: &Metrics) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/xp_book.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / impl Default for Id { [INFO] [stdout] 49 | | fn default() -> Id { [INFO] [stdout] 50 | | Self::XpCommon [INFO] [stdout] 51 | | } [INFO] [stdout] 52 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 35 + #[derive(Default)] [INFO] [stdout] 36 | pub enum Id { [INFO] [stdout] 37 | #[serde(rename = "xpCommon")] [INFO] [stdout] 38 ~ #[default] [INFO] [stdout] 39 ~ XpCommon, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: empty doc comment [INFO] [stdout] --> src/models/xp_book.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | /// [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider removing or filling it [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/models/xp_book.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / impl Default for Rarity { [INFO] [stdout] 69 | | fn default() -> Rarity { [INFO] [stdout] 70 | | Self::Common [INFO] [stdout] 71 | | } [INFO] [stdout] 72 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 55 + #[derive(Default)] [INFO] [stdout] 56 | pub enum Rarity { [INFO] [stdout] 57 | #[serde(rename = "Common")] [INFO] [stdout] 58 ~ #[default] [INFO] [stdout] 59 ~ Common, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded unit return type [INFO] [stdout] --> src/main.rs:38:60 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn register(registry: &mut Registry, metrics: &Metrics) -> () { [INFO] [stdout] | ^^^^^^ help: remove the `-> ()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit [INFO] [stdout] = note: `#[warn(clippy::unused_unit)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | poll(&api_key.into(), cli_args.poll_rate); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: consider removing `.into()`: `api_key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::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: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | poll(&api_key.into(), cli_args.poll_rate); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: consider removing `.into()`: `api_key` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::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 1m 17s [INFO] running `Command { std: "docker" "inspect" "822d69e05c8dcfd06cfcca6b681405a414d227762d9a696e639ac93cfe4ecdd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "822d69e05c8dcfd06cfcca6b681405a414d227762d9a696e639ac93cfe4ecdd7", kill_on_drop: false }` [INFO] [stdout] 822d69e05c8dcfd06cfcca6b681405a414d227762d9a696e639ac93cfe4ecdd7