[INFO] cloning repository https://github.com/fabiandarga/rusty-dungeon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fabiandarga/rusty-dungeon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabiandarga%2Frusty-dungeon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabiandarga%2Frusty-dungeon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 97c296ba04aa9f8acc392cd02b6e84f5f2771851 [INFO] testing fabiandarga/rusty-dungeon against try#c066bf6804adc55193b71afdff6a56922f4a8689+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_in_2025-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffabiandarga%2Frusty-dungeon" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/fabiandarga/rusty-dungeon [INFO] finished tweaking git repo https://github.com/fabiandarga/rusty-dungeon [INFO] tweaked toml for git repo https://github.com/fabiandarga/rusty-dungeon written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/fabiandarga/rusty-dungeon on toolchain c066bf6804adc55193b71afdff6a56922f4a8689 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/fabiandarga/rusty-dungeon 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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbba9a21f73bee408685bc18ff31e4b4b2b03e574c20b7d0187d1a2629fe299d [INFO] running `Command { std: "docker" "start" "-a" "cbba9a21f73bee408685bc18ff31e4b4b2b03e574c20b7d0187d1a2629fe299d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbba9a21f73bee408685bc18ff31e4b4b2b03e574c20b7d0187d1a2629fe299d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbba9a21f73bee408685bc18ff31e4b4b2b03e574c20b7d0187d1a2629fe299d", kill_on_drop: false }` [INFO] [stdout] cbba9a21f73bee408685bc18ff31e4b4b2b03e574c20b7d0187d1a2629fe299d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+c066bf6804adc55193b71afdff6a56922f4a8689" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 2b76a7230924e32ee0ddf118455bb3672c660284838b4a662dd41f2da29a29ef [INFO] running `Command { std: "docker" "start" "-a" "2b76a7230924e32ee0ddf118455bb3672c660284838b4a662dd41f2da29a29ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling signal-hook v0.3.9 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling signal-hook-mio v0.2.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling crossterm v0.20.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tui v0.16.0 [INFO] [stderr] Compiling rusty-dungeon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `basic_melee_fighter::*` [INFO] [stdout] --> src/entities/enemies/mod.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub use basic_melee_fighter::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `template` is never read [INFO] [stdout] --> src/models/enemy.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Enemy { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | pub template: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Enemy` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/models/enemy.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Enemy { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(id: u16, name: &str) -> Enemy { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Actor` is never used [INFO] [stdout] --> src/models/actor.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Actor { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `apply_damage` is never used [INFO] [stdout] --> src/models/actor.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl ActorValues { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 25 | pub fn apply_damage(&mut self, dmg: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `text` and `enemies` are never read [INFO] [stdout] --> src/models/encounter.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Encounter { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 6 | pub id: u16, [INFO] [stdout] 7 | pub text: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | pub enemies: Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Encounter` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/models/encounter.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct EnemyDeclaration(u16, EnemyAmount); [INFO] [stdout] | ---------------- ^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `EnemyDeclaration` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/models/encounter.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Amount(u8), [INFO] [stdout] | ------ ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EnemyAmount` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - Amount(u8), [INFO] [stdout] 22 + Amount(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/models/encounter.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | Range(u8, u8), [INFO] [stdout] | ----- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `EnemyAmount` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 23 - Range(u8, u8), [INFO] [stdout] 23 + Range((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `AttackFunction` is never used [INFO] [stdout] --> src/models/attack_methods.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type AttackFunction = dyn Fn(&mut ActorValues, &mut ActorValues) -> BattleEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Skill` is never constructed [INFO] [stdout] --> src/models/models.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub enum BadResultType { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 141 | Damage, [INFO] [stdout] 142 | Skill, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BadResultType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `special_effect` is never read [INFO] [stdout] --> src/models/attack_options.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct AttackDescription { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | pub special_effect: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AttackDescription` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `source`, `target`, and `effect` are never read [INFO] [stdout] --> src/models/battle_events.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct BattleEvent { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 14 | pub title: String, [INFO] [stdout] 15 | pub source: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 16 | pub target: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub effect: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BattleEvent` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `encounters` and `enemies` are never read [INFO] [stdout] --> src/data/game_data.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct GameData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | encounters: Vec>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | enemies: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_enemy_by_id` and `find_encounter_by_id` are never used [INFO] [stdout] --> src/data/game_data.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl GameData { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn find_enemy_by_id(&self, enemy_id: u16) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn find_encounter_by_id(&self, encounter_id: u16) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `battle_handler` is never read [INFO] [stdout] --> src/game_handler.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct GameHandler { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | battle_handler: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_battle_handler` is never used [INFO] [stdout] --> src/game_handler.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GameHandler { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn get_battle_handler(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `actors`, `sorted_actors`, and `current_actor_index` are never read [INFO] [stdout] --> src/battle_handler.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct BattleHandler { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 8 | actors: Vec>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | sorted_actors: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 10 | current_actor_index: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_enemy`, `add_player`, `calc_initiative`, `get_actor_values_by_order`, `get_current_actor`, and `increase_actor_index` are never used [INFO] [stdout] --> src/battle_handler.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl BattleHandler { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn add_enemy(mut self, enemy: &Enemy) -> BattleHandler { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn add_player(mut self, player: &Character) -> BattleHandler { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn calc_initiative(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_actor_values_by_order(&self) -> Vec>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn get_current_actor(&self) -> Option>>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn increase_actor_index(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `title` is never read [INFO] [stdout] --> src/views/components/message_block.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct MessageBlock<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 15 | title: Text<'a>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageBlock` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `battle_handler` is never read [INFO] [stdout] --> src/views/dungeon/battle_view.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct BattleView { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | battle_handler: BattleHandler, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasicMeleeFighter` is never constructed [INFO] [stdout] --> src/entities/enemies/basic_melee_fighter.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct BasicMeleeFighter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `melee_attack` is never used [INFO] [stdout] --> src/entities/enemies/basic_melee_fighter.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn melee_attack(user: &mut ActorValues, target: &mut ActorValues) -> BattleEvent { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `selectAttack` should have a snake case name [INFO] [stdout] --> src/models/actor.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | fn selectAttack(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `select_attack` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/dungeon_view.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | fn build_result_widget(&self, last_rewards: &Vec) -> Paragraph { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 104 | fn build_result_widget(&self, last_rewards: &Vec) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/dungeon_view.rs:137:29 [INFO] [stdout] | [INFO] [stdout] 137 | fn build_failure_widget(&self, last_bad_results: &Vec) -> Paragraph { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 137 | fn build_failure_widget(&self, last_bad_results: &Vec) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/dungeon_view.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | fn build_confirm_widget(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 165 | fn build_confirm_widget(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/dungeon_view.rs:183:20 [INFO] [stdout] | [INFO] [stdout] 183 | fn build_title(&self, title: &str) -> Paragraph { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 183 | fn build_title(&self, title: &str) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/dungeon_view.rs:191:19 [INFO] [stdout] | [INFO] [stdout] 191 | fn build_body(&self, text: &str) -> Paragraph { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 191 | fn build_body(&self, text: &str) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/dungeon_view.rs:198:28 [INFO] [stdout] | [INFO] [stdout] 198 | fn build_choice_widget(&self, choices: &[Choice]) -> Paragraph { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 198 | fn build_choice_widget(&self, choices: &[Choice]) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/dungeon_view.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | fn build_block(&self) -> Block { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 224 | fn build_block(&self) -> Block<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/menu_view.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn build_block(&self) -> Block { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn build_block(&self) -> Block<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/character_view.rs:37:23 [INFO] [stdout] | [INFO] [stdout] 37 | fn build_overview(&self, xp: u16, hp: u16, hp_max: u16) -> Paragraph { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 37 | fn build_overview(&self, xp: u16, hp: u16, hp_max: u16) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/character_view.rs:58:28 [INFO] [stdout] | [INFO] [stdout] 58 | fn build_skill_section(&self, skill_list: &[Rc]) -> Paragraph { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 58 | fn build_skill_section(&self, skill_list: &[Rc]) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/character_view.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | fn build_block(&self) -> Block { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 76 | fn build_block(&self) -> Block<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/items_view.rs:94:24 [INFO] [stdout] | [INFO] [stdout] 94 | fn build_item_list(&self, item_list: &Vec>) -> List { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 94 | fn build_item_list(&self, item_list: &Vec>) -> List<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/items_view.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | fn build_item_detail(&self, item_list: &Vec>) -> Table { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 119 | fn build_item_detail(&self, item_list: &Vec>) -> Table<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/items_view.rs:156:29 [INFO] [stdout] | [INFO] [stdout] 156 | fn build_equipped_items(&self, item_list: &Vec>) -> Table { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 156 | fn build_equipped_items(&self, item_list: &Vec>) -> Table<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/items_view.rs:183:23 [INFO] [stdout] | [INFO] [stdout] 183 | fn build_item_row(&self, item: &Item) -> Row { [INFO] [stdout] | ^^^^^ --- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 183 | fn build_item_row(&self, item: &Item) -> Row<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/dungeon/battle_view.rs:110:21 [INFO] [stdout] | [INFO] [stdout] 110 | fn render_image(&self) -> Paragraph { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 110 | fn render_image(&self) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/dungeon/battle_view.rs:139:26 [INFO] [stdout] | [INFO] [stdout] 139 | fn build_battle_menu(&self) -> List { [INFO] [stdout] | ^^^^^ ---- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | fn build_battle_menu(&self) -> List<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/dungeon/battle_view.rs:148:29 [INFO] [stdout] | [INFO] [stdout] 148 | fn build_battle_options(&self, options: &Vec) -> (Paragraph, Paragraph, Paragraph, Paragraph) { [INFO] [stdout] | ^^^^^ --------- --------- --------- --------- the lifetimes get resolved as `'_` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | the lifetimes get resolved as `'_` [INFO] [stdout] | | | the lifetimes get resolved as `'_` [INFO] [stdout] | this lifetime flows to the output the lifetimes get resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | fn build_battle_options(&self, options: &Vec) -> (Paragraph<'_>, Paragraph<'_>, Paragraph<'_>, Paragraph<'_>) { [INFO] [stdout] | ++++ ++++ ++++ ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/dungeon/battle_view.rs:157:26 [INFO] [stdout] | [INFO] [stdout] 157 | fn build_battle_tile(&self, key: &str, option: &AttackOption) -> Paragraph { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 157 | fn build_battle_tile(&self, key: &str, option: &AttackOption) -> Paragraph<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/dungeon/battle/battle_history.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn get_entry(&self, event: &BattleEvent) -> Spans { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 24 | fn get_entry(&self, event: &BattleEvent) -> Spans<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/views/dungeon/battle/battle_history.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | fn get_text_content(&self) -> Vec { [INFO] [stdout] | ^^^^^ ----- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 30 | fn get_text_content(&self) -> Vec> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcnjMFCA/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libserde_json-e7eb3b6cac7e4c26.rlib,libryu-af883cd9b444a782.rlib,libitoa-a894b10a4e051367.rlib,librand-21a2e27e855fccc3.rlib,librand_chacha-b1cb43f8a19fe0a6.rlib,libppv_lite86-5a92c3ab26105205.rlib,librand_core-5980417b7ce0ea61.rlib,libgetrandom-3fdb0f8defbd428a.rlib,libtui-3507c7e4aba4d958.rlib,libcassowary-320fe38210946833.rlib,libunicode_segmentation-55ecc53bd5aab7d8.rlib,libunicode_width-a8c49d31449f9404.rlib,libcrossterm-4d6d495cf269d193.rlib,libsignal_hook_mio-c0c21764fbf74231.rlib,libsignal_hook-c4b0e610339bbc74.rlib,libsignal_hook_registry-b7f90067537a6750.rlib,libmio-0c9c6d9c5d17b7a6.rlib,liblog-2fa663e3959e676f.rlib,libserde-1a5d2d6bbbf965fb.rlib,libparking_lot-3575c237bbed99e3.rlib,libparking_lot_core-5cf0dd3188db17c2.rlib,liblibc-86a4568e0b15564e.rlib,libsmallvec-a0b9fe2bb61c7c93.rlib,liblock_api-8a3a9ae637979500.rlib,libscopeguard-73056285f12cb829.rlib,libinstant-7deb58ca3148c0e0.rlib,libcfg_if-66d55f6b302e88c8.rlib,libbitflags-561a4f1321538a32.rlib,libthiserror-5c3f59cfb1fa6a42.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcnjMFCA/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rusty_dungeon-970d31a938ac6193" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libgetrandom-3fdb0f8defbd428a.rlib(getrandom-3fdb0f8defbd428a.getrandom.9e9b0efb04dde89f-cgu.0.rcgu.o): in function `getrandom::util_libc::open_readonly': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getrandom-0.2.3/src/util_libc.rs:110:(.text._ZN9getrandom9util_libc13open_readonly17hdaa8d1e80202bb69E+0xb6): undefined reference to `open64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty-dungeon` (bin "rusty-dungeon") due to 1 previous error; 45 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2b76a7230924e32ee0ddf118455bb3672c660284838b4a662dd41f2da29a29ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b76a7230924e32ee0ddf118455bb3672c660284838b4a662dd41f2da29a29ef", kill_on_drop: false }` [INFO] [stdout] 2b76a7230924e32ee0ddf118455bb3672c660284838b4a662dd41f2da29a29ef