[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 against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoraxno%2Fdnd-simp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Moraxno/dnd-simp on toolchain 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "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" "+8a0378607d6b34c242e3bfa75554871be641864b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking Moraxno/dnd-simp against try#8a0378607d6b34c242e3bfa75554871be641864b for pr-143028 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoraxno%2Fdnd-simp" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Moraxno/dnd-simp on toolchain 8a0378607d6b34c242e3bfa75554871be641864b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "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" "+8a0378607d6b34c242e3bfa75554871be641864b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mockall v0.13.1 [INFO] [stderr] Downloaded ansi-to-tui v6.0.1 [INFO] [stderr] Downloaded tyche v0.2.0 [INFO] [stderr] Downloaded pretty-readme v0.1.0 [INFO] [stderr] Downloaded mockall_derive v0.13.1 [INFO] [stderr] Downloaded tui-markdown v0.2.12 [INFO] [stderr] Downloaded rstest_macros v0.23.0 [INFO] [stderr] Downloaded rstest v0.23.0 [INFO] [stderr] Downloaded instability v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06f6db9bb2c8b35ce54411079b4649e4c65c0dc8b0d1efc06e32f813f51d3c0a [INFO] running `Command { std: "docker" "start" "-a" "06f6db9bb2c8b35ce54411079b4649e4c65c0dc8b0d1efc06e32f813f51d3c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06f6db9bb2c8b35ce54411079b4649e4c65c0dc8b0d1efc06e32f813f51d3c0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06f6db9bb2c8b35ce54411079b4649e4c65c0dc8b0d1efc06e32f813f51d3c0a", kill_on_drop: false }` [INFO] [stdout] 06f6db9bb2c8b35ce54411079b4649e4c65c0dc8b0d1efc06e32f813f51d3c0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8a0378607d6b34c242e3bfa75554871be641864b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 873cf0f9387d813e568446a7293c04599aba0893e2775025d02c809f76165486 [INFO] running `Command { std: "docker" "start" "-a" "873cf0f9387d813e568446a7293c04599aba0893e2775025d02c809f76165486", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking bytes v1.9.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling cc v1.2.4 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking litemap v0.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking http v1.2.0 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking indexmap v2.7.0 [INFO] [stderr] Checking socket2 v0.5.8 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling winnow v0.6.21 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling rstest_macros v0.23.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling psm v0.1.24 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Compiling pulldown-cmark v0.12.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling chumsky v1.0.0-alpha.7 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking pulldown-cmark-escape v0.11.0 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking unicase v2.8.1 [INFO] [stderr] Checking rustls-pki-types v1.10.1 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking clap_builder v4.5.23 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking thread-id v4.2.2 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking encoding_rs v0.8.35 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking ipnet v2.10.1 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling derivative v2.2.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 pretty-readme v0.1.0 [INFO] [stderr] Checking onig v6.4.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 tracing v0.1.41 [INFO] [stderr] Checking yoke v0.7.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling instability v0.3.3 [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 icu_provider v1.5.0 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Checking icu_locid_transform 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_properties v1.5.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking plist v1.7.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking tyche v0.2.0 [INFO] [stderr] Checking mio v1.0.3 [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 icu_normalizer v1.5.0 [INFO] [stderr] Checking syntect v5.2.0 [INFO] [stderr] Checking idna_adapter v1.2.0 [INFO] [stderr] Checking log4rs v1.3.0 [INFO] [stderr] Checking ratatui v0.28.1 [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)]` 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 | ...FileCharacter}, 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::{L... [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)]` 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 | ...FileCharacter}, 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::{L... [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)]` 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)]` 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] 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)]` 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] 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)]` 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: `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: `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/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] 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] [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" "873cf0f9387d813e568446a7293c04599aba0893e2775025d02c809f76165486", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "873cf0f9387d813e568446a7293c04599aba0893e2775025d02c809f76165486", kill_on_drop: false }` [INFO] [stdout] 873cf0f9387d813e568446a7293c04599aba0893e2775025d02c809f76165486