[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 absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperpetualcacophony%2Fslimebot" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-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 poise_macros v0.6.1 [INFO] [stderr] Downloaded tracing-unwrap v0.10.0 [INFO] [stderr] Downloaded poise v0.6.1 [INFO] [stderr] Downloaded mongodb v2.8.1 [INFO] [stderr] Downloaded libz-sys v1.1.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] eb60d1e0f95b4f2ef541cbff4b524ab813a4e5f63c8891be73ca7a07b3e0ae91 [INFO] running `Command { std: "docker" "start" "-a" "eb60d1e0f95b4f2ef541cbff4b524ab813a4e5f63c8891be73ca7a07b3e0ae91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb60d1e0f95b4f2ef541cbff4b524ab813a4e5f63c8891be73ca7a07b3e0ae91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb60d1e0f95b4f2ef541cbff4b524ab813a4e5f63c8891be73ca7a07b3e0ae91", kill_on_drop: false }` [INFO] [stdout] eb60d1e0f95b4f2ef541cbff4b524ab813a4e5f63c8891be73ca7a07b3e0ae91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 6a11385b3a2c287d3de0dee38125e03824266fb82caeea53cd939f5e51d4580d [INFO] running `Command { std: "docker" "start" "-a" "6a11385b3a2c287d3de0dee38125e03824266fb82caeea53cd939f5e51d4580d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking smallvec v1.12.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking webpki-roots v0.25.3 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling openssl-src v300.2.1+3.2.0 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking dtoa-short v0.3.4 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling serenity v0.12.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking funty v2.0.0 [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] Checking quick-error v1.2.3 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking regex-automata v0.4.4 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling darling_core v0.20.5 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tracing-test-macro v0.2.4 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [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] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Compiling darling_macro v0.20.5 [INFO] [stderr] Compiling darling v0.20.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling poise_macros v0.6.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking tracing-unwrap v0.10.0 [INFO] [stderr] Checking tracing-test v0.2.4 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking h2 v0.3.23 [INFO] [stderr] Compiling git2 v0.18.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Checking scraper v0.17.1 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Checking bson v2.8.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Compiling slimebot v1.6.9 (/opt/rustwide/workdir) [INFO] [stderr] Checking mongodb v2.8.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [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: 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: 29 warnings emitted [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 2m 51s [INFO] running `Command { std: "docker" "inspect" "6a11385b3a2c287d3de0dee38125e03824266fb82caeea53cd939f5e51d4580d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a11385b3a2c287d3de0dee38125e03824266fb82caeea53cd939f5e51d4580d", kill_on_drop: false }` [INFO] [stdout] 6a11385b3a2c287d3de0dee38125e03824266fb82caeea53cd939f5e51d4580d [INFO] checking perpetualcacophony/slimebot against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fperpetualcacophony%2Fslimebot" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/perpetualcacophony/slimebot on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "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-3-tc2/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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a328949771276503c8a141d997bdc44e6089283dbcaeb0c946e777e5f972870b [INFO] running `Command { std: "docker" "start" "-a" "a328949771276503c8a141d997bdc44e6089283dbcaeb0c946e777e5f972870b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a328949771276503c8a141d997bdc44e6089283dbcaeb0c946e777e5f972870b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a328949771276503c8a141d997bdc44e6089283dbcaeb0c946e777e5f972870b", kill_on_drop: false }` [INFO] [stdout] a328949771276503c8a141d997bdc44e6089283dbcaeb0c946e777e5f972870b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5541d8f458099c2571ac4209a5c2acba7e41ce0f65ee7e2cfdde49499ae77f3d [INFO] running `Command { std: "docker" "start" "-a" "5541d8f458099c2571ac4209a5c2acba7e41ce0f65ee7e2cfdde49499ae77f3d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking smallvec v1.12.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking unicode-bidi v0.3.14 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking new_debug_unreachable v1.0.4 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.111 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking indexmap v2.1.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Compiling jobserver v0.1.27 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking webpki-roots v0.25.3 [INFO] [stderr] Checking precomputed-hash v0.1.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking mac v0.1.1 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking futf v0.1.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling openssl-src v300.2.1+3.2.0 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking dtoa v1.0.9 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking dtoa-short v0.3.4 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking tendril v0.4.3 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Compiling libz-sys v1.1.14 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling libgit2-sys v0.16.1+1.7.1 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling selectors v0.25.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling serenity v0.12.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking regex-automata v0.4.4 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking servo_arc v0.3.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking ego-tree v0.6.2 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling darling_core v0.20.5 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling darling_core v0.13.4 [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] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling darling_macro v0.20.5 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tracing-test-macro v0.2.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking cssparser v0.31.2 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling darling v0.20.5 [INFO] [stderr] Compiling poise_macros v0.6.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking tracing-unwrap v0.10.0 [INFO] [stderr] Checking tracing-test v0.2.4 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling git2 v0.18.1 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.3.23 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking uuid v1.6.1 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking tungstenite v0.20.1 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking time v0.3.31 [INFO] [stderr] Checking tokio-tungstenite v0.20.1 [INFO] [stderr] Checking scraper v0.17.1 [INFO] [stderr] Compiling built v0.7.1 [INFO] [stderr] Compiling slimebot v1.6.9 (/opt/rustwide/workdir) [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking bson v2.8.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking mongodb v2.8.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [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: 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: 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 3m 41s [INFO] running `Command { std: "docker" "inspect" "5541d8f458099c2571ac4209a5c2acba7e41ce0f65ee7e2cfdde49499ae77f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5541d8f458099c2571ac4209a5c2acba7e41ce0f65ee7e2cfdde49499ae77f3d", kill_on_drop: false }` [INFO] [stdout] 5541d8f458099c2571ac4209a5c2acba7e41ce0f65ee7e2cfdde49499ae77f3d