[INFO] cloning repository https://github.com/lukemmolnar/new_agelbub [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lukemmolnar/new_agelbub" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukemmolnar%2Fnew_agelbub", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukemmolnar%2Fnew_agelbub'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 52830604ea44ef791c6d9b6ff40a52614f3c4cc1 [INFO] checking lukemmolnar/new_agelbub against try#18c1d185ac7a6a3bf399296b35e4b2736809a756 for pr-146972 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukemmolnar%2Fnew_agelbub" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lukemmolnar/new_agelbub [INFO] finished tweaking git repo https://github.com/lukemmolnar/new_agelbub [INFO] tweaked toml for git repo https://github.com/lukemmolnar/new_agelbub written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lukemmolnar/new_agelbub on toolchain 18c1d185ac7a6a3bf399296b35e4b2736809a756 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lukemmolnar/new_agelbub 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" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8d72b9015032c2e5b59f3ab542aba54c17d363ac95e816a2c4ca69784a82846 [INFO] running `Command { std: "docker" "start" "-a" "f8d72b9015032c2e5b59f3ab542aba54c17d363ac95e816a2c4ca69784a82846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8d72b9015032c2e5b59f3ab542aba54c17d363ac95e816a2c4ca69784a82846", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8d72b9015032c2e5b59f3ab542aba54c17d363ac95e816a2c4ca69784a82846", kill_on_drop: false }` [INFO] [stdout] f8d72b9015032c2e5b59f3ab542aba54c17d363ac95e816a2c4ca69784a82846 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+18c1d185ac7a6a3bf399296b35e4b2736809a756" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5f8b322f00786db24398fac5aa264febbbf8e61c99d96e588b9ff67bde5668f1 [INFO] running `Command { std: "docker" "start" "-a" "5f8b322f00786db24398fac5aa264febbbf8e61c99d96e588b9ff67bde5668f1", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking webpki-roots v1.0.2 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling poise_macros v0.6.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking serde_cow v0.1.2 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking sqlx-sqlite v0.7.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking poise v0.6.1 [INFO] [stderr] Checking discord-currency-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `utility::*` [INFO] [stdout] --> src/commands/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub use utility::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utility::*` [INFO] [stdout] --> src/commands/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub use utility::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `poise::serenity_prelude::Member::permissions`: Use Guild::member_permissions_in, as this doesn't consider permission overwrites [INFO] [stdout] --> src/commands/mod.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | if let Ok(perms) = member.permissions(&ctx.cache()) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `poise::serenity_prelude::Member::permissions`: Use Guild::member_permissions_in, as this doesn't consider permission overwrites [INFO] [stdout] --> src/commands/mod.rs:26:39 [INFO] [stdout] | [INFO] [stdout] 26 | if let Ok(perms) = member.permissions(&ctx.cache()) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild_id` [INFO] [stdout] --> src/commands/user.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | let guild_id = match ctx.guild_id() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild_id` [INFO] [stdout] --> src/commands/user.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | let guild_id = match ctx.guild_id() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/commands/user.rs:489:45 [INFO] [stdout] | [INFO] [stdout] 489 | Ok(serenity::Channel::Guild(channel)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild_id` [INFO] [stdout] --> src/commands/user.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | let guild_id = match ctx.guild_id() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild_id` [INFO] [stdout] --> src/commands/user.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | let guild_id = match ctx.guild_id() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `highest_bid` [INFO] [stdout] --> src/commands/user.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let highest_bid = auction.get_highest_bid_amount(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_highest_bid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild_id` [INFO] [stdout] --> src/commands/user.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | let guild_id = match ctx.guild_id() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> src/commands/user.rs:489:45 [INFO] [stdout] | [INFO] [stdout] 489 | Ok(serenity::Channel::Guild(channel)) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild_id` [INFO] [stdout] --> src/commands/user.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | let guild_id = match ctx.guild_id() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild_id` [INFO] [stdout] --> src/commands/user.rs:580:9 [INFO] [stdout] | [INFO] [stdout] 580 | let guild_id = match ctx.guild_id() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `highest_bid` [INFO] [stdout] --> src/commands/user.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let highest_bid = auction.get_highest_bid_amount(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_highest_bid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `guild_id` [INFO] [stdout] --> src/commands/user.rs:660:9 [INFO] [stdout] | [INFO] [stdout] 660 | let guild_id = match ctx.guild_id() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Balance` is never constructed [INFO] [stdout] --> src/database.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Balance { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_user_nonce`, `get_all_transactions`, `calculate_balance_from_transactions`, and `verify_and_update_balances` are never used [INFO] [stdout] --> src/database.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 44 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub async fn update_user_nonce(&self, discord_id: &str, nonce: i64) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub async fn get_all_transactions(&self) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub async fn calculate_balance_from_transactions(&self, discord_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub async fn verify_and_update_balances(&self) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Decryption` and `Signing` are never constructed [INFO] [stdout] --> src/crypto.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CryptoError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Decryption, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | Signing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `decrypt_private_key`, `sign_transaction`, and `verify_signature` are never used [INFO] [stdout] --> src/crypto.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl CryptoManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn decrypt_private_key(&self, encrypted_key: &str, user_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn sign_transaction(&self, private_key_b64: &str, transaction_data: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn verify_signature(&self, public_key_b64: &str, signature_b64: &str, message: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/auction.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AuctionBid { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuctionBid` 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 `voice_channel_id`, `start_time`, and `base_duration_seconds` are never read [INFO] [stdout] --> src/auction.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Auction { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 16 | pub voice_channel_id: serenity::ChannelId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub creator_id: serenity::UserId, [INFO] [stdout] 18 | pub start_time: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub base_duration_seconds: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Auction` 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: method `get_user_bid` is never used [INFO] [stdout] --> src/auction.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Auction { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn get_user_bid(&self, user_id: serenity::UserId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cleanup_expired_auctions` is never used [INFO] [stdout] --> src/auction.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 122 | impl AuctionManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 233 | pub async fn cleanup_expired_auctions(&self) -> Vec<(serenity::ChannelId, Auction)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Balance` is never constructed [INFO] [stdout] --> src/database.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct Balance { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_user_nonce`, `get_all_transactions`, `calculate_balance_from_transactions`, and `verify_and_update_balances` are never used [INFO] [stdout] --> src/database.rs:175:18 [INFO] [stdout] | [INFO] [stdout] 44 | impl Database { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 175 | pub async fn update_user_nonce(&self, discord_id: &str, nonce: i64) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | pub async fn get_all_transactions(&self) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub async fn calculate_balance_from_transactions(&self, discord_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub async fn verify_and_update_balances(&self) -> Result<(), sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Decryption` and `Signing` are never constructed [INFO] [stdout] --> src/crypto.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum CryptoError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | Decryption, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | Signing, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `decrypt_private_key`, `sign_transaction`, and `verify_signature` are never used [INFO] [stdout] --> src/crypto.rs:109:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl CryptoManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn decrypt_private_key(&self, encrypted_key: &str, user_id: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn sign_transaction(&self, private_key_b64: &str, transaction_data: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn verify_signature(&self, public_key_b64: &str, signature_b64: &str, message: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `timestamp` is never read [INFO] [stdout] --> src/auction.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct AuctionBid { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | pub timestamp: DateTime, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuctionBid` 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 `voice_channel_id`, `start_time`, and `base_duration_seconds` are never read [INFO] [stdout] --> src/auction.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Auction { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 16 | pub voice_channel_id: serenity::ChannelId, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | pub creator_id: serenity::UserId, [INFO] [stdout] 18 | pub start_time: DateTime, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub base_duration_seconds: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Auction` 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: method `get_user_bid` is never used [INFO] [stdout] --> src/auction.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl Auction { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn get_user_bid(&self, user_id: serenity::UserId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `cleanup_expired_auctions` is never used [INFO] [stdout] --> src/auction.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 122 | impl AuctionManager { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 233 | pub async fn cleanup_expired_auctions(&self) -> Vec<(serenity::ChannelId, Auction)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 46s [INFO] running `Command { std: "docker" "inspect" "5f8b322f00786db24398fac5aa264febbbf8e61c99d96e588b9ff67bde5668f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f8b322f00786db24398fac5aa264febbbf8e61c99d96e588b9ff67bde5668f1", kill_on_drop: false }` [INFO] [stdout] 5f8b322f00786db24398fac5aa264febbbf8e61c99d96e588b9ff67bde5668f1