[INFO] cloning repository https://github.com/perpetualcacophony/slimebot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/perpetualcacophony/slimebot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperpetualcacophony%2Fslimebot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperpetualcacophony%2Fslimebot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b80fa0a28a63cf0117814f1e13b614e372abdbf5 [INFO] checking perpetualcacophony/slimebot against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperpetualcacophony%2Fslimebot" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/perpetualcacophony/slimebot on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/perpetualcacophony/slimebot [INFO] finished tweaking git repo https://github.com/perpetualcacophony/slimebot [INFO] tweaked toml for git repo https://github.com/perpetualcacophony/slimebot written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/perpetualcacophony/slimebot 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mini-moka v0.10.3 [INFO] [stderr] Downloaded tracing-unwrap v0.10.0 [INFO] [stderr] Downloaded rustc_version_runtime v0.2.1 [INFO] [stderr] Downloaded poise_macros v0.6.1 [INFO] [stderr] Downloaded typesize v0.1.5 [INFO] [stderr] Downloaded built v0.7.1 [INFO] [stderr] Downloaded typed-builder v0.10.0 [INFO] [stderr] Downloaded bson v2.8.1 [INFO] [stderr] Downloaded poise v0.6.1 [INFO] [stderr] Downloaded mongodb v2.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e06d1fc7ad49dcb6a55eb851f9c8aec157640a0b2fa0001f73b338e04b1555c9 [INFO] running `Command { std: "docker" "start" "-a" "e06d1fc7ad49dcb6a55eb851f9c8aec157640a0b2fa0001f73b338e04b1555c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e06d1fc7ad49dcb6a55eb851f9c8aec157640a0b2fa0001f73b338e04b1555c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e06d1fc7ad49dcb6a55eb851f9c8aec157640a0b2fa0001f73b338e04b1555c9", kill_on_drop: false }` [INFO] [stdout] e06d1fc7ad49dcb6a55eb851f9c8aec157640a0b2fa0001f73b338e04b1555c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee94ab74762193bd013d7f1950a649d06bd2f207b64b626163e42f967f93097b [INFO] running `Command { std: "docker" "start" "-a" "ee94ab74762193bd013d7f1950a649d06bd2f207b64b626163e42f967f93097b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking smallvec v1.12.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling openssl-src v300.2.1+3.2.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking regex-automata v0.4.4 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling libz-sys v1.1.14 [INFO] [stderr] Compiling libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling darling_core v0.20.5 [INFO] [stderr] Compiling serenity v0.12.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.195 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Checking thiserror v1.0.57 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling darling_macro v0.20.5 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling darling v0.20.5 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling poise_macros v0.6.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling tracing-test-macro v0.2.4 [INFO] [stderr] Checking h2 v0.3.23 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking tracing-test v0.2.4 [INFO] [stderr] Checking tracing-unwrap v0.10.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking scraper v0.17.1 [INFO] [stderr] Checking bson v2.8.1 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking mongodb v2.8.1 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling git2 v0.18.1 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling slimebot v1.6.9 (/opt/rustwide/workdir) [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking poise v0.6.1 [INFO] [stdout] warning: unused import: `poise::CreateReplyExt` [INFO] [stdout] --> src/discord/utils/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use poise::CreateReplyExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/games/wordle/words_list.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashSet, fs, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Not` [INFO] [stdout] --> src/games/wordle/game.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Not}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActionRow`, `ChannelId`, `User` [INFO] [stdout] --> src/games/wordle/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | ActionRow, CacheHttp, ChannelId, ComponentInteraction, CreateActionRow, CreateButton, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 7 | CreateInteractionResponseMessage, EditMessage, Http, Message, ReactionType, ShardMessenger, [INFO] [stdout] 8 | User, UserId, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handle_interaction`, `handle_message` [INFO] [stdout] --> src/games/wordle/game.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | core::AsEmoji, handle_interaction, handle_message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsLetters`, `DailyPuzzle`, `Word` [INFO] [stdout] --> src/games/wordle/game.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | core::{AsLetters, Guess, PartialGuess, PartialGuessError, ToPartialGuess, Word}, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] 21 | puzzle::{DailyPuzzle, Puzzle}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextExt` [INFO] [stdout] --> src/games/wordle/mod.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | utils::{ComponentInteractionExt, ContextExt, OptionComponentInteractionExt}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/main.rs:26:90 [INFO] [stdout] | [INFO] [stdout] 26 | self as serenity, collect, futures::StreamExt, ChannelId, Event, GatewayIntents, Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/main.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | use tokio::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `poise::CreateReplyExt` [INFO] [stdout] --> src/discord/utils/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub use poise::CreateReplyExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hash` [INFO] [stdout] --> src/games/wordle/words_list.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashSet, fs, hash::Hash}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Not` [INFO] [stdout] --> src/games/wordle/game.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Add, Not}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ActionRow`, `ChannelId`, `User` [INFO] [stdout] --> src/games/wordle/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | ActionRow, CacheHttp, ChannelId, ComponentInteraction, CreateActionRow, CreateButton, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 7 | CreateInteractionResponseMessage, EditMessage, Http, Message, ReactionType, ShardMessenger, [INFO] [stdout] 8 | User, UserId, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handle_interaction`, `handle_message` [INFO] [stdout] --> src/games/wordle/game.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | core::AsEmoji, handle_interaction, handle_message, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsLetters`, `DailyPuzzle`, `Word` [INFO] [stdout] --> src/games/wordle/game.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | core::{AsLetters, Guess, PartialGuess, PartialGuessError, ToPartialGuess, Word}, [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] 21 | puzzle::{DailyPuzzle, Puzzle}, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ContextExt` [INFO] [stdout] --> src/games/wordle/mod.rs:109:38 [INFO] [stdout] | [INFO] [stdout] 109 | utils::{ComponentInteractionExt, ContextExt, OptionComponentInteractionExt}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/main.rs:26:90 [INFO] [stdout] | [INFO] [stdout] 26 | self as serenity, collect, futures::StreamExt, ChannelId, Event, GatewayIntents, Message, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/main.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | use tokio::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::SliceRandom` [INFO] [stdout] --> src/games/wordle/words_list.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{prelude::SliceRandom, seq::IteratorRandom}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `work_id` [INFO] [stdout] --> src/discord/commands/watch_fic.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | fn store_chapter_count(work_id: usize, chapter_count: usize) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_work_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chapter_count` [INFO] [stdout] --> src/discord/commands/watch_fic.rs:138:40 [INFO] [stdout] | [INFO] [stdout] 138 | fn store_chapter_count(work_id: usize, chapter_count: usize) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chapter_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `work_id` [INFO] [stdout] --> src/discord/commands/watch_fic.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | fn read_chapter_count(work_id: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_work_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::SliceRandom` [INFO] [stdout] --> src/games/wordle/words_list.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{prelude::SliceRandom, seq::IteratorRandom}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `work_id` [INFO] [stdout] --> src/discord/commands/watch_fic.rs:138:24 [INFO] [stdout] | [INFO] [stdout] 138 | fn store_chapter_count(work_id: usize, chapter_count: usize) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_work_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `chapter_count` [INFO] [stdout] --> src/discord/commands/watch_fic.rs:138:40 [INFO] [stdout] | [INFO] [stdout] 138 | fn store_chapter_count(work_id: usize, chapter_count: usize) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chapter_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `work_id` [INFO] [stdout] --> src/discord/commands/watch_fic.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | fn read_chapter_count(work_id: usize) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_work_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/games/wordle/game.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | let mut cloned = self.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/games/wordle/game.rs:379:19 [INFO] [stdout] | [INFO] [stdout] 379 | fn add_button(mut self, button: CreateButton) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `db` is never used [INFO] [stdout] --> src/main.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 49 | impl Data { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | const fn db(&self) -> &Database { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/discord/commands/mod.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 525 | struct ApiResponse { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 526 | online: bool, [INFO] [stdout] 527 | version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `version` is never used [INFO] [stdout] --> src/discord/commands/mod.rs:532:12 [INFO] [stdout] | [INFO] [stdout] 531 | impl ApiResponse { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 532 | fn version(&self) -> &ApiResponseVersion { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_clean` is never read [INFO] [stdout] --> src/discord/commands/mod.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 546 | struct ApiResponseVersion { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 547 | #[serde(rename = "name_clean")] [INFO] [stdout] 548 | name_clean: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiResponseVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `min` is never used [INFO] [stdout] --> src/discord/commands/roll/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Die { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn min(&self) -> NaturalI8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total` is never used [INFO] [stdout] --> src/discord/commands/roll/mod.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl> Roll { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | fn total(self, extra: i8) -> i16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `one_hundred` is never used [INFO] [stdout] --> src/discord/commands/roll/natural.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait NaturalI8Constants { [INFO] [stdout] | ------------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 55 | one_hundred: 100, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `natural_const` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redirect_to_dm` is never used [INFO] [stdout] --> src/games/wordle/mod.rs:617:10 [INFO] [stdout] | [INFO] [stdout] 617 | async fn redirect_to_dm( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reply` is never used [INFO] [stdout] --> src/games/wordle/utils.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait ComponentInteractionExt { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 52 | async fn reply( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `in_guild` is never used [INFO] [stdout] --> src/games/wordle/utils.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub trait ContextExt { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 118 | fn in_guild(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_buttons_in_place` is never used [INFO] [stdout] --> src/games/wordle/game.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 352 | trait AddButton: Sized + Clone { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 371 | fn add_buttons_in_place(&mut self, buttons: &[CreateButton]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wordle` is never read [INFO] [stdout] --> src/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub wordle: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guesses_file` and `answers_file` are never read [INFO] [stdout] --> src/config.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct WordleConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 204 | pub guesses_file: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 205 | pub answers_file: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WordleConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/games/wordle/game.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | let mut cloned = self.clone(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/games/wordle/game.rs:379:19 [INFO] [stdout] | [INFO] [stdout] 379 | fn add_button(mut self, button: CreateButton) -> Self { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `db` is never used [INFO] [stdout] --> src/main.rs:79:14 [INFO] [stdout] | [INFO] [stdout] 49 | impl Data { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | const fn db(&self) -> &Database { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `version` is never read [INFO] [stdout] --> src/discord/commands/mod.rs:527:9 [INFO] [stdout] | [INFO] [stdout] 525 | struct ApiResponse { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 526 | online: bool, [INFO] [stdout] 527 | version: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiResponse` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `version` is never used [INFO] [stdout] --> src/discord/commands/mod.rs:532:12 [INFO] [stdout] | [INFO] [stdout] 531 | impl ApiResponse { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 532 | fn version(&self) -> &ApiResponseVersion { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name_clean` is never read [INFO] [stdout] --> src/discord/commands/mod.rs:548:9 [INFO] [stdout] | [INFO] [stdout] 546 | struct ApiResponseVersion { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] 547 | #[serde(rename = "name_clean")] [INFO] [stdout] 548 | name_clean: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiResponseVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `min` is never used [INFO] [stdout] --> src/discord/commands/roll/mod.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Die { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 53 | fn min(&self) -> NaturalI8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total` is never used [INFO] [stdout] --> src/discord/commands/roll/mod.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl> Roll { [INFO] [stdout] | --------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 141 | fn total(self, extra: i8) -> i16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `one_hundred` is never used [INFO] [stdout] --> src/discord/commands/roll/natural.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 51 | pub trait NaturalI8Constants { [INFO] [stdout] | ------------------ associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 55 | one_hundred: 100, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `natural_const` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `redirect_to_dm` is never used [INFO] [stdout] --> src/games/wordle/mod.rs:617:10 [INFO] [stdout] | [INFO] [stdout] 617 | async fn redirect_to_dm( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reply` is never used [INFO] [stdout] --> src/games/wordle/utils.rs:52:14 [INFO] [stdout] | [INFO] [stdout] 38 | pub trait ComponentInteractionExt { [INFO] [stdout] | ----------------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 52 | async fn reply( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `in_guild` is never used [INFO] [stdout] --> src/games/wordle/utils.rs:118:8 [INFO] [stdout] | [INFO] [stdout] 117 | pub trait ContextExt { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] 118 | fn in_guild(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_buttons_in_place` is never used [INFO] [stdout] --> src/games/wordle/game.rs:371:8 [INFO] [stdout] | [INFO] [stdout] 352 | trait AddButton: Sized + Clone { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 371 | fn add_buttons_in_place(&mut self, buttons: &[CreateButton]) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `wordle` is never read [INFO] [stdout] --> src/config.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Config { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub wordle: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guesses_file` and `answers_file` are never read [INFO] [stdout] --> src/config.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 203 | pub struct WordleConfig { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 204 | pub guesses_file: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 205 | pub answers_file: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WordleConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6m 18s [INFO] running `Command { std: "docker" "inspect" "ee94ab74762193bd013d7f1950a649d06bd2f207b64b626163e42f967f93097b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee94ab74762193bd013d7f1950a649d06bd2f207b64b626163e42f967f93097b", kill_on_drop: false }` [INFO] [stdout] ee94ab74762193bd013d7f1950a649d06bd2f207b64b626163e42f967f93097b