[INFO] cloning repository https://github.com/VeeLume/discord-observer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/VeeLume/discord-observer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeeLume%2Fdiscord-observer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeeLume%2Fdiscord-observer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ef520748dd22c6d09c2bcce65dd2089c63b21ba9 [INFO] checking VeeLume/discord-observer against try#4907eac94165faff6c5e5e015670b1c584275f7b for pr-154149 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeeLume%2Fdiscord-observer" "/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/VeeLume/discord-observer [INFO] finished tweaking git repo https://github.com/VeeLume/discord-observer [INFO] tweaked toml for git repo https://github.com/VeeLume/discord-observer written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/VeeLume/discord-observer on toolchain 4907eac94165faff6c5e5e015670b1c584275f7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/VeeLume/discord-observer 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" "+4907eac94165faff6c5e5e015670b1c584275f7b" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7eaf9344805ed5302b9ea8a7dcc251fa6285a7a309b671e6811da16f701b0d4f [INFO] running `Command { std: "docker" "start" "-a" "7eaf9344805ed5302b9ea8a7dcc251fa6285a7a309b671e6811da16f701b0d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7eaf9344805ed5302b9ea8a7dcc251fa6285a7a309b671e6811da16f701b0d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7eaf9344805ed5302b9ea8a7dcc251fa6285a7a309b671e6811da16f701b0d4f", kill_on_drop: false }` [INFO] [stdout] 7eaf9344805ed5302b9ea8a7dcc251fa6285a7a309b671e6811da16f701b0d4f [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4907eac94165faff6c5e5e015670b1c584275f7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3811fbb58a597dbdddcaa0ef81e04c5a85a94a9554b94d5f18a7ceee591f26e9 [INFO] running `Command { std: "docker" "start" "-a" "3811fbb58a597dbdddcaa0ef81e04c5a85a94a9554b94d5f18a7ceee591f26e9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking rustls-pki-types v1.12.0 [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking lexical-util v1.0.7 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.107 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling crc v3.3.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking lexical-parse-integer v1.0.6 [INFO] [stderr] Checking lexical-write-integer v1.0.6 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking lexical-parse-float v1.0.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking lexical-write-float v1.0.6 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking webpki-roots v1.0.3 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking lexical-core v1.0.6 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking webpki-roots v0.26.11 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Checking flate2 v1.1.4 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [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.228 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.102.8 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling poise_macros v0.6.1 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Compiling either v1.15.0 [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 icu_locale_core v2.0.0 [INFO] [stderr] Checking halfbrown v0.2.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking serde_cow v0.1.2 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking value-trait v0.8.1 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Checking simd-json v0.13.11 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [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] Compiling url v2.5.7 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Checking tungstenite v0.21.0 [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 sqlx v0.7.4 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking poise v0.6.1 [INFO] [stderr] Checking observer v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `max_uses` is never read [INFO] [stdout] --> src/invites.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InviteSnapshot { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 10 | pub uses: u64, [INFO] [stdout] 11 | pub max_uses: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InviteSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/invites.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TrackedInvite { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 19 | pub snapshot: InviteSnapshot, [INFO] [stdout] 20 | pub created_at: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackedInvite` 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 `is_departure` is never used [INFO] [stdout] --> src/services/messages.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl MessageType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn is_departure(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `stay_id`, and `previous_message_id` are never read [INFO] [stdout] --> src/services/messages.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct BotMessageRow { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 67 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub stay_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pub previous_message_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotMessageRow` 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 `id` is never read [INFO] [stdout] --> src/services/notices.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct NoticeRow { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 29 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoticeRow` 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 `first_seen_at` and `is_present` are never read [INFO] [stdout] --> src/services/search.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MemberRow { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub first_seen_at: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub is_present: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemberRow` 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: function `set_join_log` is never used [INFO] [stdout] --> src/services/settings.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | pub async fn set_join_log(db: &Db, guild_id: GuildId, channel: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_leave_log` is never used [INFO] [stdout] --> src/services/settings.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | pub async fn set_leave_log(db: &Db, guild_id: GuildId, channel: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_mod_log` is never used [INFO] [stdout] --> src/services/settings.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | pub async fn set_mod_log(db: &Db, guild_id: GuildId, channel: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upsert` is never used [INFO] [stdout] --> src/services/settings.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | pub async fn upsert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `label` is never used [INFO] [stdout] --> src/services/stats.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DepartureType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn label(&self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `moderator_id` and `member_flags` are never read [INFO] [stdout] --> src/services/stats.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct StayRow { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | pub moderator_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | pub member_flags: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StayRow` 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 `departure_type` is never read [INFO] [stdout] --> src/services/stats.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct RejoinTimes { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | pub departure_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RejoinTimes` 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: function `recent_joins_raw` is never used [INFO] [stdout] --> src/services/stats.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | pub async fn recent_joins_raw(db: &Db, guild_id: GuildId, cap: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `max_uses` is never read [INFO] [stdout] --> src/invites.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct InviteSnapshot { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 10 | pub uses: u64, [INFO] [stdout] 11 | pub max_uses: u64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InviteSnapshot` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/invites.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct TrackedInvite { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 19 | pub snapshot: InviteSnapshot, [INFO] [stdout] 20 | pub created_at: Instant, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TrackedInvite` 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 `is_departure` is never used [INFO] [stdout] --> src/services/messages.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl MessageType { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn is_departure(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `stay_id`, and `previous_message_id` are never read [INFO] [stdout] --> src/services/messages.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct BotMessageRow { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 67 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub stay_id: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 72 | pub previous_message_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BotMessageRow` 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 `id` is never read [INFO] [stdout] --> src/services/notices.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct NoticeRow { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 29 | pub id: i64, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `NoticeRow` 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 `first_seen_at` and `is_present` are never read [INFO] [stdout] --> src/services/search.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct MemberRow { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | pub first_seen_at: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub is_present: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MemberRow` 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: function `set_join_log` is never used [INFO] [stdout] --> src/services/settings.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | pub async fn set_join_log(db: &Db, guild_id: GuildId, channel: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_leave_log` is never used [INFO] [stdout] --> src/services/settings.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | pub async fn set_leave_log(db: &Db, guild_id: GuildId, channel: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_mod_log` is never used [INFO] [stdout] --> src/services/settings.rs:175:14 [INFO] [stdout] | [INFO] [stdout] 175 | pub async fn set_mod_log(db: &Db, guild_id: GuildId, channel: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `upsert` is never used [INFO] [stdout] --> src/services/settings.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | pub async fn upsert( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `label` is never used [INFO] [stdout] --> src/services/stats.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl DepartureType { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn label(&self) -> &'static str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `moderator_id` and `member_flags` are never read [INFO] [stdout] --> src/services/stats.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct StayRow { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | pub moderator_id: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 52 | pub member_flags: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StayRow` 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 `departure_type` is never read [INFO] [stdout] --> src/services/stats.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 85 | pub struct RejoinTimes { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | pub departure_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RejoinTimes` 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: function `recent_joins_raw` is never used [INFO] [stdout] --> src/services/stats.rs:253:14 [INFO] [stdout] | [INFO] [stdout] 253 | pub async fn recent_joins_raw(db: &Db, guild_id: GuildId, cap: i64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "3811fbb58a597dbdddcaa0ef81e04c5a85a94a9554b94d5f18a7ceee591f26e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3811fbb58a597dbdddcaa0ef81e04c5a85a94a9554b94d5f18a7ceee591f26e9", kill_on_drop: false }` [INFO] [stdout] 3811fbb58a597dbdddcaa0ef81e04c5a85a94a9554b94d5f18a7ceee591f26e9