Oct 27 12:05:33.517 INFO checking Dynisious/the_brass against try#19f01b935b91481fd445b16b533d2f87661bf12e for pr-55192-2 Oct 27 12:05:33.518 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192-2/worker-1/try#19f01b935b91481fd445b16b533d2f87661bf12e:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/pr-55192-2/try#19f01b935b91481fd445b16b533d2f87661bf12e:/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 +19f01b935b91481fd445b16b533d2f87661bf12e-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 27 12:05:33.715 INFO blam! fb01567517dfaa4abed7627f451cdb618deeef643c9102e68d517dd99a16920b Oct 27 12:05:33.717 INFO running `"docker" "start" "-a" "fb01567517dfaa4abed7627f451cdb618deeef643c9102e68d517dd99a16920b"` Oct 27 12:05:34.711 INFO kablam! usermod: no changes Oct 27 12:05:34.815 INFO kablam! Checking the_brass v0.2.0 (/source) Oct 27 12:05:36.008 INFO kablam! warning: variant is never constructed: `FuelError` Oct 27 12:05:36.008 INFO kablam! --> src/game/combat/ships/ship_error.rs:11:5 Oct 27 12:05:36.008 INFO kablam! | Oct 27 12:05:36.008 INFO kablam! 11 | FuelError, Oct 27 12:05:36.008 INFO kablam! | ^^^^^^^^^ Oct 27 12:05:36.009 INFO kablam! | Oct 27 12:05:36.009 INFO kablam! = note: #[warn(dead_code)] on by default Oct 27 12:05:36.009 INFO kablam! Oct 27 12:05:36.010 INFO kablam! warning: variant is never constructed: `ShieldError` Oct 27 12:05:36.010 INFO kablam! --> src/game/combat/ships/ship_error.rs:12:5 Oct 27 12:05:36.010 INFO kablam! | Oct 27 12:05:36.010 INFO kablam! 12 | ShieldError, Oct 27 12:05:36.011 INFO kablam! | ^^^^^^^^^^^ Oct 27 12:05:36.011 INFO kablam! Oct 27 12:05:36.011 INFO kablam! warning: variant is never constructed: `HullError` Oct 27 12:05:36.012 INFO kablam! --> src/game/combat/ships/ship_error.rs:13:5 Oct 27 12:05:36.012 INFO kablam! | Oct 27 12:05:36.012 INFO kablam! 13 | HullError Oct 27 12:05:36.012 INFO kablam! | ^^^^^^^^^ Oct 27 12:05:36.013 INFO kablam! Oct 27 12:05:36.013 INFO kablam! warning: method is never used: `new` Oct 27 12:05:36.013 INFO kablam! --> src/game/combat/ships/attacks.rs:31:5 Oct 27 12:05:36.013 INFO kablam! | Oct 27 12:05:36.014 INFO kablam! 31 | pub fn new(attack: Attack, smallest_target: ShipSize) -> Self { Oct 27 12:05:36.014 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.014 INFO kablam! Oct 27 12:05:36.014 INFO kablam! warning: method is never used: `valid_target` Oct 27 12:05:36.015 INFO kablam! --> src/game/combat/ships/attacks.rs:43:5 Oct 27 12:05:36.015 INFO kablam! | Oct 27 12:05:36.015 INFO kablam! 43 | pub fn valid_target(&self, target_size: ShipSize) -> bool { Oct 27 12:05:36.015 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.016 INFO kablam! Oct 27 12:05:36.016 INFO kablam! warning: method is never used: `same_target` Oct 27 12:05:36.016 INFO kablam! --> src/game/combat/ships/attacks.rs:52:5 Oct 27 12:05:36.016 INFO kablam! | Oct 27 12:05:36.017 INFO kablam! 52 | pub fn same_target(&self, other: &Self) -> bool { Oct 27 12:05:36.017 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.017 INFO kablam! Oct 27 12:05:36.017 INFO kablam! warning: method is never used: `new` Oct 27 12:05:36.018 INFO kablam! --> src/game/combat/ships/attacks.rs:94:5 Oct 27 12:05:36.018 INFO kablam! | Oct 27 12:05:36.018 INFO kablam! 94 | pub fn new(parralel_attacks: UInt, damage_per_attack: DamagePoint) -> Self { Oct 27 12:05:36.018 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.023 INFO kablam! Oct 27 12:05:36.023 INFO kablam! warning: method is never used: `merge` Oct 27 12:05:36.023 INFO kablam! --> src/game/combat/ships/attacks.rs:106:5 Oct 27 12:05:36.023 INFO kablam! | Oct 27 12:05:36.024 INFO kablam! 106 | pub fn merge(&mut self, other: Self) -> Option { Oct 27 12:05:36.024 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.024 INFO kablam! Oct 27 12:05:36.024 INFO kablam! warning: method is never used: `sum_damage` Oct 27 12:05:36.025 INFO kablam! --> src/game/combat/ships/attacks.rs:118:5 Oct 27 12:05:36.025 INFO kablam! | Oct 27 12:05:36.025 INFO kablam! 118 | pub fn sum_damage(&self) -> DamagePoint { Oct 27 12:05:36.025 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.026 INFO kablam! Oct 27 12:05:36.026 INFO kablam! warning: method is never used: `same_damage` Oct 27 12:05:36.026 INFO kablam! --> src/game/combat/ships/attacks.rs:122:5 Oct 27 12:05:36.026 INFO kablam! | Oct 27 12:05:36.027 INFO kablam! 122 | pub fn same_damage(&self, other: &Self) -> bool { Oct 27 12:05:36.027 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.027 INFO kablam! Oct 27 12:05:36.027 INFO kablam! warning: method is never used: `from_parts` Oct 27 12:05:36.028 INFO kablam! --> src/game/combat/ships/attacks.rs:141:5 Oct 27 12:05:36.028 INFO kablam! | Oct 27 12:05:36.028 INFO kablam! 141 | pub unsafe fn from_parts(attacks: Vec) -> Self { Oct 27 12:05:36.028 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.029 INFO kablam! Oct 27 12:05:36.029 INFO kablam! warning: method is never used: `new` Oct 27 12:05:36.029 INFO kablam! --> src/game/combat/ships/attacks.rs:153:5 Oct 27 12:05:36.029 INFO kablam! | Oct 27 12:05:36.030 INFO kablam! 153 | pub fn new(mut attacks: Vec) -> Self { Oct 27 12:05:36.030 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.030 INFO kablam! Oct 27 12:05:36.031 INFO kablam! warning: method is never used: `add_attack` Oct 27 12:05:36.031 INFO kablam! --> src/game/combat/ships/attacks.rs:179:5 Oct 27 12:05:36.031 INFO kablam! | Oct 27 12:05:36.031 INFO kablam! 179 | pub fn add_attack(&mut self, attack: TargetedAttack) { Oct 27 12:05:36.031 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.032 INFO kablam! Oct 27 12:05:36.032 INFO kablam! warning: method is never used: `add_attacks` Oct 27 12:05:36.032 INFO kablam! --> src/game/combat/ships/attacks.rs:196:5 Oct 27 12:05:36.032 INFO kablam! | Oct 27 12:05:36.033 INFO kablam! 196 | pub fn add_attacks(&mut self, attacks: &[TargetedAttack]) { Oct 27 12:05:36.033 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.033 INFO kablam! Oct 27 12:05:36.033 INFO kablam! warning: method is never used: `iter` Oct 27 12:05:36.034 INFO kablam! --> src/game/combat/ships/attacks.rs:200:5 Oct 27 12:05:36.034 INFO kablam! | Oct 27 12:05:36.034 INFO kablam! 200 | pub fn iter(&self) -> ::std::slice::Iter { Oct 27 12:05:36.034 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.035 INFO kablam! Oct 27 12:05:36.035 INFO kablam! warning: method is never used: `iter_mut` Oct 27 12:05:36.035 INFO kablam! --> src/game/combat/ships/attacks.rs:204:5 Oct 27 12:05:36.036 INFO kablam! | Oct 27 12:05:36.036 INFO kablam! 204 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { Oct 27 12:05:36.036 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.036 INFO kablam! Oct 27 12:05:36.037 INFO kablam! warning: method is never used: `clear_used_attacks` Oct 27 12:05:36.037 INFO kablam! --> src/game/combat/ships/attacks.rs:208:5 Oct 27 12:05:36.037 INFO kablam! | Oct 27 12:05:36.037 INFO kablam! 208 | pub fn clear_used_attacks(&mut self) { Oct 27 12:05:36.037 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.038 INFO kablam! Oct 27 12:05:36.038 INFO kablam! warning: method is never used: `from_parts` Oct 27 12:05:36.038 INFO kablam! --> src/game/combat/ships/ship_template.rs:57:5 Oct 27 12:05:36.043 INFO kablam! | Oct 27 12:05:36.043 INFO kablam! 57 | / pub unsafe fn from_parts(ship_size_class: ShipSize, fuel_capacity: UInt, Oct 27 12:05:36.043 INFO kablam! 58 | | fuel_use: UInt, max_hull: UInt, shield_capacity: UInt, shield_recovery: UInt, Oct 27 12:05:36.043 INFO kablam! 59 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Self { Oct 27 12:05:36.044 INFO kablam! 60 | | Self { Oct 27 12:05:36.044 INFO kablam! ... | Oct 27 12:05:36.044 INFO kablam! 69 | | } Oct 27 12:05:36.044 INFO kablam! 70 | | } Oct 27 12:05:36.045 INFO kablam! | |_____^ Oct 27 12:05:36.045 INFO kablam! Oct 27 12:05:36.045 INFO kablam! warning: method is never used: `new` Oct 27 12:05:36.046 INFO kablam! --> src/game/combat/ships/ship_template.rs:81:5 Oct 27 12:05:36.046 INFO kablam! | Oct 27 12:05:36.046 INFO kablam! 81 | / pub fn new(ship_size_class: ShipSize, fuel_capacity: UInt, fuel_use: UInt, Oct 27 12:05:36.046 INFO kablam! 82 | | hull_points: UInt, shield_points: UInt, shield_recovery: UInt, Oct 27 12:05:36.047 INFO kablam! 83 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Result { Oct 27 12:05:36.047 INFO kablam! 84 | | //Check that fuel use is not greater than fuel capacity. Oct 27 12:05:36.047 INFO kablam! ... | Oct 27 12:05:36.047 INFO kablam! 106 | | } Oct 27 12:05:36.048 INFO kablam! 107 | | } Oct 27 12:05:36.048 INFO kablam! | |_____^ Oct 27 12:05:36.048 INFO kablam! Oct 27 12:05:36.048 INFO kablam! warning: method is never used: `set_fuel_capacity` Oct 27 12:05:36.049 INFO kablam! --> src/game/combat/ships/ship_template.rs:121:5 Oct 27 12:05:36.049 INFO kablam! | Oct 27 12:05:36.049 INFO kablam! 121 | pub fn set_fuel_capacity(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 27 12:05:36.049 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.050 INFO kablam! Oct 27 12:05:36.050 INFO kablam! warning: method is never used: `get_fuel_use` Oct 27 12:05:36.050 INFO kablam! --> src/game/combat/ships/ship_template.rs:129:5 Oct 27 12:05:36.054 INFO kablam! | Oct 27 12:05:36.055 INFO kablam! 129 | pub fn get_fuel_use(&self) -> FuelUnit { Oct 27 12:05:36.055 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.055 INFO kablam! Oct 27 12:05:36.055 INFO kablam! warning: method is never used: `set_fuel_use` Oct 27 12:05:36.056 INFO kablam! --> src/game/combat/ships/ship_template.rs:141:5 Oct 27 12:05:36.056 INFO kablam! | Oct 27 12:05:36.056 INFO kablam! 141 | pub fn set_fuel_use(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 27 12:05:36.056 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.057 INFO kablam! Oct 27 12:05:36.057 INFO kablam! warning: method is never used: `set_shield_capacity` Oct 27 12:05:36.057 INFO kablam! --> src/game/combat/ships/ship_template.rs:161:5 Oct 27 12:05:36.058 INFO kablam! | Oct 27 12:05:36.058 INFO kablam! 161 | pub fn set_shield_capacity(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 27 12:05:36.058 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.058 INFO kablam! Oct 27 12:05:36.059 INFO kablam! warning: method is never used: `get_shield_recovery` Oct 27 12:05:36.059 INFO kablam! --> src/game/combat/ships/ship_template.rs:169:5 Oct 27 12:05:36.059 INFO kablam! | Oct 27 12:05:36.060 INFO kablam! 169 | pub fn get_shield_recovery(&self) -> ShieldPoint { Oct 27 12:05:36.060 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.060 INFO kablam! Oct 27 12:05:36.060 INFO kablam! warning: method is never used: `set_shield_recovery` Oct 27 12:05:36.061 INFO kablam! --> src/game/combat/ships/ship_template.rs:181:5 Oct 27 12:05:36.061 INFO kablam! | Oct 27 12:05:36.061 INFO kablam! 181 | pub fn set_shield_recovery(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 27 12:05:36.061 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.061 INFO kablam! Oct 27 12:05:36.062 INFO kablam! warning: method is never used: `can_target` Oct 27 12:05:36.062 INFO kablam! --> src/game/combat/ships/ship_template.rs:193:5 Oct 27 12:05:36.062 INFO kablam! | Oct 27 12:05:36.063 INFO kablam! 193 | pub fn can_target(&self, target: &Self) -> bool { Oct 27 12:05:36.063 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.063 INFO kablam! Oct 27 12:05:36.063 INFO kablam! warning: method is never used: `loaded` Oct 27 12:05:36.063 INFO kablam! --> src/game/combat/ships/ship_template.rs:267:5 Oct 27 12:05:36.064 INFO kablam! | Oct 27 12:05:36.064 INFO kablam! 267 | pub fn loaded(&self) -> usize { Oct 27 12:05:36.064 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.065 INFO kablam! Oct 27 12:05:36.065 INFO kablam! warning: method is never used: `unload_overflow` Oct 27 12:05:36.065 INFO kablam! --> src/game/combat/ships/ship_template.rs:271:5 Oct 27 12:05:36.065 INFO kablam! | Oct 27 12:05:36.066 INFO kablam! 271 | pub fn unload_overflow(&mut self) { Oct 27 12:05:36.066 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.066 INFO kablam! Oct 27 12:05:36.066 INFO kablam! warning: method is never used: `unload` Oct 27 12:05:36.067 INFO kablam! --> src/game/combat/ships/ship_template.rs:301:5 Oct 27 12:05:36.067 INFO kablam! | Oct 27 12:05:36.067 INFO kablam! 301 | pub fn unload(&mut self, name: &String) -> bool { Oct 27 12:05:36.067 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.068 INFO kablam! Oct 27 12:05:36.068 INFO kablam! warning: method is never used: `new` Oct 27 12:05:36.068 INFO kablam! --> src/game/combat/ships/ship.rs:54:5 Oct 27 12:05:36.068 INFO kablam! | Oct 27 12:05:36.069 INFO kablam! 54 | / pub fn new(template: Rc, fuel_units: FuelUnit, Oct 27 12:05:36.069 INFO kablam! 55 | | hull_points: HullPoint, shield_points: ShieldPoint) -> Result { Oct 27 12:05:36.069 INFO kablam! 56 | | //Check that fuel is not greater than fuel capacity. Oct 27 12:05:36.069 INFO kablam! 57 | | if fuel_units > template.get_fuel_capacity() { Oct 27 12:05:36.070 INFO kablam! ... | Oct 27 12:05:36.070 INFO kablam! 77 | | } Oct 27 12:05:36.070 INFO kablam! 78 | | } Oct 27 12:05:36.070 INFO kablam! | |_____^ Oct 27 12:05:36.071 INFO kablam! Oct 27 12:05:36.071 INFO kablam! warning: method is never used: `set_template` Oct 27 12:05:36.071 INFO kablam! --> src/game/combat/ships/ship.rs:91:5 Oct 27 12:05:36.071 INFO kablam! | Oct 27 12:05:36.072 INFO kablam! 91 | pub fn set_template(&mut self, val: Rc) -> Result<(), ShipError> { Oct 27 12:05:36.072 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.072 INFO kablam! Oct 27 12:05:36.072 INFO kablam! warning: method is never used: `get_fuel_units` Oct 27 12:05:36.073 INFO kablam! --> src/game/combat/ships/ship.rs:107:5 Oct 27 12:05:36.073 INFO kablam! | Oct 27 12:05:36.073 INFO kablam! 107 | pub fn get_fuel_units(&self) -> FuelUnit { Oct 27 12:05:36.073 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.074 INFO kablam! Oct 27 12:05:36.074 INFO kablam! warning: method is never used: `set_fuel_units` Oct 27 12:05:36.074 INFO kablam! --> src/game/combat/ships/ship.rs:119:5 Oct 27 12:05:36.074 INFO kablam! | Oct 27 12:05:36.075 INFO kablam! 119 | pub fn set_fuel_units(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 27 12:05:36.075 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.075 INFO kablam! Oct 27 12:05:36.075 INFO kablam! warning: method is never used: `get_hull_points` Oct 27 12:05:36.076 INFO kablam! --> src/game/combat/ships/ship.rs:127:5 Oct 27 12:05:36.076 INFO kablam! | Oct 27 12:05:36.076 INFO kablam! 127 | pub fn get_hull_points(&self) -> HullPoint { Oct 27 12:05:36.076 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.077 INFO kablam! Oct 27 12:05:36.077 INFO kablam! warning: method is never used: `set_hull_points` Oct 27 12:05:36.077 INFO kablam! --> src/game/combat/ships/ship.rs:139:5 Oct 27 12:05:36.077 INFO kablam! | Oct 27 12:05:36.078 INFO kablam! 139 | pub fn set_hull_points(&mut self, val: HullPoint) -> Result<(), ShipError> { Oct 27 12:05:36.078 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.078 INFO kablam! Oct 27 12:05:36.078 INFO kablam! warning: method is never used: `get_shield_points` Oct 27 12:05:36.079 INFO kablam! --> src/game/combat/ships/ship.rs:147:5 Oct 27 12:05:36.079 INFO kablam! | Oct 27 12:05:36.079 INFO kablam! 147 | pub fn get_shield_points(&self) -> ShieldPoint { Oct 27 12:05:36.079 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.080 INFO kablam! Oct 27 12:05:36.080 INFO kablam! warning: method is never used: `set_shield_points` Oct 27 12:05:36.080 INFO kablam! --> src/game/combat/ships/ship.rs:159:5 Oct 27 12:05:36.080 INFO kablam! | Oct 27 12:05:36.081 INFO kablam! 159 | pub fn set_shield_points(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 27 12:05:36.081 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.081 INFO kablam! Oct 27 12:05:36.081 INFO kablam! warning: method is never used: `is_alive` Oct 27 12:05:36.082 INFO kablam! --> src/game/combat/ships/ship.rs:167:5 Oct 27 12:05:36.091 INFO kablam! | Oct 27 12:05:36.092 INFO kablam! 167 | pub fn is_alive(&self) -> bool { Oct 27 12:05:36.092 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.092 INFO kablam! Oct 27 12:05:36.092 INFO kablam! warning: method is never used: `regenerate_shields` Oct 27 12:05:36.093 INFO kablam! --> src/game/combat/ships/ship.rs:172:5 Oct 27 12:05:36.093 INFO kablam! | Oct 27 12:05:36.093 INFO kablam! 172 | pub fn regenerate_shields(&mut self) { Oct 27 12:05:36.093 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.094 INFO kablam! Oct 27 12:05:36.094 INFO kablam! warning: method is never used: `simulate_damage` Oct 27 12:05:36.094 INFO kablam! --> src/game/combat/ships/ship.rs:185:5 Oct 27 12:05:36.095 INFO kablam! | Oct 27 12:05:36.095 INFO kablam! 185 | pub fn simulate_damage(&mut self, mut damage: DamagePoint) -> (HullPoint, ShieldPoint, DamagePoint) { Oct 27 12:05:36.095 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.095 INFO kablam! Oct 27 12:05:36.095 INFO kablam! warning: method is never used: `resolve_damage` Oct 27 12:05:36.095 INFO kablam! --> src/game/combat/ships/ship.rs:211:5 Oct 27 12:05:36.095 INFO kablam! | Oct 27 12:05:36.095 INFO kablam! 211 | pub fn resolve_damage(&mut self, damage: DamagePoint) -> DamagePoint { Oct 27 12:05:36.095 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.095 INFO kablam! Oct 27 12:05:36.095 INFO kablam! warning: method is never used: `resolve_attacks` Oct 27 12:05:36.095 INFO kablam! --> src/game/combat/ships/ship.rs:228:5 Oct 27 12:05:36.095 INFO kablam! | Oct 27 12:05:36.095 INFO kablam! 228 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 27 12:05:36.095 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.095 INFO kablam! Oct 27 12:05:36.095 INFO kablam! warning: method is never used: `is_alive` Oct 27 12:05:36.095 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:39:5 Oct 27 12:05:36.095 INFO kablam! | Oct 27 12:05:36.095 INFO kablam! 39 | pub fn is_alive(&self) -> bool { Oct 27 12:05:36.095 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.095 INFO kablam! Oct 27 12:05:36.095 INFO kablam! warning: method is never used: `regenerate_shields` Oct 27 12:05:36.095 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:43:5 Oct 27 12:05:36.095 INFO kablam! | Oct 27 12:05:36.095 INFO kablam! 43 | pub fn regenerate_shields(&mut self) { Oct 27 12:05:36.095 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.095 INFO kablam! Oct 27 12:05:36.095 INFO kablam! warning: method is never used: `resolve_damage` Oct 27 12:05:36.095 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:52:5 Oct 27 12:05:36.095 INFO kablam! | Oct 27 12:05:36.095 INFO kablam! 52 | pub fn resolve_damage(&mut self, mut damage: DamagePoint) -> DamagePoint { Oct 27 12:05:36.095 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.095 INFO kablam! Oct 27 12:05:36.095 INFO kablam! warning: method is never used: `resolve_attacks` Oct 27 12:05:36.095 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:118:5 Oct 27 12:05:36.095 INFO kablam! | Oct 27 12:05:36.095 INFO kablam! 118 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 27 12:05:36.095 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.095 INFO kablam! Oct 27 12:05:36.095 INFO kablam! warning: method is never used: `get_attacks` Oct 27 12:05:36.095 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:146:5 Oct 27 12:05:36.095 INFO kablam! | Oct 27 12:05:36.095 INFO kablam! 146 | pub fn get_attacks(&self) -> ReducedAttacks { Oct 27 12:05:36.095 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.095 INFO kablam! Oct 27 12:05:36.095 INFO kablam! warning: variant is never constructed: `Unaware` Oct 27 12:05:36.096 INFO kablam! --> src/game/factions.rs:20:5 Oct 27 12:05:36.096 INFO kablam! | Oct 27 12:05:36.096 INFO kablam! 20 | Unaware, Oct 27 12:05:36.096 INFO kablam! | ^^^^^^^ Oct 27 12:05:36.096 INFO kablam! Oct 27 12:05:36.096 INFO kablam! warning: variant is never constructed: `Neutral` Oct 27 12:05:36.096 INFO kablam! --> src/game/factions.rs:22:5 Oct 27 12:05:36.096 INFO kablam! | Oct 27 12:05:36.096 INFO kablam! 22 | Neutral, Oct 27 12:05:36.096 INFO kablam! | ^^^^^^^ Oct 27 12:05:36.096 INFO kablam! Oct 27 12:05:36.096 INFO kablam! warning: variant is never constructed: `Friendly` Oct 27 12:05:36.096 INFO kablam! --> src/game/factions.rs:24:5 Oct 27 12:05:36.096 INFO kablam! | Oct 27 12:05:36.096 INFO kablam! 24 | Friendly, Oct 27 12:05:36.096 INFO kablam! | ^^^^^^^^ Oct 27 12:05:36.096 INFO kablam! Oct 27 12:05:36.096 INFO kablam! warning: variant is never constructed: `Enemy` Oct 27 12:05:36.096 INFO kablam! --> src/game/factions.rs:26:5 Oct 27 12:05:36.096 INFO kablam! | Oct 27 12:05:36.096 INFO kablam! 26 | Enemy Oct 27 12:05:36.096 INFO kablam! | ^^^^^ Oct 27 12:05:36.096 INFO kablam! Oct 27 12:05:36.096 INFO kablam! warning: method is never used: `from_parts` Oct 27 12:05:36.096 INFO kablam! --> src/game/factions.rs:41:5 Oct 27 12:05:36.096 INFO kablam! | Oct 27 12:05:36.096 INFO kablam! 41 | pub unsafe fn from_parts(first: Faction, second: Faction) -> FactionPair { Oct 27 12:05:36.096 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.096 INFO kablam! Oct 27 12:05:36.096 INFO kablam! warning: method is never used: `new` Oct 27 12:05:36.096 INFO kablam! --> src/game/factions.rs:50:5 Oct 27 12:05:36.096 INFO kablam! | Oct 27 12:05:36.096 INFO kablam! 50 | pub fn new(first: Faction, second: Faction) -> Option { Oct 27 12:05:36.096 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.096 INFO kablam! Oct 27 12:05:36.096 INFO kablam! warning: function is never used: `get_game_factions` Oct 27 12:05:36.096 INFO kablam! --> src/game/factions.rs:97:1 Oct 27 12:05:36.096 INFO kablam! | Oct 27 12:05:36.096 INFO kablam! 97 | pub fn get_game_factions() -> &'static mut (Vec, HashMap) { Oct 27 12:05:36.096 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.096 INFO kablam! Oct 27 12:05:36.349 INFO kablam! warning: variant is never constructed: `FuelError` Oct 27 12:05:36.349 INFO kablam! --> src/game/combat/ships/ship_error.rs:11:5 Oct 27 12:05:36.349 INFO kablam! | Oct 27 12:05:36.349 INFO kablam! 11 | FuelError, Oct 27 12:05:36.349 INFO kablam! | ^^^^^^^^^ Oct 27 12:05:36.349 INFO kablam! | Oct 27 12:05:36.349 INFO kablam! = note: #[warn(dead_code)] on by default Oct 27 12:05:36.349 INFO kablam! Oct 27 12:05:36.349 INFO kablam! warning: variant is never constructed: `ShieldError` Oct 27 12:05:36.349 INFO kablam! --> src/game/combat/ships/ship_error.rs:12:5 Oct 27 12:05:36.349 INFO kablam! | Oct 27 12:05:36.349 INFO kablam! 12 | ShieldError, Oct 27 12:05:36.349 INFO kablam! | ^^^^^^^^^^^ Oct 27 12:05:36.350 INFO kablam! Oct 27 12:05:36.350 INFO kablam! warning: variant is never constructed: `HullError` Oct 27 12:05:36.350 INFO kablam! --> src/game/combat/ships/ship_error.rs:13:5 Oct 27 12:05:36.350 INFO kablam! | Oct 27 12:05:36.350 INFO kablam! 13 | HullError Oct 27 12:05:36.350 INFO kablam! | ^^^^^^^^^ Oct 27 12:05:36.350 INFO kablam! Oct 27 12:05:36.350 INFO kablam! warning: method is never used: `new` Oct 27 12:05:36.350 INFO kablam! --> src/game/combat/ships/attacks.rs:31:5 Oct 27 12:05:36.350 INFO kablam! | Oct 27 12:05:36.350 INFO kablam! 31 | pub fn new(attack: Attack, smallest_target: ShipSize) -> Self { Oct 27 12:05:36.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.350 INFO kablam! Oct 27 12:05:36.350 INFO kablam! warning: method is never used: `valid_target` Oct 27 12:05:36.350 INFO kablam! --> src/game/combat/ships/attacks.rs:43:5 Oct 27 12:05:36.350 INFO kablam! | Oct 27 12:05:36.350 INFO kablam! 43 | pub fn valid_target(&self, target_size: ShipSize) -> bool { Oct 27 12:05:36.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.350 INFO kablam! Oct 27 12:05:36.350 INFO kablam! warning: method is never used: `same_target` Oct 27 12:05:36.350 INFO kablam! --> src/game/combat/ships/attacks.rs:52:5 Oct 27 12:05:36.350 INFO kablam! | Oct 27 12:05:36.350 INFO kablam! 52 | pub fn same_target(&self, other: &Self) -> bool { Oct 27 12:05:36.350 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.350 INFO kablam! Oct 27 12:05:36.350 INFO kablam! warning: method is never used: `new` Oct 27 12:05:36.351 INFO kablam! --> src/game/combat/ships/attacks.rs:94:5 Oct 27 12:05:36.351 INFO kablam! | Oct 27 12:05:36.351 INFO kablam! 94 | pub fn new(parralel_attacks: UInt, damage_per_attack: DamagePoint) -> Self { Oct 27 12:05:36.351 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.351 INFO kablam! Oct 27 12:05:36.351 INFO kablam! warning: method is never used: `merge` Oct 27 12:05:36.351 INFO kablam! --> src/game/combat/ships/attacks.rs:106:5 Oct 27 12:05:36.351 INFO kablam! | Oct 27 12:05:36.351 INFO kablam! 106 | pub fn merge(&mut self, other: Self) -> Option { Oct 27 12:05:36.351 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.351 INFO kablam! Oct 27 12:05:36.351 INFO kablam! warning: method is never used: `sum_damage` Oct 27 12:05:36.351 INFO kablam! --> src/game/combat/ships/attacks.rs:118:5 Oct 27 12:05:36.351 INFO kablam! | Oct 27 12:05:36.351 INFO kablam! 118 | pub fn sum_damage(&self) -> DamagePoint { Oct 27 12:05:36.351 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.351 INFO kablam! Oct 27 12:05:36.351 INFO kablam! warning: method is never used: `same_damage` Oct 27 12:05:36.351 INFO kablam! --> src/game/combat/ships/attacks.rs:122:5 Oct 27 12:05:36.351 INFO kablam! | Oct 27 12:05:36.351 INFO kablam! 122 | pub fn same_damage(&self, other: &Self) -> bool { Oct 27 12:05:36.351 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.351 INFO kablam! Oct 27 12:05:36.352 INFO kablam! warning: method is never used: `from_parts` Oct 27 12:05:36.352 INFO kablam! --> src/game/combat/ships/attacks.rs:141:5 Oct 27 12:05:36.352 INFO kablam! | Oct 27 12:05:36.352 INFO kablam! 141 | pub unsafe fn from_parts(attacks: Vec) -> Self { Oct 27 12:05:36.352 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.352 INFO kablam! Oct 27 12:05:36.363 INFO kablam! warning: method is never used: `new` Oct 27 12:05:36.363 INFO kablam! --> src/game/combat/ships/attacks.rs:153:5 Oct 27 12:05:36.363 INFO kablam! | Oct 27 12:05:36.363 INFO kablam! 153 | pub fn new(mut attacks: Vec) -> Self { Oct 27 12:05:36.363 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.363 INFO kablam! Oct 27 12:05:36.363 INFO kablam! warning: method is never used: `add_attack` Oct 27 12:05:36.363 INFO kablam! --> src/game/combat/ships/attacks.rs:179:5 Oct 27 12:05:36.363 INFO kablam! | Oct 27 12:05:36.363 INFO kablam! 179 | pub fn add_attack(&mut self, attack: TargetedAttack) { Oct 27 12:05:36.363 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.363 INFO kablam! Oct 27 12:05:36.363 INFO kablam! warning: method is never used: `add_attacks` Oct 27 12:05:36.363 INFO kablam! --> src/game/combat/ships/attacks.rs:196:5 Oct 27 12:05:36.363 INFO kablam! | Oct 27 12:05:36.363 INFO kablam! 196 | pub fn add_attacks(&mut self, attacks: &[TargetedAttack]) { Oct 27 12:05:36.363 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.363 INFO kablam! Oct 27 12:05:36.363 INFO kablam! warning: method is never used: `iter` Oct 27 12:05:36.363 INFO kablam! --> src/game/combat/ships/attacks.rs:200:5 Oct 27 12:05:36.363 INFO kablam! | Oct 27 12:05:36.363 INFO kablam! 200 | pub fn iter(&self) -> ::std::slice::Iter { Oct 27 12:05:36.363 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.363 INFO kablam! Oct 27 12:05:36.363 INFO kablam! warning: method is never used: `iter_mut` Oct 27 12:05:36.363 INFO kablam! --> src/game/combat/ships/attacks.rs:204:5 Oct 27 12:05:36.363 INFO kablam! | Oct 27 12:05:36.363 INFO kablam! 204 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { Oct 27 12:05:36.363 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.363 INFO kablam! Oct 27 12:05:36.363 INFO kablam! warning: method is never used: `clear_used_attacks` Oct 27 12:05:36.363 INFO kablam! --> src/game/combat/ships/attacks.rs:208:5 Oct 27 12:05:36.363 INFO kablam! | Oct 27 12:05:36.363 INFO kablam! 208 | pub fn clear_used_attacks(&mut self) { Oct 27 12:05:36.363 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.363 INFO kablam! Oct 27 12:05:36.363 INFO kablam! warning: method is never used: `from_parts` Oct 27 12:05:36.363 INFO kablam! --> src/game/combat/ships/ship_template.rs:57:5 Oct 27 12:05:36.363 INFO kablam! | Oct 27 12:05:36.363 INFO kablam! 57 | / pub unsafe fn from_parts(ship_size_class: ShipSize, fuel_capacity: UInt, Oct 27 12:05:36.363 INFO kablam! 58 | | fuel_use: UInt, max_hull: UInt, shield_capacity: UInt, shield_recovery: UInt, Oct 27 12:05:36.363 INFO kablam! 59 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Self { Oct 27 12:05:36.363 INFO kablam! 60 | | Self { Oct 27 12:05:36.363 INFO kablam! ... | Oct 27 12:05:36.363 INFO kablam! 69 | | } Oct 27 12:05:36.363 INFO kablam! 70 | | } Oct 27 12:05:36.363 INFO kablam! | |_____^ Oct 27 12:05:36.363 INFO kablam! Oct 27 12:05:36.363 INFO kablam! warning: method is never used: `new` Oct 27 12:05:36.363 INFO kablam! --> src/game/combat/ships/ship_template.rs:81:5 Oct 27 12:05:36.363 INFO kablam! | Oct 27 12:05:36.363 INFO kablam! 81 | / pub fn new(ship_size_class: ShipSize, fuel_capacity: UInt, fuel_use: UInt, Oct 27 12:05:36.363 INFO kablam! 82 | | hull_points: UInt, shield_points: UInt, shield_recovery: UInt, Oct 27 12:05:36.363 INFO kablam! 83 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Result { Oct 27 12:05:36.363 INFO kablam! 84 | | //Check that fuel use is not greater than fuel capacity. Oct 27 12:05:36.363 INFO kablam! ... | Oct 27 12:05:36.363 INFO kablam! 106 | | } Oct 27 12:05:36.363 INFO kablam! 107 | | } Oct 27 12:05:36.363 INFO kablam! | |_____^ Oct 27 12:05:36.363 INFO kablam! Oct 27 12:05:36.363 INFO kablam! warning: method is never used: `set_fuel_capacity` Oct 27 12:05:36.363 INFO kablam! --> src/game/combat/ships/ship_template.rs:121:5 Oct 27 12:05:36.363 INFO kablam! | Oct 27 12:05:36.363 INFO kablam! 121 | pub fn set_fuel_capacity(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 27 12:05:36.363 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.363 INFO kablam! Oct 27 12:05:36.363 INFO kablam! warning: method is never used: `get_fuel_use` Oct 27 12:05:36.363 INFO kablam! --> src/game/combat/ships/ship_template.rs:129:5 Oct 27 12:05:36.363 INFO kablam! | Oct 27 12:05:36.363 INFO kablam! 129 | pub fn get_fuel_use(&self) -> FuelUnit { Oct 27 12:05:36.363 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.363 INFO kablam! Oct 27 12:05:36.363 INFO kablam! warning: method is never used: `set_fuel_use` Oct 27 12:05:36.363 INFO kablam! --> src/game/combat/ships/ship_template.rs:141:5 Oct 27 12:05:36.363 INFO kablam! | Oct 27 12:05:36.363 INFO kablam! 141 | pub fn set_fuel_use(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 27 12:05:36.363 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.363 INFO kablam! Oct 27 12:05:36.363 INFO kablam! warning: method is never used: `set_shield_capacity` Oct 27 12:05:36.363 INFO kablam! --> src/game/combat/ships/ship_template.rs:161:5 Oct 27 12:05:36.363 INFO kablam! | Oct 27 12:05:36.363 INFO kablam! 161 | pub fn set_shield_capacity(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 27 12:05:36.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.364 INFO kablam! warning: method is never used: `get_shield_recovery` Oct 27 12:05:36.364 INFO kablam! --> src/game/combat/ships/ship_template.rs:169:5 Oct 27 12:05:36.364 INFO kablam! | Oct 27 12:05:36.364 INFO kablam! 169 | pub fn get_shield_recovery(&self) -> ShieldPoint { Oct 27 12:05:36.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.364 INFO kablam! warning: method is never used: `set_shield_recovery` Oct 27 12:05:36.364 INFO kablam! --> src/game/combat/ships/ship_template.rs:181:5 Oct 27 12:05:36.364 INFO kablam! | Oct 27 12:05:36.364 INFO kablam! 181 | pub fn set_shield_recovery(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 27 12:05:36.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.364 INFO kablam! warning: method is never used: `can_target` Oct 27 12:05:36.364 INFO kablam! --> src/game/combat/ships/ship_template.rs:193:5 Oct 27 12:05:36.364 INFO kablam! | Oct 27 12:05:36.364 INFO kablam! 193 | pub fn can_target(&self, target: &Self) -> bool { Oct 27 12:05:36.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.364 INFO kablam! warning: method is never used: `loaded` Oct 27 12:05:36.364 INFO kablam! --> src/game/combat/ships/ship_template.rs:267:5 Oct 27 12:05:36.364 INFO kablam! | Oct 27 12:05:36.364 INFO kablam! 267 | pub fn loaded(&self) -> usize { Oct 27 12:05:36.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.364 INFO kablam! warning: method is never used: `unload_overflow` Oct 27 12:05:36.364 INFO kablam! --> src/game/combat/ships/ship_template.rs:271:5 Oct 27 12:05:36.364 INFO kablam! | Oct 27 12:05:36.364 INFO kablam! 271 | pub fn unload_overflow(&mut self) { Oct 27 12:05:36.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.364 INFO kablam! warning: method is never used: `unload` Oct 27 12:05:36.364 INFO kablam! --> src/game/combat/ships/ship_template.rs:301:5 Oct 27 12:05:36.364 INFO kablam! | Oct 27 12:05:36.364 INFO kablam! 301 | pub fn unload(&mut self, name: &String) -> bool { Oct 27 12:05:36.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.364 INFO kablam! warning: method is never used: `new` Oct 27 12:05:36.364 INFO kablam! --> src/game/combat/ships/ship.rs:54:5 Oct 27 12:05:36.364 INFO kablam! | Oct 27 12:05:36.364 INFO kablam! 54 | / pub fn new(template: Rc, fuel_units: FuelUnit, Oct 27 12:05:36.364 INFO kablam! 55 | | hull_points: HullPoint, shield_points: ShieldPoint) -> Result { Oct 27 12:05:36.364 INFO kablam! 56 | | //Check that fuel is not greater than fuel capacity. Oct 27 12:05:36.364 INFO kablam! 57 | | if fuel_units > template.get_fuel_capacity() { Oct 27 12:05:36.364 INFO kablam! ... | Oct 27 12:05:36.364 INFO kablam! 77 | | } Oct 27 12:05:36.364 INFO kablam! 78 | | } Oct 27 12:05:36.364 INFO kablam! | |_____^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.364 INFO kablam! warning: method is never used: `set_template` Oct 27 12:05:36.364 INFO kablam! --> src/game/combat/ships/ship.rs:91:5 Oct 27 12:05:36.364 INFO kablam! | Oct 27 12:05:36.364 INFO kablam! 91 | pub fn set_template(&mut self, val: Rc) -> Result<(), ShipError> { Oct 27 12:05:36.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.364 INFO kablam! warning: method is never used: `get_fuel_units` Oct 27 12:05:36.364 INFO kablam! --> src/game/combat/ships/ship.rs:107:5 Oct 27 12:05:36.364 INFO kablam! | Oct 27 12:05:36.364 INFO kablam! 107 | pub fn get_fuel_units(&self) -> FuelUnit { Oct 27 12:05:36.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.364 INFO kablam! warning: method is never used: `set_fuel_units` Oct 27 12:05:36.364 INFO kablam! --> src/game/combat/ships/ship.rs:119:5 Oct 27 12:05:36.364 INFO kablam! | Oct 27 12:05:36.364 INFO kablam! 119 | pub fn set_fuel_units(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 27 12:05:36.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.364 INFO kablam! warning: method is never used: `get_hull_points` Oct 27 12:05:36.364 INFO kablam! --> src/game/combat/ships/ship.rs:127:5 Oct 27 12:05:36.364 INFO kablam! | Oct 27 12:05:36.364 INFO kablam! 127 | pub fn get_hull_points(&self) -> HullPoint { Oct 27 12:05:36.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.364 INFO kablam! warning: method is never used: `set_hull_points` Oct 27 12:05:36.364 INFO kablam! --> src/game/combat/ships/ship.rs:139:5 Oct 27 12:05:36.364 INFO kablam! | Oct 27 12:05:36.364 INFO kablam! 139 | pub fn set_hull_points(&mut self, val: HullPoint) -> Result<(), ShipError> { Oct 27 12:05:36.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.364 INFO kablam! warning: method is never used: `get_shield_points` Oct 27 12:05:36.364 INFO kablam! --> src/game/combat/ships/ship.rs:147:5 Oct 27 12:05:36.364 INFO kablam! | Oct 27 12:05:36.364 INFO kablam! 147 | pub fn get_shield_points(&self) -> ShieldPoint { Oct 27 12:05:36.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.364 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: method is never used: `set_shield_points` Oct 27 12:05:36.365 INFO kablam! --> src/game/combat/ships/ship.rs:159:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 159 | pub fn set_shield_points(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: method is never used: `is_alive` Oct 27 12:05:36.365 INFO kablam! --> src/game/combat/ships/ship.rs:167:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 167 | pub fn is_alive(&self) -> bool { Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: method is never used: `regenerate_shields` Oct 27 12:05:36.365 INFO kablam! --> src/game/combat/ships/ship.rs:172:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 172 | pub fn regenerate_shields(&mut self) { Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: method is never used: `simulate_damage` Oct 27 12:05:36.365 INFO kablam! --> src/game/combat/ships/ship.rs:185:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 185 | pub fn simulate_damage(&mut self, mut damage: DamagePoint) -> (HullPoint, ShieldPoint, DamagePoint) { Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: method is never used: `resolve_damage` Oct 27 12:05:36.365 INFO kablam! --> src/game/combat/ships/ship.rs:211:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 211 | pub fn resolve_damage(&mut self, damage: DamagePoint) -> DamagePoint { Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: method is never used: `resolve_attacks` Oct 27 12:05:36.365 INFO kablam! --> src/game/combat/ships/ship.rs:228:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 228 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: method is never used: `is_alive` Oct 27 12:05:36.365 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:39:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 39 | pub fn is_alive(&self) -> bool { Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: method is never used: `regenerate_shields` Oct 27 12:05:36.365 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:43:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 43 | pub fn regenerate_shields(&mut self) { Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: method is never used: `resolve_damage` Oct 27 12:05:36.365 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:52:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 52 | pub fn resolve_damage(&mut self, mut damage: DamagePoint) -> DamagePoint { Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: method is never used: `resolve_attacks` Oct 27 12:05:36.365 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:118:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 118 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: method is never used: `get_attacks` Oct 27 12:05:36.365 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:146:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 146 | pub fn get_attacks(&self) -> ReducedAttacks { Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: variant is never constructed: `Unaware` Oct 27 12:05:36.365 INFO kablam! --> src/game/factions.rs:20:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 20 | Unaware, Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: variant is never constructed: `Neutral` Oct 27 12:05:36.365 INFO kablam! --> src/game/factions.rs:22:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 22 | Neutral, Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: variant is never constructed: `Friendly` Oct 27 12:05:36.365 INFO kablam! --> src/game/factions.rs:24:5 Oct 27 12:05:36.365 INFO kablam! | Oct 27 12:05:36.365 INFO kablam! 24 | Friendly, Oct 27 12:05:36.365 INFO kablam! | ^^^^^^^^ Oct 27 12:05:36.365 INFO kablam! Oct 27 12:05:36.365 INFO kablam! warning: variant is never constructed: `Enemy` Oct 27 12:05:36.366 INFO kablam! --> src/game/factions.rs:26:5 Oct 27 12:05:36.366 INFO kablam! | Oct 27 12:05:36.366 INFO kablam! 26 | Enemy Oct 27 12:05:36.366 INFO kablam! | ^^^^^ Oct 27 12:05:36.366 INFO kablam! Oct 27 12:05:36.366 INFO kablam! warning: function is never used: `get_game_factions` Oct 27 12:05:36.366 INFO kablam! --> src/game/factions.rs:97:1 Oct 27 12:05:36.366 INFO kablam! | Oct 27 12:05:36.366 INFO kablam! 97 | pub fn get_game_factions() -> &'static mut (Vec, HashMap) { Oct 27 12:05:36.366 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 12:05:36.366 INFO kablam! Oct 27 12:05:36.410 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.68s Oct 27 12:05:36.422 INFO kablam! su: No module specific data is present Oct 27 12:05:36.908 INFO running `"docker" "rm" "-f" "fb01567517dfaa4abed7627f451cdb618deeef643c9102e68d517dd99a16920b"` Oct 27 12:05:37.025 INFO blam! fb01567517dfaa4abed7627f451cdb618deeef643c9102e68d517dd99a16920b