[INFO] cloning repository https://github.com/Ohdmire/osu-ircbot-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ohdmire/osu-ircbot-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOhdmire%2Fosu-ircbot-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOhdmire%2Fosu-ircbot-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0aab49394407fbf591b95cf5d14d36ab8fa9c9ed [INFO] checking Ohdmire/osu-ircbot-rust against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOhdmire%2Fosu-ircbot-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ohdmire/osu-ircbot-rust [INFO] finished tweaking git repo https://github.com/Ohdmire/osu-ircbot-rust [INFO] tweaked toml for git repo https://github.com/Ohdmire/osu-ircbot-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ohdmire/osu-ircbot-rust on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ohdmire/osu-ircbot-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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Downloaded encoding_index_tests v0.1.4 [INFO] [stderr] Downloaded encoding v0.2.33 [INFO] [stderr] Downloaded irc-proto v1.1.0 [INFO] [stderr] Downloaded irc v1.1.0 [INFO] [stderr] Downloaded rosu-mods v0.2.1 [INFO] [stderr] Downloaded encoding-index-japanese v1.20141219.5 [INFO] [stderr] Downloaded encoding-index-korean v1.20141219.5 [INFO] [stderr] Downloaded h2 v0.4.11 [INFO] [stderr] Downloaded encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Downloaded rosu-map v0.2.1 [INFO] [stderr] Downloaded rosu-pp v2.0.0 [INFO] [stderr] Downloaded encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Downloaded hyper-util v0.1.15 [INFO] [stderr] Downloaded rustls v0.23.29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef91c885b9f21829eeb4b94dcb834607209435473466a199dbb9768f9933a615 [INFO] running `Command { std: "docker" "start" "-a" "ef91c885b9f21829eeb4b94dcb834607209435473466a199dbb9768f9933a615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef91c885b9f21829eeb4b94dcb834607209435473466a199dbb9768f9933a615", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef91c885b9f21829eeb4b94dcb834607209435473466a199dbb9768f9933a615", kill_on_drop: false }` [INFO] [stdout] ef91c885b9f21829eeb4b94dcb834607209435473466a199dbb9768f9933a615 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83ef9743254f96893436371ba90b46dd2f32165aa4bd0ab4a4b3ee59e3dd9e88 [INFO] running `Command { std: "docker" "start" "-a" "83ef9743254f96893436371ba90b46dd2f32165aa4bd0ab4a4b3ee59e3dd9e88", kill_on_drop: false }` [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking winnow v0.5.40 [INFO] [stderr] Checking unicode-bidi v0.3.17 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking rosu-map v0.2.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking hashlink v0.10.0 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking rosu-mods v0.2.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling libsqlite3-sys v0.35.0 [INFO] [stderr] Checking rosu-pp v2.0.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling pin-project-internal v1.1.6 [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking pin-project v1.1.6 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking tower-http v0.6.6 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking irc-proto v1.1.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.19.15 [INFO] [stderr] Checking toml v0.7.8 [INFO] [stderr] Checking irc v1.1.0 [INFO] [stderr] Checking rusqlite v0.37.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.15 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.22 [INFO] [stderr] Checking irc_bot v1.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::charts` [INFO] [stdout] --> src/bot.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::charts; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bot.rs:278:61 [INFO] [stdout] | [INFO] [stdout] 278 | pub async fn calculate_total_time_left(&self) -> Result<(String), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 278 - pub async fn calculate_total_time_left(&self) -> Result<(String), Box> { [INFO] [stdout] 278 + pub async fn calculate_total_time_left(&self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::charts::ChartDatabase` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::charts::ChartDatabase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::charts` [INFO] [stdout] --> src/bot.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::charts; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/bot.rs:278:61 [INFO] [stdout] | [INFO] [stdout] 278 | pub async fn calculate_total_time_left(&self) -> Result<(String), Box> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 278 - pub async fn calculate_total_time_left(&self) -> Result<(String), Box> { [INFO] [stdout] 278 + pub async fn calculate_total_time_left(&self) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::charts::ChartDatabase` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::charts::ChartDatabase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bot.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | !panic!("End.") [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/bot.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | !panic!("End.") [INFO] [stdout] | ^-------------- [INFO] [stdout] | || [INFO] [stdout] | |any code following this expression is unreachable [INFO] [stdout] | unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/commands.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bot.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | let mut file = File::create("bot_state.json")?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beatmap_id` [INFO] [stdout] --> src/pp_calculator.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn calculate_pp(&self, beatmap_id: u32, mods: u32, combo: u32, accuracy: f64, misses: u32) -> Result<(f64, f64, f64), Box src/commands.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bot.rs:478:13 [INFO] [stdout] | [INFO] [stdout] 478 | let mut file = File::create("bot_state.json")?; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `calculate_pp` and `get_mp_settings` are never used [INFO] [stdout] --> src/bot.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl MyBot { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn calculate_pp(&self, beatmap_id: u32, mods: u32, combo: u32, accuracy: f64) -> Result<(f64, f64, f64), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub async fn get_mp_settings(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_pp` is never used [INFO] [stdout] --> src/pp_calculator.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PPCalculator { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn calculate_pp(&self, beatmap_id: u32, mods: u32, combo: u32, accuracy: f64, misses: u32) -> Result<(f64, f64, f64), Box src/osu_api.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Beatmap { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 38 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub mode_int: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | pub max_combo: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Beatmap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/osu_api.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct BeatmapForRecentScore { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 57 | pub id: u32, [INFO] [stdout] 58 | pub beatmapset_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | pub total_length: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 61 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | pub difficulty_rating: f32, [INFO] [stdout] 63 | pub accuracy: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | pub ar: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 65 | pub bpm: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | pub cs: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 67 | pub drain: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | pub mode_int: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 69 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BeatmapForRecentScore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `artist` and `title` are never read [INFO] [stdout] --> src/osu_api.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Beatmapset { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 74 | pub artist: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Beatmapset` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `artist` and `title` are never read [INFO] [stdout] --> src/osu_api.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct BeatmapsetForRecentScore { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 84 | pub artist: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BeatmapsetForRecentScore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/osu_api.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Score { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 97 | pub accuracy: f64, [INFO] [stdout] 98 | pub best_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 99 | pub created_at: String, [INFO] [stdout] 100 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 101 | pub max_combo: u32, [INFO] [stdout] 102 | pub mode: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | pub mode_int: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 104 | pub mods: Vec, [INFO] [stdout] 105 | pub passed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 106 | pub perfect: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub replay: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 110 | pub score: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Score` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count_geki` and `count_katu` are never read [INFO] [stdout] --> src/osu_api.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct ScoreStatistics { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub count_geki: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 120 | pub count_katu: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScoreStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/osu_api.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct RecentScoreResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 126 | pub accuracy: f64, [INFO] [stdout] 127 | pub best_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 128 | pub created_at: String, [INFO] [stdout] 129 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 130 | pub max_combo: u32, [INFO] [stdout] 131 | pub mode: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 132 | pub mode_int: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 133 | pub mods: Vec, [INFO] [stdout] 134 | pub passed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 135 | pub perfect: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub replay: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 139 | pub score: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecentScoreResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `beatmap_id` [INFO] [stdout] --> src/pp_calculator.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn calculate_pp(&self, beatmap_id: u32, mods: u32, combo: u32, accuracy: f64, misses: u32) -> Result<(f64, f64, f64), Box src/bot.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl MyBot { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn calculate_pp(&self, beatmap_id: u32, mods: u32, combo: u32, accuracy: f64) -> Result<(f64, f64, f64), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | pub async fn get_mp_settings(&mut self) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_pp` is never used [INFO] [stdout] --> src/pp_calculator.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl PPCalculator { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn calculate_pp(&self, beatmap_id: u32, mods: u32, combo: u32, accuracy: f64, misses: u32) -> Result<(f64, f64, f64), Box src/osu_api.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Beatmap { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 38 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub mode_int: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 50 | pub max_combo: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Beatmap` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/osu_api.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct BeatmapForRecentScore { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 57 | pub id: u32, [INFO] [stdout] 58 | pub beatmapset_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 59 | pub status: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 60 | pub total_length: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 61 | pub version: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 62 | pub difficulty_rating: f32, [INFO] [stdout] 63 | pub accuracy: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 64 | pub ar: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 65 | pub bpm: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | pub cs: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 67 | pub drain: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 68 | pub mode_int: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 69 | pub url: String, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BeatmapForRecentScore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `artist` and `title` are never read [INFO] [stdout] --> src/osu_api.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub struct Beatmapset { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 74 | pub artist: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 75 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Beatmapset` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `artist` and `title` are never read [INFO] [stdout] --> src/osu_api.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | pub struct BeatmapsetForRecentScore { [INFO] [stdout] | ------------------------ fields in this struct [INFO] [stdout] 84 | pub artist: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 85 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BeatmapsetForRecentScore` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/osu_api.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 96 | pub struct Score { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 97 | pub accuracy: f64, [INFO] [stdout] 98 | pub best_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 99 | pub created_at: String, [INFO] [stdout] 100 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 101 | pub max_combo: u32, [INFO] [stdout] 102 | pub mode: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 103 | pub mode_int: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 104 | pub mods: Vec, [INFO] [stdout] 105 | pub passed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 106 | pub perfect: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub replay: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 110 | pub score: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Score` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `count_geki` and `count_katu` are never read [INFO] [stdout] --> src/osu_api.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 115 | pub struct ScoreStatistics { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub count_geki: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 120 | pub count_katu: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScoreStatistics` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/osu_api.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct RecentScoreResponse { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 126 | pub accuracy: f64, [INFO] [stdout] 127 | pub best_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 128 | pub created_at: String, [INFO] [stdout] 129 | pub id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 130 | pub max_combo: u32, [INFO] [stdout] 131 | pub mode: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 132 | pub mode_int: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 133 | pub mods: Vec, [INFO] [stdout] 134 | pub passed: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 135 | pub perfect: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub replay: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 139 | pub score: u64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RecentScoreResponse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.29s [INFO] running `Command { std: "docker" "inspect" "83ef9743254f96893436371ba90b46dd2f32165aa4bd0ab4a4b3ee59e3dd9e88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83ef9743254f96893436371ba90b46dd2f32165aa4bd0ab4a4b3ee59e3dd9e88", kill_on_drop: false }` [INFO] [stdout] 83ef9743254f96893436371ba90b46dd2f32165aa4bd0ab4a4b3ee59e3dd9e88