Oct 21 21:41:40.620 INFO checking Dynisious/the_brass against master#155510e377ae2a8d8ee0dad1a5f809c9062a5526 for pr-55192 Oct 21 21:41:40.620 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192/worker-0/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/pr-55192/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/cargo-home:/cargo-home:ro,Z" "-v" "/mnt/big/crater/./work/local/rustup-home:/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/source" "-e" "USER_ID=1000" "-e" "CMD=cargo +155510e377ae2a8d8ee0dad1a5f809c9062a5526-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 21 21:41:41.068 INFO blam! 1f651c4029ba8b4b9a665fc5e3249f9c220f2c32ed29d4676f46ee2055cc0a59 Oct 21 21:41:41.069 INFO running `"docker" "start" "-a" "1f651c4029ba8b4b9a665fc5e3249f9c220f2c32ed29d4676f46ee2055cc0a59"` Oct 21 21:41:41.695 INFO kablam! usermod: no changes Oct 21 21:41:41.738 INFO kablam! Checking the_brass v0.2.0 (/source) Oct 21 21:41:42.772 INFO kablam! warning: variant is never constructed: `FuelError` Oct 21 21:41:42.773 INFO kablam! --> src/game/combat/ships/ship_error.rs:11:5 Oct 21 21:41:42.773 INFO kablam! | Oct 21 21:41:42.773 INFO kablam! 11 | FuelError, Oct 21 21:41:42.774 INFO kablam! | ^^^^^^^^^ Oct 21 21:41:42.774 INFO kablam! | Oct 21 21:41:42.774 INFO kablam! = note: #[warn(dead_code)] on by default Oct 21 21:41:42.774 INFO kablam! Oct 21 21:41:42.775 INFO kablam! warning: variant is never constructed: `ShieldError` Oct 21 21:41:42.775 INFO kablam! --> src/game/combat/ships/ship_error.rs:12:5 Oct 21 21:41:42.775 INFO kablam! | Oct 21 21:41:42.776 INFO kablam! 12 | ShieldError, Oct 21 21:41:42.776 INFO kablam! | ^^^^^^^^^^^ Oct 21 21:41:42.776 INFO kablam! Oct 21 21:41:42.777 INFO kablam! warning: variant is never constructed: `HullError` Oct 21 21:41:42.777 INFO kablam! --> src/game/combat/ships/ship_error.rs:13:5 Oct 21 21:41:42.777 INFO kablam! | Oct 21 21:41:42.777 INFO kablam! 13 | HullError Oct 21 21:41:42.778 INFO kablam! | ^^^^^^^^^ Oct 21 21:41:42.778 INFO kablam! Oct 21 21:41:42.778 INFO kablam! warning: method is never used: `new` Oct 21 21:41:42.779 INFO kablam! --> src/game/combat/ships/attacks.rs:31:5 Oct 21 21:41:42.779 INFO kablam! | Oct 21 21:41:42.779 INFO kablam! 31 | pub fn new(attack: Attack, smallest_target: ShipSize) -> Self { Oct 21 21:41:42.780 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.780 INFO kablam! Oct 21 21:41:42.780 INFO kablam! warning: method is never used: `valid_target` Oct 21 21:41:42.780 INFO kablam! --> src/game/combat/ships/attacks.rs:43:5 Oct 21 21:41:42.781 INFO kablam! | Oct 21 21:41:42.781 INFO kablam! 43 | pub fn valid_target(&self, target_size: ShipSize) -> bool { Oct 21 21:41:42.781 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.782 INFO kablam! Oct 21 21:41:42.782 INFO kablam! warning: method is never used: `same_target` Oct 21 21:41:42.782 INFO kablam! --> src/game/combat/ships/attacks.rs:52:5 Oct 21 21:41:42.782 INFO kablam! | Oct 21 21:41:42.783 INFO kablam! 52 | pub fn same_target(&self, other: &Self) -> bool { Oct 21 21:41:42.783 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.783 INFO kablam! Oct 21 21:41:42.784 INFO kablam! warning: method is never used: `new` Oct 21 21:41:42.784 INFO kablam! --> src/game/combat/ships/attacks.rs:94:5 Oct 21 21:41:42.784 INFO kablam! | Oct 21 21:41:42.785 INFO kablam! 94 | pub fn new(parralel_attacks: UInt, damage_per_attack: DamagePoint) -> Self { Oct 21 21:41:42.785 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.785 INFO kablam! Oct 21 21:41:42.786 INFO kablam! warning: method is never used: `merge` Oct 21 21:41:42.786 INFO kablam! --> src/game/combat/ships/attacks.rs:106:5 Oct 21 21:41:42.786 INFO kablam! | Oct 21 21:41:42.786 INFO kablam! 106 | pub fn merge(&mut self, other: Self) -> Option { Oct 21 21:41:42.787 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.787 INFO kablam! Oct 21 21:41:42.787 INFO kablam! warning: method is never used: `sum_damage` Oct 21 21:41:42.788 INFO kablam! --> src/game/combat/ships/attacks.rs:118:5 Oct 21 21:41:42.788 INFO kablam! | Oct 21 21:41:42.788 INFO kablam! 118 | pub fn sum_damage(&self) -> DamagePoint { Oct 21 21:41:42.789 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.789 INFO kablam! Oct 21 21:41:42.789 INFO kablam! warning: method is never used: `same_damage` Oct 21 21:41:42.789 INFO kablam! --> src/game/combat/ships/attacks.rs:122:5 Oct 21 21:41:42.790 INFO kablam! | Oct 21 21:41:42.790 INFO kablam! 122 | pub fn same_damage(&self, other: &Self) -> bool { Oct 21 21:41:42.790 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.791 INFO kablam! Oct 21 21:41:42.791 INFO kablam! warning: method is never used: `from_parts` Oct 21 21:41:42.791 INFO kablam! --> src/game/combat/ships/attacks.rs:141:5 Oct 21 21:41:42.792 INFO kablam! | Oct 21 21:41:42.792 INFO kablam! 141 | pub unsafe fn from_parts(attacks: Vec) -> Self { Oct 21 21:41:42.792 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.793 INFO kablam! Oct 21 21:41:42.793 INFO kablam! warning: method is never used: `new` Oct 21 21:41:42.793 INFO kablam! --> src/game/combat/ships/attacks.rs:153:5 Oct 21 21:41:42.793 INFO kablam! | Oct 21 21:41:42.794 INFO kablam! 153 | pub fn new(mut attacks: Vec) -> Self { Oct 21 21:41:42.794 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.794 INFO kablam! Oct 21 21:41:42.795 INFO kablam! warning: method is never used: `add_attack` Oct 21 21:41:42.795 INFO kablam! --> src/game/combat/ships/attacks.rs:179:5 Oct 21 21:41:42.795 INFO kablam! | Oct 21 21:41:42.796 INFO kablam! 179 | pub fn add_attack(&mut self, attack: TargetedAttack) { Oct 21 21:41:42.796 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.796 INFO kablam! Oct 21 21:41:42.797 INFO kablam! warning: method is never used: `add_attacks` Oct 21 21:41:42.797 INFO kablam! --> src/game/combat/ships/attacks.rs:196:5 Oct 21 21:41:42.797 INFO kablam! | Oct 21 21:41:42.797 INFO kablam! 196 | pub fn add_attacks(&mut self, attacks: &[TargetedAttack]) { Oct 21 21:41:42.798 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.798 INFO kablam! Oct 21 21:41:42.798 INFO kablam! warning: method is never used: `iter` Oct 21 21:41:42.799 INFO kablam! --> src/game/combat/ships/attacks.rs:200:5 Oct 21 21:41:42.799 INFO kablam! | Oct 21 21:41:42.799 INFO kablam! 200 | pub fn iter(&self) -> ::std::slice::Iter { Oct 21 21:41:42.800 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.800 INFO kablam! Oct 21 21:41:42.800 INFO kablam! warning: method is never used: `iter_mut` Oct 21 21:41:42.800 INFO kablam! --> src/game/combat/ships/attacks.rs:204:5 Oct 21 21:41:42.801 INFO kablam! | Oct 21 21:41:42.801 INFO kablam! 204 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { Oct 21 21:41:42.801 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.802 INFO kablam! Oct 21 21:41:42.802 INFO kablam! warning: method is never used: `clear_used_attacks` Oct 21 21:41:42.802 INFO kablam! --> src/game/combat/ships/attacks.rs:208:5 Oct 21 21:41:42.803 INFO kablam! | Oct 21 21:41:42.803 INFO kablam! 208 | pub fn clear_used_attacks(&mut self) { Oct 21 21:41:42.803 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.803 INFO kablam! Oct 21 21:41:42.804 INFO kablam! warning: method is never used: `from_parts` Oct 21 21:41:42.804 INFO kablam! --> src/game/combat/ships/ship_template.rs:57:5 Oct 21 21:41:42.804 INFO kablam! | Oct 21 21:41:42.804 INFO kablam! 57 | / pub unsafe fn from_parts(ship_size_class: ShipSize, fuel_capacity: UInt, Oct 21 21:41:42.805 INFO kablam! 58 | | fuel_use: UInt, max_hull: UInt, shield_capacity: UInt, shield_recovery: UInt, Oct 21 21:41:42.805 INFO kablam! 59 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Self { Oct 21 21:41:42.805 INFO kablam! 60 | | Self { Oct 21 21:41:42.806 INFO kablam! ... | Oct 21 21:41:42.806 INFO kablam! 69 | | } Oct 21 21:41:42.806 INFO kablam! 70 | | } Oct 21 21:41:42.806 INFO kablam! | |_____^ Oct 21 21:41:42.807 INFO kablam! Oct 21 21:41:42.807 INFO kablam! warning: method is never used: `new` Oct 21 21:41:42.807 INFO kablam! --> src/game/combat/ships/ship_template.rs:81:5 Oct 21 21:41:42.807 INFO kablam! | Oct 21 21:41:42.808 INFO kablam! 81 | / pub fn new(ship_size_class: ShipSize, fuel_capacity: UInt, fuel_use: UInt, Oct 21 21:41:42.808 INFO kablam! 82 | | hull_points: UInt, shield_points: UInt, shield_recovery: UInt, Oct 21 21:41:42.808 INFO kablam! 83 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Result { Oct 21 21:41:42.808 INFO kablam! 84 | | //Check that fuel use is not greater than fuel capacity. Oct 21 21:41:42.809 INFO kablam! ... | Oct 21 21:41:42.809 INFO kablam! 106 | | } Oct 21 21:41:42.809 INFO kablam! 107 | | } Oct 21 21:41:42.810 INFO kablam! | |_____^ Oct 21 21:41:42.810 INFO kablam! Oct 21 21:41:42.810 INFO kablam! warning: method is never used: `set_fuel_capacity` Oct 21 21:41:42.810 INFO kablam! --> src/game/combat/ships/ship_template.rs:121:5 Oct 21 21:41:42.811 INFO kablam! | Oct 21 21:41:42.811 INFO kablam! 121 | pub fn set_fuel_capacity(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 21 21:41:42.811 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.812 INFO kablam! Oct 21 21:41:42.812 INFO kablam! warning: method is never used: `get_fuel_use` Oct 21 21:41:42.812 INFO kablam! --> src/game/combat/ships/ship_template.rs:129:5 Oct 21 21:41:42.813 INFO kablam! | Oct 21 21:41:42.813 INFO kablam! 129 | pub fn get_fuel_use(&self) -> FuelUnit { Oct 21 21:41:42.813 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.813 INFO kablam! Oct 21 21:41:42.814 INFO kablam! warning: method is never used: `set_fuel_use` Oct 21 21:41:42.814 INFO kablam! --> src/game/combat/ships/ship_template.rs:141:5 Oct 21 21:41:42.814 INFO kablam! | Oct 21 21:41:42.814 INFO kablam! 141 | pub fn set_fuel_use(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 21 21:41:42.815 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.815 INFO kablam! Oct 21 21:41:42.815 INFO kablam! warning: method is never used: `set_shield_capacity` Oct 21 21:41:42.816 INFO kablam! --> src/game/combat/ships/ship_template.rs:161:5 Oct 21 21:41:42.816 INFO kablam! | Oct 21 21:41:42.816 INFO kablam! 161 | pub fn set_shield_capacity(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 21 21:41:42.816 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.817 INFO kablam! Oct 21 21:41:42.817 INFO kablam! warning: method is never used: `get_shield_recovery` Oct 21 21:41:42.817 INFO kablam! --> src/game/combat/ships/ship_template.rs:169:5 Oct 21 21:41:42.818 INFO kablam! | Oct 21 21:41:42.818 INFO kablam! 169 | pub fn get_shield_recovery(&self) -> ShieldPoint { Oct 21 21:41:42.818 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.819 INFO kablam! Oct 21 21:41:42.819 INFO kablam! warning: method is never used: `set_shield_recovery` Oct 21 21:41:42.819 INFO kablam! --> src/game/combat/ships/ship_template.rs:181:5 Oct 21 21:41:42.819 INFO kablam! | Oct 21 21:41:42.820 INFO kablam! 181 | pub fn set_shield_recovery(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 21 21:41:42.820 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.820 INFO kablam! Oct 21 21:41:42.821 INFO kablam! warning: method is never used: `can_target` Oct 21 21:41:42.821 INFO kablam! --> src/game/combat/ships/ship_template.rs:193:5 Oct 21 21:41:42.821 INFO kablam! | Oct 21 21:41:42.822 INFO kablam! 193 | pub fn can_target(&self, target: &Self) -> bool { Oct 21 21:41:42.822 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.822 INFO kablam! Oct 21 21:41:42.823 INFO kablam! warning: method is never used: `loaded` Oct 21 21:41:42.823 INFO kablam! --> src/game/combat/ships/ship_template.rs:267:5 Oct 21 21:41:42.823 INFO kablam! | Oct 21 21:41:42.823 INFO kablam! 267 | pub fn loaded(&self) -> usize { Oct 21 21:41:42.824 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.824 INFO kablam! Oct 21 21:41:42.824 INFO kablam! warning: method is never used: `unload_overflow` Oct 21 21:41:42.825 INFO kablam! --> src/game/combat/ships/ship_template.rs:271:5 Oct 21 21:41:42.825 INFO kablam! | Oct 21 21:41:42.825 INFO kablam! 271 | pub fn unload_overflow(&mut self) { Oct 21 21:41:42.826 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.826 INFO kablam! Oct 21 21:41:42.826 INFO kablam! warning: method is never used: `unload` Oct 21 21:41:42.826 INFO kablam! --> src/game/combat/ships/ship_template.rs:301:5 Oct 21 21:41:42.827 INFO kablam! | Oct 21 21:41:42.827 INFO kablam! 301 | pub fn unload(&mut self, name: &String) -> bool { Oct 21 21:41:42.827 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.828 INFO kablam! Oct 21 21:41:42.828 INFO kablam! warning: method is never used: `new` Oct 21 21:41:42.828 INFO kablam! --> src/game/combat/ships/ship.rs:54:5 Oct 21 21:41:42.829 INFO kablam! | Oct 21 21:41:42.829 INFO kablam! 54 | / pub fn new(template: Rc, fuel_units: FuelUnit, Oct 21 21:41:42.829 INFO kablam! 55 | | hull_points: HullPoint, shield_points: ShieldPoint) -> Result { Oct 21 21:41:42.829 INFO kablam! 56 | | //Check that fuel is not greater than fuel capacity. Oct 21 21:41:42.830 INFO kablam! 57 | | if fuel_units > template.get_fuel_capacity() { Oct 21 21:41:42.830 INFO kablam! ... | Oct 21 21:41:42.830 INFO kablam! 77 | | } Oct 21 21:41:42.831 INFO kablam! 78 | | } Oct 21 21:41:42.831 INFO kablam! | |_____^ Oct 21 21:41:42.831 INFO kablam! Oct 21 21:41:42.832 INFO kablam! warning: method is never used: `set_template` Oct 21 21:41:42.832 INFO kablam! --> src/game/combat/ships/ship.rs:91:5 Oct 21 21:41:42.832 INFO kablam! | Oct 21 21:41:42.832 INFO kablam! 91 | pub fn set_template(&mut self, val: Rc) -> Result<(), ShipError> { Oct 21 21:41:42.833 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.833 INFO kablam! Oct 21 21:41:42.833 INFO kablam! warning: method is never used: `get_fuel_units` Oct 21 21:41:42.834 INFO kablam! --> src/game/combat/ships/ship.rs:107:5 Oct 21 21:41:42.834 INFO kablam! | Oct 21 21:41:42.834 INFO kablam! 107 | pub fn get_fuel_units(&self) -> FuelUnit { Oct 21 21:41:42.834 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.835 INFO kablam! Oct 21 21:41:42.835 INFO kablam! warning: method is never used: `set_fuel_units` Oct 21 21:41:42.835 INFO kablam! --> src/game/combat/ships/ship.rs:119:5 Oct 21 21:41:42.836 INFO kablam! | Oct 21 21:41:42.836 INFO kablam! 119 | pub fn set_fuel_units(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 21 21:41:42.836 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.836 INFO kablam! Oct 21 21:41:42.837 INFO kablam! warning: method is never used: `get_hull_points` Oct 21 21:41:42.837 INFO kablam! --> src/game/combat/ships/ship.rs:127:5 Oct 21 21:41:42.837 INFO kablam! | Oct 21 21:41:42.837 INFO kablam! 127 | pub fn get_hull_points(&self) -> HullPoint { Oct 21 21:41:42.838 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.838 INFO kablam! Oct 21 21:41:42.838 INFO kablam! warning: method is never used: `set_hull_points` Oct 21 21:41:42.839 INFO kablam! --> src/game/combat/ships/ship.rs:139:5 Oct 21 21:41:42.839 INFO kablam! | Oct 21 21:41:42.839 INFO kablam! 139 | pub fn set_hull_points(&mut self, val: HullPoint) -> Result<(), ShipError> { Oct 21 21:41:42.839 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.840 INFO kablam! Oct 21 21:41:42.840 INFO kablam! warning: method is never used: `get_shield_points` Oct 21 21:41:42.840 INFO kablam! --> src/game/combat/ships/ship.rs:147:5 Oct 21 21:41:42.841 INFO kablam! | Oct 21 21:41:42.841 INFO kablam! 147 | pub fn get_shield_points(&self) -> ShieldPoint { Oct 21 21:41:42.841 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.842 INFO kablam! Oct 21 21:41:42.842 INFO kablam! warning: method is never used: `set_shield_points` Oct 21 21:41:42.842 INFO kablam! --> src/game/combat/ships/ship.rs:159:5 Oct 21 21:41:42.842 INFO kablam! | Oct 21 21:41:42.843 INFO kablam! 159 | pub fn set_shield_points(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 21 21:41:42.843 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.843 INFO kablam! Oct 21 21:41:42.843 INFO kablam! warning: method is never used: `is_alive` Oct 21 21:41:42.844 INFO kablam! --> src/game/combat/ships/ship.rs:167:5 Oct 21 21:41:42.844 INFO kablam! | Oct 21 21:41:42.844 INFO kablam! 167 | pub fn is_alive(&self) -> bool { Oct 21 21:41:42.845 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.845 INFO kablam! Oct 21 21:41:42.845 INFO kablam! warning: method is never used: `regenerate_shields` Oct 21 21:41:42.846 INFO kablam! --> src/game/combat/ships/ship.rs:172:5 Oct 21 21:41:42.846 INFO kablam! | Oct 21 21:41:42.846 INFO kablam! 172 | pub fn regenerate_shields(&mut self) { Oct 21 21:41:42.846 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.847 INFO kablam! Oct 21 21:41:42.847 INFO kablam! warning: method is never used: `simulate_damage` Oct 21 21:41:42.847 INFO kablam! --> src/game/combat/ships/ship.rs:185:5 Oct 21 21:41:42.847 INFO kablam! | Oct 21 21:41:42.848 INFO kablam! 185 | pub fn simulate_damage(&mut self, mut damage: DamagePoint) -> (HullPoint, ShieldPoint, DamagePoint) { Oct 21 21:41:42.848 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.848 INFO kablam! Oct 21 21:41:42.849 INFO kablam! warning: method is never used: `resolve_damage` Oct 21 21:41:42.849 INFO kablam! --> src/game/combat/ships/ship.rs:211:5 Oct 21 21:41:42.849 INFO kablam! | Oct 21 21:41:42.849 INFO kablam! 211 | pub fn resolve_damage(&mut self, damage: DamagePoint) -> DamagePoint { Oct 21 21:41:42.850 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.850 INFO kablam! Oct 21 21:41:42.850 INFO kablam! warning: method is never used: `resolve_attacks` Oct 21 21:41:42.850 INFO kablam! --> src/game/combat/ships/ship.rs:228:5 Oct 21 21:41:42.851 INFO kablam! | Oct 21 21:41:42.851 INFO kablam! 228 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 21 21:41:42.851 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.851 INFO kablam! Oct 21 21:41:42.852 INFO kablam! warning: method is never used: `is_alive` Oct 21 21:41:42.852 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:39:5 Oct 21 21:41:42.852 INFO kablam! | Oct 21 21:41:42.853 INFO kablam! 39 | pub fn is_alive(&self) -> bool { Oct 21 21:41:42.853 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.853 INFO kablam! Oct 21 21:41:42.853 INFO kablam! warning: method is never used: `regenerate_shields` Oct 21 21:41:42.854 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:43:5 Oct 21 21:41:42.854 INFO kablam! | Oct 21 21:41:42.854 INFO kablam! 43 | pub fn regenerate_shields(&mut self) { Oct 21 21:41:42.855 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.855 INFO kablam! Oct 21 21:41:42.855 INFO kablam! warning: method is never used: `resolve_damage` Oct 21 21:41:42.855 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:52:5 Oct 21 21:41:42.856 INFO kablam! | Oct 21 21:41:42.856 INFO kablam! 52 | pub fn resolve_damage(&mut self, mut damage: DamagePoint) -> DamagePoint { Oct 21 21:41:42.856 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.857 INFO kablam! Oct 21 21:41:42.857 INFO kablam! warning: method is never used: `resolve_attacks` Oct 21 21:41:42.857 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:118:5 Oct 21 21:41:42.857 INFO kablam! | Oct 21 21:41:42.858 INFO kablam! 118 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 21 21:41:42.858 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.858 INFO kablam! Oct 21 21:41:42.858 INFO kablam! warning: method is never used: `get_attacks` Oct 21 21:41:42.859 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:146:5 Oct 21 21:41:42.859 INFO kablam! | Oct 21 21:41:42.859 INFO kablam! 146 | pub fn get_attacks(&self) -> ReducedAttacks { Oct 21 21:41:42.859 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.860 INFO kablam! Oct 21 21:41:42.860 INFO kablam! warning: variant is never constructed: `Unaware` Oct 21 21:41:42.860 INFO kablam! --> src/game/factions.rs:20:5 Oct 21 21:41:42.860 INFO kablam! | Oct 21 21:41:42.861 INFO kablam! 20 | Unaware, Oct 21 21:41:42.861 INFO kablam! | ^^^^^^^ Oct 21 21:41:42.861 INFO kablam! Oct 21 21:41:42.861 INFO kablam! warning: variant is never constructed: `Neutral` Oct 21 21:41:42.862 INFO kablam! --> src/game/factions.rs:22:5 Oct 21 21:41:42.862 INFO kablam! | Oct 21 21:41:42.862 INFO kablam! 22 | Neutral, Oct 21 21:41:42.862 INFO kablam! | ^^^^^^^ Oct 21 21:41:42.863 INFO kablam! Oct 21 21:41:42.863 INFO kablam! warning: variant is never constructed: `Friendly` Oct 21 21:41:42.863 INFO kablam! --> src/game/factions.rs:24:5 Oct 21 21:41:42.863 INFO kablam! | Oct 21 21:41:42.864 INFO kablam! 24 | Friendly, Oct 21 21:41:42.864 INFO kablam! | ^^^^^^^^ Oct 21 21:41:42.864 INFO kablam! Oct 21 21:41:42.864 INFO kablam! warning: variant is never constructed: `Enemy` Oct 21 21:41:42.865 INFO kablam! --> src/game/factions.rs:26:5 Oct 21 21:41:42.865 INFO kablam! | Oct 21 21:41:42.865 INFO kablam! 26 | Enemy Oct 21 21:41:42.865 INFO kablam! | ^^^^^ Oct 21 21:41:42.866 INFO kablam! Oct 21 21:41:42.866 INFO kablam! warning: method is never used: `from_parts` Oct 21 21:41:42.866 INFO kablam! --> src/game/factions.rs:41:5 Oct 21 21:41:42.867 INFO kablam! | Oct 21 21:41:42.867 INFO kablam! 41 | pub unsafe fn from_parts(first: Faction, second: Faction) -> FactionPair { Oct 21 21:41:42.867 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.867 INFO kablam! Oct 21 21:41:42.868 INFO kablam! warning: method is never used: `new` Oct 21 21:41:42.868 INFO kablam! --> src/game/factions.rs:50:5 Oct 21 21:41:42.868 INFO kablam! | Oct 21 21:41:42.869 INFO kablam! 50 | pub fn new(first: Faction, second: Faction) -> Option { Oct 21 21:41:42.869 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.869 INFO kablam! Oct 21 21:41:42.869 INFO kablam! warning: function is never used: `get_game_factions` Oct 21 21:41:42.870 INFO kablam! --> src/game/factions.rs:97:1 Oct 21 21:41:42.870 INFO kablam! | Oct 21 21:41:42.870 INFO kablam! 97 | pub fn get_game_factions() -> &'static mut (Vec, HashMap) { Oct 21 21:41:42.871 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.871 INFO kablam! Oct 21 21:41:42.932 INFO kablam! warning: variant is never constructed: `FuelError` Oct 21 21:41:42.932 INFO kablam! --> src/game/combat/ships/ship_error.rs:11:5 Oct 21 21:41:42.932 INFO kablam! | Oct 21 21:41:42.932 INFO kablam! 11 | FuelError, Oct 21 21:41:42.932 INFO kablam! | ^^^^^^^^^ Oct 21 21:41:42.932 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! = note: #[warn(dead_code)] on by default Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.933 INFO kablam! warning: variant is never constructed: `ShieldError` Oct 21 21:41:42.933 INFO kablam! --> src/game/combat/ships/ship_error.rs:12:5 Oct 21 21:41:42.933 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! 12 | ShieldError, Oct 21 21:41:42.933 INFO kablam! | ^^^^^^^^^^^ Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.933 INFO kablam! warning: variant is never constructed: `HullError` Oct 21 21:41:42.933 INFO kablam! --> src/game/combat/ships/ship_error.rs:13:5 Oct 21 21:41:42.933 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! 13 | HullError Oct 21 21:41:42.933 INFO kablam! | ^^^^^^^^^ Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.933 INFO kablam! warning: method is never used: `new` Oct 21 21:41:42.933 INFO kablam! --> src/game/combat/ships/attacks.rs:31:5 Oct 21 21:41:42.933 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! 31 | pub fn new(attack: Attack, smallest_target: ShipSize) -> Self { Oct 21 21:41:42.933 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.933 INFO kablam! warning: method is never used: `valid_target` Oct 21 21:41:42.933 INFO kablam! --> src/game/combat/ships/attacks.rs:43:5 Oct 21 21:41:42.933 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! 43 | pub fn valid_target(&self, target_size: ShipSize) -> bool { Oct 21 21:41:42.933 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.933 INFO kablam! warning: method is never used: `same_target` Oct 21 21:41:42.933 INFO kablam! --> src/game/combat/ships/attacks.rs:52:5 Oct 21 21:41:42.933 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! 52 | pub fn same_target(&self, other: &Self) -> bool { Oct 21 21:41:42.933 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.933 INFO kablam! warning: method is never used: `new` Oct 21 21:41:42.933 INFO kablam! --> src/game/combat/ships/attacks.rs:94:5 Oct 21 21:41:42.933 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! 94 | pub fn new(parralel_attacks: UInt, damage_per_attack: DamagePoint) -> Self { Oct 21 21:41:42.933 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.933 INFO kablam! warning: method is never used: `merge` Oct 21 21:41:42.933 INFO kablam! --> src/game/combat/ships/attacks.rs:106:5 Oct 21 21:41:42.933 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! 106 | pub fn merge(&mut self, other: Self) -> Option { Oct 21 21:41:42.933 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.933 INFO kablam! warning: method is never used: `sum_damage` Oct 21 21:41:42.933 INFO kablam! --> src/game/combat/ships/attacks.rs:118:5 Oct 21 21:41:42.933 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! 118 | pub fn sum_damage(&self) -> DamagePoint { Oct 21 21:41:42.933 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.933 INFO kablam! warning: method is never used: `same_damage` Oct 21 21:41:42.933 INFO kablam! --> src/game/combat/ships/attacks.rs:122:5 Oct 21 21:41:42.933 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! 122 | pub fn same_damage(&self, other: &Self) -> bool { Oct 21 21:41:42.933 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.933 INFO kablam! warning: method is never used: `from_parts` Oct 21 21:41:42.933 INFO kablam! --> src/game/combat/ships/attacks.rs:141:5 Oct 21 21:41:42.933 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! 141 | pub unsafe fn from_parts(attacks: Vec) -> Self { Oct 21 21:41:42.933 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.933 INFO kablam! warning: method is never used: `new` Oct 21 21:41:42.933 INFO kablam! --> src/game/combat/ships/attacks.rs:153:5 Oct 21 21:41:42.933 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! 153 | pub fn new(mut attacks: Vec) -> Self { Oct 21 21:41:42.933 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.933 INFO kablam! warning: method is never used: `add_attack` Oct 21 21:41:42.933 INFO kablam! --> src/game/combat/ships/attacks.rs:179:5 Oct 21 21:41:42.933 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! 179 | pub fn add_attack(&mut self, attack: TargetedAttack) { Oct 21 21:41:42.933 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.933 INFO kablam! warning: method is never used: `add_attacks` Oct 21 21:41:42.933 INFO kablam! --> src/game/combat/ships/attacks.rs:196:5 Oct 21 21:41:42.933 INFO kablam! | Oct 21 21:41:42.933 INFO kablam! 196 | pub fn add_attacks(&mut self, attacks: &[TargetedAttack]) { Oct 21 21:41:42.933 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.933 INFO kablam! Oct 21 21:41:42.934 INFO kablam! warning: method is never used: `iter` Oct 21 21:41:42.934 INFO kablam! --> src/game/combat/ships/attacks.rs:200:5 Oct 21 21:41:42.934 INFO kablam! | Oct 21 21:41:42.934 INFO kablam! 200 | pub fn iter(&self) -> ::std::slice::Iter { Oct 21 21:41:42.934 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.934 INFO kablam! Oct 21 21:41:42.934 INFO kablam! warning: method is never used: `iter_mut` Oct 21 21:41:42.934 INFO kablam! --> src/game/combat/ships/attacks.rs:204:5 Oct 21 21:41:42.934 INFO kablam! | Oct 21 21:41:42.934 INFO kablam! 204 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { Oct 21 21:41:42.934 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.934 INFO kablam! Oct 21 21:41:42.934 INFO kablam! warning: method is never used: `clear_used_attacks` Oct 21 21:41:42.934 INFO kablam! --> src/game/combat/ships/attacks.rs:208:5 Oct 21 21:41:42.934 INFO kablam! | Oct 21 21:41:42.934 INFO kablam! 208 | pub fn clear_used_attacks(&mut self) { Oct 21 21:41:42.934 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.934 INFO kablam! Oct 21 21:41:42.934 INFO kablam! warning: method is never used: `from_parts` Oct 21 21:41:42.934 INFO kablam! --> src/game/combat/ships/ship_template.rs:57:5 Oct 21 21:41:42.934 INFO kablam! | Oct 21 21:41:42.934 INFO kablam! 57 | / pub unsafe fn from_parts(ship_size_class: ShipSize, fuel_capacity: UInt, Oct 21 21:41:42.934 INFO kablam! 58 | | fuel_use: UInt, max_hull: UInt, shield_capacity: UInt, shield_recovery: UInt, Oct 21 21:41:42.934 INFO kablam! 59 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Self { Oct 21 21:41:42.934 INFO kablam! 60 | | Self { Oct 21 21:41:42.934 INFO kablam! ... | Oct 21 21:41:42.934 INFO kablam! 69 | | } Oct 21 21:41:42.934 INFO kablam! 70 | | } Oct 21 21:41:42.934 INFO kablam! | |_____^ Oct 21 21:41:42.934 INFO kablam! Oct 21 21:41:42.934 INFO kablam! warning: method is never used: `new` Oct 21 21:41:42.934 INFO kablam! --> src/game/combat/ships/ship_template.rs:81:5 Oct 21 21:41:42.934 INFO kablam! | Oct 21 21:41:42.934 INFO kablam! 81 | / pub fn new(ship_size_class: ShipSize, fuel_capacity: UInt, fuel_use: UInt, Oct 21 21:41:42.934 INFO kablam! 82 | | hull_points: UInt, shield_points: UInt, shield_recovery: UInt, Oct 21 21:41:42.934 INFO kablam! 83 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Result { Oct 21 21:41:42.934 INFO kablam! 84 | | //Check that fuel use is not greater than fuel capacity. Oct 21 21:41:42.934 INFO kablam! ... | Oct 21 21:41:42.934 INFO kablam! 106 | | } Oct 21 21:41:42.934 INFO kablam! 107 | | } Oct 21 21:41:42.934 INFO kablam! | |_____^ Oct 21 21:41:42.934 INFO kablam! Oct 21 21:41:42.934 INFO kablam! warning: method is never used: `set_fuel_capacity` Oct 21 21:41:42.934 INFO kablam! --> src/game/combat/ships/ship_template.rs:121:5 Oct 21 21:41:42.934 INFO kablam! | Oct 21 21:41:42.934 INFO kablam! 121 | pub fn set_fuel_capacity(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 21 21:41:42.934 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.934 INFO kablam! Oct 21 21:41:42.934 INFO kablam! warning: method is never used: `get_fuel_use` Oct 21 21:41:42.934 INFO kablam! --> src/game/combat/ships/ship_template.rs:129:5 Oct 21 21:41:42.934 INFO kablam! | Oct 21 21:41:42.934 INFO kablam! 129 | pub fn get_fuel_use(&self) -> FuelUnit { Oct 21 21:41:42.934 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.934 INFO kablam! Oct 21 21:41:42.934 INFO kablam! warning: method is never used: `set_fuel_use` Oct 21 21:41:42.934 INFO kablam! --> src/game/combat/ships/ship_template.rs:141:5 Oct 21 21:41:42.934 INFO kablam! | Oct 21 21:41:42.934 INFO kablam! 141 | pub fn set_fuel_use(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 21 21:41:42.934 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.934 INFO kablam! Oct 21 21:41:42.934 INFO kablam! warning: method is never used: `set_shield_capacity` Oct 21 21:41:42.934 INFO kablam! --> src/game/combat/ships/ship_template.rs:161:5 Oct 21 21:41:42.934 INFO kablam! | Oct 21 21:41:42.934 INFO kablam! 161 | pub fn set_shield_capacity(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 21 21:41:42.934 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.934 INFO kablam! Oct 21 21:41:42.934 INFO kablam! warning: method is never used: `get_shield_recovery` Oct 21 21:41:42.934 INFO kablam! --> src/game/combat/ships/ship_template.rs:169:5 Oct 21 21:41:42.934 INFO kablam! | Oct 21 21:41:42.934 INFO kablam! 169 | pub fn get_shield_recovery(&self) -> ShieldPoint { Oct 21 21:41:42.934 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.934 INFO kablam! Oct 21 21:41:42.934 INFO kablam! warning: method is never used: `set_shield_recovery` Oct 21 21:41:42.934 INFO kablam! --> src/game/combat/ships/ship_template.rs:181:5 Oct 21 21:41:42.934 INFO kablam! | Oct 21 21:41:42.934 INFO kablam! 181 | pub fn set_shield_recovery(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 21 21:41:42.934 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.934 INFO kablam! Oct 21 21:41:42.934 INFO kablam! warning: method is never used: `can_target` Oct 21 21:41:42.934 INFO kablam! --> src/game/combat/ships/ship_template.rs:193:5 Oct 21 21:41:42.934 INFO kablam! | Oct 21 21:41:42.934 INFO kablam! 193 | pub fn can_target(&self, target: &Self) -> bool { Oct 21 21:41:42.934 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.934 INFO kablam! Oct 21 21:41:42.935 INFO kablam! warning: method is never used: `loaded` Oct 21 21:41:42.935 INFO kablam! --> src/game/combat/ships/ship_template.rs:267:5 Oct 21 21:41:42.935 INFO kablam! | Oct 21 21:41:42.935 INFO kablam! 267 | pub fn loaded(&self) -> usize { Oct 21 21:41:42.935 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.935 INFO kablam! Oct 21 21:41:42.935 INFO kablam! warning: method is never used: `unload_overflow` Oct 21 21:41:42.935 INFO kablam! --> src/game/combat/ships/ship_template.rs:271:5 Oct 21 21:41:42.935 INFO kablam! | Oct 21 21:41:42.935 INFO kablam! 271 | pub fn unload_overflow(&mut self) { Oct 21 21:41:42.935 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.935 INFO kablam! Oct 21 21:41:42.935 INFO kablam! warning: method is never used: `unload` Oct 21 21:41:42.935 INFO kablam! --> src/game/combat/ships/ship_template.rs:301:5 Oct 21 21:41:42.935 INFO kablam! | Oct 21 21:41:42.935 INFO kablam! 301 | pub fn unload(&mut self, name: &String) -> bool { Oct 21 21:41:42.935 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.935 INFO kablam! Oct 21 21:41:42.935 INFO kablam! warning: method is never used: `new` Oct 21 21:41:42.935 INFO kablam! --> src/game/combat/ships/ship.rs:54:5 Oct 21 21:41:42.935 INFO kablam! | Oct 21 21:41:42.935 INFO kablam! 54 | / pub fn new(template: Rc, fuel_units: FuelUnit, Oct 21 21:41:42.935 INFO kablam! 55 | | hull_points: HullPoint, shield_points: ShieldPoint) -> Result { Oct 21 21:41:42.935 INFO kablam! 56 | | //Check that fuel is not greater than fuel capacity. Oct 21 21:41:42.935 INFO kablam! 57 | | if fuel_units > template.get_fuel_capacity() { Oct 21 21:41:42.935 INFO kablam! ... | Oct 21 21:41:42.935 INFO kablam! 77 | | } Oct 21 21:41:42.935 INFO kablam! 78 | | } Oct 21 21:41:42.935 INFO kablam! | |_____^ Oct 21 21:41:42.935 INFO kablam! Oct 21 21:41:42.935 INFO kablam! warning: method is never used: `set_template` Oct 21 21:41:42.935 INFO kablam! --> src/game/combat/ships/ship.rs:91:5 Oct 21 21:41:42.935 INFO kablam! | Oct 21 21:41:42.935 INFO kablam! 91 | pub fn set_template(&mut self, val: Rc) -> Result<(), ShipError> { Oct 21 21:41:42.935 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.935 INFO kablam! Oct 21 21:41:42.935 INFO kablam! warning: method is never used: `get_fuel_units` Oct 21 21:41:42.935 INFO kablam! --> src/game/combat/ships/ship.rs:107:5 Oct 21 21:41:42.935 INFO kablam! | Oct 21 21:41:42.935 INFO kablam! 107 | pub fn get_fuel_units(&self) -> FuelUnit { Oct 21 21:41:42.935 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.935 INFO kablam! Oct 21 21:41:42.935 INFO kablam! warning: method is never used: `set_fuel_units` Oct 21 21:41:42.935 INFO kablam! --> src/game/combat/ships/ship.rs:119:5 Oct 21 21:41:42.935 INFO kablam! | Oct 21 21:41:42.935 INFO kablam! 119 | pub fn set_fuel_units(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 21 21:41:42.935 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.935 INFO kablam! Oct 21 21:41:42.935 INFO kablam! warning: method is never used: `get_hull_points` Oct 21 21:41:42.935 INFO kablam! --> src/game/combat/ships/ship.rs:127:5 Oct 21 21:41:42.935 INFO kablam! | Oct 21 21:41:42.935 INFO kablam! 127 | pub fn get_hull_points(&self) -> HullPoint { Oct 21 21:41:42.935 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.935 INFO kablam! Oct 21 21:41:42.935 INFO kablam! warning: method is never used: `set_hull_points` Oct 21 21:41:42.935 INFO kablam! --> src/game/combat/ships/ship.rs:139:5 Oct 21 21:41:42.935 INFO kablam! | Oct 21 21:41:42.935 INFO kablam! 139 | pub fn set_hull_points(&mut self, val: HullPoint) -> Result<(), ShipError> { Oct 21 21:41:42.935 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.935 INFO kablam! Oct 21 21:41:42.935 INFO kablam! warning: method is never used: `get_shield_points` Oct 21 21:41:42.935 INFO kablam! --> src/game/combat/ships/ship.rs:147:5 Oct 21 21:41:42.935 INFO kablam! | Oct 21 21:41:42.935 INFO kablam! 147 | pub fn get_shield_points(&self) -> ShieldPoint { Oct 21 21:41:42.935 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.935 INFO kablam! Oct 21 21:41:42.935 INFO kablam! warning: method is never used: `set_shield_points` Oct 21 21:41:42.935 INFO kablam! --> src/game/combat/ships/ship.rs:159:5 Oct 21 21:41:42.935 INFO kablam! | Oct 21 21:41:42.935 INFO kablam! 159 | pub fn set_shield_points(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 21 21:41:42.935 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.935 INFO kablam! Oct 21 21:41:42.935 INFO kablam! warning: method is never used: `is_alive` Oct 21 21:41:42.935 INFO kablam! --> src/game/combat/ships/ship.rs:167:5 Oct 21 21:41:42.935 INFO kablam! | Oct 21 21:41:42.935 INFO kablam! 167 | pub fn is_alive(&self) -> bool { Oct 21 21:41:42.935 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.935 INFO kablam! Oct 21 21:41:42.935 INFO kablam! warning: method is never used: `regenerate_shields` Oct 21 21:41:42.935 INFO kablam! --> src/game/combat/ships/ship.rs:172:5 Oct 21 21:41:42.935 INFO kablam! | Oct 21 21:41:42.935 INFO kablam! 172 | pub fn regenerate_shields(&mut self) { Oct 21 21:41:42.935 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:42.936 INFO kablam! warning: method is never used: `simulate_damage` Oct 21 21:41:42.936 INFO kablam! --> src/game/combat/ships/ship.rs:185:5 Oct 21 21:41:42.936 INFO kablam! | Oct 21 21:41:42.936 INFO kablam! 185 | pub fn simulate_damage(&mut self, mut damage: DamagePoint) -> (HullPoint, ShieldPoint, DamagePoint) { Oct 21 21:41:42.936 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:42.936 INFO kablam! warning: method is never used: `resolve_damage` Oct 21 21:41:42.936 INFO kablam! --> src/game/combat/ships/ship.rs:211:5 Oct 21 21:41:42.936 INFO kablam! | Oct 21 21:41:42.936 INFO kablam! 211 | pub fn resolve_damage(&mut self, damage: DamagePoint) -> DamagePoint { Oct 21 21:41:42.936 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:42.936 INFO kablam! warning: method is never used: `resolve_attacks` Oct 21 21:41:42.936 INFO kablam! --> src/game/combat/ships/ship.rs:228:5 Oct 21 21:41:42.936 INFO kablam! | Oct 21 21:41:42.936 INFO kablam! 228 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 21 21:41:42.936 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:42.936 INFO kablam! warning: method is never used: `is_alive` Oct 21 21:41:42.936 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:39:5 Oct 21 21:41:42.936 INFO kablam! | Oct 21 21:41:42.936 INFO kablam! 39 | pub fn is_alive(&self) -> bool { Oct 21 21:41:42.936 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:42.936 INFO kablam! warning: method is never used: `regenerate_shields` Oct 21 21:41:42.936 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:43:5 Oct 21 21:41:42.936 INFO kablam! | Oct 21 21:41:42.936 INFO kablam! 43 | pub fn regenerate_shields(&mut self) { Oct 21 21:41:42.936 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:42.936 INFO kablam! warning: method is never used: `resolve_damage` Oct 21 21:41:42.936 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:52:5 Oct 21 21:41:42.936 INFO kablam! | Oct 21 21:41:42.936 INFO kablam! 52 | pub fn resolve_damage(&mut self, mut damage: DamagePoint) -> DamagePoint { Oct 21 21:41:42.936 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:42.936 INFO kablam! warning: method is never used: `resolve_attacks` Oct 21 21:41:42.936 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:118:5 Oct 21 21:41:42.936 INFO kablam! | Oct 21 21:41:42.936 INFO kablam! 118 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 21 21:41:42.936 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:42.936 INFO kablam! warning: method is never used: `get_attacks` Oct 21 21:41:42.936 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:146:5 Oct 21 21:41:42.936 INFO kablam! | Oct 21 21:41:42.936 INFO kablam! 146 | pub fn get_attacks(&self) -> ReducedAttacks { Oct 21 21:41:42.936 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:42.936 INFO kablam! warning: variant is never constructed: `Unaware` Oct 21 21:41:42.936 INFO kablam! --> src/game/factions.rs:20:5 Oct 21 21:41:42.936 INFO kablam! | Oct 21 21:41:42.936 INFO kablam! 20 | Unaware, Oct 21 21:41:42.936 INFO kablam! | ^^^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:42.936 INFO kablam! warning: variant is never constructed: `Neutral` Oct 21 21:41:42.936 INFO kablam! --> src/game/factions.rs:22:5 Oct 21 21:41:42.936 INFO kablam! | Oct 21 21:41:42.936 INFO kablam! 22 | Neutral, Oct 21 21:41:42.936 INFO kablam! | ^^^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:42.936 INFO kablam! warning: variant is never constructed: `Friendly` Oct 21 21:41:42.936 INFO kablam! --> src/game/factions.rs:24:5 Oct 21 21:41:42.936 INFO kablam! | Oct 21 21:41:42.936 INFO kablam! 24 | Friendly, Oct 21 21:41:42.936 INFO kablam! | ^^^^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:42.936 INFO kablam! warning: variant is never constructed: `Enemy` Oct 21 21:41:42.936 INFO kablam! --> src/game/factions.rs:26:5 Oct 21 21:41:42.936 INFO kablam! | Oct 21 21:41:42.936 INFO kablam! 26 | Enemy Oct 21 21:41:42.936 INFO kablam! | ^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:42.936 INFO kablam! warning: function is never used: `get_game_factions` Oct 21 21:41:42.936 INFO kablam! --> src/game/factions.rs:97:1 Oct 21 21:41:42.936 INFO kablam! | Oct 21 21:41:42.936 INFO kablam! 97 | pub fn get_game_factions() -> &'static mut (Vec, HashMap) { Oct 21 21:41:42.936 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 21:41:42.936 INFO kablam! Oct 21 21:41:43.020 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.30s Oct 21 21:41:43.027 INFO kablam! su: No module specific data is present Oct 21 21:41:43.540 INFO running `"docker" "rm" "-f" "1f651c4029ba8b4b9a665fc5e3249f9c220f2c32ed29d4676f46ee2055cc0a59"` Oct 21 21:41:43.740 INFO blam! 1f651c4029ba8b4b9a665fc5e3249f9c220f2c32ed29d4676f46ee2055cc0a59