[INFO] cloning repository https://github.com/PixieGarfunkel/discord-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PixieGarfunkel/discord-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPixieGarfunkel%2Fdiscord-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPixieGarfunkel%2Fdiscord-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 46b9dc436fa694d8c8958ebca93fe1f1d123bd21 [INFO] testing PixieGarfunkel/discord-bot against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPixieGarfunkel%2Fdiscord-bot" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PixieGarfunkel/discord-bot [INFO] finished tweaking git repo https://github.com/PixieGarfunkel/discord-bot [INFO] tweaked toml for git repo https://github.com/PixieGarfunkel/discord-bot written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PixieGarfunkel/discord-bot on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PixieGarfunkel/discord-bot 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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e4f02ecbeecc339fbf5bf15c2ae926b44d632ae75cc2ab165329e807dda2aaf0 [INFO] running `Command { std: "docker" "start" "-a" "e4f02ecbeecc339fbf5bf15c2ae926b44d632ae75cc2ab165329e807dda2aaf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e4f02ecbeecc339fbf5bf15c2ae926b44d632ae75cc2ab165329e807dda2aaf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f02ecbeecc339fbf5bf15c2ae926b44d632ae75cc2ab165329e807dda2aaf0", kill_on_drop: false }` [INFO] [stdout] e4f02ecbeecc339fbf5bf15c2ae926b44d632ae75cc2ab165329e807dda2aaf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0090a39622e99d164d595b1e8697ca51ab88f82f1fec32b284d6e5e5fd627384 [INFO] running `Command { std: "docker" "start" "-a" "0090a39622e99d164d595b1e8697ca51ab88f82f1fec32b284d6e5e5fd627384", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling icu_properties_data v2.0.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling webpki-roots v1.0.0 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling rustls v0.23.27 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling whoami v1.6.0 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling ipnet v2.11.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling anstyle-parse v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling colorchoice v1.0.3 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling anstyle-query v1.1.2 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling anstyle v1.0.10 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling anstream v0.6.18 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling typemap_rev v0.3.0 [INFO] [stderr] Compiling jiff v0.2.13 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling levenshtein v1.0.5 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling rustls-webpki v0.103.3 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling serde_derive v1.0.219 [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 tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling command_attr v0.5.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling serde_cow v0.1.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling sqlx-core v0.8.5 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling sqlx-mysql v0.8.5 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling sqlx-macros-core v0.8.5 [INFO] [stderr] Compiling hyper-util v0.1.12 [INFO] [stderr] Compiling sqlx-macros v0.8.5 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling sqlx v0.8.5 [INFO] [stderr] Compiling discord-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ResolvedValue` [INFO] [stdout] --> src/commands/database/updatemoney.rs:2:71 [INFO] [stdout] | [INFO] [stdout] 2 | use serenity::model::application::{CommandOptionType, ResolvedOption, ResolvedValue}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct Handler { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 21 | database: Pool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/commands/attachmentinput.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run(options: &[ResolvedOption]) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/commands/id.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run(options: &[ResolvedOption]) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/commands/ping.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run(_options: &[ResolvedOption]) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/commands/database/updatemoney.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn run(_options: &[ResolvedOption<'_>], database: &Pool) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/commands/database/adduser.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn run(options: &[ResolvedOption<'_>], database: &Pool) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cached_at` is never read [INFO] [stdout] --> src/commands/api/minecraft/mcapi_types.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MCUserMeta { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | pub cached_at: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCUserMeta` 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 `name`, `value`, and `signature` are never read [INFO] [stdout] --> src/commands/api/minecraft/mcapi_types.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MCUserProperties { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub signature: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCUserProperties` 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: field `name` is never read [INFO] [stdout] --> src/commands/api/minecraft/mcapi_types.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct MCUserNameHistory { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCUserNameHistory` 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 `meta`, `username`, `raw_id`, `skin_texture`, `properties`, and `name_history` are never read [INFO] [stdout] --> src/commands/api/minecraft/mcapi_types.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct MCUserPlayer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 22 | pub meta: MCUserMeta, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | pub id: String, [INFO] [stdout] 25 | pub raw_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub avatar: String, [INFO] [stdout] 27 | pub skin_texture: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub properties: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | pub name_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCUserPlayer` 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 `code`, `message`, and `error` are never read [INFO] [stdout] --> src/commands/api/minecraft/mcapi_types.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct MCUser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 39 | pub code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCUser` 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: struct `CommandReturn` is never constructed [INFO] [stdout] --> src/types.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CommandReturn { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 22s [INFO] running `Command { std: "docker" "inspect" "0090a39622e99d164d595b1e8697ca51ab88f82f1fec32b284d6e5e5fd627384", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0090a39622e99d164d595b1e8697ca51ab88f82f1fec32b284d6e5e5fd627384", kill_on_drop: false }` [INFO] [stdout] 0090a39622e99d164d595b1e8697ca51ab88f82f1fec32b284d6e5e5fd627384 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03a885276a3366dfc46a564ea666e2a6120a59a46308b239b5d94e4ed8ed8b06 [INFO] running `Command { std: "docker" "start" "-a" "03a885276a3366dfc46a564ea666e2a6120a59a46308b239b5d94e4ed8ed8b06", kill_on_drop: false }` [INFO] [stderr] Compiling discord-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ResolvedValue` [INFO] [stdout] --> src/commands/database/updatemoney.rs:2:71 [INFO] [stdout] | [INFO] [stdout] 2 | use serenity::model::application::{CommandOptionType, ResolvedOption, ResolvedValue}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `database` is never read [INFO] [stdout] --> src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct Handler { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 21 | database: Pool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/commands/attachmentinput.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run(options: &[ResolvedOption]) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/commands/id.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run(options: &[ResolvedOption]) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/commands/ping.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn run(_options: &[ResolvedOption]) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/commands/database/updatemoney.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | pub async fn run(_options: &[ResolvedOption<'_>], database: &Pool) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/commands/database/adduser.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn run(options: &[ResolvedOption<'_>], database: &Pool) -> String { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cached_at` is never read [INFO] [stdout] --> src/commands/api/minecraft/mcapi_types.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MCUserMeta { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 5 | pub cached_at: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCUserMeta` 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 `name`, `value`, and `signature` are never read [INFO] [stdout] --> src/commands/api/minecraft/mcapi_types.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MCUserProperties { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 10 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | pub value: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub signature: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCUserProperties` 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: field `name` is never read [INFO] [stdout] --> src/commands/api/minecraft/mcapi_types.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct MCUserNameHistory { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 17 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCUserNameHistory` 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 `meta`, `username`, `raw_id`, `skin_texture`, `properties`, and `name_history` are never read [INFO] [stdout] --> src/commands/api/minecraft/mcapi_types.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct MCUserPlayer { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 22 | pub meta: MCUserMeta, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | pub username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | pub id: String, [INFO] [stdout] 25 | pub raw_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 26 | pub avatar: String, [INFO] [stdout] 27 | pub skin_texture: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub properties: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | pub name_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCUserPlayer` 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 `code`, `message`, and `error` are never read [INFO] [stdout] --> src/commands/api/minecraft/mcapi_types.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 38 | pub struct MCUser { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 39 | pub code: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 40 | pub message: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub error: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MCUser` 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: struct `CommandReturn` is never constructed [INFO] [stdout] --> src/types.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct CommandReturn { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.91s [INFO] running `Command { std: "docker" "inspect" "03a885276a3366dfc46a564ea666e2a6120a59a46308b239b5d94e4ed8ed8b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a885276a3366dfc46a564ea666e2a6120a59a46308b239b5d94e4ed8ed8b06", kill_on_drop: false }` [INFO] [stdout] 03a885276a3366dfc46a564ea666e2a6120a59a46308b239b5d94e4ed8ed8b06 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bc6e748ee966233062fa8a11abc7d9424e9f72b0a16884120c3ac42bbf7fbd71 [INFO] running `Command { std: "docker" "start" "-a" "bc6e748ee966233062fa8a11abc7d9424e9f72b0a16884120c3ac42bbf7fbd71", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `ResolvedValue` [INFO] [stderr] --> src/commands/database/updatemoney.rs:2:71 [INFO] [stderr] | [INFO] [stderr] 2 | use serenity::model::application::{CommandOptionType, ResolvedOption, ResolvedValue}; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `database` is never read [INFO] [stderr] --> src/main.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 20 | struct Handler { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] 21 | database: Pool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `run` is never used [INFO] [stderr] --> src/commands/attachmentinput.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn run(options: &[ResolvedOption]) -> String { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run` is never used [INFO] [stderr] --> src/commands/id.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn run(options: &[ResolvedOption]) -> String { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run` is never used [INFO] [stderr] --> src/commands/ping.rs:4:8 [INFO] [stderr] | [INFO] [stderr] 4 | pub fn run(_options: &[ResolvedOption]) -> String { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run` is never used [INFO] [stderr] --> src/commands/database/updatemoney.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | pub async fn run(_options: &[ResolvedOption<'_>], database: &Pool) -> String { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `run` is never used [INFO] [stderr] --> src/commands/database/adduser.rs:11:14 [INFO] [stderr] | [INFO] [stderr] 11 | pub async fn run(options: &[ResolvedOption<'_>], database: &Pool) -> String { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `cached_at` is never read [INFO] [stderr] --> src/commands/api/minecraft/mcapi_types.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct MCUserMeta { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 5 | pub cached_at: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MCUserMeta` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `name`, `value`, and `signature` are never read [INFO] [stderr] --> src/commands/api/minecraft/mcapi_types.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct MCUserProperties { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 10 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 11 | pub value: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 12 | pub signature: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MCUserProperties` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `name` is never read [INFO] [stderr] --> src/commands/api/minecraft/mcapi_types.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct MCUserNameHistory { [INFO] [stderr] | ----------------- field in this struct [INFO] [stderr] 17 | pub name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MCUserNameHistory` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `meta`, `username`, `raw_id`, `skin_texture`, `properties`, and `name_history` are never read [INFO] [stderr] --> src/commands/api/minecraft/mcapi_types.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub struct MCUserPlayer { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 22 | pub meta: MCUserMeta, [INFO] [stderr] | ^^^^ [INFO] [stderr] 23 | pub username: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 24 | pub id: String, [INFO] [stderr] 25 | pub raw_id: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 26 | pub avatar: String, [INFO] [stderr] 27 | pub skin_texture: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 28 | pub properties: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 29 | pub name_history: Vec, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MCUserPlayer` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `code`, `message`, and `error` are never read [INFO] [stderr] --> src/commands/api/minecraft/mcapi_types.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 38 | pub struct MCUser { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] 39 | pub code: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 40 | pub message: String, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub error: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MCUser` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: struct `CommandReturn` is never constructed [INFO] [stderr] --> src/types.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct CommandReturn { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `discord-bot` (bin "discord-bot" test) generated 13 warnings (run `cargo fix --bin "discord-bot" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/discord_bot-97bcbdc98bb9bb7c) [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" "bc6e748ee966233062fa8a11abc7d9424e9f72b0a16884120c3ac42bbf7fbd71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc6e748ee966233062fa8a11abc7d9424e9f72b0a16884120c3ac42bbf7fbd71", kill_on_drop: false }` [INFO] [stdout] bc6e748ee966233062fa8a11abc7d9424e9f72b0a16884120c3ac42bbf7fbd71