[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#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorporealshift%2Ftui-dueler" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/corporealshift/tui-dueler on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "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-4-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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5159cbc4dc9d3eddc8319adc585fcce410085e7da6da757eaf45529fdcc8461 [INFO] running `Command { std: "docker" "start" "-a" "f5159cbc4dc9d3eddc8319adc585fcce410085e7da6da757eaf45529fdcc8461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5159cbc4dc9d3eddc8319adc585fcce410085e7da6da757eaf45529fdcc8461", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5159cbc4dc9d3eddc8319adc585fcce410085e7da6da757eaf45529fdcc8461", kill_on_drop: false }` [INFO] [stdout] f5159cbc4dc9d3eddc8319adc585fcce410085e7da6da757eaf45529fdcc8461 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 711b1ea5d4eba15a3520d24bb20e12326c6c93c720996c9d961f56cb47eeb275 [INFO] running `Command { std: "docker" "start" "-a" "711b1ea5d4eba15a3520d24bb20e12326c6c93c720996c9d961f56cb47eeb275", 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 syn v1.0.74 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking parking_lot v0.11.1 [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 signal-hook-mio v0.2.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking crossterm v0.20.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking tui v0.16.0 [INFO] [stderr] Checking crossterm v0.21.0 [INFO] [stderr] Checking chrono v0.4.19 [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: field `skills` is never read [INFO] [stdout] --> src/skills/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Vocation { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | skills: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vocation` 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: methods `skills` and `available_skills` are never used [INFO] [stdout] --> src/skills/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait VocationSkills { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 12 | fn stats(&self) -> stats::Stats; [INFO] [stdout] 13 | fn skills(&self) -> &Vec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | fn available_skills(&self) -> &Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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: field `total_exp` is never read [INFO] [stdout] --> src/player/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct Experience { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 122 | level: u32, [INFO] [stdout] 123 | total_exp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Experience` 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 `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: field `skills` is never read [INFO] [stdout] --> src/skills/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Vocation { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 7 | skills: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Vocation` 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: methods `skills` and `available_skills` are never used [INFO] [stdout] --> src/skills/mod.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait VocationSkills { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] 12 | fn stats(&self) -> stats::Stats; [INFO] [stdout] 13 | fn skills(&self) -> &Vec; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | fn available_skills(&self) -> &Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [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: field `total_exp` is never read [INFO] [stdout] --> src/player/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 121 | pub struct Experience { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 122 | level: u32, [INFO] [stdout] 123 | total_exp: u64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Experience` 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 `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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.66s [INFO] running `Command { std: "docker" "inspect" "711b1ea5d4eba15a3520d24bb20e12326c6c93c720996c9d961f56cb47eeb275", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "711b1ea5d4eba15a3520d24bb20e12326c6c93c720996c9d961f56cb47eeb275", kill_on_drop: false }` [INFO] [stdout] 711b1ea5d4eba15a3520d24bb20e12326c6c93c720996c9d961f56cb47eeb275 [INFO] checking corporealshift/tui-dueler against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcorporealshift%2Ftui-dueler" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/corporealshift/tui-dueler on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "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-4-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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f4aedf03d9cca262fd7fb1fe8ad5bb836f737da99c16eb40a741d4251c773e0 [INFO] running `Command { std: "docker" "start" "-a" "9f4aedf03d9cca262fd7fb1fe8ad5bb836f737da99c16eb40a741d4251c773e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f4aedf03d9cca262fd7fb1fe8ad5bb836f737da99c16eb40a741d4251c773e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f4aedf03d9cca262fd7fb1fe8ad5bb836f737da99c16eb40a741d4251c773e0", kill_on_drop: false }` [INFO] [stdout] 9f4aedf03d9cca262fd7fb1fe8ad5bb836f737da99c16eb40a741d4251c773e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35f5cd89b9c615a47804f130821b12e5b8c52c4646ee7511bad4f69701342765 [INFO] running `Command { std: "docker" "start" "-a" "35f5cd89b9c615a47804f130821b12e5b8c52c4646ee7511bad4f69701342765", 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 syn v1.0.74 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking cassowary v0.3.0 [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 parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking crossterm v0.20.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 791 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 792 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 793 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 794 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 795 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.44/src/lib.rs:482:41 [INFO] [stdout] | [INFO] [stdout] 482 | return (1 << shift).abs(); [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 797 | impl_integer_for_isize!(i128, test_integer_i128); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 7 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "35f5cd89b9c615a47804f130821b12e5b8c52c4646ee7511bad4f69701342765", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35f5cd89b9c615a47804f130821b12e5b8c52c4646ee7511bad4f69701342765", kill_on_drop: false }` [INFO] [stdout] 35f5cd89b9c615a47804f130821b12e5b8c52c4646ee7511bad4f69701342765