[INFO] cloning repository https://github.com/BlankParenthesis/pxlsppace-api [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BlankParenthesis/pxlsppace-api" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlankParenthesis%2Fpxlsppace-api", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlankParenthesis%2Fpxlsppace-api'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85d26987a8dddc74495dbc2f788874646625f13f [INFO] checking BlankParenthesis/pxlsppace-api/85d26987a8dddc74495dbc2f788874646625f13f against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBlankParenthesis%2Fpxlsppace-api" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BlankParenthesis/pxlsppace-api on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BlankParenthesis/pxlsppace-api [INFO] finished tweaking git repo https://github.com/BlankParenthesis/pxlsppace-api [INFO] tweaked toml for git repo https://github.com/BlankParenthesis/pxlsppace-api written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BlankParenthesis/pxlsppace-api 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 680d9d90fed3fa08774635a4f1698b6b47d4b9c4188ae973777e034b509458f0 [INFO] running `Command { std: "docker" "start" "-a" "680d9d90fed3fa08774635a4f1698b6b47d4b9c4188ae973777e034b509458f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "680d9d90fed3fa08774635a4f1698b6b47d4b9c4188ae973777e034b509458f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "680d9d90fed3fa08774635a4f1698b6b47d4b9c4188ae973777e034b509458f0", kill_on_drop: false }` [INFO] [stdout] 680d9d90fed3fa08774635a4f1698b6b47d4b9c4188ae973777e034b509458f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b059fefa033d910cc65c22e563f24c74d0637c00701f904010d873d7c91623e4 [INFO] running `Command { std: "docker" "start" "-a" "b059fefa033d910cc65c22e563f24c74d0637c00701f904010d873d7c91623e4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling siphasher v0.3.10 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tracing-core v0.1.24 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio-openssl v0.6.3 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling hyper-openssl v0.9.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking linked_hash_set v0.1.4 [INFO] [stderr] Checking tower-layer v0.3.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling chrono-tz-build v0.0.2 [INFO] [stderr] Compiling chrono-tz v0.6.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tracing v0.1.33 [INFO] [stderr] Checking tungstenite v0.17.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-tungstenite v0.17.1 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking serde_with v1.12.1 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking pxlsspace-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `write` [INFO] [stdout] --> src/client.rs:587:8 [INFO] [stdout] | [INFO] [stdout] 587 | let (write, read) = ws_stream.split(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write` [INFO] [stdout] --> src/client.rs:587:8 [INFO] [stdout] | [INFO] [stdout] 587 | let (write, read) = ws_stream.split(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_write` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | async fn handle_ready(&self, client: &Client) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | async fn handle_disconnect(&self, client: &Client) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acknowledge_for` [INFO] [stdout] --> src/event_handler.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | acknowledge_for: AcknowledgeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_acknowledge_for` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/event_handler.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | x: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/event_handler.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | y: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overrides` [INFO] [stdout] --> src/event_handler.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | overrides: PlacementOverrides, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overrides` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/event_handler.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | sender: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/event_handler.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | message: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/event_handler.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | time: u64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success` [INFO] [stdout] --> src/event_handler.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | success: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permanent` [INFO] [stdout] --> src/event_handler.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | permanent: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permanent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/event_handler.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | reason: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expiry` [INFO] [stdout] --> src/event_handler.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | expiry: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permanent` [INFO] [stdout] --> src/event_handler.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | permanent: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permanent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/event_handler.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | reason: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expiry` [INFO] [stdout] --> src/event_handler.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 65 | expiry: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/event_handler.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | messages: Vec, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/event_handler.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | target: User, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/event_handler.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | history: Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chatbans` [INFO] [stdout] --> src/event_handler.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | chatbans: Vec, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chatbans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/event_handler.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | messages: ChatMessage, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/event_handler.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | target: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initiator` [INFO] [stdout] --> src/event_handler.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | initiator: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initiator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/event_handler.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | amount: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/event_handler.rs:94:3 [INFO] [stdout] | [INFO] [stdout] 94 | reason: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `announce` [INFO] [stdout] --> src/event_handler.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | announce: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_announce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/event_handler.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | target: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initiator` [INFO] [stdout] --> src/event_handler.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | initiator: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initiator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/event_handler.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | ids: Vec, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/event_handler.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 104 | reason: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `announce` [INFO] [stdout] --> src/event_handler.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | announce: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_announce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/event_handler.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | who: String, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updates` [INFO] [stdout] --> src/event_handler.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | updates: UserUpdate, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait` [INFO] [stdout] --> src/event_handler.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | wait: f32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_wait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 123 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `faction_id` [INFO] [stdout] --> src/event_handler.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | faction_id: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_faction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `faction` [INFO] [stdout] --> src/event_handler.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | faction: UserFaction, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_faction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diff` [INFO] [stdout] --> src/event_handler.rs:136:3 [INFO] [stdout] | [INFO] [stdout] 136 | diff: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_diff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/event_handler.rs:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | message: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notification` [INFO] [stdout] --> src/event_handler.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | notification: Notification, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixels` [INFO] [stdout] --> src/event_handler.rs:149:3 [INFO] [stdout] | [INFO] [stdout] 149 | pixels: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 154 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/event_handler.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 155 | count: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_time` [INFO] [stdout] --> src/event_handler.rs:156:3 [INFO] [stdout] | [INFO] [stdout] 156 | all_time: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 161 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/event_handler.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 162 | count: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> src/event_handler.rs:163:3 [INFO] [stdout] | [INFO] [stdout] 163 | cause: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:168:3 [INFO] [stdout] | [INFO] [stdout] 168 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_id` [INFO] [stdout] --> src/event_handler.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 169 | report_id: usize, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_type` [INFO] [stdout] --> src/event_handler.rs:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | report_type: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requested` [INFO] [stdout] --> src/event_handler.rs:176:3 [INFO] [stdout] | [INFO] [stdout] 176 | requested: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requested` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_name` [INFO] [stdout] --> src/event_handler.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | new_name: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/event_handler.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 188 | username: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roles` [INFO] [stdout] --> src/event_handler.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | roles: Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_roles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_count` [INFO] [stdout] --> src/event_handler.rs:190:3 [INFO] [stdout] | [INFO] [stdout] 190 | pixel_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_count_all_time` [INFO] [stdout] --> src/event_handler.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | pixel_count_all_time: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_count_all_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `banned` [INFO] [stdout] --> src/event_handler.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 192 | banned: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_banned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ban_expiry` [INFO] [stdout] --> src/event_handler.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | ban_expiry: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ban_expiry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ban_reason` [INFO] [stdout] --> src/event_handler.rs:194:3 [INFO] [stdout] | [INFO] [stdout] 194 | ban_reason: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ban_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/event_handler.rs:195:3 [INFO] [stdout] | [INFO] [stdout] 195 | method: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `placement_overrides` [INFO] [stdout] --> src/event_handler.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | placement_overrides: PlacementOverrides, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_placement_overrides` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chat_banned` [INFO] [stdout] --> src/event_handler.rs:197:3 [INFO] [stdout] | [INFO] [stdout] 197 | chat_banned: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chat_banned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chatban_reason` [INFO] [stdout] --> src/event_handler.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 198 | chatban_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chatban_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chatban_is_perma` [INFO] [stdout] --> src/event_handler.rs:199:3 [INFO] [stdout] | [INFO] [stdout] 199 | chatban_is_perma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chatban_is_perma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chatban_expiry` [INFO] [stdout] --> src/event_handler.rs:200:3 [INFO] [stdout] | [INFO] [stdout] 200 | chatban_expiry: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chatban_expiry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rename_requested` [INFO] [stdout] --> src/event_handler.rs:201:3 [INFO] [stdout] | [INFO] [stdout] 201 | rename_requested: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rename_requested` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `discord_name` [INFO] [stdout] --> src/event_handler.rs:202:3 [INFO] [stdout] | [INFO] [stdout] 202 | discord_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_discord_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chat_name_color` [INFO] [stdout] --> src/event_handler.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 203 | chat_name_color: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chat_name_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:208:3 [INFO] [stdout] | [INFO] [stdout] 208 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/event_handler.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 209 | count: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 214 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/event_handler.rs:215:3 [INFO] [stdout] | [INFO] [stdout] 215 | packet: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `time`, `expiry`, `who`, `title`, and `content` are never read [INFO] [stdout] --> src/messages.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Notification { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | time: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | expiry: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | who: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Notification` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `initiator` and `reason` are never read [INFO] [stdout] --> src/messages.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Purge { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 25 | initiator: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Purge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `display_name`, `tooltip`, and `css_icon` are never read [INFO] [stdout] --> src/messages.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Badge { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 32 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | tooltip: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | css_icon: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Badge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `tag`, and `color` are never read [INFO] [stdout] --> src/messages.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct StrippedFaction { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 40 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | color: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrippedFaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/messages.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ChatMessage { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 49 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 50 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | date: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | #[serde(rename = "message_raw")] [INFO] [stdout] 53 | message_raw: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 54 | purge: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | badges: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | author_name_color: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | author_was_shadow_banned: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | stripped_faction: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/messages.rs:105:2 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct UserFaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 105 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 106 | color: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 108 | tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 109 | owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 110 | canvas_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 111 | #[serde(rename = "creation_ms")] [INFO] [stdout] 112 | creation_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 113 | member_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 114 | user_joined: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserFaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/messages.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 120 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 121 | stacked: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 122 | chat_name_color: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | #[serde(rename = "signup_time")] [INFO] [stdout] 124 | signup_time: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 125 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 126 | cooldown_expiry: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | login_with_IP: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 128 | signup_IP: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 129 | pixel_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 130 | pixel_count_all_time: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | ban_expiry: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 132 | is_perma_chatbanned: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | shadow_banned: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 134 | chatban_expiry: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 135 | is_rename_requested: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | discord_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 137 | chatban_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 138 | displayed_faction: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | faction_blocked: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/messages.rs:145:2 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct ChatBan { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 145 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 146 | target: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 147 | initiator: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 148 | when: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 149 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 150 | expiry: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 151 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 152 | purged: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 153 | #[serde(rename = "target_name")] [INFO] [stdout] 154 | target_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 155 | #[serde(rename = "initiator_name")] [INFO] [stdout] 156 | initiator_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatBan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ignore_cooldown`, `can_place_any_color`, and `ignore_placemap` are never read [INFO] [stdout] --> src/messages.rs:169:2 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct PlacementOverrides { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 169 | ignore_cooldown: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | can_place_any_color: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 171 | ignore_placemap: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlacementOverrides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/messages.rs:177:2 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Role { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 177 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 178 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 179 | guest: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 180 | default_role: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 181 | inherits: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 182 | badges: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 183 | permissions: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Role` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `login_with_IP` should have a snake case name [INFO] [stdout] --> src/messages.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | login_with_IP: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `login_with_ip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `signup_IP` should have a snake case name [INFO] [stdout] --> src/messages.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | signup_IP: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `signup_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IDs` should have a snake case name [INFO] [stdout] --> src/messages.rs:204:57 [INFO] [stdout] | [INFO] [stdout] 204 | ChatPurgeSpecific { target: String, initiator: String, IDs: Vec, reason: String, announce: bool }, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | async fn handle_ready(&self, client: &Client) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:12:36 [INFO] [stdout] | [INFO] [stdout] 12 | async fn handle_disconnect(&self, client: &Client) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acknowledge_for` [INFO] [stdout] --> src/event_handler.rs:17:3 [INFO] [stdout] | [INFO] [stdout] 17 | acknowledge_for: AcknowledgeType, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_acknowledge_for` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/event_handler.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | x: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/event_handler.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | y: usize, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client.rs:698:4 [INFO] [stdout] | [INFO] [stdout] 698 | self.connect().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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 698 | let _ = self.connect().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `overrides` [INFO] [stdout] --> src/event_handler.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | overrides: PlacementOverrides, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_overrides` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:30:3 [INFO] [stdout] | [INFO] [stdout] 30 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender` [INFO] [stdout] --> src/event_handler.rs:31:3 [INFO] [stdout] | [INFO] [stdout] 31 | sender: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/event_handler.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 32 | message: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time` [INFO] [stdout] --> src/event_handler.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | time: u64, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success` [INFO] [stdout] --> src/event_handler.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | success: bool, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:49:3 [INFO] [stdout] | [INFO] [stdout] 49 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:54:3 [INFO] [stdout] | [INFO] [stdout] 54 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permanent` [INFO] [stdout] --> src/event_handler.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | permanent: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permanent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/event_handler.rs:56:3 [INFO] [stdout] | [INFO] [stdout] 56 | reason: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expiry` [INFO] [stdout] --> src/event_handler.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | expiry: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:62:3 [INFO] [stdout] | [INFO] [stdout] 62 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permanent` [INFO] [stdout] --> src/event_handler.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | permanent: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permanent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/event_handler.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | reason: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expiry` [INFO] [stdout] --> src/event_handler.rs:65:3 [INFO] [stdout] | [INFO] [stdout] 65 | expiry: u64, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_expiry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/event_handler.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | messages: Vec, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:76:3 [INFO] [stdout] | [INFO] [stdout] 76 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/event_handler.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | target: User, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/event_handler.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | history: Vec, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chatbans` [INFO] [stdout] --> src/event_handler.rs:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | chatbans: Vec, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chatbans` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `messages` [INFO] [stdout] --> src/event_handler.rs:85:3 [INFO] [stdout] | [INFO] [stdout] 85 | messages: ChatMessage, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_messages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:90:3 [INFO] [stdout] | [INFO] [stdout] 90 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/event_handler.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | target: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initiator` [INFO] [stdout] --> src/event_handler.rs:92:3 [INFO] [stdout] | [INFO] [stdout] 92 | initiator: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initiator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `amount` [INFO] [stdout] --> src/event_handler.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 93 | amount: usize, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_amount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/event_handler.rs:94:3 [INFO] [stdout] | [INFO] [stdout] 94 | reason: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `announce` [INFO] [stdout] --> src/event_handler.rs:95:3 [INFO] [stdout] | [INFO] [stdout] 95 | announce: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_announce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `target` [INFO] [stdout] --> src/event_handler.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | target: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initiator` [INFO] [stdout] --> src/event_handler.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | initiator: String, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initiator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ids` [INFO] [stdout] --> src/event_handler.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | ids: Vec, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reason` [INFO] [stdout] --> src/event_handler.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 104 | reason: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `announce` [INFO] [stdout] --> src/event_handler.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | announce: bool, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_announce` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `who` [INFO] [stdout] --> src/event_handler.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | who: String, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_who` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updates` [INFO] [stdout] --> src/event_handler.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | updates: UserUpdate, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updates` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wait` [INFO] [stdout] --> src/event_handler.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | wait: f32, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_wait` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 123 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `faction_id` [INFO] [stdout] --> src/event_handler.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | faction_id: usize, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_faction_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `faction` [INFO] [stdout] --> src/event_handler.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | faction: UserFaction, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_faction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:135:3 [INFO] [stdout] | [INFO] [stdout] 135 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `diff` [INFO] [stdout] --> src/event_handler.rs:136:3 [INFO] [stdout] | [INFO] [stdout] 136 | diff: usize, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_diff` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/event_handler.rs:137:3 [INFO] [stdout] | [INFO] [stdout] 137 | message: String, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notification` [INFO] [stdout] --> src/event_handler.rs:143:3 [INFO] [stdout] | [INFO] [stdout] 143 | notification: Notification, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_notification` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:148:3 [INFO] [stdout] | [INFO] [stdout] 148 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixels` [INFO] [stdout] --> src/event_handler.rs:149:3 [INFO] [stdout] | [INFO] [stdout] 149 | pixels: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:154:3 [INFO] [stdout] | [INFO] [stdout] 154 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/event_handler.rs:155:3 [INFO] [stdout] | [INFO] [stdout] 155 | count: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `all_time` [INFO] [stdout] --> src/event_handler.rs:156:3 [INFO] [stdout] | [INFO] [stdout] 156 | all_time: usize, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:161:3 [INFO] [stdout] | [INFO] [stdout] 161 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/event_handler.rs:162:3 [INFO] [stdout] | [INFO] [stdout] 162 | count: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cause` [INFO] [stdout] --> src/event_handler.rs:163:3 [INFO] [stdout] | [INFO] [stdout] 163 | cause: String, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_cause` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:168:3 [INFO] [stdout] | [INFO] [stdout] 168 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_id` [INFO] [stdout] --> src/event_handler.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 169 | report_id: usize, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `report_type` [INFO] [stdout] --> src/event_handler.rs:170:3 [INFO] [stdout] | [INFO] [stdout] 170 | report_type: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_report_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requested` [INFO] [stdout] --> src/event_handler.rs:176:3 [INFO] [stdout] | [INFO] [stdout] 176 | requested: bool, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requested` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:181:3 [INFO] [stdout] | [INFO] [stdout] 181 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_name` [INFO] [stdout] --> src/event_handler.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | new_name: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:187:3 [INFO] [stdout] | [INFO] [stdout] 187 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `username` [INFO] [stdout] --> src/event_handler.rs:188:3 [INFO] [stdout] | [INFO] [stdout] 188 | username: String, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_username` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `roles` [INFO] [stdout] --> src/event_handler.rs:189:3 [INFO] [stdout] | [INFO] [stdout] 189 | roles: Vec, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_roles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_count` [INFO] [stdout] --> src/event_handler.rs:190:3 [INFO] [stdout] | [INFO] [stdout] 190 | pixel_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixel_count_all_time` [INFO] [stdout] --> src/event_handler.rs:191:3 [INFO] [stdout] | [INFO] [stdout] 191 | pixel_count_all_time: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixel_count_all_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `banned` [INFO] [stdout] --> src/event_handler.rs:192:3 [INFO] [stdout] | [INFO] [stdout] 192 | banned: bool, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_banned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ban_expiry` [INFO] [stdout] --> src/event_handler.rs:193:3 [INFO] [stdout] | [INFO] [stdout] 193 | ban_expiry: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ban_expiry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ban_reason` [INFO] [stdout] --> src/event_handler.rs:194:3 [INFO] [stdout] | [INFO] [stdout] 194 | ban_reason: Option, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ban_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method` [INFO] [stdout] --> src/event_handler.rs:195:3 [INFO] [stdout] | [INFO] [stdout] 195 | method: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_method` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `placement_overrides` [INFO] [stdout] --> src/event_handler.rs:196:3 [INFO] [stdout] | [INFO] [stdout] 196 | placement_overrides: PlacementOverrides, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_placement_overrides` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chat_banned` [INFO] [stdout] --> src/event_handler.rs:197:3 [INFO] [stdout] | [INFO] [stdout] 197 | chat_banned: bool, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chat_banned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chatban_reason` [INFO] [stdout] --> src/event_handler.rs:198:3 [INFO] [stdout] | [INFO] [stdout] 198 | chatban_reason: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chatban_reason` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chatban_is_perma` [INFO] [stdout] --> src/event_handler.rs:199:3 [INFO] [stdout] | [INFO] [stdout] 199 | chatban_is_perma: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chatban_is_perma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chatban_expiry` [INFO] [stdout] --> src/event_handler.rs:200:3 [INFO] [stdout] | [INFO] [stdout] 200 | chatban_expiry: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chatban_expiry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rename_requested` [INFO] [stdout] --> src/event_handler.rs:201:3 [INFO] [stdout] | [INFO] [stdout] 201 | rename_requested: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rename_requested` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `discord_name` [INFO] [stdout] --> src/event_handler.rs:202:3 [INFO] [stdout] | [INFO] [stdout] 202 | discord_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_discord_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chat_name_color` [INFO] [stdout] --> src/event_handler.rs:203:3 [INFO] [stdout] | [INFO] [stdout] 203 | chat_name_color: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chat_name_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:208:3 [INFO] [stdout] | [INFO] [stdout] 208 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `count` [INFO] [stdout] --> src/event_handler.rs:209:3 [INFO] [stdout] | [INFO] [stdout] 209 | count: usize, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/event_handler.rs:214:3 [INFO] [stdout] | [INFO] [stdout] 214 | client: &Client, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `packet` [INFO] [stdout] --> src/event_handler.rs:215:3 [INFO] [stdout] | [INFO] [stdout] 215 | packet: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_packet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `time`, `expiry`, `who`, `title`, and `content` are never read [INFO] [stdout] --> src/messages.rs:14:2 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Notification { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 15 | time: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | expiry: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | who: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 18 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | content: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Notification` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `initiator` and `reason` are never read [INFO] [stdout] --> src/messages.rs:25:2 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Purge { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 25 | initiator: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 26 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Purge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `display_name`, `tooltip`, and `css_icon` are never read [INFO] [stdout] --> src/messages.rs:32:2 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Badge { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 32 | display_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 33 | tooltip: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 34 | css_icon: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Badge` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `tag`, and `color` are never read [INFO] [stdout] --> src/messages.rs:40:2 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct StrippedFaction { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 40 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 41 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 42 | tag: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] 43 | color: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StrippedFaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/messages.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 48 | pub struct ChatMessage { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 49 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 50 | author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 51 | date: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 52 | #[serde(rename = "message_raw")] [INFO] [stdout] 53 | message_raw: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 54 | purge: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 55 | badges: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | author_name_color: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | author_was_shadow_banned: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | stripped_faction: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatMessage` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/messages.rs:105:2 [INFO] [stdout] | [INFO] [stdout] 104 | pub struct UserFaction { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 105 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 106 | color: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 107 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 108 | tag: String, [INFO] [stdout] | ^^^ [INFO] [stdout] 109 | owner: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 110 | canvas_code: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 111 | #[serde(rename = "creation_ms")] [INFO] [stdout] 112 | creation_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 113 | member_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 114 | user_joined: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UserFaction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/messages.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct User { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 120 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 121 | stacked: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 122 | chat_name_color: isize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 123 | #[serde(rename = "signup_time")] [INFO] [stdout] 124 | signup_time: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 125 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 126 | cooldown_expiry: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 127 | login_with_IP: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 128 | signup_IP: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 129 | pixel_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 130 | pixel_count_all_time: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 131 | ban_expiry: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 132 | is_perma_chatbanned: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 133 | shadow_banned: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 134 | chatban_expiry: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 135 | is_rename_requested: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 136 | discord_name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 137 | chatban_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 138 | displayed_faction: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 139 | faction_blocked: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/messages.rs:145:2 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct ChatBan { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 145 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 146 | target: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 147 | initiator: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 148 | when: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 149 | r#type: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 150 | expiry: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 151 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 152 | purged: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 153 | #[serde(rename = "target_name")] [INFO] [stdout] 154 | target_name: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 155 | #[serde(rename = "initiator_name")] [INFO] [stdout] 156 | initiator_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChatBan` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ignore_cooldown`, `can_place_any_color`, and `ignore_placemap` are never read [INFO] [stdout] --> src/messages.rs:169:2 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct PlacementOverrides { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 169 | ignore_cooldown: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 170 | can_place_any_color: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 171 | ignore_placemap: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlacementOverrides` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/messages.rs:177:2 [INFO] [stdout] | [INFO] [stdout] 176 | pub struct Role { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 177 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] 178 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 179 | guest: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 180 | default_role: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 181 | inherits: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 182 | badges: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 183 | permissions: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Role` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `login_with_IP` should have a snake case name [INFO] [stdout] --> src/messages.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | login_with_IP: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `login_with_ip` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `signup_IP` should have a snake case name [INFO] [stdout] --> src/messages.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | signup_IP: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `signup_ip` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IDs` should have a snake case name [INFO] [stdout] --> src/messages.rs:204:57 [INFO] [stdout] | [INFO] [stdout] 204 | ChatPurgeSpecific { target: String, initiator: String, IDs: Vec, reason: String, announce: bool }, [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/client.rs:698:4 [INFO] [stdout] | [INFO] [stdout] 698 | self.connect().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)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 698 | let _ = self.connect().await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 109 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 109 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.51s [INFO] running `Command { std: "docker" "inspect" "b059fefa033d910cc65c22e563f24c74d0637c00701f904010d873d7c91623e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b059fefa033d910cc65c22e563f24c74d0637c00701f904010d873d7c91623e4", kill_on_drop: false }` [INFO] [stdout] b059fefa033d910cc65c22e563f24c74d0637c00701f904010d873d7c91623e4