[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] testing lukemmolnar/new_agelbub against 1.91.0 for beta-1.92-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flukemmolnar%2Fnew_agelbub" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lukemmolnar/new_agelbub on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nu-ansi-term v0.50.1 [INFO] [stderr] Downloaded uuid v1.18.1 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.103 [INFO] [stderr] Downloaded wasm-bindgen v0.2.103 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.103 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.103 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.103 [INFO] [stderr] Downloaded js-sys v0.3.80 [INFO] [stderr] Downloaded tracing-subscriber v0.3.20 [INFO] [stderr] Downloaded camino v1.2.0 [INFO] [stderr] Downloaded serde_core v1.0.225 [INFO] [stderr] Downloaded serde_derive v1.0.225 [INFO] [stderr] Downloaded time-core v0.1.6 [INFO] [stderr] Downloaded tempfile v3.22.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.53 [INFO] [stderr] Downloaded poise_macros v0.6.1 [INFO] [stderr] Downloaded io-uring v0.7.10 [INFO] [stderr] Downloaded serenity v0.12.4 [INFO] [stderr] Downloaded pulldown-cmark v0.9.6 [INFO] [stderr] Downloaded cc v1.2.38 [INFO] [stderr] Downloaded web-sys v0.3.80 [INFO] [stderr] Downloaded poise v0.6.1 [INFO] [stderr] Downloaded hashbrown v0.16.0 [INFO] [stderr] Downloaded chrono v0.4.42 [INFO] [stderr] Downloaded url v2.5.7 [INFO] [stderr] Downloaded indexmap v2.11.4 [INFO] [stderr] Downloaded serde_cow v0.1.2 [INFO] [stderr] Downloaded time v0.3.44 [INFO] [stderr] Downloaded rustix v1.1.2 [INFO] [stderr] Downloaded tokio-rustls v0.25.0 [INFO] [stderr] Downloaded typemap_rev v0.3.0 [INFO] [stderr] Downloaded rustls v0.22.4 [INFO] [stderr] Downloaded semver v1.0.27 [INFO] [stderr] Downloaded regex v1.11.2 [INFO] [stderr] Downloaded triomphe v0.1.14 [INFO] [stderr] Downloaded deranged v0.5.3 [INFO] [stderr] Downloaded whoami v1.6.1 [INFO] [stderr] Downloaded windows-result v0.4.0 [INFO] [stderr] Downloaded windows-strings v0.5.0 [INFO] [stderr] Downloaded windows-core v0.62.0 [INFO] [stderr] Downloaded iana-time-zone v0.1.64 [INFO] [stderr] Downloaded find-msvc-tools v0.1.2 [INFO] [stderr] Downloaded time-macros v0.2.24 [INFO] [stderr] Downloaded tinyvec v1.10.0 [INFO] [stderr] Downloaded libredox v0.1.10 [INFO] [stderr] Downloaded serde v1.0.225 [INFO] [stderr] Downloaded cargo_metadata v0.14.2 [INFO] [stderr] Downloaded skeptic v0.13.7 [INFO] [stderr] Downloaded mini-moka v0.10.3 [INFO] [stderr] Downloaded typesize-derive v0.1.11 [INFO] [stderr] Downloaded typesize v0.1.14 [INFO] [stderr] Downloaded errno v0.3.14 [INFO] [stderr] Downloaded potential_utf v0.1.3 [INFO] [stderr] Downloaded regex-automata v0.4.10 [INFO] [stderr] Downloaded linux-raw-sys v0.11.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2947ba28a38f9947cacf17826160a4ba09fa6e978ca73566ab6d5b436e65dc4 [INFO] running `Command { std: "docker" "start" "-a" "a2947ba28a38f9947cacf17826160a4ba09fa6e978ca73566ab6d5b436e65dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2947ba28a38f9947cacf17826160a4ba09fa6e978ca73566ab6d5b436e65dc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2947ba28a38f9947cacf17826160a4ba09fa6e978ca73566ab6d5b436e65dc4", kill_on_drop: false }` [INFO] [stdout] a2947ba28a38f9947cacf17826160a4ba09fa6e978ca73566ab6d5b436e65dc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 465df4cef3d0ee9e5f7e6b8b9c73ea0729d3a171c63c19a7db90c9d813ff8cc2 [INFO] running `Command { std: "docker" "start" "-a" "465df4cef3d0ee9e5f7e6b8b9c73ea0729d3a171c63c19a7db90c9d813ff8cc2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling libc v0.2.175 [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 smallvec v1.15.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling cc v1.2.38 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [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 tracing v0.1.41 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling webpki-roots v1.0.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling deranged v0.5.3 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling tempfile v3.22.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling poise_macros v0.6.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling nu-ansi-term v0.50.1 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling poise v0.6.1 [INFO] [stderr] Compiling 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 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: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: 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: 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 4m 38s [INFO] running `Command { std: "docker" "inspect" "465df4cef3d0ee9e5f7e6b8b9c73ea0729d3a171c63c19a7db90c9d813ff8cc2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "465df4cef3d0ee9e5f7e6b8b9c73ea0729d3a171c63c19a7db90c9d813ff8cc2", kill_on_drop: false }` [INFO] [stdout] 465df4cef3d0ee9e5f7e6b8b9c73ea0729d3a171c63c19a7db90c9d813ff8cc2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e16d085621379731cd3c45bc31977add4cb9e4d50ad2eabb7cc93347e3953b24 [INFO] running `Command { std: "docker" "start" "-a" "e16d085621379731cd3c45bc31977add4cb9e4d50ad2eabb7cc93347e3953b24", kill_on_drop: false }` [INFO] [stderr] Compiling 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 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: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: 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 7.50s [INFO] running `Command { std: "docker" "inspect" "e16d085621379731cd3c45bc31977add4cb9e4d50ad2eabb7cc93347e3953b24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e16d085621379731cd3c45bc31977add4cb9e4d50ad2eabb7cc93347e3953b24", kill_on_drop: false }` [INFO] [stdout] e16d085621379731cd3c45bc31977add4cb9e4d50ad2eabb7cc93347e3953b24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6862e22bd1fc8c534bd74e373a7bba8b61a65d9c4ba456142190c8addec0d5f1 [INFO] running `Command { std: "docker" "start" "-a" "6862e22bd1fc8c534bd74e373a7bba8b61a65d9c4ba456142190c8addec0d5f1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `utility::*` [INFO] [stderr] --> src/commands/mod.rs:62:9 [INFO] [stderr] | [INFO] [stderr] 62 | pub use utility::*; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `guild_id` [INFO] [stderr] --> src/commands/user.rs:372:9 [INFO] [stderr] | [INFO] [stderr] 372 | let guild_id = match ctx.guild_id() { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `guild_id` [INFO] [stderr] --> src/commands/user.rs:455:9 [INFO] [stderr] | [INFO] [stderr] 455 | let guild_id = match ctx.guild_id() { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `channel` [INFO] [stderr] --> src/commands/user.rs:489:45 [INFO] [stderr] | [INFO] [stderr] 489 | Ok(serenity::Channel::Guild(channel)) => { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `guild_id` [INFO] [stderr] --> src/commands/user.rs:580:9 [INFO] [stderr] | [INFO] [stderr] 580 | let guild_id = match ctx.guild_id() { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `highest_bid` [INFO] [stderr] --> src/commands/user.rs:616:17 [INFO] [stderr] | [INFO] [stderr] 616 | let highest_bid = auction.get_highest_bid_amount(); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_highest_bid` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `guild_id` [INFO] [stderr] --> src/commands/user.rs:660:9 [INFO] [stderr] | [INFO] [stderr] 660 | let guild_id = match ctx.guild_id() { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `poise::serenity_prelude::Member::permissions`: Use Guild::member_permissions_in, as this doesn't consider permission overwrites [INFO] [stderr] --> src/commands/mod.rs:26:39 [INFO] [stderr] | [INFO] [stderr] 26 | if let Ok(perms) = member.permissions(&ctx.cache()) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Balance` is never constructed [INFO] [stderr] --> src/database.rs:33:12 [INFO] [stderr] | [INFO] [stderr] 33 | pub struct Balance { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `update_user_nonce`, `get_all_transactions`, `calculate_balance_from_transactions`, and `verify_and_update_balances` are never used [INFO] [stderr] --> src/database.rs:175:18 [INFO] [stderr] | [INFO] [stderr] 44 | impl Database { [INFO] [stderr] | ------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 175 | pub async fn update_user_nonce(&self, discord_id: &str, nonce: i64) -> Result<(), sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 242 | pub async fn get_all_transactions(&self) -> Result, sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 297 | pub async fn calculate_balance_from_transactions(&self, discord_id: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 317 | pub async fn verify_and_update_balances(&self) -> Result<(), sqlx::Error> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Decryption` and `Signing` are never constructed [INFO] [stderr] --> src/crypto.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum CryptoError { [INFO] [stderr] | ----------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 11 | Decryption, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 12 | Signing, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CryptoError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `decrypt_private_key`, `sign_transaction`, and `verify_signature` are never used [INFO] [stderr] --> src/crypto.rs:109:12 [INFO] [stderr] | [INFO] [stderr] 60 | impl CryptoManager { [INFO] [stderr] | ------------------ methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 109 | pub fn decrypt_private_key(&self, encrypted_key: &str, user_id: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 123 | pub fn sign_transaction(&self, private_key_b64: &str, transaction_data: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 132 | pub fn verify_signature(&self, public_key_b64: &str, signature_b64: &str, message: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `timestamp` is never read [INFO] [stderr] --> src/auction.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct AuctionBid { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 11 | pub timestamp: DateTime, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AuctionBid` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `voice_channel_id`, `start_time`, and `base_duration_seconds` are never read [INFO] [stderr] --> src/auction.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct Auction { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 16 | pub voice_channel_id: serenity::ChannelId, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 17 | pub creator_id: serenity::UserId, [INFO] [stderr] 18 | pub start_time: DateTime, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 21 | pub base_duration_seconds: i64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Auction` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `get_user_bid` is never used [INFO] [stderr] --> src/auction.rs:111:12 [INFO] [stderr] | [INFO] [stderr] 25 | impl Auction { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 111 | pub fn get_user_bid(&self, user_id: serenity::UserId) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `cleanup_expired_auctions` is never used [INFO] [stderr] --> src/auction.rs:233:18 [INFO] [stderr] | [INFO] [stderr] 122 | impl AuctionManager { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 233 | pub async fn cleanup_expired_auctions(&self) -> Vec<(serenity::ChannelId, Auction)> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `discord-currency-bot` (bin "discord-currency-bot" test) generated 16 warnings (run `cargo fix --bin "discord-currency-bot" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/discord_currency_bot-5afbd450ec217729) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6862e22bd1fc8c534bd74e373a7bba8b61a65d9c4ba456142190c8addec0d5f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6862e22bd1fc8c534bd74e373a7bba8b61a65d9c4ba456142190c8addec0d5f1", kill_on_drop: false }` [INFO] [stdout] 6862e22bd1fc8c534bd74e373a7bba8b61a65d9c4ba456142190c8addec0d5f1