[INFO] cloning repository https://github.com/yorunoken/hanami-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yorunoken/hanami-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyorunoken%2Fhanami-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyorunoken%2Fhanami-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1fb276c9e9fe9bd021255b218f3fd9f4eaca58b [INFO] checking yorunoken/hanami-rust against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyorunoken%2Fhanami-rust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/yorunoken/hanami-rust [INFO] finished tweaking git repo https://github.com/yorunoken/hanami-rust [INFO] tweaked toml for git repo https://github.com/yorunoken/hanami-rust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/yorunoken/hanami-rust on toolchain 9c3064e131f4939cc95a29bb11413c49bbda1491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/yorunoken/hanami-rust 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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e9dda528b9afea48063407b3305bb4668ad78d009352e2d266bf1cdf8d9fdc4a [INFO] running `Command { std: "docker" "start" "-a" "e9dda528b9afea48063407b3305bb4668ad78d009352e2d266bf1cdf8d9fdc4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e9dda528b9afea48063407b3305bb4668ad78d009352e2d266bf1cdf8d9fdc4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9dda528b9afea48063407b3305bb4668ad78d009352e2d266bf1cdf8d9fdc4a", kill_on_drop: false }` [INFO] [stdout] e9dda528b9afea48063407b3305bb4668ad78d009352e2d266bf1cdf8d9fdc4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9507394c352e41b09e7ddd5531d027f8445103ab98e168f99b2025099fbad657 [INFO] running `Command { std: "docker" "start" "-a" "9507394c352e41b09e7ddd5531d027f8445103ab98e168f99b2025099fbad657", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling cc v1.1.15 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tokio v1.39.3 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Checking rustls-native-certs v0.6.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling sqlformat v0.2.4 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Compiling serenity v0.12.2 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking dashmap v6.0.1 [INFO] [stderr] Checking sync_wrapper v1.0.1 [INFO] [stderr] Checking rosu-map v0.1.1 [INFO] [stderr] Checking uwl v0.6.0 [INFO] [stderr] Checking levenshtein v1.0.5 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rustls-webpki v0.102.5 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling tokio-stream v0.1.15 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling command_attr v0.5.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking leaky-bucket-lite v0.5.2 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking h2 v0.4.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking rosu-mods v0.1.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking smallstr v0.3.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking serde_cow v0.1.0 [INFO] [stderr] Checking num-format v0.4.4 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking sqlx-core v0.8.1 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking rosu-pp v1.1.0 [INFO] [stderr] Checking sqlx-sqlite v0.8.1 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-util v0.1.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.12.7 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking rosu-v2 v0.9.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.1 [INFO] [stderr] Compiling sqlx-macros v0.8.1 [INFO] [stderr] Checking sqlx v0.8.1 [INFO] [stderr] Checking hanami-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/osu/profile.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/commands/osu/profile.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/commands/osu/profile.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/commands/osu/profile.rs:63:18 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/commands/osu/profile.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> src/commands/osu/profile.rs:63:48 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/commands/osu/profile.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let option = ProfileT::args(mode, args); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/commands/osu/profile.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let option = ProfileT::args(mode, args); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `profile` is never used [INFO] [stdout] --> src/commands/osu/profile.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `mode` are never read [INFO] [stdout] --> src/commands/osu/profile.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ProfileT { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 66 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | mode: GameMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/services/database.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Database(pub SqlitePool); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/services/osu.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OsuClient(pub Osu); [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grades` is never constructed [INFO] [stdout] --> src/utils/emojis.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Grades; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/utils/emojis.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 3 | impl Grades { [INFO] [stdout] | ----------- associated constants in this implementation [INFO] [stdout] 4 | pub const XH: &'static str = "<:XH_:1057763296717045891>"; [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub const X: &'static str = "<:X_:1057763294707974215>"; [INFO] [stdout] | ^ [INFO] [stdout] 6 | pub const SH: &'static str = "<:SH_:1057763293491642568>"; [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub const S: &'static str = "<:S_:1057763291998474283>"; [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub const A: &'static str = "<:A_:1057763284327080036>"; [INFO] [stdout] | ^ [INFO] [stdout] 9 | pub const B: &'static str = "<:B_:1057763286097076405>"; [INFO] [stdout] | ^ [INFO] [stdout] 10 | pub const C: &'static str = "<:C_:1057763287565086790>"; [INFO] [stdout] | ^ [INFO] [stdout] 11 | pub const D: &'static str = "<:D_:1057763289121173554>"; [INFO] [stdout] | ^ [INFO] [stdout] 12 | pub const F: &'static str = "<:F_:1057763290484318360>"; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_flags` is never used [INFO] [stdout] --> src/utils/helper.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_flags(args: Vec<&str>) -> (HashMap<&str, &str>, Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mods` is never used [INFO] [stdout] --> src/utils/helper.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_mods(args: Vec<&str>) -> (Vec<&str>, Vec<&str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BeatmapURL` is never constructed [INFO] [stdout] --> src/utils/helper.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct BeatmapURL { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_url` is never used [INFO] [stdout] --> src/utils/helper.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse_url(url: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_beatmap_link` is never used [INFO] [stdout] --> src/utils/helper.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_beatmap_link(args: Vec<&str>) -> (Option, Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_username` is never used [INFO] [stdout] --> src/utils/helper.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_username(args: Vec<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `profile` is never used [INFO] [stdout] --> src/commands/osu/profile.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn profile(ctx: &Context, msg: &Message, mode: GameMode) {} [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `mode` are never read [INFO] [stdout] --> src/commands/osu/profile.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct ProfileT { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 66 | name: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 67 | mode: GameMode, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/services/database.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Database(pub SqlitePool); [INFO] [stdout] | -------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/services/osu.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct OsuClient(pub Osu); [INFO] [stdout] | --------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Grades` is never constructed [INFO] [stdout] --> src/utils/emojis.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Grades; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/utils/emojis.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 3 | impl Grades { [INFO] [stdout] | ----------- associated constants in this implementation [INFO] [stdout] 4 | pub const XH: &'static str = "<:XH_:1057763296717045891>"; [INFO] [stdout] | ^^ [INFO] [stdout] 5 | pub const X: &'static str = "<:X_:1057763294707974215>"; [INFO] [stdout] | ^ [INFO] [stdout] 6 | pub const SH: &'static str = "<:SH_:1057763293491642568>"; [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub const S: &'static str = "<:S_:1057763291998474283>"; [INFO] [stdout] | ^ [INFO] [stdout] 8 | pub const A: &'static str = "<:A_:1057763284327080036>"; [INFO] [stdout] | ^ [INFO] [stdout] 9 | pub const B: &'static str = "<:B_:1057763286097076405>"; [INFO] [stdout] | ^ [INFO] [stdout] 10 | pub const C: &'static str = "<:C_:1057763287565086790>"; [INFO] [stdout] | ^ [INFO] [stdout] 11 | pub const D: &'static str = "<:D_:1057763289121173554>"; [INFO] [stdout] | ^ [INFO] [stdout] 12 | pub const F: &'static str = "<:F_:1057763290484318360>"; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_flags` is never used [INFO] [stdout] --> src/utils/helper.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_flags(args: Vec<&str>) -> (HashMap<&str, &str>, Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_mods` is never used [INFO] [stdout] --> src/utils/helper.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn get_mods(args: Vec<&str>) -> (Vec<&str>, Vec<&str>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BeatmapURL` is never constructed [INFO] [stdout] --> src/utils/helper.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct BeatmapURL { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_url` is never used [INFO] [stdout] --> src/utils/helper.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn parse_url(url: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_beatmap_link` is never used [INFO] [stdout] --> src/utils/helper.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn get_beatmap_link(args: Vec<&str>) -> (Option, Vec<&str>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_username` is never used [INFO] [stdout] --> src/utils/helper.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn get_username(args: Vec<&str>) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "9507394c352e41b09e7ddd5531d027f8445103ab98e168f99b2025099fbad657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9507394c352e41b09e7ddd5531d027f8445103ab98e168f99b2025099fbad657", kill_on_drop: false }` [INFO] [stdout] 9507394c352e41b09e7ddd5531d027f8445103ab98e168f99b2025099fbad657