[INFO] cloning repository https://github.com/oxonium0215/oucc-kizai-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/oxonium0215/oucc-kizai-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foxonium0215%2Foucc-kizai-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foxonium0215%2Foucc-kizai-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb14d142daf3002196a41bcaf1eeac704893a01c [INFO] checking oxonium0215/oucc-kizai-bot against try#0cb362313295507a2f4321c0e30cea0168f2fe71 for pr-138961-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Foxonium0215%2Foucc-kizai-bot" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/oxonium0215/oucc-kizai-bot [INFO] finished tweaking git repo https://github.com/oxonium0215/oucc-kizai-bot [INFO] tweaked toml for git repo https://github.com/oxonium0215/oucc-kizai-bot written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/oxonium0215/oucc-kizai-bot on toolchain 0cb362313295507a2f4321c0e30cea0168f2fe71 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/oxonium0215/oucc-kizai-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" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01b99e1d286a9a97e9fe51695bbff97a0568c75d0bf114f085cc6924f69674fe [INFO] running `Command { std: "docker" "start" "-a" "01b99e1d286a9a97e9fe51695bbff97a0568c75d0bf114f085cc6924f69674fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01b99e1d286a9a97e9fe51695bbff97a0568c75d0bf114f085cc6924f69674fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01b99e1d286a9a97e9fe51695bbff97a0568c75d0bf114f085cc6924f69674fe", kill_on_drop: false }` [INFO] [stdout] 01b99e1d286a9a97e9fe51695bbff97a0568c75d0bf114f085cc6924f69674fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+0cb362313295507a2f4321c0e30cea0168f2fe71" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e04ec4a6c590782eb1b566bcbd3ee933c4a38212591ebc5ac9a18f597181540 [INFO] running `Command { std: "docker" "start" "-a" "1e04ec4a6c590782eb1b566bcbd3ee933c4a38212591ebc5ac9a18f597181540", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.41 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking hashlink v0.8.4 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking regex-syntax v0.8.7 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling serenity v0.12.4 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking flate2 v1.1.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking serde_cow v0.1.2 [INFO] [stderr] Compiling sqlformat v0.2.6 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking typemap_rev v0.3.0 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking regex-automata v0.4.12 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking tokio-util v0.7.16 [INFO] [stderr] Checking h2 v0.3.27 [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 tokio-rustls v0.24.1 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking tokio-rustls v0.25.0 [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-rustls v0.24.2 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking oucc-kizai-bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `equipment` [INFO] [stdout] --> src/discord/commands/equipment_settings.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | let equipment = Equipment::get(pool, equipment_id) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equipment` [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/discord/commands/equipment_settings.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | let guild_id = interaction [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location_id` [INFO] [stdout] --> src/discord/commands/reservation.rs:1185:97 [INFO] [stdout] | [INFO] [stdout] 1185 | if let ReservationWizardScreen::Confirm { year, month, day, start_hour, duration_hours, location_id } = state.screen { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `location_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `equipment` [INFO] [stdout] --> src/discord/commands/equipment_settings.rs:375:9 [INFO] [stdout] | [INFO] [stdout] 375 | let equipment = Equipment::get(pool, equipment_id) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equipment` [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/discord/commands/equipment_settings.rs:379:9 [INFO] [stdout] | [INFO] [stdout] 379 | let guild_id = interaction [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_guild_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `location_id` [INFO] [stdout] --> src/discord/commands/reservation.rs:1185:97 [INFO] [stdout] | [INFO] [stdout] 1185 | if let ReservationWizardScreen::Confirm { year, month, day, start_hour, duration_hours, location_id } = state.screen { [INFO] [stdout] | ^^^^^^^^^^^ help: try ignoring the field: `location_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res_id2` [INFO] [stdout] --> src/models/reservation.rs:392:13 [INFO] [stdout] | [INFO] [stdout] 392 | let res_id2 = Reservation::create(&pool, guild_id, equipment_id, user_id, 2000, 3000) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_res_id2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guild_id` and `equipment_id` are never read [INFO] [stdout] --> src/discord/commands/equipment_settings.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct EquipmentSettingsState { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 23 | pub guild_id: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | pub equipment_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EquipmentSettingsState` 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 `period` is never read [INFO] [stdout] --> src/discord/commands/equipment_settings.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | ViewOperationLog { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] 41 | period: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EquipmentSettingsScreen` 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 `selected_month` is never read [INFO] [stdout] --> src/discord/commands/reservation.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | YearMonth { selected_year: Option, selected_month: Option }, [INFO] [stdout] | --------- field in this variant ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReservationWizardScreen` 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 `selected_day` is never read [INFO] [stdout] --> src/discord/commands/reservation.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | Date { year: i32, month: u8, selected_day: Option }, [INFO] [stdout] | ---- field in this variant ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReservationWizardScreen` 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 `start_hour` is never read [INFO] [stdout] --> src/discord/commands/reservation.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | StartTime { year: i32, month: u8, day: u8, start_hour: Option }, [INFO] [stdout] | --------- field in this variant ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReservationWizardScreen` 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 `duration_hours` is never read [INFO] [stdout] --> src/discord/commands/reservation.rs:31:63 [INFO] [stdout] | [INFO] [stdout] 31 | Duration { year: i32, month: u8, day: u8, start_hour: u8, duration_hours: Option }, [INFO] [stdout] | -------- field in this variant ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReservationWizardScreen` 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 `location_id` is never read [INFO] [stdout] --> src/discord/commands/reservation.rs:32:83 [INFO] [stdout] | [INFO] [stdout] 32 | Location { year: i32, month: u8, day: u8, start_hour: u8, duration_hours: u8, location_id: Option }, [INFO] [stdout] | -------- field in this variant ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReservationWizardScreen` 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: associated function `delete` is never used [INFO] [stdout] --> src/models/equipment.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 46 | impl Equipment { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub async fn delete(pool: &SqlitePool, id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guild_id` is never read [INFO] [stdout] --> src/models/location.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Location { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | pub id: i64, [INFO] [stdout] 8 | pub guild_id: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` 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: associated function `delete_for_equipment` is never used [INFO] [stdout] --> src/models/reservation.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl Reservation { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub async fn delete_for_equipment(pool: &SqlitePool, equipment_id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `created_at` and `responded_at` are never read [INFO] [stdout] --> src/models/transfer_request.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TransferRequest { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub created_at: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub responded_at: Option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferRequest` 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: enum `TransferStatus` is never used [INFO] [stdout] --> src/models/transfer_request.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum TransferStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> src/models/transfer_request.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl TransferStatus { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jst_to_timestamp` is never used [INFO] [stdout] --> src/util/time.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn jst_to_timestamp(dt: OffsetDateTime) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `guild_id` and `equipment_id` are never read [INFO] [stdout] --> src/discord/commands/equipment_settings.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct EquipmentSettingsState { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 23 | pub guild_id: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 24 | pub equipment_id: i64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EquipmentSettingsState` 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 `period` is never read [INFO] [stdout] --> src/discord/commands/equipment_settings.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | ViewOperationLog { [INFO] [stdout] | ---------------- field in this variant [INFO] [stdout] 41 | period: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EquipmentSettingsScreen` 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 `selected_month` is never read [INFO] [stdout] --> src/discord/commands/reservation.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | YearMonth { selected_year: Option, selected_month: Option }, [INFO] [stdout] | --------- field in this variant ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReservationWizardScreen` 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 `selected_day` is never read [INFO] [stdout] --> src/discord/commands/reservation.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | Date { year: i32, month: u8, selected_day: Option }, [INFO] [stdout] | ---- field in this variant ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReservationWizardScreen` 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 `start_hour` is never read [INFO] [stdout] --> src/discord/commands/reservation.rs:30:48 [INFO] [stdout] | [INFO] [stdout] 30 | StartTime { year: i32, month: u8, day: u8, start_hour: Option }, [INFO] [stdout] | --------- field in this variant ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReservationWizardScreen` 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 `duration_hours` is never read [INFO] [stdout] --> src/discord/commands/reservation.rs:31:63 [INFO] [stdout] | [INFO] [stdout] 31 | Duration { year: i32, month: u8, day: u8, start_hour: u8, duration_hours: Option }, [INFO] [stdout] | -------- field in this variant ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReservationWizardScreen` 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 `location_id` is never read [INFO] [stdout] --> src/discord/commands/reservation.rs:32:83 [INFO] [stdout] | [INFO] [stdout] 32 | Location { year: i32, month: u8, day: u8, start_hour: u8, duration_hours: u8, location_id: Option }, [INFO] [stdout] | -------- field in this variant ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReservationWizardScreen` 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: associated function `delete` is never used [INFO] [stdout] --> src/models/equipment.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 46 | impl Equipment { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub async fn delete(pool: &SqlitePool, id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guild_id` is never read [INFO] [stdout] --> src/models/location.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Location { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 7 | pub id: i64, [INFO] [stdout] 8 | pub guild_id: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Location` 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: associated function `delete_for_equipment` is never used [INFO] [stdout] --> src/models/reservation.rs:198:18 [INFO] [stdout] | [INFO] [stdout] 18 | impl Reservation { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 198 | pub async fn delete_for_equipment(pool: &SqlitePool, equipment_id: i64) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `created_at` is never read [INFO] [stdout] --> src/models/transfer_request.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TransferRequest { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub created_at: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TransferRequest` 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: enum `TransferStatus` is never used [INFO] [stdout] --> src/models/transfer_request.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub enum TransferStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `from_str` are never used [INFO] [stdout] --> src/models/transfer_request.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl TransferStatus { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `jst_to_timestamp` is never used [INFO] [stdout] --> src/util/time.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn jst_to_timestamp(dt: OffsetDateTime) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 26s [INFO] running `Command { std: "docker" "inspect" "1e04ec4a6c590782eb1b566bcbd3ee933c4a38212591ebc5ac9a18f597181540", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e04ec4a6c590782eb1b566bcbd3ee933c4a38212591ebc5ac9a18f597181540", kill_on_drop: false }` [INFO] [stdout] 1e04ec4a6c590782eb1b566bcbd3ee933c4a38212591ebc5ac9a18f597181540