[INFO] cloning repository https://github.com/Moraxno/dnd-simp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Moraxno/dnd-simp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoraxno%2Fdnd-simp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoraxno%2Fdnd-simp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f6c115ceb0bb525baf7987b705a57385bcbc464 [INFO] checking Moraxno/dnd-simp/8f6c115ceb0bb525baf7987b705a57385bcbc464 against master#733108b6d4acaa93fe26ae281ea305aacd6aac4e for pr-148967 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoraxno%2Fdnd-simp" "/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/Moraxno/dnd-simp [INFO] finished tweaking git repo https://github.com/Moraxno/dnd-simp [INFO] tweaked toml for git repo https://github.com/Moraxno/dnd-simp written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Moraxno/dnd-simp on toolchain 733108b6d4acaa93fe26ae281ea305aacd6aac4e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Moraxno/dnd-simp 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" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tyche v0.2.0 [INFO] [stderr] Downloaded tui-markdown v0.2.12 [INFO] [stderr] Downloaded pretty-readme v0.1.0 [INFO] [stderr] Downloaded destructure_traitobject v0.2.0 [INFO] [stderr] Downloaded unsafe-any-ors v1.0.0 [INFO] [stderr] Downloaded typemap-ors v1.0.0 [INFO] [stderr] Downloaded ansi-to-tui v6.0.1 [INFO] [stderr] Downloaded thread-id v4.2.2 [INFO] [stderr] Downloaded log4rs v1.3.0 [INFO] [stderr] Downloaded cc v1.2.4 [INFO] [stderr] Downloaded chumsky v1.0.0-alpha.7 [INFO] [stderr] Downloaded winnow v0.6.21 [INFO] [stderr] Downloaded ratatui v0.28.1 [INFO] [stderr] Downloaded syntect v5.2.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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db15e609ac604d3fab0df6e4ba18d7ca0ceb8c8d2e376d33b4bb5331f8616a61 [INFO] running `Command { std: "docker" "start" "-a" "db15e609ac604d3fab0df6e4ba18d7ca0ceb8c8d2e376d33b4bb5331f8616a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db15e609ac604d3fab0df6e4ba18d7ca0ceb8c8d2e376d33b4bb5331f8616a61", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db15e609ac604d3fab0df6e4ba18d7ca0ceb8c8d2e376d33b4bb5331f8616a61", kill_on_drop: false }` [INFO] [stdout] db15e609ac604d3fab0df6e4ba18d7ca0ceb8c8d2e376d33b4bb5331f8616a61 [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=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" "+733108b6d4acaa93fe26ae281ea305aacd6aac4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6889e8885c9265979ae107065fd102982620643232128d602609f22cb0714a3 [INFO] running `Command { std: "docker" "start" "-a" "a6889e8885c9265979ae107065fd102982620643232128d602609f22cb0714a3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.6.21 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling pulldown-cmark v0.12.2 [INFO] [stderr] Compiling chumsky v1.0.0-alpha.7 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pulldown-cmark-escape v0.11.0 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking rustls-pki-types v1.10.1 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking pretty_assertions v1.4.1 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking onig v6.4.0 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling pretty-readme v0.1.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking zerofrom v0.1.5 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling instability v0.3.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking clap v4.5.23 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking rstest v0.23.0 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking icu_properties v1.5.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking serde_json v1.0.133 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking tyche v0.2.0 [INFO] [stderr] Checking tokio v1.42.0 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking ratatui v0.28.1 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking ansi-to-tui v6.0.1 [INFO] [stderr] Checking tui-markdown v0.2.12 [INFO] [stderr] Checking tokio-util v0.7.13 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.4.7 [INFO] [stderr] Checking hyper v1.5.1 [INFO] [stderr] Checking hyper-util v0.1.10 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.9 [INFO] [stderr] Checking dnd-simp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/main.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::format::Item` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::format::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/data/campaign.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::item::Item` [INFO] [stdout] --> src/data/campaign.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::item::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Display`, `fs::File`, and `ops::Index` [INFO] [stdout] --> src/registry.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, fs::File, ops::Index}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Style`, `Stylize`, and `text::Span` [INFO] [stdout] --> src/registry.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | style::{Style, Stylize}, [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] 5 | text::Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ItemCategory` and `ui::display::AsRatatuiSpan` [INFO] [stdout] --> src/registry.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | ...leCharacter}, item::{Item, ItemCategory, ItemIdentifier, ItemType, Rarity}}, ui::display::AsRatatuiSpan}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Clear` and `Paragraph` [INFO] [stdout] --> src/ui/app.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | widgets::{Block, Clear, Paragraph, TableState}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLACK`, `GRAY as SLATE`, `GREEN`, `WHITE`, `YELLOW`, and `self` [INFO] [stdout] --> src/ui/app.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use style::palette::material::{self, AccentedPalette, BLACK, BLUE, GRAY as SLATE, GREEN, RED, WHITE, YELLOW}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::shop::Shop` [INFO] [stdout] --> src/ui/app.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::data::shop::Shop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::shops::ShopsPage` [INFO] [stdout] --> src/ui/app.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use super::shops::ShopsPage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/ui/offer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, cmp::min, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/ui/offer.rs:4:113 [INFO] [stdout] | [INFO] [stdout] 4 | crossterm::event::{Event, KeyCode, KeyEventKind, KeyModifiers}, layout::{Constraint, Layout, Rect}, style::{Style, Stylize}, text... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flow::KeyHandler` [INFO] [stdout] --> src/ui/characters.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{flow::KeyHandler, key::KeyMenu, page::RenderablePage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/ui/shop.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item::ItemType` [INFO] [stdout] --> src/ui/shop.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::data::{item::ItemType, shop::{Shop, StockedItem}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/ui/shops.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `key` [INFO] [stdout] --> src/ui/settings.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{key, page::RenderablePage}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyEventKind`, `KeyEventState`, and `KeyEvent` [INFO] [stdout] --> src/ui/flow.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use ratatui::crossterm::event::{KeyCode, KeyEvent, KeyEventKind, KeyEventState, KeyModifiers}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/ui/key.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use ratatui::crossterm::event::{KeyCode, KeyModifiers}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item::ItemType` [INFO] [stdout] --> src/state/shop.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::data::{item::ItemType, shop::{Shop, StockedItem}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Campaign` [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use data::campaign::{Campaign, CampaignFolder, FileMeta}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Character` [INFO] [stdout] --> src/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use data::character::{Character, FileCharacter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileShop` and `Shop` [INFO] [stdout] --> src/main.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use data::shop::{FileShop, Shop}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/main.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::format::Item` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use chrono::format::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/data/campaign.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::item::Item` [INFO] [stdout] --> src/data/campaign.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::item::Item; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fmt::Display`, `fs::File`, and `ops::Index` [INFO] [stdout] --> src/registry.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{fmt::Display, fs::File, ops::Index}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Style`, `Stylize`, and `text::Span` [INFO] [stdout] --> src/registry.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | style::{Style, Stylize}, [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] 5 | text::Span, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ItemCategory` and `ui::display::AsRatatuiSpan` [INFO] [stdout] --> src/registry.rs:9:72 [INFO] [stdout] | [INFO] [stdout] 9 | ...leCharacter}, item::{Item, ItemCategory, ItemIdentifier, ItemType, Rarity}}, ui::display::AsRatatuiSpan}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Clear` and `Paragraph` [INFO] [stdout] --> src/ui/app.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | widgets::{Block, Clear, Paragraph, TableState}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLACK`, `GRAY as SLATE`, `GREEN`, `WHITE`, `YELLOW`, and `self` [INFO] [stdout] --> src/ui/app.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | use style::palette::material::{self, AccentedPalette, BLACK, BLUE, GRAY as SLATE, GREEN, RED, WHITE, YELLOW}; [INFO] [stdout] | ^^^^ ^^^^^ ^^^^^^^^^^^^^ ^^^^^ ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data::shop::Shop` [INFO] [stdout] --> src/ui/app.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::data::shop::Shop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::shops::ShopsPage` [INFO] [stdout] --> src/ui/app.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use super::shops::ShopsPage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/ui/offer.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, cmp::min, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Style` [INFO] [stdout] --> src/ui/offer.rs:4:113 [INFO] [stdout] | [INFO] [stdout] 4 | crossterm::event::{Event, KeyCode, KeyEventKind, KeyModifiers}, layout::{Constraint, Layout, Rect}, style::{Style, Stylize}, text... [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `flow::KeyHandler` [INFO] [stdout] --> src/ui/characters.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{flow::KeyHandler, key::KeyMenu, page::RenderablePage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/ui/shop.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item::ItemType` [INFO] [stdout] --> src/ui/shop.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::data::{item::ItemType, shop::{Shop, StockedItem}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc` [INFO] [stdout] --> src/ui/shops.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `key` [INFO] [stdout] --> src/ui/settings.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use super::{key, page::RenderablePage}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyEventKind`, `KeyEventState`, and `KeyEvent` [INFO] [stdout] --> src/ui/flow.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use ratatui::crossterm::event::{KeyCode, KeyEvent, KeyEventKind, KeyEventState, KeyModifiers}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyCode` [INFO] [stdout] --> src/ui/key.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use ratatui::crossterm::event::{KeyCode, KeyModifiers}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `item::ItemType` [INFO] [stdout] --> src/state/shop.rs:1:19 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::data::{item::ItemType, shop::{Shop, StockedItem}}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Campaign` [INFO] [stdout] --> src/main.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | use data::campaign::{Campaign, CampaignFolder, FileMeta}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Character` [INFO] [stdout] --> src/main.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | use data::character::{Character, FileCharacter}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FileShop` and `Shop` [INFO] [stdout] --> src/main.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | use data::shop::{FileShop, Shop}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::widgets::canvas::Shape` [INFO] [stdout] --> src/ui/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ratatui::widgets::canvas::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> src/ui/shop.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ratatui::widgets::canvas::Shape` [INFO] [stdout] --> src/ui/app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ratatui::widgets::canvas::Shape; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `strum::IntoEnumIterator` [INFO] [stdout] --> src/ui/shop.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use strum::IntoEnumIterator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data/item.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | _ => "I am to lazy".into(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/data/item.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 79 | Rarity::Common => "C".into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 80 | Rarity::Uncommon => "U".into(), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 81 | Rarity::Artifact => "A".into(), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 82 | Rarity::Rare => "R".into(), [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 85 | _ => "I am to lazy".into(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/data/item.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | _ => "I am to lazy".into(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/data/item.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 79 | Rarity::Common => "C".into(), [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 80 | Rarity::Uncommon => "U".into(), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 81 | Rarity::Artifact => "A".into(), [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 82 | Rarity::Rare => "R".into(), [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 85 | _ => "I am to lazy".into(), [INFO] [stdout] | ^ ...and 2 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/ui/app.rs:105:51 [INFO] [stdout] | [INFO] [stdout] 97 | impl<'a> App<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 104 | tabs: vec![ [INFO] [stdout] | ___________________- [INFO] [stdout] 105 | | Tab::new("Home".into(), Box::new(&HomePage::new()), BLUE), [INFO] [stdout] | | ^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 106 | | Tab::new("Characters".into(), Box::new(&CharactersPage::new(campaign.characters.iter().collect())), RED), [INFO] [stdout] 107 | | // Tab::new("Shops".into(), Box::new(ShopsPage::new(campaign.shops.iter().collect())), YELLOW), [INFO] [stdout] 108 | | ], [INFO] [stdout] | |_____________- argument requires that borrow lasts for `'a` [INFO] [stdout] ... [INFO] [stdout] 124 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/ui/app.rs:106:57 [INFO] [stdout] | [INFO] [stdout] 97 | impl<'a> App<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 104 | tabs: vec![ [INFO] [stdout] | ___________________- [INFO] [stdout] 105 | | Tab::new("Home".into(), Box::new(&HomePage::new()), BLUE), [INFO] [stdout] 106 | | Tab::new("Characters".into(), Box::new(&CharactersPage::new(campaign.characters.iter().collect())), RED), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 107 | | // Tab::new("Shops".into(), Box::new(ShopsPage::new(campaign.shops.iter().collect())), YELLOW), [INFO] [stdout] 108 | | ], [INFO] [stdout] | |_____________- argument requires that borrow lasts for `'a` [INFO] [stdout] ... [INFO] [stdout] 124 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an index of `Vec>` as mutable [INFO] [stdout] --> src/ui/app.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | self.tabs[self.selected_tab].page.draw(frame, content_area, self.i18n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/ui/app.rs:105:51 [INFO] [stdout] | [INFO] [stdout] 97 | impl<'a> App<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 104 | tabs: vec![ [INFO] [stdout] | ___________________- [INFO] [stdout] 105 | | Tab::new("Home".into(), Box::new(&HomePage::new()), BLUE), [INFO] [stdout] | | ^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 106 | | Tab::new("Characters".into(), Box::new(&CharactersPage::new(campaign.characters.iter().collect())), RED), [INFO] [stdout] 107 | | // Tab::new("Shops".into(), Box::new(ShopsPage::new(campaign.shops.iter().collect())), YELLOW), [INFO] [stdout] 108 | | ], [INFO] [stdout] | |_____________- argument requires that borrow lasts for `'a` [INFO] [stdout] ... [INFO] [stdout] 124 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/ui/app.rs:106:57 [INFO] [stdout] | [INFO] [stdout] 97 | impl<'a> App<'a> { [INFO] [stdout] | -- lifetime `'a` defined here [INFO] [stdout] ... [INFO] [stdout] 104 | tabs: vec![ [INFO] [stdout] | ___________________- [INFO] [stdout] 105 | | Tab::new("Home".into(), Box::new(&HomePage::new()), BLUE), [INFO] [stdout] 106 | | Tab::new("Characters".into(), Box::new(&CharactersPage::new(campaign.characters.iter().collect())), RED), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary value which is freed while still in use [INFO] [stdout] 107 | | // Tab::new("Shops".into(), Box::new(ShopsPage::new(campaign.shops.iter().collect())), YELLOW), [INFO] [stdout] 108 | | ], [INFO] [stdout] | |_____________- argument requires that borrow lasts for `'a` [INFO] [stdout] ... [INFO] [stdout] 124 | } [INFO] [stdout] | - temporary value is freed at the end of this statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i18n` [INFO] [stdout] --> src/ui/home.rs:37:55 [INFO] [stdout] | [INFO] [stdout] 37 | fn draw(&mut self, frame: &mut Frame, area: Rect, i18n: &dyn I18ner) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_i18n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `C` [INFO] [stdout] --> src/ui/home.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let C = radius * 0.8165_f64; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ui/home.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let a = 97.761_f64.to_radians(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/ui/home.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let b = 75.522_f64.to_radians(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/ui/home.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let d = 52.239_f64.to_radians(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ui/home.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let e = 22.239_f64.to_radians(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in an index of `Vec>` as mutable [INFO] [stdout] --> src/ui/app.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | self.tabs[self.selected_tab].page.draw(frame, content_area, self.i18n); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i18n` [INFO] [stdout] --> src/ui/home.rs:37:55 [INFO] [stdout] | [INFO] [stdout] 37 | fn draw(&mut self, frame: &mut Frame, area: Rect, i18n: &dyn I18ner) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_i18n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `C` [INFO] [stdout] --> src/ui/home.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let C = radius * 0.8165_f64; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_C` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/ui/home.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | let a = 97.761_f64.to_radians(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/ui/home.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | let b = 75.522_f64.to_radians(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/ui/home.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | let d = 52.239_f64.to_radians(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/ui/home.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | let e = 22.239_f64.to_radians(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i18n` [INFO] [stdout] --> src/ui/characters.rs:30:82 [INFO] [stdout] | [INFO] [stdout] 30 | fn draw(&mut self, frame: &mut ratatui::Frame, area: ratatui::prelude::Rect, i18n: &dyn super::translator::I18ner) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_i18n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/ui/characters.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | fn handle_and_transact(&mut self, event: &ratatui::crossterm::event::Event) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i18n` [INFO] [stdout] --> src/ui/shop.rs:161:60 [INFO] [stdout] | [INFO] [stdout] 161 | fn draw_self(&mut self, frame: &mut Frame, area: Rect, i18n: &dyn I18ner) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_i18n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i18n` [INFO] [stdout] --> src/ui/characters.rs:30:82 [INFO] [stdout] | [INFO] [stdout] 30 | fn draw(&mut self, frame: &mut ratatui::Frame, area: ratatui::prelude::Rect, i18n: &dyn super::translator::I18ner) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_i18n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/ui/characters.rs:71:39 [INFO] [stdout] | [INFO] [stdout] 71 | fn handle_and_transact(&mut self, event: &ratatui::crossterm::event::Event) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i18n` [INFO] [stdout] --> src/ui/shops.rs:33:69 [INFO] [stdout] | [INFO] [stdout] 33 | fn draw_self(&mut self, frame: &mut ratatui::Frame, area: Rect, i18n: &dyn I18ner) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_i18n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i18n` [INFO] [stdout] --> src/ui/settings.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | fn draw(&mut self, frame: &mut ratatui::Frame, area: ratatui::prelude::Rect, i18n: &dyn super::translator::I18ner) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_i18n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i18n` [INFO] [stdout] --> src/ui/shop.rs:161:60 [INFO] [stdout] | [INFO] [stdout] 161 | fn draw_self(&mut self, frame: &mut Frame, area: Rect, i18n: &dyn I18ner) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_i18n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i18n` [INFO] [stdout] --> src/ui/shops.rs:33:69 [INFO] [stdout] | [INFO] [stdout] 33 | fn draw_self(&mut self, frame: &mut ratatui::Frame, area: Rect, i18n: &dyn I18ner) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_i18n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i18n` [INFO] [stdout] --> src/ui/settings.rs:23:82 [INFO] [stdout] | [INFO] [stdout] 23 | fn draw(&mut self, frame: &mut ratatui::Frame, area: ratatui::prelude::Rect, i18n: &dyn super::translator::I18ner) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_i18n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | Err(e) => println!("Logger could not be initialized"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_registry` [INFO] [stdout] --> src/main.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | let (mut campaign, item_registry) = persistent_folder.destructure(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let s = ui::app::run_app(&mut campaign, persistent_inter); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | Err(e) => println!("Logger could not be initialized"), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item_registry` [INFO] [stdout] --> src/main.rs:144:24 [INFO] [stdout] | [INFO] [stdout] 144 | let (mut campaign, item_registry) = persistent_folder.destructure(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_item_registry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0596, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/main.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | let s = ui::app::run_app(&mut campaign, persistent_inter); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0596, E0716. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0596`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dnd-simp` (bin "dnd-simp") due to 3 previous errors; 42 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dnd-simp` (bin "dnd-simp" test) due to 3 previous errors; 42 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a6889e8885c9265979ae107065fd102982620643232128d602609f22cb0714a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6889e8885c9265979ae107065fd102982620643232128d602609f22cb0714a3", kill_on_drop: false }` [INFO] [stdout] a6889e8885c9265979ae107065fd102982620643232128d602609f22cb0714a3