[INFO] cloning repository https://github.com/ChecksumDev/banchoxide [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ChecksumDev/banchoxide" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChecksumDev%2Fbanchoxide", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChecksumDev%2Fbanchoxide'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e76f0920ec5b624d3b9a334e1328c262746b6ad6 [INFO] testing ChecksumDev/banchoxide against 1.97.0-beta.6 for beta-1.98-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChecksumDev%2Fbanchoxide" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ChecksumDev/banchoxide [INFO] finished tweaking git repo https://github.com/ChecksumDev/banchoxide [INFO] tweaked toml for git repo https://github.com/ChecksumDev/banchoxide written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ChecksumDev/banchoxide on toolchain 1.97.0-beta.6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ChecksumDev/banchoxide 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" "+1.97.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.17 [INFO] [stderr] Downloaded tokio-macros v1.7.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.29 [INFO] [stderr] Downloaded slab v0.4.6 [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded security-framework-sys v2.6.1 [INFO] [stderr] Downloaded http-body v0.4.4 [INFO] [stderr] Downloaded once_cell v1.10.0 [INFO] [stderr] Downloaded darling_macro v0.13.2 [INFO] [stderr] Downloaded fastrand v1.7.0 [INFO] [stderr] Downloaded rustls-pemfile v0.2.1 [INFO] [stderr] Downloaded num_threads v0.1.5 [INFO] [stderr] Downloaded md-5 v0.10.1 [INFO] [stderr] Downloaded local-waker v0.1.2 [INFO] [stderr] Downloaded alloc-no-stdlib v2.0.3 [INFO] [stderr] Downloaded firestorm v0.5.0 [INFO] [stderr] Downloaded actix-utils v3.0.0 [INFO] [stderr] Downloaded local-channel v0.1.2 [INFO] [stderr] Downloaded alloc-stdlib v0.2.1 [INFO] [stderr] Downloaded lru-cache v0.1.2 [INFO] [stderr] Downloaded bytestring v1.0.0 [INFO] [stderr] Downloaded enum-as-inner v0.3.4 [INFO] [stderr] Downloaded actix-web-codegen v4.0.0 [INFO] [stderr] Downloaded data-encoding v2.3.2 [INFO] [stderr] Downloaded zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Downloaded async-trait v0.1.53 [INFO] [stderr] Downloaded serde_with_macros v1.5.1 [INFO] [stderr] Downloaded httparse v1.6.0 [INFO] [stderr] Downloaded darling v0.13.2 [INFO] [stderr] Downloaded parking_lot_core v0.9.2 [INFO] [stderr] Downloaded winreg v0.6.2 [INFO] [stderr] Downloaded pin-project-lite v0.2.8 [INFO] [stderr] Downloaded resolv-conf v0.7.0 [INFO] [stderr] Downloaded ipnet v2.4.0 [INFO] [stderr] Downloaded native-tls v0.2.10 [INFO] [stderr] Downloaded typed-builder v0.9.1 [INFO] [stderr] Downloaded tracing-attributes v0.1.20 [INFO] [stderr] Downloaded zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Downloaded os_info v3.2.0 [INFO] [stderr] Downloaded async_once v0.2.6 [INFO] [stderr] Downloaded ipconfig v0.2.2 [INFO] [stderr] Downloaded actix-rt v2.7.0 [INFO] [stderr] Downloaded semver v1.0.7 [INFO] [stderr] Downloaded stringprep v0.1.2 [INFO] [stderr] Downloaded parking_lot v0.12.0 [INFO] [stderr] Downloaded tinyvec v1.5.1 [INFO] [stderr] Downloaded actix-router v0.5.0 [INFO] [stderr] Downloaded cookie v0.16.0 [INFO] [stderr] Downloaded darling_core v0.13.2 [INFO] [stderr] Downloaded unicode-bidi v0.3.7 [INFO] [stderr] Downloaded indexmap v1.8.1 [INFO] [stderr] Downloaded actix-server v2.1.1 [INFO] [stderr] Downloaded log v0.4.16 [INFO] [stderr] Downloaded openssl-sys v0.9.72 [INFO] [stderr] Downloaded trust-dns-resolver v0.20.4 [INFO] [stderr] Downloaded tokio-util v0.6.9 [INFO] [stderr] Downloaded tracing-core v0.1.24 [INFO] [stderr] Downloaded tracing v0.1.32 [INFO] [stderr] Downloaded flate2 v1.0.22 [INFO] [stderr] Downloaded tokio-util v0.7.1 [INFO] [stderr] Downloaded security-framework v2.6.1 [INFO] [stderr] Downloaded time v0.3.9 [INFO] [stderr] Downloaded mio v0.8.2 [INFO] [stderr] Downloaded serde_with v1.12.0 [INFO] [stderr] Downloaded http v0.2.6 [INFO] [stderr] Downloaded bson v2.1.0 [INFO] [stderr] Downloaded syn v1.0.90 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded reqwest v0.11.10 [INFO] [stderr] Downloaded h2 v0.3.13 [INFO] [stderr] Downloaded actix-http v3.0.4 [INFO] [stderr] Downloaded hyper v0.14.18 [INFO] [stderr] Downloaded brotli-decompressor v2.3.2 [INFO] [stderr] Downloaded openssl v0.10.38 [INFO] [stderr] Downloaded actix-web v4.0.1 [INFO] [stderr] Downloaded mongodb v2.1.0 [INFO] [stderr] Downloaded trust-dns-proto v0.20.4 [INFO] [stderr] Downloaded regex v1.5.5 [INFO] [stderr] Downloaded tokio v1.17.0 [INFO] [stderr] Downloaded libc v0.2.121 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.34.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.34.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.34.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.34.0 [INFO] [stderr] Downloaded zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.34.0 [INFO] [stderr] Downloaded encoding_rs v0.8.30 [INFO] [stderr] Downloaded windows-sys v0.34.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 0db42ef080d0bc14356226f434392cc7b6b76a760adf2ff2f5177c1da9d38c2a [INFO] running `Command { std: "docker" "start" "0db42ef080d0bc14356226f434392cc7b6b76a760adf2ff2f5177c1da9d38c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0db42ef080d0bc14356226f434392cc7b6b76a760adf2ff2f5177c1da9d38c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0db42ef080d0bc14356226f434392cc7b6b76a760adf2ff2f5177c1da9d38c2a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0db42ef080d0bc14356226f434392cc7b6b76a760adf2ff2f5177c1da9d38c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0db42ef080d0bc14356226f434392cc7b6b76a760adf2ff2f5177c1da9d38c2a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling tracing-core v0.1.24 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling zstd-safe v4.1.4+zstd.1.5.2 [INFO] [stderr] Compiling local-waker v0.1.2 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ipnet v2.4.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling crypto-mac v0.11.1 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling zstd-sys v1.6.3+zstd.1.5.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling actix-service v2.0.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling actix-utils v3.0.0 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling firestorm v0.5.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling num_threads v0.1.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling darling_core v0.13.2 [INFO] [stderr] Compiling brotli v3.3.4 [INFO] [stderr] Compiling time v0.3.9 [INFO] [stderr] Compiling hmac v0.11.0 [INFO] [stderr] Compiling pbkdf2 v0.8.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling os_info v3.2.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling async_once v0.2.6 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling enum-as-inner v0.3.4 [INFO] [stderr] Compiling darling_macro v0.13.2 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling darling v0.13.2 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling serde_with_macros v1.5.1 [INFO] [stderr] Compiling typed-builder v0.9.1 [INFO] [stderr] Compiling actix-router v0.5.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling actix-web-codegen v4.0.0 [INFO] [stderr] Compiling local-channel v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling actix-rt v2.7.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling actix-codec v0.5.0 [INFO] [stderr] Compiling serde_bytes v0.11.5 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling trust-dns-proto v0.20.4 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling bson v2.1.0 [INFO] [stderr] Compiling serde_with v1.12.0 [INFO] [stderr] Compiling actix-server v2.1.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling trust-dns-resolver v0.20.4 [INFO] [stderr] Compiling mongodb v2.1.0 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling zstd v0.10.0+zstd.1.5.2 [INFO] [stderr] Compiling actix-http v3.0.4 [INFO] [stderr] Compiling actix-web v4.0.1 [INFO] [stderr] Compiling banchoxide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `constants::packets::*` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use constants::packets::*; [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: `packets::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use packets::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PACKET_HANDLERS` and `RESTRICTED_PACKET_HANDLERS` [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::packets::{PACKET_HANDLERS, RESTRICTED_PACKET_HANDLERS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::LoginResponse` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::LoginResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `HttpRequest`, `HttpResponse`, `Responder`, and `error` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{error, web, App, Error, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_once::AsyncOnce` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use async_once::AsyncOnce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt as _` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_util::stream::StreamExt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client` and `options::ClientOptions` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use mongodb::{options::ClientOptions, Client}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/main.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/main.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{collections::HashMap, collections::HashSet, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `Responder`, and `error` [INFO] [stdout] --> src/api/domains/cho.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{error, web, App, Error, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_once::AsyncOnce` [INFO] [stdout] --> src/api/domains/cho.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use async_once::AsyncOnce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client` and `options::ClientOptions` [INFO] [stdout] --> src/api/domains/cho.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use mongodb::{options::ClientOptions, Client}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/api/domains/cho.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicUsize` [INFO] [stdout] --> src/api/domains/cho.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/api/domains/cho.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `collections::HashSet`, and `sync::Arc` [INFO] [stdout] --> src/api/domains/cho.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{collections::HashMap, collections::HashSet, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/api/domains/cho.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `Responder`, and `web` [INFO] [stdout] --> src/api/domains/osu.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, App, HttpResponse, HttpServer, Responder, Error}; [INFO] [stdout] | ^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `bancho_connect_res` should have an upper camel case name [INFO] [stdout] --> src/api/domains/osu.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct bancho_connect_res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BanchoConnectRes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/constants/mods.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::oid::ObjectId` [INFO] [stdout] --> src/structs/player.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/structs/player.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Score` [INFO] [stdout] --> src/structs/player.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | score::{Grade, Score}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Digest` and `Md5` [INFO] [stdout] --> src/structs/score.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use md5::{Digest, Md5}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/structs/score.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/structs/score.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections` [INFO] [stdout] --> src/structs/score.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::packets::Reader` [INFO] [stdout] --> src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::packets::Reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action` and `Status` [INFO] [stdout] --> src/packets.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structs::player::{Action, Player, Status}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `HttpResponse` [INFO] [stdout] --> src/packets.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{Error, HttpResponse}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/api/domains/cho.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...ntPrivileges::OWNER.bits() as u8, 10.0, 10.0, 1).await.write().await?); [INFO] [stdout] | ^^^^ help: explicitly specify the type as `f32`: `10.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/api/domains/cho.rs:148:130 [INFO] [stdout] | [INFO] [stdout] 148 | ...ileges::OWNER.bits() as u8, 10.0, 10.0, 1).await.write().await?); [INFO] [stdout] | ^^^^ help: explicitly specify the type as `f32`: `10.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/api/domains/cho.rs:149:91 [INFO] [stdout] | [INFO] [stdout] 149 | ...", "727", 1, 1, 10345, 12341231, 72.70, 10, 727, 1, 12 as i16).await.write().await?); [INFO] [stdout] | ^^^^^ help: explicitly specify the type as `f32`: `72.70_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/packets.rs:484:106 [INFO] [stdout] | [INFO] [stdout] 484 | ...ysi", "wysi", 1, 1, 69420, 727, 69.420, 727, 727, 727, 727 as i16).await; [INFO] [stdout] | ^^^^^^ help: explicitly specify the type as `f32`: `69.420_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api/domains/cho.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | let (id, _) = reader.read_header(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `silence_end` [INFO] [stdout] --> src/constants/packets.rs:1110:37 [INFO] [stdout] | [INFO] [stdout] 1110 | pub async fn new(user_id: T, silence_end: T) -> Self [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_silence_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OSU_VERSION` is never used [INFO] [stdout] --> src/constants/regexes.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const OSU_VERSION: &str = [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USERNAME` is never used [INFO] [stdout] --> src/constants/regexes.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const USERNAME: &str = "^[\\w \\[\\]-]{2,15}$"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMAIL` is never used [INFO] [stdout] --> src/constants/regexes.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const EMAIL: &str = "^[^@\\s]{1,200}@[^@\\s\\.]{1,30}(?:\\.[^@\\.\\s]{2,24})+$"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCALED_DURATION` is never used [INFO] [stdout] --> src/constants/regexes.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const SCALED_DURATION: &str = "^(?P\\d{1,6})(?Ps|m|h|d|w)$"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOURNEY_MATCHNAME` is never used [INFO] [stdout] --> src/constants/regexes.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const TOURNEY_MATCHNAME: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAPPOOL_PICK` is never used [INFO] [stdout] --> src/constants/regexes.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MAPPOOL_PICK: &str = "^([a-zA-Z]+)([0-9]+)$"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BEST_OF` is never used [INFO] [stdout] --> src/constants/regexes.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const BEST_OF: &str = "^(?:bo)?(\\d{1,2})$"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoPong` is never constructed [INFO] [stdout] --> src/constants/packets.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct ChoPong {} // 8 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoHandleIrcChangeUsername` is never constructed [INFO] [stdout] --> src/constants/packets.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct ChoHandleIrcChangeUsername { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoUserLogout` is never constructed [INFO] [stdout] --> src/constants/packets.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct ChoUserLogout { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoSpectatorJoined` is never constructed [INFO] [stdout] --> src/constants/packets.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct ChoSpectatorJoined { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoSpectatorLeft` is never constructed [INFO] [stdout] --> src/constants/packets.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct ChoSpectatorLeft { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoSpectateFrames` is never constructed [INFO] [stdout] --> src/constants/packets.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct ChoSpectateFrames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoVersionUpdate` is never constructed [INFO] [stdout] --> src/constants/packets.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct ChoVersionUpdate {} // 19 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoSpectatorCantSpectate` is never constructed [INFO] [stdout] --> src/constants/packets.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct ChoSpectatorCantSpectate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoGetAttention` is never constructed [INFO] [stdout] --> src/constants/packets.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct ChoGetAttention {} // 23 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoDisposeMatch` is never constructed [INFO] [stdout] --> src/constants/packets.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct ChoDisposeMatch { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoToggleBlockNonFriendDms` is never constructed [INFO] [stdout] --> src/constants/packets.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct ChoToggleBlockNonFriendDms {} // 34 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchJoinFail` is never constructed [INFO] [stdout] --> src/constants/packets.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ChoMatchJoinFail {} // 37 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoFellowSpectatorJoined` is never constructed [INFO] [stdout] --> src/constants/packets.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct ChoFellowSpectatorJoined { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoFellowSpectatorLeft` is never constructed [INFO] [stdout] --> src/constants/packets.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct ChoFellowSpectatorLeft { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchTransferHost` is never constructed [INFO] [stdout] --> src/constants/packets.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct ChoMatchTransferHost {} // 50 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchAllPlayersLoaded` is never constructed [INFO] [stdout] --> src/constants/packets.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct ChoMatchAllPlayersLoaded {} // 53 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchPlayerFailed` is never constructed [INFO] [stdout] --> src/constants/packets.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct ChoMatchPlayerFailed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchComplete` is never constructed [INFO] [stdout] --> src/constants/packets.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct ChoMatchComplete {} // 58 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchSkip` is never constructed [INFO] [stdout] --> src/constants/packets.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct ChoMatchSkip {} // 61 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoChannelJoinSuccess` is never constructed [INFO] [stdout] --> src/constants/packets.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct ChoChannelJoinSuccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoChannelKick` is never constructed [INFO] [stdout] --> src/constants/packets.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct ChoChannelKick { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoChannelAutoJoin` is never constructed [INFO] [stdout] --> src/constants/packets.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct ChoChannelAutoJoin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMonitor` is never constructed [INFO] [stdout] --> src/constants/packets.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct ChoMonitor {} // 80 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchPlayerSkipped` is never constructed [INFO] [stdout] --> src/constants/packets.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct ChoMatchPlayerSkipped { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoRestart` is never constructed [INFO] [stdout] --> src/constants/packets.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct ChoRestart { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchInvite` is never constructed [INFO] [stdout] --> src/constants/packets.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | pub struct ChoMatchInvite { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchChangePassword` is never constructed [INFO] [stdout] --> src/constants/packets.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | pub struct ChoMatchChangePassword { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoUserSilenced` is never constructed [INFO] [stdout] --> src/constants/packets.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct ChoUserSilenced { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoUserPresenceSingle` is never constructed [INFO] [stdout] --> src/constants/packets.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | pub struct ChoUserPresenceSingle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoUserPresenceBundle` is never constructed [INFO] [stdout] --> src/constants/packets.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | pub struct ChoUserPresenceBundle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoUserDmBlocked` is never constructed [INFO] [stdout] --> src/constants/packets.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | pub struct ChoUserDmBlocked { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoTargetIsSilenced` is never constructed [INFO] [stdout] --> src/constants/packets.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | pub struct ChoTargetIsSilenced { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoVersionUpdateForced` is never constructed [INFO] [stdout] --> src/constants/packets.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub struct ChoVersionUpdateForced {} //102 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoSwitchServer` is never constructed [INFO] [stdout] --> src/constants/packets.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct ChoSwitchServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoAccountRestricted` is never constructed [INFO] [stdout] --> src/constants/packets.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 371 | pub struct ChoAccountRestricted {} // 104 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoRtx` is never constructed [INFO] [stdout] --> src/constants/packets.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ChoRtx { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchAbort` is never constructed [INFO] [stdout] --> src/constants/packets.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 378 | pub struct ChoMatchAbort {} // 106 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoSwitchTournamentServer` is never constructed [INFO] [stdout] --> src/constants/packets.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct ChoSwitchTournamentServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:481:18 [INFO] [stdout] | [INFO] [stdout] 480 | impl ChoPong { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 481 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 488 | impl ChoHandleIrcChangeUsername { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 489 | pub async fn new(old: T, new: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:586:18 [INFO] [stdout] | [INFO] [stdout] 585 | impl ChoUserLogout { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 586 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:603:18 [INFO] [stdout] | [INFO] [stdout] 602 | impl ChoSpectatorJoined { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 603 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 612 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:619:18 [INFO] [stdout] | [INFO] [stdout] 618 | impl ChoSpectatorLeft { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 619 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 628 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:635:18 [INFO] [stdout] | [INFO] [stdout] 634 | impl ChoSpectateFrames { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 635 | pub async fn new(frames: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 644 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:651:18 [INFO] [stdout] | [INFO] [stdout] 650 | impl ChoVersionUpdate { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 651 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:659:18 [INFO] [stdout] | [INFO] [stdout] 658 | impl ChoSpectatorCantSpectate { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 659 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 668 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:678:18 [INFO] [stdout] | [INFO] [stdout] 677 | impl ChoGetAttention { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 678 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:699:18 [INFO] [stdout] | [INFO] [stdout] 698 | impl ChoDisposeMatch { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 699 | pub async fn new(match_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 708 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:715:18 [INFO] [stdout] | [INFO] [stdout] 714 | impl ChoToggleBlockNonFriendDms { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 715 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:723:18 [INFO] [stdout] | [INFO] [stdout] 722 | impl ChoMatchJoinFail { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 723 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:731:18 [INFO] [stdout] | [INFO] [stdout] 730 | impl ChoFellowSpectatorJoined { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 731 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 740 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:750:18 [INFO] [stdout] | [INFO] [stdout] 749 | impl ChoFellowSpectatorLeft { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 750 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 759 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:769:18 [INFO] [stdout] | [INFO] [stdout] 768 | impl ChoMatchAllPlayersLoaded { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 769 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:777:18 [INFO] [stdout] | [INFO] [stdout] 776 | impl ChoMatchPlayerFailed { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 777 | pub async fn new(slot_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 786 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:793:18 [INFO] [stdout] | [INFO] [stdout] 792 | impl ChoMatchComplete { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 793 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 800 | impl ChoMatchSkip { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 801 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:809:18 [INFO] [stdout] | [INFO] [stdout] 808 | impl ChoChannelJoinSuccess { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 809 | pub async fn new(name: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 816 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:847:18 [INFO] [stdout] | [INFO] [stdout] 846 | impl ChoChannelKick { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 847 | pub async fn new(name: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 854 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:861:18 [INFO] [stdout] | [INFO] [stdout] 860 | impl ChoChannelAutoJoin { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 861 | pub async fn new(name: T, topic: T, player_count: U) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 873 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:956:18 [INFO] [stdout] | [INFO] [stdout] 955 | impl ChoMonitor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 956 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:964:18 [INFO] [stdout] | [INFO] [stdout] 963 | impl ChoMatchPlayerSkipped { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 964 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 973 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1025:18 [INFO] [stdout] | [INFO] [stdout] 1024 | impl ChoRestart { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 1025 | pub async fn new(ms_delay: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1034 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1041:18 [INFO] [stdout] | [INFO] [stdout] 1040 | impl ChoMatchInvite { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 1041 | pub async fn new(player_name: T, msg: T, recipient: T, sender_id: U) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1054 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1075:18 [INFO] [stdout] | [INFO] [stdout] 1074 | impl ChoMatchChangePassword { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 1075 | pub async fn new(new_password: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1084 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1110:18 [INFO] [stdout] | [INFO] [stdout] 1109 | impl ChoUserSilenced { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 1110 | pub async fn new(user_id: T, silence_end: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1119 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1126:18 [INFO] [stdout] | [INFO] [stdout] 1125 | impl ChoUserPresenceSingle { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 1126 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1135 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1141:18 [INFO] [stdout] | [INFO] [stdout] 1140 | impl ChoUserPresenceBundle { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 1141 | pub async fn new(user_ids: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1150 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1156:18 [INFO] [stdout] | [INFO] [stdout] 1155 | impl ChoUserDmBlocked { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 1156 | pub async fn new(player_name: T, msg: T, recipient: T, sender_id: U) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1169 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1181:18 [INFO] [stdout] | [INFO] [stdout] 1180 | impl ChoTargetIsSilenced { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 1181 | pub async fn new(player_name: T, msg: T, recipient: T, sender_id: U) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:1206:18 [INFO] [stdout] | [INFO] [stdout] 1205 | impl ChoVersionUpdateForced { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 1206 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/constants/packets.rs:1213:18 [INFO] [stdout] | [INFO] [stdout] 1212 | impl ChoSwitchServer { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 1213 | pub async fn new(t: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:1222:18 [INFO] [stdout] | [INFO] [stdout] 1221 | impl ChoAccountRestricted { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 1222 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1229:18 [INFO] [stdout] | [INFO] [stdout] 1228 | impl ChoRtx { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 1229 | pub async fn new(msg: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1236 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:1242:18 [INFO] [stdout] | [INFO] [stdout] 1241 | impl ChoMatchAbort { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 1242 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1249:18 [INFO] [stdout] | [INFO] [stdout] 1248 | impl ChoSwitchTournamentServer { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 1249 | pub async fn new(ip: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1256 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Achievement` is never constructed [INFO] [stdout] --> src/structs/achievement.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Achievement { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structs/achievement.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Achievement { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(id: i32, file: String, name: String, desc: String, cond: fn(i32) -> bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BEATMAPS_PATH` is never used [INFO] [stdout] --> src/structs/beatmap.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const BEATMAPS_PATH: &str = "./data/osu"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_LAST_UPDATE` is never used [INFO] [stdout] --> src/structs/beatmap.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DEFAULT_LAST_UPDATE: &str = "1970-01-01"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IGNORED_BEATMAP_CHARS` is never used [INFO] [stdout] --> src/structs/beatmap.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const IGNORED_BEATMAP_CHARS: [&str; 8] = ["\"", "/", "*", "<", ">", "?", "\"", "|"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `osu_api`, `from_osuapi`, `from_osudirect`, and `from_str` are never used [INFO] [stdout] --> src/structs/beatmap.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl RankedStatus { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn osu_api(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn from_osuapi(osuapi_status: i32) -> RankedStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn from_osudirect(osudirect_status: i32) -> RankedStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | async fn from_str(status_str: &str) -> RankedStatus { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BeatmapSet` is never constructed [INFO] [stdout] --> src/structs/beatmap.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct BeatmapSet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Beatmap` is never constructed [INFO] [stdout] --> src/structs/beatmap.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct Beatmap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/structs/beatmap.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 255 | impl Beatmap { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 256 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn full_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn url(&self) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn embed(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn has_leaderboard(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn awards_ranked_pp(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn to_map(&self) -> HashMap<&str, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Menu` is never constructed [INFO] [stdout] --> src/structs/menu.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Menu { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MenuFunction` is never constructed [INFO] [stdout] --> src/structs/menu.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct MenuFunction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `menu_keygen` is never used [INFO] [stdout] --> src/structs/menu.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn menu_keygen() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OsuBeatmapRequestForm` is never constructed [INFO] [stdout] --> src/structs/models.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct OsuBeatmapRequestForm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModeData` is never constructed [INFO] [stdout] --> src/structs/player.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct ModeData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status` is never constructed [INFO] [stdout] --> src/structs/player.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structs/player.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 138 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LastNp` is never constructed [INFO] [stdout] --> src/structs/player.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct LastNp { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OsuVersion` is never constructed [INFO] [stdout] --> src/structs/player.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct OsuVersion { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClientDetails` is never constructed [INFO] [stdout] --> src/structs/player.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct ClientDetails { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `client_hash` is never used [INFO] [stdout] --> src/structs/player.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 172 | impl ClientDetails { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 173 | pub fn client_hash(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerClan` is never constructed [INFO] [stdout] --> src/structs/player.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub struct PlayerClan { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BEATMAPS_PATH` is never used [INFO] [stdout] --> src/structs/score.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const BEATMAPS_PATH: &str = ".data/osu"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/structs/score.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Grade { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 31 | pub fn from_str(s: &str) -> Grade { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Score` is never constructed [INFO] [stdout] --> src/structs/score.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Score { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `mouse` should have an upper case name [INFO] [stdout] --> src/structs/player.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | const mouse = 1; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `MOUSE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `tablet` should have an upper case name [INFO] [stdout] --> src/structs/player.rs:378:15 [INFO] [stdout] | [INFO] [stdout] 378 | const tablet = 2; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `TABLET` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `keyboard` should have an upper case name [INFO] [stdout] --> src/structs/player.rs:379:15 [INFO] [stdout] | [INFO] [stdout] 379 | const keyboard = 2; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `KEYBOARD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `touch` should have an upper case name [INFO] [stdout] --> src/structs/player.rs:380:15 [INFO] [stdout] | [INFO] [stdout] 380 | const touch = 4; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `TOUCH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `touch_touch` should have an upper case name [INFO] [stdout] --> src/structs/player.rs:381:15 [INFO] [stdout] | [INFO] [stdout] 381 | const touch_touch = 8; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TOUCH_TOUCH` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 06s [INFO] running `Command { std: "docker" "inspect" "0db42ef080d0bc14356226f434392cc7b6b76a760adf2ff2f5177c1da9d38c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0db42ef080d0bc14356226f434392cc7b6b76a760adf2ff2f5177c1da9d38c2a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling banchoxide v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `constants::packets::*` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use constants::packets::*; [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: `packets::*` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use packets::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PACKET_HANDLERS` and `RESTRICTED_PACKET_HANDLERS` [INFO] [stdout] --> src/main.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::packets::{PACKET_HANDLERS, RESTRICTED_PACKET_HANDLERS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::LoginResponse` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::utils::LoginResponse; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error`, `HttpRequest`, `HttpResponse`, `Responder`, and `error` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use actix_web::{error, web, App, Error, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_once::AsyncOnce` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use async_once::AsyncOnce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_util::stream::StreamExt as _` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use futures_util::stream::StreamExt as _; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client` and `options::ClientOptions` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use mongodb::{options::ClientOptions, Client}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> src/main.rs:11:38 [INFO] [stdout] | [INFO] [stdout] 11 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/main.rs:13:33 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{collections::HashMap, collections::HashSet, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/main.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `Responder`, and `error` [INFO] [stdout] --> src/api/domains/cho.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::{error, web, App, Error, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stdout] | ^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_once::AsyncOnce` [INFO] [stdout] --> src/api/domains/cho.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use async_once::AsyncOnce; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Client` and `options::ClientOptions` [INFO] [stdout] --> src/api/domains/cho.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | use mongodb::{options::ClientOptions, Client}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/api/domains/cho.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AtomicUsize` [INFO] [stdout] --> src/api/domains/cho.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/api/domains/cho.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `collections::HashSet`, and `sync::Arc` [INFO] [stdout] --> src/api/domains/cho.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{collections::HashMap, collections::HashSet, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stdout] --> src/api/domains/cho.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `App`, `HttpServer`, `Responder`, and `web` [INFO] [stdout] --> src/api/domains/osu.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{web, App, HttpResponse, HttpServer, Responder, Error}; [INFO] [stdout] | ^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `bancho_connect_res` should have an upper camel case name [INFO] [stdout] --> src/api/domains/osu.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct bancho_connect_res { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BanchoConnectRes` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/constants/mods.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bson::oid::ObjectId` [INFO] [stdout] --> src/structs/player.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use bson::oid::ObjectId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Timelike` [INFO] [stdout] --> src/structs/player.rs:5:24 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::{DateTime, Timelike, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Score` [INFO] [stdout] --> src/structs/player.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | score::{Grade, Score}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Digest` and `Md5` [INFO] [stdout] --> src/structs/score.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use md5::{Digest, Md5}; [INFO] [stdout] | ^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/structs/score.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/structs/score.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections` [INFO] [stdout] --> src/structs/score.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{collections, fmt::Display}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/utils.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::packets::Reader` [INFO] [stdout] --> src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::packets::Reader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action` and `Status` [INFO] [stdout] --> src/packets.rs:4:30 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::structs::player::{Action, Player, Status}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `HttpResponse` [INFO] [stdout] --> src/packets.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use actix_web::{Error, HttpResponse}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/api/domains/cho.rs:148:124 [INFO] [stdout] | [INFO] [stdout] 148 | ...ntPrivileges::OWNER.bits() as u8, 10.0, 10.0, 1).await.write().await?); [INFO] [stdout] | ^^^^ help: explicitly specify the type as `f32`: `10.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/api/domains/cho.rs:148:130 [INFO] [stdout] | [INFO] [stdout] 148 | ...ileges::OWNER.bits() as u8, 10.0, 10.0, 1).await.write().await?); [INFO] [stdout] | ^^^^ help: explicitly specify the type as `f32`: `10.0_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/api/domains/cho.rs:149:91 [INFO] [stdout] | [INFO] [stdout] 149 | ...", "727", 1, 1, 10345, 12341231, 72.70, 10, 727, 1, 12 as i16).await.write().await?); [INFO] [stdout] | ^^^^^ help: explicitly specify the type as `f32`: `72.70_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stdout] --> src/packets.rs:484:106 [INFO] [stdout] | [INFO] [stdout] 484 | ...ysi", "wysi", 1, 1, 69420, 727, 69.420, 727, 727, 727, 727 as i16).await; [INFO] [stdout] | ^^^^^^ help: explicitly specify the type as `f32`: `69.420_f32` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #154024 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/api/domains/cho.rs:84:18 [INFO] [stdout] | [INFO] [stdout] 84 | let (id, _) = reader.read_header(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `silence_end` [INFO] [stdout] --> src/constants/packets.rs:1110:37 [INFO] [stdout] | [INFO] [stdout] 1110 | pub async fn new(user_id: T, silence_end: T) -> Self [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_silence_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `OSU_VERSION` is never used [INFO] [stdout] --> src/constants/regexes.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub const OSU_VERSION: &str = [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `USERNAME` is never used [INFO] [stdout] --> src/constants/regexes.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const USERNAME: &str = "^[\\w \\[\\]-]{2,15}$"; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMAIL` is never used [INFO] [stdout] --> src/constants/regexes.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const EMAIL: &str = "^[^@\\s]{1,200}@[^@\\s\\.]{1,30}(?:\\.[^@\\.\\s]{2,24})+$"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCALED_DURATION` is never used [INFO] [stdout] --> src/constants/regexes.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const SCALED_DURATION: &str = "^(?P\\d{1,6})(?Ps|m|h|d|w)$"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TOURNEY_MATCHNAME` is never used [INFO] [stdout] --> src/constants/regexes.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const TOURNEY_MATCHNAME: &str = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAPPOOL_PICK` is never used [INFO] [stdout] --> src/constants/regexes.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const MAPPOOL_PICK: &str = "^([a-zA-Z]+)([0-9]+)$"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BEST_OF` is never used [INFO] [stdout] --> src/constants/regexes.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const BEST_OF: &str = "^(?:bo)?(\\d{1,2})$"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoPong` is never constructed [INFO] [stdout] --> src/constants/packets.rs:148:12 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct ChoPong {} // 8 [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoHandleIrcChangeUsername` is never constructed [INFO] [stdout] --> src/constants/packets.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct ChoHandleIrcChangeUsername { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoUserLogout` is never constructed [INFO] [stdout] --> src/constants/packets.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 173 | pub struct ChoUserLogout { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoSpectatorJoined` is never constructed [INFO] [stdout] --> src/constants/packets.rs:179:12 [INFO] [stdout] | [INFO] [stdout] 179 | pub struct ChoSpectatorJoined { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoSpectatorLeft` is never constructed [INFO] [stdout] --> src/constants/packets.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct ChoSpectatorLeft { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoSpectateFrames` is never constructed [INFO] [stdout] --> src/constants/packets.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct ChoSpectateFrames { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoVersionUpdate` is never constructed [INFO] [stdout] --> src/constants/packets.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct ChoVersionUpdate {} // 19 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoSpectatorCantSpectate` is never constructed [INFO] [stdout] --> src/constants/packets.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct ChoSpectatorCantSpectate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoGetAttention` is never constructed [INFO] [stdout] --> src/constants/packets.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 201 | pub struct ChoGetAttention {} // 23 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoDisposeMatch` is never constructed [INFO] [stdout] --> src/constants/packets.rs:212:12 [INFO] [stdout] | [INFO] [stdout] 212 | pub struct ChoDisposeMatch { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoToggleBlockNonFriendDms` is never constructed [INFO] [stdout] --> src/constants/packets.rs:217:12 [INFO] [stdout] | [INFO] [stdout] 217 | pub struct ChoToggleBlockNonFriendDms {} // 34 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchJoinFail` is never constructed [INFO] [stdout] --> src/constants/packets.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct ChoMatchJoinFail {} // 37 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoFellowSpectatorJoined` is never constructed [INFO] [stdout] --> src/constants/packets.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct ChoFellowSpectatorJoined { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoFellowSpectatorLeft` is never constructed [INFO] [stdout] --> src/constants/packets.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub struct ChoFellowSpectatorLeft { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchTransferHost` is never constructed [INFO] [stdout] --> src/constants/packets.rs:231:12 [INFO] [stdout] | [INFO] [stdout] 231 | pub struct ChoMatchTransferHost {} // 50 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchAllPlayersLoaded` is never constructed [INFO] [stdout] --> src/constants/packets.rs:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | pub struct ChoMatchAllPlayersLoaded {} // 53 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchPlayerFailed` is never constructed [INFO] [stdout] --> src/constants/packets.rs:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | pub struct ChoMatchPlayerFailed { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchComplete` is never constructed [INFO] [stdout] --> src/constants/packets.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub struct ChoMatchComplete {} // 58 [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchSkip` is never constructed [INFO] [stdout] --> src/constants/packets.rs:242:12 [INFO] [stdout] | [INFO] [stdout] 242 | pub struct ChoMatchSkip {} // 61 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoChannelJoinSuccess` is never constructed [INFO] [stdout] --> src/constants/packets.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct ChoChannelJoinSuccess { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoChannelKick` is never constructed [INFO] [stdout] --> src/constants/packets.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 256 | pub struct ChoChannelKick { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoChannelAutoJoin` is never constructed [INFO] [stdout] --> src/constants/packets.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct ChoChannelAutoJoin { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMonitor` is never constructed [INFO] [stdout] --> src/constants/packets.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub struct ChoMonitor {} // 80 [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchPlayerSkipped` is never constructed [INFO] [stdout] --> src/constants/packets.rs:291:12 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct ChoMatchPlayerSkipped { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoRestart` is never constructed [INFO] [stdout] --> src/constants/packets.rs:308:12 [INFO] [stdout] | [INFO] [stdout] 308 | pub struct ChoRestart { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchInvite` is never constructed [INFO] [stdout] --> src/constants/packets.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | pub struct ChoMatchInvite { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchChangePassword` is never constructed [INFO] [stdout] --> src/constants/packets.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | pub struct ChoMatchChangePassword { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoUserSilenced` is never constructed [INFO] [stdout] --> src/constants/packets.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct ChoUserSilenced { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoUserPresenceSingle` is never constructed [INFO] [stdout] --> src/constants/packets.rs:338:12 [INFO] [stdout] | [INFO] [stdout] 338 | pub struct ChoUserPresenceSingle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoUserPresenceBundle` is never constructed [INFO] [stdout] --> src/constants/packets.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | pub struct ChoUserPresenceBundle { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoUserDmBlocked` is never constructed [INFO] [stdout] --> src/constants/packets.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | pub struct ChoUserDmBlocked { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoTargetIsSilenced` is never constructed [INFO] [stdout] --> src/constants/packets.rs:356:12 [INFO] [stdout] | [INFO] [stdout] 356 | pub struct ChoTargetIsSilenced { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoVersionUpdateForced` is never constructed [INFO] [stdout] --> src/constants/packets.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub struct ChoVersionUpdateForced {} //102 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoSwitchServer` is never constructed [INFO] [stdout] --> src/constants/packets.rs:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | pub struct ChoSwitchServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoAccountRestricted` is never constructed [INFO] [stdout] --> src/constants/packets.rs:371:12 [INFO] [stdout] | [INFO] [stdout] 371 | pub struct ChoAccountRestricted {} // 104 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoRtx` is never constructed [INFO] [stdout] --> src/constants/packets.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 373 | pub struct ChoRtx { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoMatchAbort` is never constructed [INFO] [stdout] --> src/constants/packets.rs:378:12 [INFO] [stdout] | [INFO] [stdout] 378 | pub struct ChoMatchAbort {} // 106 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ChoSwitchTournamentServer` is never constructed [INFO] [stdout] --> src/constants/packets.rs:380:12 [INFO] [stdout] | [INFO] [stdout] 380 | pub struct ChoSwitchTournamentServer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:481:18 [INFO] [stdout] | [INFO] [stdout] 480 | impl ChoPong { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 481 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:489:18 [INFO] [stdout] | [INFO] [stdout] 488 | impl ChoHandleIrcChangeUsername { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 489 | pub async fn new(old: T, new: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:586:18 [INFO] [stdout] | [INFO] [stdout] 585 | impl ChoUserLogout { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 586 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 596 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:603:18 [INFO] [stdout] | [INFO] [stdout] 602 | impl ChoSpectatorJoined { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 603 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 612 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:619:18 [INFO] [stdout] | [INFO] [stdout] 618 | impl ChoSpectatorLeft { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 619 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 628 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:635:18 [INFO] [stdout] | [INFO] [stdout] 634 | impl ChoSpectateFrames { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 635 | pub async fn new(frames: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 644 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:651:18 [INFO] [stdout] | [INFO] [stdout] 650 | impl ChoVersionUpdate { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 651 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:659:18 [INFO] [stdout] | [INFO] [stdout] 658 | impl ChoSpectatorCantSpectate { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 659 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 668 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:678:18 [INFO] [stdout] | [INFO] [stdout] 677 | impl ChoGetAttention { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 678 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:699:18 [INFO] [stdout] | [INFO] [stdout] 698 | impl ChoDisposeMatch { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 699 | pub async fn new(match_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 708 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:715:18 [INFO] [stdout] | [INFO] [stdout] 714 | impl ChoToggleBlockNonFriendDms { [INFO] [stdout] | ------------------------------- associated function in this implementation [INFO] [stdout] 715 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:723:18 [INFO] [stdout] | [INFO] [stdout] 722 | impl ChoMatchJoinFail { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 723 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:731:18 [INFO] [stdout] | [INFO] [stdout] 730 | impl ChoFellowSpectatorJoined { [INFO] [stdout] | ----------------------------- associated items in this implementation [INFO] [stdout] 731 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 740 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:750:18 [INFO] [stdout] | [INFO] [stdout] 749 | impl ChoFellowSpectatorLeft { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 750 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 759 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:769:18 [INFO] [stdout] | [INFO] [stdout] 768 | impl ChoMatchAllPlayersLoaded { [INFO] [stdout] | ----------------------------- associated function in this implementation [INFO] [stdout] 769 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:777:18 [INFO] [stdout] | [INFO] [stdout] 776 | impl ChoMatchPlayerFailed { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 777 | pub async fn new(slot_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 786 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:793:18 [INFO] [stdout] | [INFO] [stdout] 792 | impl ChoMatchComplete { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 793 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:801:18 [INFO] [stdout] | [INFO] [stdout] 800 | impl ChoMatchSkip { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 801 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:809:18 [INFO] [stdout] | [INFO] [stdout] 808 | impl ChoChannelJoinSuccess { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 809 | pub async fn new(name: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 816 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:847:18 [INFO] [stdout] | [INFO] [stdout] 846 | impl ChoChannelKick { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 847 | pub async fn new(name: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 854 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:861:18 [INFO] [stdout] | [INFO] [stdout] 860 | impl ChoChannelAutoJoin { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 861 | pub async fn new(name: T, topic: T, player_count: U) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 873 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:956:18 [INFO] [stdout] | [INFO] [stdout] 955 | impl ChoMonitor { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 956 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:964:18 [INFO] [stdout] | [INFO] [stdout] 963 | impl ChoMatchPlayerSkipped { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 964 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 973 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1025:18 [INFO] [stdout] | [INFO] [stdout] 1024 | impl ChoRestart { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 1025 | pub async fn new(ms_delay: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1034 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1041:18 [INFO] [stdout] | [INFO] [stdout] 1040 | impl ChoMatchInvite { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 1041 | pub async fn new(player_name: T, msg: T, recipient: T, sender_id: U) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1054 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1075:18 [INFO] [stdout] | [INFO] [stdout] 1074 | impl ChoMatchChangePassword { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 1075 | pub async fn new(new_password: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1084 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1110:18 [INFO] [stdout] | [INFO] [stdout] 1109 | impl ChoUserSilenced { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 1110 | pub async fn new(user_id: T, silence_end: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1119 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1126:18 [INFO] [stdout] | [INFO] [stdout] 1125 | impl ChoUserPresenceSingle { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 1126 | pub async fn new(user_id: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1135 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1141:18 [INFO] [stdout] | [INFO] [stdout] 1140 | impl ChoUserPresenceBundle { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 1141 | pub async fn new(user_ids: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1150 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1156:18 [INFO] [stdout] | [INFO] [stdout] 1155 | impl ChoUserDmBlocked { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 1156 | pub async fn new(player_name: T, msg: T, recipient: T, sender_id: U) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1169 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1181:18 [INFO] [stdout] | [INFO] [stdout] 1180 | impl ChoTargetIsSilenced { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 1181 | pub async fn new(player_name: T, msg: T, recipient: T, sender_id: U) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1194 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:1206:18 [INFO] [stdout] | [INFO] [stdout] 1205 | impl ChoVersionUpdateForced { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 1206 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/constants/packets.rs:1213:18 [INFO] [stdout] | [INFO] [stdout] 1212 | impl ChoSwitchServer { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 1213 | pub async fn new(t: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:1222:18 [INFO] [stdout] | [INFO] [stdout] 1221 | impl ChoAccountRestricted { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 1222 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1229:18 [INFO] [stdout] | [INFO] [stdout] 1228 | impl ChoRtx { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 1229 | pub async fn new(msg: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1236 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `write` is never used [INFO] [stdout] --> src/constants/packets.rs:1242:18 [INFO] [stdout] | [INFO] [stdout] 1241 | impl ChoMatchAbort { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 1242 | pub async fn write() -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `write` are never used [INFO] [stdout] --> src/constants/packets.rs:1249:18 [INFO] [stdout] | [INFO] [stdout] 1248 | impl ChoSwitchTournamentServer { [INFO] [stdout] | ------------------------------ associated items in this implementation [INFO] [stdout] 1249 | pub async fn new(ip: T) -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 1256 | pub async fn write(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Achievement` is never constructed [INFO] [stdout] --> src/structs/achievement.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Achievement { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structs/achievement.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Achievement { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 10 | pub fn new(id: i32, file: String, name: String, desc: String, cond: fn(i32) -> bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BEATMAPS_PATH` is never used [INFO] [stdout] --> src/structs/beatmap.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const BEATMAPS_PATH: &str = "./data/osu"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_LAST_UPDATE` is never used [INFO] [stdout] --> src/structs/beatmap.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DEFAULT_LAST_UPDATE: &str = "1970-01-01"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `IGNORED_BEATMAP_CHARS` is never used [INFO] [stdout] --> src/structs/beatmap.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const IGNORED_BEATMAP_CHARS: [&str; 8] = ["\"", "/", "*", "<", ">", "?", "\"", "|"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `osu_api`, `from_osuapi`, `from_osudirect`, and `from_str` are never used [INFO] [stdout] --> src/structs/beatmap.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl RankedStatus { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn osu_api(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn from_osuapi(osuapi_status: i32) -> RankedStatus { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn from_osudirect(osudirect_status: i32) -> RankedStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | async fn from_str(status_str: &str) -> RankedStatus { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BeatmapSet` is never constructed [INFO] [stdout] --> src/structs/beatmap.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct BeatmapSet { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Beatmap` is never constructed [INFO] [stdout] --> src/structs/beatmap.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | pub struct Beatmap { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/structs/beatmap.rs:256:12 [INFO] [stdout] | [INFO] [stdout] 255 | impl Beatmap { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 256 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub fn full_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn url(&self) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | pub fn embed(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn has_leaderboard(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | pub fn awards_ranked_pp(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 401 | pub fn to_map(&self) -> HashMap<&str, String> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Menu` is never constructed [INFO] [stdout] --> src/structs/menu.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct Menu { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MenuFunction` is never constructed [INFO] [stdout] --> src/structs/menu.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | struct MenuFunction { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `menu_keygen` is never used [INFO] [stdout] --> src/structs/menu.rs:24:4 [INFO] [stdout] | [INFO] [stdout] 24 | fn menu_keygen() -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OsuBeatmapRequestForm` is never constructed [INFO] [stdout] --> src/structs/models.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct OsuBeatmapRequestForm { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ModeData` is never constructed [INFO] [stdout] --> src/structs/player.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct ModeData { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Status` is never constructed [INFO] [stdout] --> src/structs/player.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/structs/player.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 137 | impl Status { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 138 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LastNp` is never constructed [INFO] [stdout] --> src/structs/player.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub struct LastNp { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OsuVersion` is never constructed [INFO] [stdout] --> src/structs/player.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | pub struct OsuVersion { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClientDetails` is never constructed [INFO] [stdout] --> src/structs/player.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub struct ClientDetails { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `client_hash` is never used [INFO] [stdout] --> src/structs/player.rs:173:12 [INFO] [stdout] | [INFO] [stdout] 172 | impl ClientDetails { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 173 | pub fn client_hash(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PlayerClan` is never constructed [INFO] [stdout] --> src/structs/player.rs:364:12 [INFO] [stdout] | [INFO] [stdout] 364 | pub struct PlayerClan { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BEATMAPS_PATH` is never used [INFO] [stdout] --> src/structs/score.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const BEATMAPS_PATH: &str = ".data/osu"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_str` is never used [INFO] [stdout] --> src/structs/score.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Grade { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 31 | pub fn from_str(s: &str) -> Grade { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Score` is never constructed [INFO] [stdout] --> src/structs/score.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct Score { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `mouse` should have an upper case name [INFO] [stdout] --> src/structs/player.rs:377:15 [INFO] [stdout] | [INFO] [stdout] 377 | const mouse = 1; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `MOUSE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `tablet` should have an upper case name [INFO] [stdout] --> src/structs/player.rs:378:15 [INFO] [stdout] | [INFO] [stdout] 378 | const tablet = 2; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `TABLET` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `keyboard` should have an upper case name [INFO] [stdout] --> src/structs/player.rs:379:15 [INFO] [stdout] | [INFO] [stdout] 379 | const keyboard = 2; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `KEYBOARD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `touch` should have an upper case name [INFO] [stdout] --> src/structs/player.rs:380:15 [INFO] [stdout] | [INFO] [stdout] 380 | const touch = 4; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `TOUCH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `touch_touch` should have an upper case name [INFO] [stdout] --> src/structs/player.rs:381:15 [INFO] [stdout] | [INFO] [stdout] 381 | const touch_touch = 8; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TOUCH_TOUCH` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.87s [INFO] running `Command { std: "docker" "inspect" "0db42ef080d0bc14356226f434392cc7b6b76a760adf2ff2f5177c1da9d38c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0db42ef080d0bc14356226f434392cc7b6b76a760adf2ff2f5177c1da9d38c2a" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.6" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `constants::packets::*` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use constants::packets::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `packets::*` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use packets::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `PACKET_HANDLERS` and `RESTRICTED_PACKET_HANDLERS` [INFO] [stderr] --> src/main.rs:4:22 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::packets::{PACKET_HANDLERS, RESTRICTED_PACKET_HANDLERS}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::utils::LoginResponse` [INFO] [stderr] --> src/main.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::utils::LoginResponse; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `HttpRequest`, `HttpResponse`, `Responder`, and `error` [INFO] [stderr] --> src/main.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use actix_web::{error, web, App, Error, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_once::AsyncOnce` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use async_once::AsyncOnce; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_util::stream::StreamExt as _` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use futures_util::stream::StreamExt as _; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Client` and `options::ClientOptions` [INFO] [stderr] --> src/main.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | use mongodb::{options::ClientOptions, Client}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cell::RefCell` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::cell::RefCell; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Ordering` [INFO] [stderr] --> src/main.rs:11:38 [INFO] [stderr] | [INFO] [stderr] 11 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `collections::HashSet` [INFO] [stderr] --> src/main.rs:13:33 [INFO] [stderr] | [INFO] [stderr] 13 | use std::{collections::HashMap, collections::HashSet, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stderr] --> src/main.rs:15:18 [INFO] [stderr] | [INFO] [stderr] 15 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `App`, `HttpServer`, `Responder`, and `error` [INFO] [stderr] --> src/api/domains/cho.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | use actix_web::{error, web, App, Error, HttpRequest, HttpResponse, HttpServer, Responder}; [INFO] [stderr] | ^^^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `async_once::AsyncOnce` [INFO] [stderr] --> src/api/domains/cho.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use async_once::AsyncOnce; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Client` and `options::ClientOptions` [INFO] [stderr] --> src/api/domains/cho.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | use mongodb::{options::ClientOptions, Client}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cell::RefCell` [INFO] [stderr] --> src/api/domains/cho.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use std::cell::RefCell; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `AtomicUsize` [INFO] [stderr] --> src/api/domains/cho.rs:12:25 [INFO] [stderr] | [INFO] [stderr] 12 | use std::sync::atomic::{AtomicUsize, Ordering}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::sync::Mutex` [INFO] [stderr] --> src/api/domains/cho.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use std::sync::Mutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `collections::HashMap`, `collections::HashSet`, and `sync::Arc` [INFO] [stderr] --> src/api/domains/cho.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | use std::{collections::HashMap, collections::HashSet, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `TcpListener` and `TcpStream` [INFO] [stderr] --> src/api/domains/cho.rs:21:18 [INFO] [stderr] | [INFO] [stderr] 21 | use tokio::net::{TcpListener, TcpStream}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `App`, `HttpServer`, `Responder`, and `web` [INFO] [stderr] --> src/api/domains/osu.rs:1:17 [INFO] [stderr] | [INFO] [stderr] 1 | use actix_web::{web, App, HttpResponse, HttpServer, Responder, Error}; [INFO] [stderr] | ^^^ ^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `bancho_connect_res` should have an upper camel case name [INFO] [stderr] --> src/api/domains/osu.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | struct bancho_connect_res { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BanchoConnectRes` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/constants/mods.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `bson::oid::ObjectId` [INFO] [stderr] --> src/structs/player.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use bson::oid::ObjectId; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Timelike` [INFO] [stderr] --> src/structs/player.rs:5:24 [INFO] [stderr] | [INFO] [stderr] 5 | use chrono::{DateTime, Timelike, Utc}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Score` [INFO] [stderr] --> src/structs/player.rs:14:20 [INFO] [stderr] | [INFO] [stderr] 14 | score::{Grade, Score}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Digest` and `Md5` [INFO] [stderr] --> src/structs/score.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | use md5::{Digest, Md5}; [INFO] [stderr] | ^^^^^^ ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashMap` [INFO] [stderr] --> src/structs/score.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::collections::HashMap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/structs/score.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `collections` [INFO] [stderr] --> src/structs/score.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use std::{collections, fmt::Display}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::collections::HashSet` [INFO] [stderr] --> src/utils.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::HashSet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::packets::Reader` [INFO] [stderr] --> src/utils.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::packets::Reader; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Action` and `Status` [INFO] [stderr] --> src/packets.rs:4:30 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::structs::player::{Action, Player, Status}; [INFO] [stderr] | ^^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error` and `HttpResponse` [INFO] [stderr] --> src/packets.rs:5:17 [INFO] [stderr] | [INFO] [stderr] 5 | use actix_web::{Error, HttpResponse}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/api/domains/cho.rs:148:124 [INFO] [stderr] | [INFO] [stderr] 148 | ...ntPrivileges::OWNER.bits() as u8, 10.0, 10.0, 1).await.write().await?); [INFO] [stderr] | ^^^^ help: explicitly specify the type as `f32`: `10.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] = note: `#[warn(float_literal_f32_fallback)]` (part of `#[warn(future_incompatible)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/api/domains/cho.rs:148:130 [INFO] [stderr] | [INFO] [stderr] 148 | ...ileges::OWNER.bits() as u8, 10.0, 10.0, 1).await.write().await?); [INFO] [stderr] | ^^^^ help: explicitly specify the type as `f32`: `10.0_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/api/domains/cho.rs:149:91 [INFO] [stderr] | [INFO] [stderr] 149 | ...", "727", 1, 1, 10345, 12341231, 72.70, 10, 727, 1, 12 as i16).await.write().await?); [INFO] [stderr] | ^^^^^ help: explicitly specify the type as `f32`: `72.70_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] [INFO] [stderr] warning: falling back to `f32` as the trait bound `f32: From` is not satisfied [INFO] [stderr] --> src/packets.rs:484:106 [INFO] [stderr] | [INFO] [stderr] 484 | ...ysi", "wysi", 1, 1, 69420, 727, 69.420, 727, 727, 727, 727 as i16).await; [INFO] [stderr] | ^^^^^^ help: explicitly specify the type as `f32`: `69.420_f32` [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #154024 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/api/domains/cho.rs:84:18 [INFO] [stderr] | [INFO] [stderr] 84 | let (id, _) = reader.read_header(); [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `silence_end` [INFO] [stderr] --> src/constants/packets.rs:1110:37 [INFO] [stderr] | [INFO] [stderr] 1110 | pub async fn new(user_id: T, silence_end: T) -> Self [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_silence_end` [INFO] [stderr] [INFO] [stderr] warning: constant `OSU_VERSION` is never used [INFO] [stderr] --> src/constants/regexes.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub const OSU_VERSION: &str = [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `USERNAME` is never used [INFO] [stderr] --> src/constants/regexes.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | pub const USERNAME: &str = "^[\\w \\[\\]-]{2,15}$"; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `EMAIL` is never used [INFO] [stderr] --> src/constants/regexes.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const EMAIL: &str = "^[^@\\s]{1,200}@[^@\\s\\.]{1,30}(?:\\.[^@\\.\\s]{2,24})+$"; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SCALED_DURATION` is never used [INFO] [stderr] --> src/constants/regexes.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const SCALED_DURATION: &str = "^(?P\\d{1,6})(?Ps|m|h|d|w)$"; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `TOURNEY_MATCHNAME` is never used [INFO] [stderr] --> src/constants/regexes.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub const TOURNEY_MATCHNAME: &str = [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MAPPOOL_PICK` is never used [INFO] [stderr] --> src/constants/regexes.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const MAPPOOL_PICK: &str = "^([a-zA-Z]+)([0-9]+)$"; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BEST_OF` is never used [INFO] [stderr] --> src/constants/regexes.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub const BEST_OF: &str = "^(?:bo)?(\\d{1,2})$"; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoPong` is never constructed [INFO] [stderr] --> src/constants/packets.rs:148:12 [INFO] [stderr] | [INFO] [stderr] 148 | pub struct ChoPong {} // 8 [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoHandleIrcChangeUsername` is never constructed [INFO] [stderr] --> src/constants/packets.rs:150:12 [INFO] [stderr] | [INFO] [stderr] 150 | pub struct ChoHandleIrcChangeUsername { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoUserLogout` is never constructed [INFO] [stderr] --> src/constants/packets.rs:173:12 [INFO] [stderr] | [INFO] [stderr] 173 | pub struct ChoUserLogout { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoSpectatorJoined` is never constructed [INFO] [stderr] --> src/constants/packets.rs:179:12 [INFO] [stderr] | [INFO] [stderr] 179 | pub struct ChoSpectatorJoined { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoSpectatorLeft` is never constructed [INFO] [stderr] --> src/constants/packets.rs:184:12 [INFO] [stderr] | [INFO] [stderr] 184 | pub struct ChoSpectatorLeft { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoSpectateFrames` is never constructed [INFO] [stderr] --> src/constants/packets.rs:189:12 [INFO] [stderr] | [INFO] [stderr] 189 | pub struct ChoSpectateFrames { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoVersionUpdate` is never constructed [INFO] [stderr] --> src/constants/packets.rs:194:12 [INFO] [stderr] | [INFO] [stderr] 194 | pub struct ChoVersionUpdate {} // 19 [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoSpectatorCantSpectate` is never constructed [INFO] [stderr] --> src/constants/packets.rs:196:12 [INFO] [stderr] | [INFO] [stderr] 196 | pub struct ChoSpectatorCantSpectate { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoGetAttention` is never constructed [INFO] [stderr] --> src/constants/packets.rs:201:12 [INFO] [stderr] | [INFO] [stderr] 201 | pub struct ChoGetAttention {} // 23 [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoDisposeMatch` is never constructed [INFO] [stderr] --> src/constants/packets.rs:212:12 [INFO] [stderr] | [INFO] [stderr] 212 | pub struct ChoDisposeMatch { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoToggleBlockNonFriendDms` is never constructed [INFO] [stderr] --> src/constants/packets.rs:217:12 [INFO] [stderr] | [INFO] [stderr] 217 | pub struct ChoToggleBlockNonFriendDms {} // 34 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoMatchJoinFail` is never constructed [INFO] [stderr] --> src/constants/packets.rs:219:12 [INFO] [stderr] | [INFO] [stderr] 219 | pub struct ChoMatchJoinFail {} // 37 [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoFellowSpectatorJoined` is never constructed [INFO] [stderr] --> src/constants/packets.rs:221:12 [INFO] [stderr] | [INFO] [stderr] 221 | pub struct ChoFellowSpectatorJoined { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoFellowSpectatorLeft` is never constructed [INFO] [stderr] --> src/constants/packets.rs:226:12 [INFO] [stderr] | [INFO] [stderr] 226 | pub struct ChoFellowSpectatorLeft { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoMatchTransferHost` is never constructed [INFO] [stderr] --> src/constants/packets.rs:231:12 [INFO] [stderr] | [INFO] [stderr] 231 | pub struct ChoMatchTransferHost {} // 50 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoMatchAllPlayersLoaded` is never constructed [INFO] [stderr] --> src/constants/packets.rs:233:12 [INFO] [stderr] | [INFO] [stderr] 233 | pub struct ChoMatchAllPlayersLoaded {} // 53 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoMatchPlayerFailed` is never constructed [INFO] [stderr] --> src/constants/packets.rs:235:12 [INFO] [stderr] | [INFO] [stderr] 235 | pub struct ChoMatchPlayerFailed { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoMatchComplete` is never constructed [INFO] [stderr] --> src/constants/packets.rs:240:12 [INFO] [stderr] | [INFO] [stderr] 240 | pub struct ChoMatchComplete {} // 58 [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoMatchSkip` is never constructed [INFO] [stderr] --> src/constants/packets.rs:242:12 [INFO] [stderr] | [INFO] [stderr] 242 | pub struct ChoMatchSkip {} // 61 [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoChannelJoinSuccess` is never constructed [INFO] [stderr] --> src/constants/packets.rs:244:12 [INFO] [stderr] | [INFO] [stderr] 244 | pub struct ChoChannelJoinSuccess { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoChannelKick` is never constructed [INFO] [stderr] --> src/constants/packets.rs:256:12 [INFO] [stderr] | [INFO] [stderr] 256 | pub struct ChoChannelKick { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoChannelAutoJoin` is never constructed [INFO] [stderr] --> src/constants/packets.rs:261:12 [INFO] [stderr] | [INFO] [stderr] 261 | pub struct ChoChannelAutoJoin { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoMonitor` is never constructed [INFO] [stderr] --> src/constants/packets.rs:289:12 [INFO] [stderr] | [INFO] [stderr] 289 | pub struct ChoMonitor {} // 80 [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoMatchPlayerSkipped` is never constructed [INFO] [stderr] --> src/constants/packets.rs:291:12 [INFO] [stderr] | [INFO] [stderr] 291 | pub struct ChoMatchPlayerSkipped { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoRestart` is never constructed [INFO] [stderr] --> src/constants/packets.rs:308:12 [INFO] [stderr] | [INFO] [stderr] 308 | pub struct ChoRestart { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoMatchInvite` is never constructed [INFO] [stderr] --> src/constants/packets.rs:313:12 [INFO] [stderr] | [INFO] [stderr] 313 | pub struct ChoMatchInvite { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoMatchChangePassword` is never constructed [INFO] [stderr] --> src/constants/packets.rs:323:12 [INFO] [stderr] | [INFO] [stderr] 323 | pub struct ChoMatchChangePassword { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoUserSilenced` is never constructed [INFO] [stderr] --> src/constants/packets.rs:333:12 [INFO] [stderr] | [INFO] [stderr] 333 | pub struct ChoUserSilenced { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoUserPresenceSingle` is never constructed [INFO] [stderr] --> src/constants/packets.rs:338:12 [INFO] [stderr] | [INFO] [stderr] 338 | pub struct ChoUserPresenceSingle { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoUserPresenceBundle` is never constructed [INFO] [stderr] --> src/constants/packets.rs:343:12 [INFO] [stderr] | [INFO] [stderr] 343 | pub struct ChoUserPresenceBundle { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoUserDmBlocked` is never constructed [INFO] [stderr] --> src/constants/packets.rs:348:12 [INFO] [stderr] | [INFO] [stderr] 348 | pub struct ChoUserDmBlocked { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoTargetIsSilenced` is never constructed [INFO] [stderr] --> src/constants/packets.rs:356:12 [INFO] [stderr] | [INFO] [stderr] 356 | pub struct ChoTargetIsSilenced { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoVersionUpdateForced` is never constructed [INFO] [stderr] --> src/constants/packets.rs:364:12 [INFO] [stderr] | [INFO] [stderr] 364 | pub struct ChoVersionUpdateForced {} //102 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoSwitchServer` is never constructed [INFO] [stderr] --> src/constants/packets.rs:366:12 [INFO] [stderr] | [INFO] [stderr] 366 | pub struct ChoSwitchServer { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoAccountRestricted` is never constructed [INFO] [stderr] --> src/constants/packets.rs:371:12 [INFO] [stderr] | [INFO] [stderr] 371 | pub struct ChoAccountRestricted {} // 104 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoRtx` is never constructed [INFO] [stderr] --> src/constants/packets.rs:373:12 [INFO] [stderr] | [INFO] [stderr] 373 | pub struct ChoRtx { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoMatchAbort` is never constructed [INFO] [stderr] --> src/constants/packets.rs:378:12 [INFO] [stderr] | [INFO] [stderr] 378 | pub struct ChoMatchAbort {} // 106 [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ChoSwitchTournamentServer` is never constructed [INFO] [stderr] --> src/constants/packets.rs:380:12 [INFO] [stderr] | [INFO] [stderr] 380 | pub struct ChoSwitchTournamentServer { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `write` is never used [INFO] [stderr] --> src/constants/packets.rs:481:18 [INFO] [stderr] | [INFO] [stderr] 480 | impl ChoPong { [INFO] [stderr] | ------------ associated function in this implementation [INFO] [stderr] 481 | pub async fn write() -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:489:18 [INFO] [stderr] | [INFO] [stderr] 488 | impl ChoHandleIrcChangeUsername { [INFO] [stderr] | ------------------------------- associated items in this implementation [INFO] [stderr] 489 | pub async fn new(old: T, new: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 499 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:586:18 [INFO] [stderr] | [INFO] [stderr] 585 | impl ChoUserLogout { [INFO] [stderr] | ------------------ associated items in this implementation [INFO] [stderr] 586 | pub async fn new(user_id: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 596 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:603:18 [INFO] [stderr] | [INFO] [stderr] 602 | impl ChoSpectatorJoined { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 603 | pub async fn new(user_id: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 612 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:619:18 [INFO] [stderr] | [INFO] [stderr] 618 | impl ChoSpectatorLeft { [INFO] [stderr] | --------------------- associated items in this implementation [INFO] [stderr] 619 | pub async fn new(user_id: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 628 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:635:18 [INFO] [stderr] | [INFO] [stderr] 634 | impl ChoSpectateFrames { [INFO] [stderr] | ---------------------- associated items in this implementation [INFO] [stderr] 635 | pub async fn new(frames: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 644 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `write` is never used [INFO] [stderr] --> src/constants/packets.rs:651:18 [INFO] [stderr] | [INFO] [stderr] 650 | impl ChoVersionUpdate { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 651 | pub async fn write() -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:659:18 [INFO] [stderr] | [INFO] [stderr] 658 | impl ChoSpectatorCantSpectate { [INFO] [stderr] | ----------------------------- associated items in this implementation [INFO] [stderr] 659 | pub async fn new(user_id: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 668 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `write` is never used [INFO] [stderr] --> src/constants/packets.rs:678:18 [INFO] [stderr] | [INFO] [stderr] 677 | impl ChoGetAttention { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 678 | pub async fn write() -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:699:18 [INFO] [stderr] | [INFO] [stderr] 698 | impl ChoDisposeMatch { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 699 | pub async fn new(match_id: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 708 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `write` is never used [INFO] [stderr] --> src/constants/packets.rs:715:18 [INFO] [stderr] | [INFO] [stderr] 714 | impl ChoToggleBlockNonFriendDms { [INFO] [stderr] | ------------------------------- associated function in this implementation [INFO] [stderr] 715 | pub async fn write() -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `write` is never used [INFO] [stderr] --> src/constants/packets.rs:723:18 [INFO] [stderr] | [INFO] [stderr] 722 | impl ChoMatchJoinFail { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 723 | pub async fn write() -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:731:18 [INFO] [stderr] | [INFO] [stderr] 730 | impl ChoFellowSpectatorJoined { [INFO] [stderr] | ----------------------------- associated items in this implementation [INFO] [stderr] 731 | pub async fn new(user_id: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 740 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:750:18 [INFO] [stderr] | [INFO] [stderr] 749 | impl ChoFellowSpectatorLeft { [INFO] [stderr] | --------------------------- associated items in this implementation [INFO] [stderr] 750 | pub async fn new(user_id: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 759 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `write` is never used [INFO] [stderr] --> src/constants/packets.rs:769:18 [INFO] [stderr] | [INFO] [stderr] 768 | impl ChoMatchAllPlayersLoaded { [INFO] [stderr] | ----------------------------- associated function in this implementation [INFO] [stderr] 769 | pub async fn write() -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:777:18 [INFO] [stderr] | [INFO] [stderr] 776 | impl ChoMatchPlayerFailed { [INFO] [stderr] | ------------------------- associated items in this implementation [INFO] [stderr] 777 | pub async fn new(slot_id: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 786 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `write` is never used [INFO] [stderr] --> src/constants/packets.rs:793:18 [INFO] [stderr] | [INFO] [stderr] 792 | impl ChoMatchComplete { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] 793 | pub async fn write() -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `write` is never used [INFO] [stderr] --> src/constants/packets.rs:801:18 [INFO] [stderr] | [INFO] [stderr] 800 | impl ChoMatchSkip { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 801 | pub async fn write() -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:809:18 [INFO] [stderr] | [INFO] [stderr] 808 | impl ChoChannelJoinSuccess { [INFO] [stderr] | -------------------------- associated items in this implementation [INFO] [stderr] 809 | pub async fn new(name: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 816 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:847:18 [INFO] [stderr] | [INFO] [stderr] 846 | impl ChoChannelKick { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] 847 | pub async fn new(name: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 854 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:861:18 [INFO] [stderr] | [INFO] [stderr] 860 | impl ChoChannelAutoJoin { [INFO] [stderr] | ----------------------- associated items in this implementation [INFO] [stderr] 861 | pub async fn new(name: T, topic: T, player_count: U) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 873 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `write` is never used [INFO] [stderr] --> src/constants/packets.rs:956:18 [INFO] [stderr] | [INFO] [stderr] 955 | impl ChoMonitor { [INFO] [stderr] | --------------- associated function in this implementation [INFO] [stderr] 956 | pub async fn write() -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:964:18 [INFO] [stderr] | [INFO] [stderr] 963 | impl ChoMatchPlayerSkipped { [INFO] [stderr] | -------------------------- associated items in this implementation [INFO] [stderr] 964 | pub async fn new(user_id: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 973 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:1025:18 [INFO] [stderr] | [INFO] [stderr] 1024 | impl ChoRestart { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] 1025 | pub async fn new(ms_delay: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1034 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:1041:18 [INFO] [stderr] | [INFO] [stderr] 1040 | impl ChoMatchInvite { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] 1041 | pub async fn new(player_name: T, msg: T, recipient: T, sender_id: U) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1054 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:1075:18 [INFO] [stderr] | [INFO] [stderr] 1074 | impl ChoMatchChangePassword { [INFO] [stderr] | --------------------------- associated items in this implementation [INFO] [stderr] 1075 | pub async fn new(new_password: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1084 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:1110:18 [INFO] [stderr] | [INFO] [stderr] 1109 | impl ChoUserSilenced { [INFO] [stderr] | -------------------- associated items in this implementation [INFO] [stderr] 1110 | pub async fn new(user_id: T, silence_end: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1119 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:1126:18 [INFO] [stderr] | [INFO] [stderr] 1125 | impl ChoUserPresenceSingle { [INFO] [stderr] | -------------------------- associated items in this implementation [INFO] [stderr] 1126 | pub async fn new(user_id: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1135 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:1141:18 [INFO] [stderr] | [INFO] [stderr] 1140 | impl ChoUserPresenceBundle { [INFO] [stderr] | -------------------------- associated items in this implementation [INFO] [stderr] 1141 | pub async fn new(user_ids: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1150 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:1156:18 [INFO] [stderr] | [INFO] [stderr] 1155 | impl ChoUserDmBlocked { [INFO] [stderr] | --------------------- associated items in this implementation [INFO] [stderr] 1156 | pub async fn new(player_name: T, msg: T, recipient: T, sender_id: U) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1169 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:1181:18 [INFO] [stderr] | [INFO] [stderr] 1180 | impl ChoTargetIsSilenced { [INFO] [stderr] | ------------------------ associated items in this implementation [INFO] [stderr] 1181 | pub async fn new(player_name: T, msg: T, recipient: T, sender_id: U) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1194 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `write` is never used [INFO] [stderr] --> src/constants/packets.rs:1206:18 [INFO] [stderr] | [INFO] [stderr] 1205 | impl ChoVersionUpdateForced { [INFO] [stderr] | --------------------------- associated function in this implementation [INFO] [stderr] 1206 | pub async fn write() -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/constants/packets.rs:1213:18 [INFO] [stderr] | [INFO] [stderr] 1212 | impl ChoSwitchServer { [INFO] [stderr] | -------------------- associated function in this implementation [INFO] [stderr] 1213 | pub async fn new(t: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `write` is never used [INFO] [stderr] --> src/constants/packets.rs:1222:18 [INFO] [stderr] | [INFO] [stderr] 1221 | impl ChoAccountRestricted { [INFO] [stderr] | ------------------------- associated function in this implementation [INFO] [stderr] 1222 | pub async fn write() -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:1229:18 [INFO] [stderr] | [INFO] [stderr] 1228 | impl ChoRtx { [INFO] [stderr] | ----------- associated items in this implementation [INFO] [stderr] 1229 | pub async fn new(msg: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1236 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `write` is never used [INFO] [stderr] --> src/constants/packets.rs:1242:18 [INFO] [stderr] | [INFO] [stderr] 1241 | impl ChoMatchAbort { [INFO] [stderr] | ------------------ associated function in this implementation [INFO] [stderr] 1242 | pub async fn write() -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `write` are never used [INFO] [stderr] --> src/constants/packets.rs:1249:18 [INFO] [stderr] | [INFO] [stderr] 1248 | impl ChoSwitchTournamentServer { [INFO] [stderr] | ------------------------------ associated items in this implementation [INFO] [stderr] 1249 | pub async fn new(ip: T) -> Self [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 1256 | pub async fn write(&self) -> Result, Box> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Achievement` is never constructed [INFO] [stderr] --> src/structs/achievement.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Achievement { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/structs/achievement.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Achievement { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 10 | pub fn new(id: i32, file: String, name: String, desc: String, cond: fn(i32) -> bool) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BEATMAPS_PATH` is never used [INFO] [stderr] --> src/structs/beatmap.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | pub const BEATMAPS_PATH: &str = "./data/osu"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEFAULT_LAST_UPDATE` is never used [INFO] [stderr] --> src/structs/beatmap.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const DEFAULT_LAST_UPDATE: &str = "1970-01-01"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `IGNORED_BEATMAP_CHARS` is never used [INFO] [stderr] --> src/structs/beatmap.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub const IGNORED_BEATMAP_CHARS: [&str; 8] = ["\"", "/", "*", "<", ">", "?", "\"", "|"]; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `osu_api`, `from_osuapi`, `from_osudirect`, and `from_str` are never used [INFO] [stderr] --> src/structs/beatmap.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 46 | impl RankedStatus { [INFO] [stderr] | ----------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 61 | pub fn osu_api(&self) -> i32 { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 86 | pub fn from_osuapi(osuapi_status: i32) -> RankedStatus { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 115 | pub fn from_osudirect(osudirect_status: i32) -> RankedStatus { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 142 | async fn from_str(status_str: &str) -> RankedStatus { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `BeatmapSet` is never constructed [INFO] [stderr] --> src/structs/beatmap.rs:161:12 [INFO] [stderr] | [INFO] [stderr] 161 | pub struct BeatmapSet { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Beatmap` is never constructed [INFO] [stderr] --> src/structs/beatmap.rs:193:12 [INFO] [stderr] | [INFO] [stderr] 193 | pub struct Beatmap { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/structs/beatmap.rs:256:12 [INFO] [stderr] | [INFO] [stderr] 255 | impl Beatmap { [INFO] [stderr] | ------------ associated items in this implementation [INFO] [stderr] 256 | pub fn new( [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 315 | pub fn full_name(&self) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 326 | pub fn url(&self) -> String { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 339 | pub fn embed(&self) -> String { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 350 | pub fn has_leaderboard(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 363 | pub fn awards_ranked_pp(&self) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 401 | pub fn to_map(&self) -> HashMap<&str, String> { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Menu` is never constructed [INFO] [stderr] --> src/structs/menu.rs:14:8 [INFO] [stderr] | [INFO] [stderr] 14 | struct Menu { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MenuFunction` is never constructed [INFO] [stderr] --> src/structs/menu.rs:19:8 [INFO] [stderr] | [INFO] [stderr] 19 | struct MenuFunction { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `menu_keygen` is never used [INFO] [stderr] --> src/structs/menu.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | fn menu_keygen() -> u32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OsuBeatmapRequestForm` is never constructed [INFO] [stderr] --> src/structs/models.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct OsuBeatmapRequestForm { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ModeData` is never constructed [INFO] [stderr] --> src/structs/player.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | pub struct ModeData { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Status` is never constructed [INFO] [stderr] --> src/structs/player.rs:128:12 [INFO] [stderr] | [INFO] [stderr] 128 | pub struct Status { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/structs/player.rs:138:12 [INFO] [stderr] | [INFO] [stderr] 137 | impl Status { [INFO] [stderr] | ----------- associated function in this implementation [INFO] [stderr] 138 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `LastNp` is never constructed [INFO] [stderr] --> src/structs/player.rs:150:12 [INFO] [stderr] | [INFO] [stderr] 150 | pub struct LastNp { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `OsuVersion` is never constructed [INFO] [stderr] --> src/structs/player.rs:156:12 [INFO] [stderr] | [INFO] [stderr] 156 | pub struct OsuVersion { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ClientDetails` is never constructed [INFO] [stderr] --> src/structs/player.rs:162:12 [INFO] [stderr] | [INFO] [stderr] 162 | pub struct ClientDetails { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `client_hash` is never used [INFO] [stderr] --> src/structs/player.rs:173:12 [INFO] [stderr] | [INFO] [stderr] 172 | impl ClientDetails { [INFO] [stderr] | ------------------ method in this implementation [INFO] [stderr] 173 | pub fn client_hash(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PlayerClan` is never constructed [INFO] [stderr] --> src/structs/player.rs:364:12 [INFO] [stderr] | [INFO] [stderr] 364 | pub struct PlayerClan { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BEATMAPS_PATH` is never used [INFO] [stderr] --> src/structs/score.rs:13:7 [INFO] [stderr] | [INFO] [stderr] 13 | const BEATMAPS_PATH: &str = ".data/osu"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `from_str` is never used [INFO] [stderr] --> src/structs/score.rs:31:12 [INFO] [stderr] | [INFO] [stderr] 30 | impl Grade { [INFO] [stderr] | ---------- associated function in this implementation [INFO] [stderr] 31 | pub fn from_str(s: &str) -> Grade { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Score` is never constructed [INFO] [stderr] --> src/structs/score.rs:175:12 [INFO] [stderr] | [INFO] [stderr] 175 | pub struct Score { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated constant `mouse` should have an upper case name [INFO] [stderr] --> src/structs/player.rs:377:15 [INFO] [stderr] | [INFO] [stderr] 377 | const mouse = 1; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `MOUSE` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated constant `tablet` should have an upper case name [INFO] [stderr] --> src/structs/player.rs:378:15 [INFO] [stderr] | [INFO] [stderr] 378 | const tablet = 2; [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `TABLET` [INFO] [stderr] [INFO] [stderr] warning: associated constant `keyboard` should have an upper case name [INFO] [stderr] --> src/structs/player.rs:379:15 [INFO] [stderr] | [INFO] [stderr] 379 | const keyboard = 2; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `KEYBOARD` [INFO] [stderr] [INFO] [stderr] warning: associated constant `touch` should have an upper case name [INFO] [stderr] --> src/structs/player.rs:380:15 [INFO] [stderr] | [INFO] [stderr] 380 | const touch = 4; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `TOUCH` [INFO] [stderr] [INFO] [stderr] warning: associated constant `touch_touch` should have an upper case name [INFO] [stderr] --> src/structs/player.rs:381:15 [INFO] [stderr] | [INFO] [stderr] 381 | const touch_touch = 8; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `TOUCH_TOUCH` [INFO] [stderr] [INFO] [stderr] warning: `banchoxide` (bin "banchoxide" test) generated 151 warnings (run `cargo fix --bin "banchoxide" -p banchoxide --tests` to apply 39 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/banchoxide-4b409e9789c05e57) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test constants::clientflags::add_all_flags ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- constants::clientflags::add_all_flags stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'constants::clientflags::add_all_flags' (10219) panicked at src/constants/clientflags.rs:57:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: 8388606 [INFO] [stdout] right: 2147483647 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5a8000623368 - std[10d71ac2c42b111e]::backtrace_rs::backtrace::libunwind::trace [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5a8000623368 - std[10d71ac2c42b111e]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5a8000623368 - std[10d71ac2c42b111e]::sys::backtrace::_print_fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:74:9 [INFO] [stdout] 3: 0x5a8000623368 - <::print::DisplayBacktrace as core[8fb95b77d25ab6c8]::fmt::Display>::fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:44:26 [INFO] [stdout] 4: 0x5a800063712a - ::fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/fmt/rt.rs:152:76 [INFO] [stdout] 5: 0x5a800063712a - core[8fb95b77d25ab6c8]::fmt::write [INFO] [stdout] 6: 0x5a8000627b82 - std[10d71ac2c42b111e]::io::default_write_fmt::> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/io/mod.rs:622:11 [INFO] [stdout] 7: 0x5a8000627b82 - as std[10d71ac2c42b111e]::io::Write>::write_fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/io/mod.rs:1977:13 [INFO] [stdout] 8: 0x5a8000602526 - ::print [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:47:9 [INFO] [stdout] 9: 0x5a8000602526 - std[10d71ac2c42b111e]::panicking::default_hook::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:292:27 [INFO] [stdout] 10: 0x5a800061b8b9 - std[10d71ac2c42b111e]::panicking::default_hook [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:316:9 [INFO] [stdout] 11: 0x5a80005b711c - core[8fb95b77d25ab6c8]::ops::function::Fn<(&'a std[10d71ac2c42b111e]::panic::PanicHookInfo<'b>,), Output = ()> + core[8fb95b77d25ab6c8]::marker::Sync + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::Fn<(&std[10d71ac2c42b111e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2289:9 [INFO] [stdout] 12: 0x5a80005b711c - test[213991da798b1c03]::test_main_inner::::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:155:21 [INFO] [stdout] 13: 0x5a800061ba72 - core[8fb95b77d25ab6c8]::ops::function::Fn<(&'a std[10d71ac2c42b111e]::panic::PanicHookInfo<'b>,), Output = ()> + core[8fb95b77d25ab6c8]::marker::Sync + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::Fn<(&std[10d71ac2c42b111e]::panic::PanicHookInfo,)>>::call [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2289:9 [INFO] [stdout] 14: 0x5a800061ba72 - std[10d71ac2c42b111e]::panicking::panic_with_hook [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:833:13 [INFO] [stdout] 15: 0x5a80006025e2 - std[10d71ac2c42b111e]::panicking::panic_handler::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:698:13 [INFO] [stdout] 16: 0x5a80005f77e9 - std[10d71ac2c42b111e]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:182:18 [INFO] [stdout] 17: 0x5a80006032fd - __rustc[3be9ba60078d4c86]::rust_begin_unwind [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:689:5 [INFO] [stdout] 18: 0x5a800063781c - core[8fb95b77d25ab6c8]::panicking::panic_fmt [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x5a8000637733 - core[8fb95b77d25ab6c8]::panicking::assert_failed_inner [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:439:17 [INFO] [stdout] 20: 0x5a80005f6dea - core[8fb95b77d25ab6c8]::panicking::assert_failed:: [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panicking.rs:394:5 [INFO] [stdout] 21: 0x5a80005a9e17 - banchoxide[36aaab0f398cf7c6]::constants::clientflags::add_all_flags [INFO] [stdout] at /opt/rustwide/workdir/src/constants/clientflags.rs:57:5 [INFO] [stdout] 22: 0x5a80005a9c17 - banchoxide[36aaab0f398cf7c6]::constants::clientflags::add_all_flags::{closure#0} [INFO] [stdout] at /opt/rustwide/workdir/src/constants/clientflags.rs:32:19 [INFO] [stdout] 23: 0x5a80005a9bd6 - >::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5a80005aa1fb - core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x5a80005aa1fb - test[213991da798b1c03]::__rust_begin_short_backtrace::, fn() -> core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:724:18 [INFO] [stdout] 26: 0x5a80005b7a75 - test[213991da798b1c03]::run_test_in_process::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:747:74 [INFO] [stdout] 27: 0x5a80005b7a75 - as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 28: 0x5a80005b7a75 - std[10d71ac2c42b111e]::panicking::catch_unwind::do_call::, core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:581:40 [INFO] [stdout] 29: 0x5a80005b7a75 - std[10d71ac2c42b111e]::panicking::catch_unwind::, core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:544:19 [INFO] [stdout] 30: 0x5a80005b7a75 - std[10d71ac2c42b111e]::panic::catch_unwind::, core[8fb95b77d25ab6c8]::result::Result<(), alloc[a7ee25936407c584]::string::String>> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5a80005b7a75 - test[213991da798b1c03]::run_test_in_process [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:747:27 [INFO] [stdout] 32: 0x5a80005b7a75 - test[213991da798b1c03]::run_test::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:668:43 [INFO] [stdout] 33: 0x5a80005b1384 - test[213991da798b1c03]::run_test::{closure#1} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/test/src/lib.rs:698:41 [INFO] [stdout] 34: 0x5a80005b1384 - std[10d71ac2c42b111e]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/backtrace.rs:166:18 [INFO] [stdout] 35: 0x5a80005baaf2 - std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/lifecycle.rs:70:13 [INFO] [stdout] 36: 0x5a80005baaf2 - ::{closure#1}::{closure#0}> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stdout] 37: 0x5a80005baaf2 - std[10d71ac2c42b111e]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:581:40 [INFO] [stdout] 38: 0x5a80005baaf2 - std[10d71ac2c42b111e]::panicking::catch_unwind::<(), core[8fb95b77d25ab6c8]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panicking.rs:544:19 [INFO] [stdout] 39: 0x5a80005baaf2 - std[10d71ac2c42b111e]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x5a80005baaf2 - std[10d71ac2c42b111e]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/thread/lifecycle.rs:68:26 [INFO] [stdout] 41: 0x5a80005baaf2 - ::{closure#1} as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x5a8000622ccf - + core[8fb95b77d25ab6c8]::marker::Send> as core[8fb95b77d25ab6c8]::ops::function::FnOnce<()>>::call_once [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/alloc/src/boxed.rs:2275:9 [INFO] [stdout] 43: 0x5a8000622ccf - ::new::thread_start [INFO] [stdout] at /rustc/b2282dd5646a57d570fc86fbe8df0e8826665ef6/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stdout] 44: 0x7295777cbaa4 - [INFO] [stdout] 45: 0x729577858a64 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] constants::clientflags::add_all_flags [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.33s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--bin banchoxide` [INFO] running `Command { std: "docker" "inspect" "0db42ef080d0bc14356226f434392cc7b6b76a760adf2ff2f5177c1da9d38c2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0db42ef080d0bc14356226f434392cc7b6b76a760adf2ff2f5177c1da9d38c2a", kill_on_drop: false }` [INFO] [stdout] 0db42ef080d0bc14356226f434392cc7b6b76a760adf2ff2f5177c1da9d38c2a