[INFO] cloning repository https://github.com/corporealshift/tui-dueler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/corporealshift/tui-dueler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorporealshift%2Ftui-dueler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorporealshift%2Ftui-dueler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c57f5d7f9e6166a899a9035e9f99757d912d23ae [INFO] checking corporealshift/tui-dueler against master#5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorporealshift%2Ftui-dueler" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/corporealshift/tui-dueler on toolchain 5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/corporealshift/tui-dueler [INFO] finished tweaking git repo https://github.com/corporealshift/tui-dueler [INFO] tweaked toml for git repo https://github.com/corporealshift/tui-dueler written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/corporealshift/tui-dueler 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" "+5557f8c9d08d7f3f680943dcf97b6d4a7eb13aea" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking corporealshift/tui-dueler against try#311f8b6ca41358db8ae08490a9ca0916f11e9de3 for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorporealshift%2Ftui-dueler" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/corporealshift/tui-dueler on toolchain 311f8b6ca41358db8ae08490a9ca0916f11e9de3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/corporealshift/tui-dueler [INFO] finished tweaking git repo https://github.com/corporealshift/tui-dueler [INFO] tweaked toml for git repo https://github.com/corporealshift/tui-dueler written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/corporealshift/tui-dueler 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" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking corporealshift/tui-dueler against try#311f8b6ca41358db8ae08490a9ca0916f11e9de3 for pr-124336 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorporealshift%2Ftui-dueler" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/corporealshift/tui-dueler on toolchain 311f8b6ca41358db8ae08490a9ca0916f11e9de3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/corporealshift/tui-dueler [INFO] finished tweaking git repo https://github.com/corporealshift/tui-dueler [INFO] tweaked toml for git repo https://github.com/corporealshift/tui-dueler written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/corporealshift/tui-dueler 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" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "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 tui v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75eb18022a1788fea7f4e1940d76feec4b84d35ebca1a0b7687a823bb947ce53 [INFO] running `Command { std: "docker" "start" "-a" "75eb18022a1788fea7f4e1940d76feec4b84d35ebca1a0b7687a823bb947ce53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75eb18022a1788fea7f4e1940d76feec4b84d35ebca1a0b7687a823bb947ce53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75eb18022a1788fea7f4e1940d76feec4b84d35ebca1a0b7687a823bb947ce53", kill_on_drop: false }` [INFO] [stdout] 75eb18022a1788fea7f4e1940d76feec4b84d35ebca1a0b7687a823bb947ce53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+311f8b6ca41358db8ae08490a9ca0916f11e9de3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc59b3863417f5b7d812cbeb3bc55e3cab589e5361d492926caaa871f489bc40 [INFO] running `Command { std: "docker" "start" "-a" "cc59b3863417f5b7d812cbeb3bc55e3cab589e5361d492926caaa871f489bc40", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking crossterm v0.20.0 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking serde v1.0.127 [INFO] [stderr] Checking tui v0.16.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking crossterm v0.21.0 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking seyral v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `pawn` [INFO] [stdout] --> src/screens/combat.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pawn, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pawn` [INFO] [stdout] --> src/screens/combat.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | pawn, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats_state` [INFO] [stdout] --> src/screens/player.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn render_mini<'a>(stats_state: &ListState) -> Table<'a> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stats_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stats_state` [INFO] [stdout] --> src/screens/player.rs:143:24 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn render_mini<'a>(stats_state: &ListState) -> Table<'a> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stats_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `available_skills` is never used [INFO] [stdout] --> src/skills/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait VocationSkills { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn available_skills(&self) -> &Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, `modifier`, `range`, `skill_type`, and `affliction` are never read [INFO] [stdout] --> src/skills/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Skill { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 28 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | modifier: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | range: SkillRange, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | skill_type: SkillType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | affliction: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Skill` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OnSelf`, `Close`, `Medium`, and `Long` are never constructed [INFO] [stdout] --> src/skills/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum SkillRange { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 38 | OnSelf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | Melee, [INFO] [stdout] 40 | Close, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | Long [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SkillRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DamageOverTime`, `Heal`, and `Buff` are never constructed [INFO] [stdout] --> src/skills/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum SkillType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 47 | ImmediateDamage, [INFO] [stdout] 48 | DamageOverTime, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 49 | Heal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | Buff, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SkillType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KnockDown`, `Disorient`, and `Disarm` are never constructed [INFO] [stdout] --> src/skills/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum Affliction { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 56 | KnockDown, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | Disorient, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | Disarm, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Affliction` 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 `stamina` is never read [INFO] [stdout] --> src/stats/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Stats { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub stamina: u16, // How long can you do ? Could be physical or mental [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stats` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `level_desc` is never used [INFO] [stdout] --> src/stats/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait StatReadouts { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | fn level_desc(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `res_type` and `target_id` are never read [INFO] [stdout] --> src/combat/combatant.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CombatResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | pub res_type: Combat, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub target_id: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `result` is never read [INFO] [stdout] --> src/combat/combatant.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CombatFrame { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut_pawn` and `get_id` are never used [INFO] [stdout] --> src/combat/combatant.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait Combatant { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 60 | fn get_pawn(&self) -> &Pawn; [INFO] [stdout] 61 | fn get_mut_pawn(&mut self) -> &mut Pawn; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 62 | fn take_damage(&mut self, damage: i64) -> CombatFrame; [INFO] [stdout] 63 | fn get_id(&self) -> u8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/enemies/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TrainingDummy { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Warrior` should have a snake case name [INFO] [stdout] --> src/skills/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn Warrior() -> Vocation { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `warrior` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `NewExperience` should have a snake case name [INFO] [stdout] --> src/player/mod.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn NewExperience() -> Experience { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_experience` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `available_skills` is never used [INFO] [stdout] --> src/skills/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait VocationSkills { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn available_skills(&self) -> &Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `description`, `modifier`, `range`, `skill_type`, and `affliction` are never read [INFO] [stdout] --> src/skills/mod.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Skill { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 28 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 29 | description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 30 | modifier: i64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 31 | range: SkillRange, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | skill_type: SkillType, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | affliction: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Skill` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `OnSelf`, `Close`, `Medium`, and `Long` are never constructed [INFO] [stdout] --> src/skills/mod.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum SkillRange { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 38 | OnSelf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 39 | Melee, [INFO] [stdout] 40 | Close, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | Medium, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 42 | Long [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SkillRange` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `DamageOverTime`, `Heal`, and `Buff` are never constructed [INFO] [stdout] --> src/skills/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum SkillType { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 47 | ImmediateDamage, [INFO] [stdout] 48 | DamageOverTime, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 49 | Heal, [INFO] [stdout] | ^^^^ [INFO] [stdout] 50 | Buff, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SkillType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `KnockDown`, `Disorient`, and `Disarm` are never constructed [INFO] [stdout] --> src/skills/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum Affliction { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 56 | KnockDown, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 57 | Disorient, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | Disarm, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Affliction` 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 `stamina` is never read [INFO] [stdout] --> src/stats/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Stats { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub stamina: u16, // How long can you do ? Could be physical or mental [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Stats` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `level_desc` is never used [INFO] [stdout] --> src/stats/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub trait StatReadouts { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 39 | fn level_desc(&self) -> String; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `res_type` and `target_id` are never read [INFO] [stdout] --> src/combat/combatant.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct CombatResult { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 11 | pub res_type: Combat, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 12 | pub target_id: u8, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `result` is never read [INFO] [stdout] --> src/combat/combatant.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct CombatFrame { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub result: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_mut_pawn` and `get_id` are never used [INFO] [stdout] --> src/combat/combatant.rs:61:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub trait Combatant { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 60 | fn get_pawn(&self) -> &Pawn; [INFO] [stdout] 61 | fn get_mut_pawn(&mut self) -> &mut Pawn; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 62 | fn take_damage(&mut self, damage: i64) -> CombatFrame; [INFO] [stdout] 63 | fn get_id(&self) -> u8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/enemies/mod.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct TrainingDummy { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 13 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Warrior` should have a snake case name [INFO] [stdout] --> src/skills/mod.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn Warrior() -> Vocation { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `warrior` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `NewExperience` should have a snake case name [INFO] [stdout] --> src/player/mod.rs:128:4 [INFO] [stdout] | [INFO] [stdout] 128 | fn NewExperience() -> Experience { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `new_experience` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.85s [INFO] running `Command { std: "docker" "inspect" "cc59b3863417f5b7d812cbeb3bc55e3cab589e5361d492926caaa871f489bc40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc59b3863417f5b7d812cbeb3bc55e3cab589e5361d492926caaa871f489bc40", kill_on_drop: false }` [INFO] [stdout] cc59b3863417f5b7d812cbeb3bc55e3cab589e5361d492926caaa871f489bc40