[INFO] cloning repository https://github.com/kylegrover/rusty-bote [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kylegrover/rusty-bote" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylegrover%2Frusty-bote", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylegrover%2Frusty-bote'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e9a87eb7dca9501cc77edad0d34b4b63e4f170f [INFO] checking kylegrover/rusty-bote against master#d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkylegrover%2Frusty-bote" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kylegrover/rusty-bote on toolchain d2eadb7a94ef8c9deb5137695df33cd1fc5aee92 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kylegrover/rusty-bote [INFO] finished tweaking git repo https://github.com/kylegrover/rusty-bote [INFO] tweaked toml for git repo https://github.com/kylegrover/rusty-bote written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kylegrover/rusty-bote 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" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v2.10.1 [INFO] [stderr] Downloaded tungstenite v0.17.3 [INFO] [stderr] Downloaded async-tungstenite v0.17.2 [INFO] [stderr] Downloaded webpki v0.22.4 [INFO] [stderr] Downloaded rustls v0.20.9 [INFO] [stderr] Downloaded serenity v0.11.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e76db4c2d87c0572a1a8131519d4f05a0321edb483668051c64e64d0b1b326c1 [INFO] running `Command { std: "docker" "start" "-a" "e76db4c2d87c0572a1a8131519d4f05a0321edb483668051c64e64d0b1b326c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e76db4c2d87c0572a1a8131519d4f05a0321edb483668051c64e64d0b1b326c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e76db4c2d87c0572a1a8131519d4f05a0321edb483668051c64e64d0b1b326c1", kill_on_drop: false }` [INFO] [stdout] e76db4c2d87c0572a1a8131519d4f05a0321edb483668051c64e64d0b1b326c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+d2eadb7a94ef8c9deb5137695df33cd1fc5aee92" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d6f7a5ef77121d626edfeba642f0bbc8e5cd07223c567a24a3694181578aec6 [INFO] running `Command { std: "docker" "start" "-a" "1d6f7a5ef77121d626edfeba642f0bbc8e5cd07223c567a24a3694181578aec6", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling libsqlite3-sys v0.24.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling flume v0.10.14 [INFO] [stderr] Compiling futures-intrusive v0.4.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Checking tokio-util v0.7.14 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking webpki v0.22.4 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking miniz_oxide v0.8.8 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling serenity v0.11.7 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking flate2 v1.1.1 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking typemap_rev v0.1.5 [INFO] [stderr] Checking humantime v2.2.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tungstenite v0.17.3 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking sqlx-rt v0.6.3 [INFO] [stderr] Checking async-tungstenite v0.17.2 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling sqlx-core v0.6.3 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros v0.6.3 [INFO] [stderr] Checking sqlx v0.6.3 [INFO] [stderr] Checking rusty-bote v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `PollOption` and `Vote` [INFO] [stdout] --> src/db/mod.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::{Poll, PollOption, Vote, VotingMethod}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/tasks/poll_ender.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, error, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/main.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use log::{info, error, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PollOption` and `Vote` [INFO] [stdout] --> src/db/mod.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::models::{Poll, PollOption, Vote, VotingMethod}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/tasks/poll_ender.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{info, error, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/main.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use log::{info, error, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `anonymous` is assigned to, but never used [INFO] [stdout] --> src/commands/poll.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut anonymous = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_anonymous` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `anonymous` is never read [INFO] [stdout] --> src/commands/poll.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | anonymous = value.as_bool().unwrap_or(true); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `anonymous` is assigned to, but never used [INFO] [stdout] --> src/commands/poll.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let mut anonymous = true; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_anonymous` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `anonymous` is never read [INFO] [stdout] --> src/commands/poll.rs:184:21 [INFO] [stdout] | [INFO] [stdout] 184 | anonymous = value.as_bool().unwrap_or(true); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `poll_id` [INFO] [stdout] --> src/handlers/mod.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | let poll_id = parts[1]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `poll_id` [INFO] [stdout] --> src/handlers/mod.rs:215:17 [INFO] [stdout] | [INFO] [stdout] 215 | let poll_id = parts[1]; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `poll_id` [INFO] [stdout] --> src/handlers/vote.rs:718:5 [INFO] [stdout] | [INFO] [stdout] 718 | poll_id: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `poll_id` [INFO] [stdout] --> src/handlers/vote.rs:718:5 [INFO] [stdout] | [INFO] [stdout] 718 | poll_id: &str, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poll_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_results` is never read [INFO] [stdout] --> src/voting/ranked.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut final_results: Vec = Vec::new(); // Store final round results [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `final_results` is never read [INFO] [stdout] --> src/voting/ranked.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | let mut final_results: Vec = Vec::new(); // Store final round results [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_commands` is never used [INFO] [stdout] --> src/commands/mod.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn register_commands(ctx: &Context, guild_id: GuildId) -> Result<(), serenity::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_command` is never used [INFO] [stdout] --> src/commands/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn handle_command( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pool` is never used [INFO] [stdout] --> src/db/mod.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn pool(&self) -> &SqlitePool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_approval_submit` is never used [INFO] [stdout] --> src/handlers/vote.rs:807:14 [INFO] [stdout] | [INFO] [stdout] 807 | pub async fn handle_approval_submit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_rank_submit` is never used [INFO] [stdout] --> src/handlers/vote.rs:830:14 [INFO] [stdout] | [INFO] [stdout] 830 | pub async fn handle_rank_submit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `winner_id` and `raw_results` are never read [INFO] [stdout] --> src/voting/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PollResults { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub winner_id: String, // ID of the winning option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | pub raw_results: Vec, // Raw vote counts for all options [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `register_commands` is never used [INFO] [stdout] --> src/commands/mod.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn register_commands(ctx: &Context, guild_id: GuildId) -> Result<(), serenity::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_command` is never used [INFO] [stdout] --> src/commands/mod.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | pub async fn handle_command( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pool` is never used [INFO] [stdout] --> src/db/mod.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Database { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn pool(&self) -> &SqlitePool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_approval_submit` is never used [INFO] [stdout] --> src/handlers/vote.rs:807:14 [INFO] [stdout] | [INFO] [stdout] 807 | pub async fn handle_approval_submit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_rank_submit` is never used [INFO] [stdout] --> src/handlers/vote.rs:830:14 [INFO] [stdout] | [INFO] [stdout] 830 | pub async fn handle_rank_submit( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `winner_id` and `raw_results` are never read [INFO] [stdout] --> src/voting/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct PollResults { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | pub winner_id: String, // ID of the winning option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 11 | pub raw_results: Vec, // Raw vote counts for all options [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "1d6f7a5ef77121d626edfeba642f0bbc8e5cd07223c567a24a3694181578aec6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d6f7a5ef77121d626edfeba642f0bbc8e5cd07223c567a24a3694181578aec6", kill_on_drop: false }` [INFO] [stdout] 1d6f7a5ef77121d626edfeba642f0bbc8e5cd07223c567a24a3694181578aec6