[INFO] cloning repository https://github.com/tetio/rusty_sword
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tetio/rusty_sword" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetio%2Frusty_sword", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetio%2Frusty_sword'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3ba2f5dff8dcf5c1dcb05587df6bd25eb08be0d5
[INFO] checking tetio/rusty_sword against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftetio%2Frusty_sword" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/tetio/rusty_sword on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/tetio/rusty_sword
[INFO] finished tweaking git repo https://github.com/tetio/rusty_sword
[INFO] tweaked toml for git repo https://github.com/tetio/rusty_sword written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/tetio/rusty_sword 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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 153f23c3dcca2733e6e10600731cacea1d4602453ce9d8beefe539fb7f264b03
[INFO] running `Command { std: "docker" "start" "-a" "153f23c3dcca2733e6e10600731cacea1d4602453ce9d8beefe539fb7f264b03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "153f23c3dcca2733e6e10600731cacea1d4602453ce9d8beefe539fb7f264b03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "153f23c3dcca2733e6e10600731cacea1d4602453ce9d8beefe539fb7f264b03", kill_on_drop: false }`
[INFO] [stdout] 153f23c3dcca2733e6e10600731cacea1d4602453ce9d8beefe539fb7f264b03
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b5bbb07670e42654a83837a0f4ecb2d413a1cc1c4ea943b1d4d6e95d7f460b4b
[INFO] running `Command { std: "docker" "start" "-a" "b5bbb07670e42654a83837a0f4ecb2d413a1cc1c4ea943b1d4d6e95d7f460b4b", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking regex v1.7.0
[INFO] [stderr]     Checking heroes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `monsters`
[INFO] [stdout]  --> src/service/combat.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::model::{self, monsters};
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::model::monsters::MonsterQuality`
[INFO] [stdout]  --> src/service/combat.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::model::monsters::MonsterQuality;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `monsters`
[INFO] [stdout]  --> src/service/combat.rs:3:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::model::{self, monsters};
[INFO] [stdout]   |                          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `model::weapons::*`
[INFO] [stdout]  --> src/service/combat.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use model::weapons::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::combat::simulate`
[INFO] [stdout]  --> src/service/simulator.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use super::combat::simulate;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/service/combat.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     for i in 0..STEPS {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `hp` is never read
[INFO] [stdout]   --> src/model/mobs.rs:49:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct MobBuilder {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 48 |     name: String,
[INFO] [stdout] 49 |     hp: i32,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `hp` is never used
[INFO] [stdout]   --> src/model/mobs.rs:73:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl MobBuilder {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 73 |     pub fn hp(mut self, hp: i32) -> MobBuilder {
[INFO] [stdout]    |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Special` is never constructed
[INFO] [stdout]  --> src/model/monsters.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum MonsterQuality {
[INFO] [stdout]   |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 9 |     Special,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `MonsterQuality` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `velocity` are never read
[INFO] [stdout]  --> src/model/weapons.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Weapon {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 4 |     pub name: String, 
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 5 |     pub damage: u8, 
[INFO] [stdout] 6 |     pub velocity: WeaponVelocity
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Weapon` 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: variant `VeryFast` is never constructed
[INFO] [stdout]   --> src/model/weapons.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum WeaponVelocity {
[INFO] [stdout]    |          -------------- variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 16 |     VeryFast
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WeaponVelocity` 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: function `make_flail` is never used
[INFO] [stdout]   --> src/model/weapons.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn make_flail() -> Weapon {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_cross_bow` is never used
[INFO] [stdout]   --> src/model/weapons.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn make_cross_bow() -> Weapon {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulate_0` is never used
[INFO] [stdout]   --> src/service/combat.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn simulate_0(hero: &Hero, monster: &Monster) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/service/combat.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     for i in 0..STEPS {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `builder` and `is_alive` are never used
[INFO] [stdout]   --> src/model/mobs.rs:17:12
[INFO] [stdout]    |
[INFO] [stdout] 16 | impl Mob {
[INFO] [stdout]    | -------- associated items in this implementation
[INFO] [stdout] 17 |     pub fn builder() -> MobBuilder {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn is_alive(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/model/mobs.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct MobBuilder {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 48 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 49 |     hp: i32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 50 |     weapon: Weapon,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 51 |     thac0: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 52 |     armour: i32,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 53 |     level: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 54 |     hp_per_level: String,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/model/mobs.rs:58:12
[INFO] [stdout]     |
[INFO] [stdout] 57  | impl MobBuilder {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 58  |     pub fn new() -> MobBuilder {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 69  |     pub fn name(mut self, name: String) -> MobBuilder {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73  |     pub fn hp(mut self, hp: i32) -> MobBuilder {
[INFO] [stdout]     |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 77  |     pub fn weapon(mut self, weapon: Weapon) -> MobBuilder {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81  |     pub fn thac0(mut self, thac0: i32) -> MobBuilder {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85  |     pub fn armour(mut self, armour: i32) -> MobBuilder {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89  |     pub fn level(mut self, level: i32) -> MobBuilder {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 93  |     pub fn hp_per_level(mut self, life_exp: String) -> MobBuilder {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn build(self) -> Mob {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mob` and `inventory` are never read
[INFO] [stdout]  --> src/model/heroes.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Hero {
[INFO] [stdout]   |            ---- fields in this struct
[INFO] [stdout] 6 |     pub mob: Mob,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 7 |     pub inventory: Vec<Weapon>,
[INFO] [stdout]   |         ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Hero` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `weapon`, `thac0`, `level`, and `hp_per_level` are never used
[INFO] [stdout]   --> src/model/heroes.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl HeroBuilder {
[INFO] [stdout]    | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub fn weapon(mut self, weapon: Weapon) -> HeroBuilder {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn thac0(mut self, thac0: i32) -> HeroBuilder {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 54 |     pub fn level(mut self, level: i32) -> HeroBuilder {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub fn hp_per_level(mut self, hp_per_level: String) -> HeroBuilder {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Rookie`, `Special`, and `Elite` are never constructed
[INFO] [stdout]   --> src/model/monsters.rs:6:5
[INFO] [stdout]    |
[INFO] [stdout] 5  | pub enum MonsterQuality {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] 6  |     Rookie = 0,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9  |     Special,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 10 |     Elite,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MonsterQuality` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `mob` and `monster_quality` are never read
[INFO] [stdout]   --> src/model/monsters.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Monster {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 15 |     pub mob: Mob,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 16 |     pub monster_quality: MonsterQuality,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Monster` 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: methods `armour`, `monster_quality`, `level`, and `hp_per_level` are never used
[INFO] [stdout]   --> src/model/monsters.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | impl MonsterBuilder {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn armour(mut self, armour: i32) -> MonsterBuilder {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn monster_quality(mut self, monster_quality: MonsterQuality) -> MonsterBuilder {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn level(mut self, level: i32) -> MonsterBuilder {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn hp_per_level(mut self, hp_per_level: String) -> MonsterBuilder {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name`, `damage`, and `velocity` are never read
[INFO] [stdout]  --> src/model/weapons.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub struct Weapon {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 4 |     pub name: String, 
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 5 |     pub damage: u8, 
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 6 |     pub velocity: WeaponVelocity
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Weapon` 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: variants `Normal` and `VeryFast` are never constructed
[INFO] [stdout]   --> src/model/weapons.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub enum WeaponVelocity {
[INFO] [stdout]    |          -------------- variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 14 |     Normal,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 15 |     Fast,
[INFO] [stdout] 16 |     VeryFast
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `WeaponVelocity` 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: function `fist` is never used
[INFO] [stdout]   --> src/model/weapons.rs:32:8
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub fn fist() -> Weapon {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_flail` is never used
[INFO] [stdout]   --> src/model/weapons.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub fn make_flail() -> Weapon {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `make_cross_bow` is never used
[INFO] [stdout]   --> src/model/weapons.rs:47:8
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub fn make_cross_bow() -> Weapon {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `STEPS` is never used
[INFO] [stdout]   --> src/service/combat.rs:11:7
[INFO] [stdout]    |
[INFO] [stdout] 11 | const STEPS: i32 = 1000;
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `HERO_CASUALTIES_THRESHOLD` is never used
[INFO] [stdout]   --> src/service/combat.rs:12:7
[INFO] [stdout]    |
[INFO] [stdout] 12 | const HERO_CASUALTIES_THRESHOLD: usize = 66;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MONSTER_CASUALTIES_THRESHOLD` is never used
[INFO] [stdout]   --> src/service/combat.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | const MONSTER_CASUALTIES_THRESHOLD: usize = 50;
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hero_attacks` is never used
[INFO] [stdout]   --> src/service/combat.rs:15:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub fn hero_attacks(monster: Monster, hero: &Hero) -> Monster {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `attack` is never used
[INFO] [stdout]   --> src/service/combat.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub fn attack(attacker: &Mob, defender: &mut Mob) {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `roll_dice` is never used
[INFO] [stdout]   --> src/service/combat.rs:52:4
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn roll_dice(dice: u8) -> i32 {
[INFO] [stdout]    |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_attack_successful` is never used
[INFO] [stdout]   --> src/service/combat.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn is_attack_successful(attack_value: i32, defense_value: i32) -> bool {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulate_0` is never used
[INFO] [stdout]   --> src/service/combat.rs:66:8
[INFO] [stdout]    |
[INFO] [stdout] 66 | pub fn simulate_0(hero: &Hero, monster: &Monster) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `calculate_mean` is never used
[INFO] [stdout]   --> src/service/combat.rs:81:4
[INFO] [stdout]    |
[INFO] [stdout] 81 | fn calculate_mean(results: Vec<i32>) -> f64 {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `simulate` is never used
[INFO] [stdout]   --> src/service/combat.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn simulate(attacker: &Mob, defender: &Mob) -> f64 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `single_combat` is never used
[INFO] [stdout]    --> src/service/combat.rs:107:8
[INFO] [stdout]     |
[INFO] [stdout] 107 | pub fn single_combat(hero: &mut Hero, monster: &mut Monster) -> (i32, String) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `battle` is never used
[INFO] [stdout]    --> src/service/combat.rs:124:8
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub fn battle(human_army: &mut Vec<Hero>, monster_army: &mut Vec<Monster>) -> (i32, i32) {
[INFO] [stdout]     |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_up` is never used
[INFO] [stdout]   --> src/service/simulator.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn set_up() -> (Hero, Monster) {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAX_THAC0` is never used
[INFO] [stdout]  --> src/service/thac0.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const MAX_THAC0: i32 = 20;
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_thac04_hero` is never used
[INFO] [stdout]  --> src/service/thac0.rs:7:8
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub fn get_thac04_hero(hero_level: i32) -> i32 {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_thac04_monster` is never used
[INFO] [stdout]   --> src/service/thac0.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn get_thac04_monster(monster_level: i32, monster_quality: MonsterQuality) -> i32 {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.75s
[INFO] running `Command { std: "docker" "inspect" "b5bbb07670e42654a83837a0f4ecb2d413a1cc1c4ea943b1d4d6e95d7f460b4b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b5bbb07670e42654a83837a0f4ecb2d413a1cc1c4ea943b1d4d6e95d7f460b4b", kill_on_drop: false }`
[INFO] [stdout] b5bbb07670e42654a83837a0f4ecb2d413a1cc1c4ea943b1d4d6e95d7f460b4b
