Oct 13 04:58:16.812 INFO checking Dynisious/the_brass against try#4021bd0b3c5815b087d6db10ce461e7e4854ade7 for pr-54977 Oct 13 04:58:16.812 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-0/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/pr-54977/try#4021bd0b3c5815b087d6db10ce461e7e4854ade7:/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 +4021bd0b3c5815b087d6db10ce461e7e4854ade7-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 13 04:58:17.028 INFO blam! a5aea4e3e96178462c25d376dc0c3b7a923efe627c7123257c4fb0e2e9ed5cd2 Oct 13 04:58:17.030 INFO running `"docker" "start" "-a" "a5aea4e3e96178462c25d376dc0c3b7a923efe627c7123257c4fb0e2e9ed5cd2"` Oct 13 04:58:17.502 INFO kablam! usermod: no changes Oct 13 04:58:17.564 INFO kablam! Checking toml v0.4.5 Oct 13 04:58:19.214 INFO kablam! Checking the_brass v0.2.0 (/source) Oct 13 04:58:20.217 INFO kablam! warning: variant is never constructed: `FuelError` Oct 13 04:58:20.217 INFO kablam! --> src/game/combat/ships/ship_error.rs:11:5 Oct 13 04:58:20.217 INFO kablam! | Oct 13 04:58:20.217 INFO kablam! 11 | FuelError, Oct 13 04:58:20.217 INFO kablam! | ^^^^^^^^^ Oct 13 04:58:20.217 INFO kablam! | Oct 13 04:58:20.217 INFO kablam! = note: #[warn(dead_code)] on by default Oct 13 04:58:20.217 INFO kablam! Oct 13 04:58:20.217 INFO kablam! warning: variant is never constructed: `ShieldError` Oct 13 04:58:20.217 INFO kablam! --> src/game/combat/ships/ship_error.rs:12:5 Oct 13 04:58:20.217 INFO kablam! | Oct 13 04:58:20.217 INFO kablam! 12 | ShieldError, Oct 13 04:58:20.217 INFO kablam! | ^^^^^^^^^^^ Oct 13 04:58:20.217 INFO kablam! Oct 13 04:58:20.217 INFO kablam! warning: variant is never constructed: `HullError` Oct 13 04:58:20.218 INFO kablam! --> src/game/combat/ships/ship_error.rs:13:5 Oct 13 04:58:20.218 INFO kablam! | Oct 13 04:58:20.218 INFO kablam! 13 | HullError Oct 13 04:58:20.218 INFO kablam! | ^^^^^^^^^ Oct 13 04:58:20.218 INFO kablam! Oct 13 04:58:20.218 INFO kablam! warning: method is never used: `new` Oct 13 04:58:20.218 INFO kablam! --> src/game/combat/ships/attacks.rs:31:5 Oct 13 04:58:20.218 INFO kablam! | Oct 13 04:58:20.218 INFO kablam! 31 | pub fn new(attack: Attack, smallest_target: ShipSize) -> Self { Oct 13 04:58:20.218 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.218 INFO kablam! Oct 13 04:58:20.218 INFO kablam! warning: method is never used: `valid_target` Oct 13 04:58:20.218 INFO kablam! --> src/game/combat/ships/attacks.rs:43:5 Oct 13 04:58:20.218 INFO kablam! | Oct 13 04:58:20.218 INFO kablam! 43 | pub fn valid_target(&self, target_size: ShipSize) -> bool { Oct 13 04:58:20.218 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.218 INFO kablam! Oct 13 04:58:20.218 INFO kablam! warning: method is never used: `same_target` Oct 13 04:58:20.218 INFO kablam! --> src/game/combat/ships/attacks.rs:52:5 Oct 13 04:58:20.218 INFO kablam! | Oct 13 04:58:20.218 INFO kablam! 52 | pub fn same_target(&self, other: &Self) -> bool { Oct 13 04:58:20.218 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.218 INFO kablam! Oct 13 04:58:20.218 INFO kablam! warning: method is never used: `new` Oct 13 04:58:20.218 INFO kablam! --> src/game/combat/ships/attacks.rs:94:5 Oct 13 04:58:20.218 INFO kablam! | Oct 13 04:58:20.219 INFO kablam! 94 | pub fn new(parralel_attacks: UInt, damage_per_attack: DamagePoint) -> Self { Oct 13 04:58:20.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.219 INFO kablam! Oct 13 04:58:20.219 INFO kablam! warning: method is never used: `merge` Oct 13 04:58:20.219 INFO kablam! --> src/game/combat/ships/attacks.rs:106:5 Oct 13 04:58:20.219 INFO kablam! | Oct 13 04:58:20.219 INFO kablam! 106 | pub fn merge(&mut self, other: Self) -> Option { Oct 13 04:58:20.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.219 INFO kablam! Oct 13 04:58:20.219 INFO kablam! warning: method is never used: `sum_damage` Oct 13 04:58:20.219 INFO kablam! --> src/game/combat/ships/attacks.rs:118:5 Oct 13 04:58:20.219 INFO kablam! | Oct 13 04:58:20.219 INFO kablam! 118 | pub fn sum_damage(&self) -> DamagePoint { Oct 13 04:58:20.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.219 INFO kablam! Oct 13 04:58:20.219 INFO kablam! warning: method is never used: `same_damage` Oct 13 04:58:20.219 INFO kablam! --> src/game/combat/ships/attacks.rs:122:5 Oct 13 04:58:20.219 INFO kablam! | Oct 13 04:58:20.219 INFO kablam! 122 | pub fn same_damage(&self, other: &Self) -> bool { Oct 13 04:58:20.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.219 INFO kablam! Oct 13 04:58:20.219 INFO kablam! warning: method is never used: `from_parts` Oct 13 04:58:20.219 INFO kablam! --> src/game/combat/ships/attacks.rs:141:5 Oct 13 04:58:20.219 INFO kablam! | Oct 13 04:58:20.219 INFO kablam! 141 | pub unsafe fn from_parts(attacks: Vec) -> Self { Oct 13 04:58:20.220 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.220 INFO kablam! Oct 13 04:58:20.220 INFO kablam! warning: method is never used: `new` Oct 13 04:58:20.220 INFO kablam! --> src/game/combat/ships/attacks.rs:153:5 Oct 13 04:58:20.220 INFO kablam! | Oct 13 04:58:20.220 INFO kablam! 153 | pub fn new(mut attacks: Vec) -> Self { Oct 13 04:58:20.220 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.220 INFO kablam! Oct 13 04:58:20.220 INFO kablam! warning: method is never used: `add_attack` Oct 13 04:58:20.220 INFO kablam! --> src/game/combat/ships/attacks.rs:179:5 Oct 13 04:58:20.220 INFO kablam! | Oct 13 04:58:20.220 INFO kablam! 179 | pub fn add_attack(&mut self, attack: TargetedAttack) { Oct 13 04:58:20.220 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.220 INFO kablam! Oct 13 04:58:20.220 INFO kablam! warning: method is never used: `add_attacks` Oct 13 04:58:20.220 INFO kablam! --> src/game/combat/ships/attacks.rs:196:5 Oct 13 04:58:20.220 INFO kablam! | Oct 13 04:58:20.220 INFO kablam! 196 | pub fn add_attacks(&mut self, attacks: &[TargetedAttack]) { Oct 13 04:58:20.220 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.220 INFO kablam! Oct 13 04:58:20.220 INFO kablam! warning: method is never used: `iter` Oct 13 04:58:20.220 INFO kablam! --> src/game/combat/ships/attacks.rs:200:5 Oct 13 04:58:20.220 INFO kablam! | Oct 13 04:58:20.220 INFO kablam! 200 | pub fn iter(&self) -> ::std::slice::Iter { Oct 13 04:58:20.220 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.220 INFO kablam! Oct 13 04:58:20.221 INFO kablam! warning: method is never used: `iter_mut` Oct 13 04:58:20.221 INFO kablam! --> src/game/combat/ships/attacks.rs:204:5 Oct 13 04:58:20.221 INFO kablam! | Oct 13 04:58:20.221 INFO kablam! 204 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { Oct 13 04:58:20.221 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.221 INFO kablam! Oct 13 04:58:20.221 INFO kablam! warning: method is never used: `clear_used_attacks` Oct 13 04:58:20.221 INFO kablam! --> src/game/combat/ships/attacks.rs:208:5 Oct 13 04:58:20.221 INFO kablam! | Oct 13 04:58:20.221 INFO kablam! 208 | pub fn clear_used_attacks(&mut self) { Oct 13 04:58:20.221 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.221 INFO kablam! Oct 13 04:58:20.221 INFO kablam! warning: method is never used: `from_parts` Oct 13 04:58:20.221 INFO kablam! --> src/game/combat/ships/ship_template.rs:57:5 Oct 13 04:58:20.221 INFO kablam! | Oct 13 04:58:20.221 INFO kablam! 57 | / pub unsafe fn from_parts(ship_size_class: ShipSize, fuel_capacity: UInt, Oct 13 04:58:20.221 INFO kablam! 58 | | fuel_use: UInt, max_hull: UInt, shield_capacity: UInt, shield_recovery: UInt, Oct 13 04:58:20.221 INFO kablam! 59 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Self { Oct 13 04:58:20.221 INFO kablam! 60 | | Self { Oct 13 04:58:20.221 INFO kablam! ... | Oct 13 04:58:20.221 INFO kablam! 69 | | } Oct 13 04:58:20.221 INFO kablam! 70 | | } Oct 13 04:58:20.221 INFO kablam! | |_____^ Oct 13 04:58:20.221 INFO kablam! Oct 13 04:58:20.221 INFO kablam! warning: method is never used: `new` Oct 13 04:58:20.221 INFO kablam! --> src/game/combat/ships/ship_template.rs:81:5 Oct 13 04:58:20.222 INFO kablam! | Oct 13 04:58:20.222 INFO kablam! 81 | / pub fn new(ship_size_class: ShipSize, fuel_capacity: UInt, fuel_use: UInt, Oct 13 04:58:20.222 INFO kablam! 82 | | hull_points: UInt, shield_points: UInt, shield_recovery: UInt, Oct 13 04:58:20.222 INFO kablam! 83 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Result { Oct 13 04:58:20.222 INFO kablam! 84 | | //Check that fuel use is not greater than fuel capacity. Oct 13 04:58:20.222 INFO kablam! ... | Oct 13 04:58:20.222 INFO kablam! 106 | | } Oct 13 04:58:20.222 INFO kablam! 107 | | } Oct 13 04:58:20.222 INFO kablam! | |_____^ Oct 13 04:58:20.222 INFO kablam! Oct 13 04:58:20.222 INFO kablam! warning: method is never used: `set_fuel_capacity` Oct 13 04:58:20.222 INFO kablam! --> src/game/combat/ships/ship_template.rs:121:5 Oct 13 04:58:20.222 INFO kablam! | Oct 13 04:58:20.222 INFO kablam! 121 | pub fn set_fuel_capacity(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 13 04:58:20.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.222 INFO kablam! Oct 13 04:58:20.222 INFO kablam! warning: method is never used: `get_fuel_use` Oct 13 04:58:20.222 INFO kablam! --> src/game/combat/ships/ship_template.rs:129:5 Oct 13 04:58:20.222 INFO kablam! | Oct 13 04:58:20.222 INFO kablam! 129 | pub fn get_fuel_use(&self) -> FuelUnit { Oct 13 04:58:20.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.222 INFO kablam! Oct 13 04:58:20.222 INFO kablam! warning: method is never used: `set_fuel_use` Oct 13 04:58:20.222 INFO kablam! --> src/game/combat/ships/ship_template.rs:141:5 Oct 13 04:58:20.222 INFO kablam! | Oct 13 04:58:20.222 INFO kablam! 141 | pub fn set_fuel_use(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 13 04:58:20.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.223 INFO kablam! Oct 13 04:58:20.223 INFO kablam! warning: method is never used: `set_shield_capacity` Oct 13 04:58:20.223 INFO kablam! --> src/game/combat/ships/ship_template.rs:161:5 Oct 13 04:58:20.223 INFO kablam! | Oct 13 04:58:20.223 INFO kablam! 161 | pub fn set_shield_capacity(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 13 04:58:20.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.223 INFO kablam! Oct 13 04:58:20.223 INFO kablam! warning: method is never used: `get_shield_recovery` Oct 13 04:58:20.223 INFO kablam! --> src/game/combat/ships/ship_template.rs:169:5 Oct 13 04:58:20.223 INFO kablam! | Oct 13 04:58:20.223 INFO kablam! 169 | pub fn get_shield_recovery(&self) -> ShieldPoint { Oct 13 04:58:20.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.223 INFO kablam! Oct 13 04:58:20.223 INFO kablam! warning: method is never used: `set_shield_recovery` Oct 13 04:58:20.223 INFO kablam! --> src/game/combat/ships/ship_template.rs:181:5 Oct 13 04:58:20.223 INFO kablam! | Oct 13 04:58:20.223 INFO kablam! 181 | pub fn set_shield_recovery(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 13 04:58:20.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.223 INFO kablam! Oct 13 04:58:20.223 INFO kablam! warning: method is never used: `can_target` Oct 13 04:58:20.223 INFO kablam! --> src/game/combat/ships/ship_template.rs:193:5 Oct 13 04:58:20.223 INFO kablam! | Oct 13 04:58:20.223 INFO kablam! 193 | pub fn can_target(&self, target: &Self) -> bool { Oct 13 04:58:20.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.223 INFO kablam! Oct 13 04:58:20.223 INFO kablam! warning: method is never used: `loaded` Oct 13 04:58:20.223 INFO kablam! --> src/game/combat/ships/ship_template.rs:267:5 Oct 13 04:58:20.223 INFO kablam! | Oct 13 04:58:20.224 INFO kablam! 267 | pub fn loaded(&self) -> usize { Oct 13 04:58:20.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.224 INFO kablam! Oct 13 04:58:20.224 INFO kablam! warning: method is never used: `unload_overflow` Oct 13 04:58:20.224 INFO kablam! --> src/game/combat/ships/ship_template.rs:271:5 Oct 13 04:58:20.224 INFO kablam! | Oct 13 04:58:20.224 INFO kablam! 271 | pub fn unload_overflow(&mut self) { Oct 13 04:58:20.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.224 INFO kablam! Oct 13 04:58:20.224 INFO kablam! warning: method is never used: `unload` Oct 13 04:58:20.224 INFO kablam! --> src/game/combat/ships/ship_template.rs:301:5 Oct 13 04:58:20.224 INFO kablam! | Oct 13 04:58:20.224 INFO kablam! 301 | pub fn unload(&mut self, name: &String) -> bool { Oct 13 04:58:20.224 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.224 INFO kablam! Oct 13 04:58:20.224 INFO kablam! warning: method is never used: `new` Oct 13 04:58:20.224 INFO kablam! --> src/game/combat/ships/ship.rs:54:5 Oct 13 04:58:20.224 INFO kablam! | Oct 13 04:58:20.224 INFO kablam! 54 | / pub fn new(template: Rc, fuel_units: FuelUnit, Oct 13 04:58:20.225 INFO kablam! 55 | | hull_points: HullPoint, shield_points: ShieldPoint) -> Result { Oct 13 04:58:20.225 INFO kablam! 56 | | //Check that fuel is not greater than fuel capacity. Oct 13 04:58:20.225 INFO kablam! 57 | | if fuel_units > template.get_fuel_capacity() { Oct 13 04:58:20.225 INFO kablam! ... | Oct 13 04:58:20.225 INFO kablam! 77 | | } Oct 13 04:58:20.225 INFO kablam! 78 | | } Oct 13 04:58:20.225 INFO kablam! | |_____^ Oct 13 04:58:20.225 INFO kablam! Oct 13 04:58:20.225 INFO kablam! warning: method is never used: `set_template` Oct 13 04:58:20.225 INFO kablam! --> src/game/combat/ships/ship.rs:91:5 Oct 13 04:58:20.225 INFO kablam! | Oct 13 04:58:20.225 INFO kablam! 91 | pub fn set_template(&mut self, val: Rc) -> Result<(), ShipError> { Oct 13 04:58:20.225 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.225 INFO kablam! Oct 13 04:58:20.225 INFO kablam! warning: method is never used: `get_fuel_units` Oct 13 04:58:20.225 INFO kablam! --> src/game/combat/ships/ship.rs:107:5 Oct 13 04:58:20.225 INFO kablam! | Oct 13 04:58:20.225 INFO kablam! 107 | pub fn get_fuel_units(&self) -> FuelUnit { Oct 13 04:58:20.225 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.225 INFO kablam! Oct 13 04:58:20.225 INFO kablam! warning: method is never used: `set_fuel_units` Oct 13 04:58:20.225 INFO kablam! --> src/game/combat/ships/ship.rs:119:5 Oct 13 04:58:20.225 INFO kablam! | Oct 13 04:58:20.225 INFO kablam! 119 | pub fn set_fuel_units(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 13 04:58:20.225 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.225 INFO kablam! Oct 13 04:58:20.225 INFO kablam! warning: method is never used: `get_hull_points` Oct 13 04:58:20.226 INFO kablam! --> src/game/combat/ships/ship.rs:127:5 Oct 13 04:58:20.226 INFO kablam! | Oct 13 04:58:20.226 INFO kablam! 127 | pub fn get_hull_points(&self) -> HullPoint { Oct 13 04:58:20.226 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.226 INFO kablam! Oct 13 04:58:20.226 INFO kablam! warning: method is never used: `set_hull_points` Oct 13 04:58:20.226 INFO kablam! --> src/game/combat/ships/ship.rs:139:5 Oct 13 04:58:20.226 INFO kablam! | Oct 13 04:58:20.226 INFO kablam! 139 | pub fn set_hull_points(&mut self, val: HullPoint) -> Result<(), ShipError> { Oct 13 04:58:20.226 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.226 INFO kablam! Oct 13 04:58:20.226 INFO kablam! warning: method is never used: `get_shield_points` Oct 13 04:58:20.226 INFO kablam! --> src/game/combat/ships/ship.rs:147:5 Oct 13 04:58:20.226 INFO kablam! | Oct 13 04:58:20.226 INFO kablam! 147 | pub fn get_shield_points(&self) -> ShieldPoint { Oct 13 04:58:20.226 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.226 INFO kablam! Oct 13 04:58:20.226 INFO kablam! warning: method is never used: `set_shield_points` Oct 13 04:58:20.226 INFO kablam! --> src/game/combat/ships/ship.rs:159:5 Oct 13 04:58:20.226 INFO kablam! | Oct 13 04:58:20.226 INFO kablam! 159 | pub fn set_shield_points(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 13 04:58:20.226 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.226 INFO kablam! Oct 13 04:58:20.226 INFO kablam! warning: method is never used: `is_alive` Oct 13 04:58:20.226 INFO kablam! --> src/game/combat/ships/ship.rs:167:5 Oct 13 04:58:20.226 INFO kablam! | Oct 13 04:58:20.226 INFO kablam! 167 | pub fn is_alive(&self) -> bool { Oct 13 04:58:20.227 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.227 INFO kablam! Oct 13 04:58:20.227 INFO kablam! warning: method is never used: `regenerate_shields` Oct 13 04:58:20.227 INFO kablam! --> src/game/combat/ships/ship.rs:172:5 Oct 13 04:58:20.227 INFO kablam! | Oct 13 04:58:20.227 INFO kablam! 172 | pub fn regenerate_shields(&mut self) { Oct 13 04:58:20.227 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.227 INFO kablam! Oct 13 04:58:20.227 INFO kablam! warning: method is never used: `simulate_damage` Oct 13 04:58:20.227 INFO kablam! --> src/game/combat/ships/ship.rs:185:5 Oct 13 04:58:20.227 INFO kablam! | Oct 13 04:58:20.227 INFO kablam! 185 | pub fn simulate_damage(&mut self, mut damage: DamagePoint) -> (HullPoint, ShieldPoint, DamagePoint) { Oct 13 04:58:20.227 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.227 INFO kablam! Oct 13 04:58:20.227 INFO kablam! warning: method is never used: `resolve_damage` Oct 13 04:58:20.227 INFO kablam! --> src/game/combat/ships/ship.rs:211:5 Oct 13 04:58:20.227 INFO kablam! | Oct 13 04:58:20.227 INFO kablam! 211 | pub fn resolve_damage(&mut self, damage: DamagePoint) -> DamagePoint { Oct 13 04:58:20.227 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.227 INFO kablam! Oct 13 04:58:20.227 INFO kablam! warning: method is never used: `resolve_attacks` Oct 13 04:58:20.227 INFO kablam! --> src/game/combat/ships/ship.rs:228:5 Oct 13 04:58:20.227 INFO kablam! | Oct 13 04:58:20.227 INFO kablam! 228 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 13 04:58:20.227 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.227 INFO kablam! Oct 13 04:58:20.227 INFO kablam! warning: method is never used: `is_alive` Oct 13 04:58:20.228 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:39:5 Oct 13 04:58:20.228 INFO kablam! | Oct 13 04:58:20.228 INFO kablam! 39 | pub fn is_alive(&self) -> bool { Oct 13 04:58:20.228 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.228 INFO kablam! Oct 13 04:58:20.228 INFO kablam! warning: method is never used: `regenerate_shields` Oct 13 04:58:20.228 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:43:5 Oct 13 04:58:20.228 INFO kablam! | Oct 13 04:58:20.228 INFO kablam! 43 | pub fn regenerate_shields(&mut self) { Oct 13 04:58:20.228 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.228 INFO kablam! Oct 13 04:58:20.228 INFO kablam! warning: method is never used: `resolve_damage` Oct 13 04:58:20.228 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:52:5 Oct 13 04:58:20.228 INFO kablam! | Oct 13 04:58:20.228 INFO kablam! 52 | pub fn resolve_damage(&mut self, mut damage: DamagePoint) -> DamagePoint { Oct 13 04:58:20.228 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.228 INFO kablam! Oct 13 04:58:20.228 INFO kablam! warning: method is never used: `resolve_attacks` Oct 13 04:58:20.228 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:118:5 Oct 13 04:58:20.228 INFO kablam! | Oct 13 04:58:20.228 INFO kablam! 118 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 13 04:58:20.228 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.228 INFO kablam! Oct 13 04:58:20.228 INFO kablam! warning: method is never used: `get_attacks` Oct 13 04:58:20.228 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:146:5 Oct 13 04:58:20.228 INFO kablam! | Oct 13 04:58:20.229 INFO kablam! 146 | pub fn get_attacks(&self) -> ReducedAttacks { Oct 13 04:58:20.229 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.229 INFO kablam! Oct 13 04:58:20.229 INFO kablam! warning: variant is never constructed: `Unaware` Oct 13 04:58:20.229 INFO kablam! --> src/game/factions.rs:20:5 Oct 13 04:58:20.229 INFO kablam! | Oct 13 04:58:20.229 INFO kablam! 20 | Unaware, Oct 13 04:58:20.229 INFO kablam! | ^^^^^^^ Oct 13 04:58:20.229 INFO kablam! Oct 13 04:58:20.229 INFO kablam! warning: variant is never constructed: `Neutral` Oct 13 04:58:20.229 INFO kablam! --> src/game/factions.rs:22:5 Oct 13 04:58:20.229 INFO kablam! | Oct 13 04:58:20.229 INFO kablam! 22 | Neutral, Oct 13 04:58:20.229 INFO kablam! | ^^^^^^^ Oct 13 04:58:20.229 INFO kablam! Oct 13 04:58:20.229 INFO kablam! warning: variant is never constructed: `Friendly` Oct 13 04:58:20.229 INFO kablam! --> src/game/factions.rs:24:5 Oct 13 04:58:20.229 INFO kablam! | Oct 13 04:58:20.229 INFO kablam! 24 | Friendly, Oct 13 04:58:20.229 INFO kablam! | ^^^^^^^^ Oct 13 04:58:20.229 INFO kablam! Oct 13 04:58:20.229 INFO kablam! warning: variant is never constructed: `Enemy` Oct 13 04:58:20.229 INFO kablam! --> src/game/factions.rs:26:5 Oct 13 04:58:20.229 INFO kablam! | Oct 13 04:58:20.229 INFO kablam! 26 | Enemy Oct 13 04:58:20.229 INFO kablam! | ^^^^^ Oct 13 04:58:20.229 INFO kablam! Oct 13 04:58:20.229 INFO kablam! warning: method is never used: `from_parts` Oct 13 04:58:20.230 INFO kablam! --> src/game/factions.rs:41:5 Oct 13 04:58:20.230 INFO kablam! | Oct 13 04:58:20.230 INFO kablam! 41 | pub unsafe fn from_parts(first: Faction, second: Faction) -> FactionPair { Oct 13 04:58:20.230 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.230 INFO kablam! Oct 13 04:58:20.230 INFO kablam! warning: method is never used: `new` Oct 13 04:58:20.230 INFO kablam! --> src/game/factions.rs:50:5 Oct 13 04:58:20.230 INFO kablam! | Oct 13 04:58:20.230 INFO kablam! 50 | pub fn new(first: Faction, second: Faction) -> Option { Oct 13 04:58:20.230 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.230 INFO kablam! Oct 13 04:58:20.230 INFO kablam! warning: function is never used: `get_game_factions` Oct 13 04:58:20.230 INFO kablam! --> src/game/factions.rs:97:1 Oct 13 04:58:20.230 INFO kablam! | Oct 13 04:58:20.230 INFO kablam! 97 | pub fn get_game_factions() -> &'static mut (Vec, HashMap) { Oct 13 04:58:20.230 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.230 INFO kablam! Oct 13 04:58:20.473 INFO kablam! warning: variant is never constructed: `FuelError` Oct 13 04:58:20.474 INFO kablam! --> src/game/combat/ships/ship_error.rs:11:5 Oct 13 04:58:20.474 INFO kablam! | Oct 13 04:58:20.474 INFO kablam! 11 | FuelError, Oct 13 04:58:20.474 INFO kablam! | ^^^^^^^^^ Oct 13 04:58:20.474 INFO kablam! | Oct 13 04:58:20.474 INFO kablam! = note: #[warn(dead_code)] on by default Oct 13 04:58:20.474 INFO kablam! Oct 13 04:58:20.474 INFO kablam! warning: variant is never constructed: `ShieldError` Oct 13 04:58:20.474 INFO kablam! --> src/game/combat/ships/ship_error.rs:12:5 Oct 13 04:58:20.474 INFO kablam! | Oct 13 04:58:20.474 INFO kablam! 12 | ShieldError, Oct 13 04:58:20.474 INFO kablam! | ^^^^^^^^^^^ Oct 13 04:58:20.474 INFO kablam! Oct 13 04:58:20.474 INFO kablam! warning: variant is never constructed: `HullError` Oct 13 04:58:20.474 INFO kablam! --> src/game/combat/ships/ship_error.rs:13:5 Oct 13 04:58:20.474 INFO kablam! | Oct 13 04:58:20.474 INFO kablam! 13 | HullError Oct 13 04:58:20.474 INFO kablam! | ^^^^^^^^^ Oct 13 04:58:20.474 INFO kablam! Oct 13 04:58:20.474 INFO kablam! warning: method is never used: `new` Oct 13 04:58:20.474 INFO kablam! --> src/game/combat/ships/attacks.rs:31:5 Oct 13 04:58:20.474 INFO kablam! | Oct 13 04:58:20.474 INFO kablam! 31 | pub fn new(attack: Attack, smallest_target: ShipSize) -> Self { Oct 13 04:58:20.475 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.475 INFO kablam! Oct 13 04:58:20.475 INFO kablam! warning: method is never used: `valid_target` Oct 13 04:58:20.475 INFO kablam! --> src/game/combat/ships/attacks.rs:43:5 Oct 13 04:58:20.475 INFO kablam! | Oct 13 04:58:20.475 INFO kablam! 43 | pub fn valid_target(&self, target_size: ShipSize) -> bool { Oct 13 04:58:20.475 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.475 INFO kablam! Oct 13 04:58:20.475 INFO kablam! warning: method is never used: `same_target` Oct 13 04:58:20.475 INFO kablam! --> src/game/combat/ships/attacks.rs:52:5 Oct 13 04:58:20.475 INFO kablam! | Oct 13 04:58:20.475 INFO kablam! 52 | pub fn same_target(&self, other: &Self) -> bool { Oct 13 04:58:20.475 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.475 INFO kablam! Oct 13 04:58:20.475 INFO kablam! warning: method is never used: `new` Oct 13 04:58:20.475 INFO kablam! --> src/game/combat/ships/attacks.rs:94:5 Oct 13 04:58:20.475 INFO kablam! | Oct 13 04:58:20.475 INFO kablam! 94 | pub fn new(parralel_attacks: UInt, damage_per_attack: DamagePoint) -> Self { Oct 13 04:58:20.475 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.475 INFO kablam! Oct 13 04:58:20.475 INFO kablam! warning: method is never used: `merge` Oct 13 04:58:20.475 INFO kablam! --> src/game/combat/ships/attacks.rs:106:5 Oct 13 04:58:20.475 INFO kablam! | Oct 13 04:58:20.475 INFO kablam! 106 | pub fn merge(&mut self, other: Self) -> Option { Oct 13 04:58:20.475 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.475 INFO kablam! Oct 13 04:58:20.476 INFO kablam! warning: method is never used: `sum_damage` Oct 13 04:58:20.476 INFO kablam! --> src/game/combat/ships/attacks.rs:118:5 Oct 13 04:58:20.476 INFO kablam! | Oct 13 04:58:20.476 INFO kablam! 118 | pub fn sum_damage(&self) -> DamagePoint { Oct 13 04:58:20.476 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.476 INFO kablam! Oct 13 04:58:20.476 INFO kablam! warning: method is never used: `same_damage` Oct 13 04:58:20.476 INFO kablam! --> src/game/combat/ships/attacks.rs:122:5 Oct 13 04:58:20.476 INFO kablam! | Oct 13 04:58:20.476 INFO kablam! 122 | pub fn same_damage(&self, other: &Self) -> bool { Oct 13 04:58:20.476 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.476 INFO kablam! Oct 13 04:58:20.476 INFO kablam! warning: method is never used: `from_parts` Oct 13 04:58:20.476 INFO kablam! --> src/game/combat/ships/attacks.rs:141:5 Oct 13 04:58:20.476 INFO kablam! | Oct 13 04:58:20.476 INFO kablam! 141 | pub unsafe fn from_parts(attacks: Vec) -> Self { Oct 13 04:58:20.476 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.476 INFO kablam! Oct 13 04:58:20.476 INFO kablam! warning: method is never used: `new` Oct 13 04:58:20.476 INFO kablam! --> src/game/combat/ships/attacks.rs:153:5 Oct 13 04:58:20.476 INFO kablam! | Oct 13 04:58:20.476 INFO kablam! 153 | pub fn new(mut attacks: Vec) -> Self { Oct 13 04:58:20.476 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.476 INFO kablam! Oct 13 04:58:20.476 INFO kablam! warning: method is never used: `add_attack` Oct 13 04:58:20.477 INFO kablam! --> src/game/combat/ships/attacks.rs:179:5 Oct 13 04:58:20.477 INFO kablam! | Oct 13 04:58:20.477 INFO kablam! 179 | pub fn add_attack(&mut self, attack: TargetedAttack) { Oct 13 04:58:20.477 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.477 INFO kablam! Oct 13 04:58:20.477 INFO kablam! warning: method is never used: `add_attacks` Oct 13 04:58:20.477 INFO kablam! --> src/game/combat/ships/attacks.rs:196:5 Oct 13 04:58:20.477 INFO kablam! | Oct 13 04:58:20.477 INFO kablam! 196 | pub fn add_attacks(&mut self, attacks: &[TargetedAttack]) { Oct 13 04:58:20.477 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.477 INFO kablam! Oct 13 04:58:20.477 INFO kablam! warning: method is never used: `iter` Oct 13 04:58:20.477 INFO kablam! --> src/game/combat/ships/attacks.rs:200:5 Oct 13 04:58:20.477 INFO kablam! | Oct 13 04:58:20.477 INFO kablam! 200 | pub fn iter(&self) -> ::std::slice::Iter { Oct 13 04:58:20.477 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.477 INFO kablam! Oct 13 04:58:20.477 INFO kablam! warning: method is never used: `iter_mut` Oct 13 04:58:20.477 INFO kablam! --> src/game/combat/ships/attacks.rs:204:5 Oct 13 04:58:20.477 INFO kablam! | Oct 13 04:58:20.477 INFO kablam! 204 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { Oct 13 04:58:20.477 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.477 INFO kablam! Oct 13 04:58:20.477 INFO kablam! warning: method is never used: `clear_used_attacks` Oct 13 04:58:20.477 INFO kablam! --> src/game/combat/ships/attacks.rs:208:5 Oct 13 04:58:20.477 INFO kablam! | Oct 13 04:58:20.478 INFO kablam! 208 | pub fn clear_used_attacks(&mut self) { Oct 13 04:58:20.478 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.478 INFO kablam! Oct 13 04:58:20.478 INFO kablam! warning: method is never used: `from_parts` Oct 13 04:58:20.478 INFO kablam! --> src/game/combat/ships/ship_template.rs:57:5 Oct 13 04:58:20.478 INFO kablam! | Oct 13 04:58:20.478 INFO kablam! 57 | / pub unsafe fn from_parts(ship_size_class: ShipSize, fuel_capacity: UInt, Oct 13 04:58:20.478 INFO kablam! 58 | | fuel_use: UInt, max_hull: UInt, shield_capacity: UInt, shield_recovery: UInt, Oct 13 04:58:20.478 INFO kablam! 59 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Self { Oct 13 04:58:20.478 INFO kablam! 60 | | Self { Oct 13 04:58:20.478 INFO kablam! ... | Oct 13 04:58:20.478 INFO kablam! 69 | | } Oct 13 04:58:20.478 INFO kablam! 70 | | } Oct 13 04:58:20.478 INFO kablam! | |_____^ Oct 13 04:58:20.478 INFO kablam! Oct 13 04:58:20.478 INFO kablam! warning: method is never used: `new` Oct 13 04:58:20.478 INFO kablam! --> src/game/combat/ships/ship_template.rs:81:5 Oct 13 04:58:20.478 INFO kablam! | Oct 13 04:58:20.478 INFO kablam! 81 | / pub fn new(ship_size_class: ShipSize, fuel_capacity: UInt, fuel_use: UInt, Oct 13 04:58:20.478 INFO kablam! 82 | | hull_points: UInt, shield_points: UInt, shield_recovery: UInt, Oct 13 04:58:20.478 INFO kablam! 83 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Result { Oct 13 04:58:20.478 INFO kablam! 84 | | //Check that fuel use is not greater than fuel capacity. Oct 13 04:58:20.478 INFO kablam! ... | Oct 13 04:58:20.478 INFO kablam! 106 | | } Oct 13 04:58:20.478 INFO kablam! 107 | | } Oct 13 04:58:20.479 INFO kablam! | |_____^ Oct 13 04:58:20.479 INFO kablam! Oct 13 04:58:20.479 INFO kablam! warning: method is never used: `set_fuel_capacity` Oct 13 04:58:20.479 INFO kablam! --> src/game/combat/ships/ship_template.rs:121:5 Oct 13 04:58:20.479 INFO kablam! | Oct 13 04:58:20.479 INFO kablam! 121 | pub fn set_fuel_capacity(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 13 04:58:20.479 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.479 INFO kablam! Oct 13 04:58:20.479 INFO kablam! warning: method is never used: `get_fuel_use` Oct 13 04:58:20.479 INFO kablam! --> src/game/combat/ships/ship_template.rs:129:5 Oct 13 04:58:20.479 INFO kablam! | Oct 13 04:58:20.479 INFO kablam! 129 | pub fn get_fuel_use(&self) -> FuelUnit { Oct 13 04:58:20.479 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.479 INFO kablam! Oct 13 04:58:20.479 INFO kablam! warning: method is never used: `set_fuel_use` Oct 13 04:58:20.479 INFO kablam! --> src/game/combat/ships/ship_template.rs:141:5 Oct 13 04:58:20.479 INFO kablam! | Oct 13 04:58:20.479 INFO kablam! 141 | pub fn set_fuel_use(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 13 04:58:20.479 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.479 INFO kablam! Oct 13 04:58:20.479 INFO kablam! warning: method is never used: `set_shield_capacity` Oct 13 04:58:20.479 INFO kablam! --> src/game/combat/ships/ship_template.rs:161:5 Oct 13 04:58:20.479 INFO kablam! | Oct 13 04:58:20.479 INFO kablam! 161 | pub fn set_shield_capacity(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 13 04:58:20.480 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.480 INFO kablam! Oct 13 04:58:20.480 INFO kablam! warning: method is never used: `get_shield_recovery` Oct 13 04:58:20.480 INFO kablam! --> src/game/combat/ships/ship_template.rs:169:5 Oct 13 04:58:20.480 INFO kablam! | Oct 13 04:58:20.480 INFO kablam! 169 | pub fn get_shield_recovery(&self) -> ShieldPoint { Oct 13 04:58:20.480 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.480 INFO kablam! Oct 13 04:58:20.480 INFO kablam! warning: method is never used: `set_shield_recovery` Oct 13 04:58:20.480 INFO kablam! --> src/game/combat/ships/ship_template.rs:181:5 Oct 13 04:58:20.480 INFO kablam! | Oct 13 04:58:20.480 INFO kablam! 181 | pub fn set_shield_recovery(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 13 04:58:20.480 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.480 INFO kablam! Oct 13 04:58:20.480 INFO kablam! warning: method is never used: `can_target` Oct 13 04:58:20.480 INFO kablam! --> src/game/combat/ships/ship_template.rs:193:5 Oct 13 04:58:20.480 INFO kablam! | Oct 13 04:58:20.480 INFO kablam! 193 | pub fn can_target(&self, target: &Self) -> bool { Oct 13 04:58:20.480 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.480 INFO kablam! Oct 13 04:58:20.480 INFO kablam! warning: method is never used: `loaded` Oct 13 04:58:20.480 INFO kablam! --> src/game/combat/ships/ship_template.rs:267:5 Oct 13 04:58:20.481 INFO kablam! | Oct 13 04:58:20.481 INFO kablam! 267 | pub fn loaded(&self) -> usize { Oct 13 04:58:20.481 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.481 INFO kablam! Oct 13 04:58:20.481 INFO kablam! warning: method is never used: `unload_overflow` Oct 13 04:58:20.481 INFO kablam! --> src/game/combat/ships/ship_template.rs:271:5 Oct 13 04:58:20.481 INFO kablam! | Oct 13 04:58:20.481 INFO kablam! 271 | pub fn unload_overflow(&mut self) { Oct 13 04:58:20.481 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.481 INFO kablam! Oct 13 04:58:20.481 INFO kablam! warning: method is never used: `unload` Oct 13 04:58:20.481 INFO kablam! --> src/game/combat/ships/ship_template.rs:301:5 Oct 13 04:58:20.481 INFO kablam! | Oct 13 04:58:20.481 INFO kablam! 301 | pub fn unload(&mut self, name: &String) -> bool { Oct 13 04:58:20.481 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.481 INFO kablam! Oct 13 04:58:20.481 INFO kablam! warning: method is never used: `new` Oct 13 04:58:20.481 INFO kablam! --> src/game/combat/ships/ship.rs:54:5 Oct 13 04:58:20.481 INFO kablam! | Oct 13 04:58:20.481 INFO kablam! 54 | / pub fn new(template: Rc, fuel_units: FuelUnit, Oct 13 04:58:20.481 INFO kablam! 55 | | hull_points: HullPoint, shield_points: ShieldPoint) -> Result { Oct 13 04:58:20.481 INFO kablam! 56 | | //Check that fuel is not greater than fuel capacity. Oct 13 04:58:20.481 INFO kablam! 57 | | if fuel_units > template.get_fuel_capacity() { Oct 13 04:58:20.481 INFO kablam! ... | Oct 13 04:58:20.481 INFO kablam! 77 | | } Oct 13 04:58:20.481 INFO kablam! 78 | | } Oct 13 04:58:20.482 INFO kablam! | |_____^ Oct 13 04:58:20.482 INFO kablam! Oct 13 04:58:20.482 INFO kablam! warning: method is never used: `set_template` Oct 13 04:58:20.482 INFO kablam! --> src/game/combat/ships/ship.rs:91:5 Oct 13 04:58:20.482 INFO kablam! | Oct 13 04:58:20.482 INFO kablam! 91 | pub fn set_template(&mut self, val: Rc) -> Result<(), ShipError> { Oct 13 04:58:20.482 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.482 INFO kablam! Oct 13 04:58:20.482 INFO kablam! warning: method is never used: `get_fuel_units` Oct 13 04:58:20.482 INFO kablam! --> src/game/combat/ships/ship.rs:107:5 Oct 13 04:58:20.482 INFO kablam! | Oct 13 04:58:20.482 INFO kablam! 107 | pub fn get_fuel_units(&self) -> FuelUnit { Oct 13 04:58:20.482 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.482 INFO kablam! Oct 13 04:58:20.482 INFO kablam! warning: method is never used: `set_fuel_units` Oct 13 04:58:20.482 INFO kablam! --> src/game/combat/ships/ship.rs:119:5 Oct 13 04:58:20.482 INFO kablam! | Oct 13 04:58:20.482 INFO kablam! 119 | pub fn set_fuel_units(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 13 04:58:20.482 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.482 INFO kablam! Oct 13 04:58:20.482 INFO kablam! warning: method is never used: `get_hull_points` Oct 13 04:58:20.482 INFO kablam! --> src/game/combat/ships/ship.rs:127:5 Oct 13 04:58:20.482 INFO kablam! | Oct 13 04:58:20.482 INFO kablam! 127 | pub fn get_hull_points(&self) -> HullPoint { Oct 13 04:58:20.483 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.483 INFO kablam! Oct 13 04:58:20.483 INFO kablam! warning: method is never used: `set_hull_points` Oct 13 04:58:20.483 INFO kablam! --> src/game/combat/ships/ship.rs:139:5 Oct 13 04:58:20.483 INFO kablam! | Oct 13 04:58:20.483 INFO kablam! 139 | pub fn set_hull_points(&mut self, val: HullPoint) -> Result<(), ShipError> { Oct 13 04:58:20.483 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.483 INFO kablam! Oct 13 04:58:20.483 INFO kablam! warning: method is never used: `get_shield_points` Oct 13 04:58:20.483 INFO kablam! --> src/game/combat/ships/ship.rs:147:5 Oct 13 04:58:20.483 INFO kablam! | Oct 13 04:58:20.483 INFO kablam! 147 | pub fn get_shield_points(&self) -> ShieldPoint { Oct 13 04:58:20.483 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.483 INFO kablam! Oct 13 04:58:20.483 INFO kablam! warning: method is never used: `set_shield_points` Oct 13 04:58:20.483 INFO kablam! --> src/game/combat/ships/ship.rs:159:5 Oct 13 04:58:20.483 INFO kablam! | Oct 13 04:58:20.483 INFO kablam! 159 | pub fn set_shield_points(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 13 04:58:20.483 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.483 INFO kablam! Oct 13 04:58:20.483 INFO kablam! warning: method is never used: `is_alive` Oct 13 04:58:20.483 INFO kablam! --> src/game/combat/ships/ship.rs:167:5 Oct 13 04:58:20.483 INFO kablam! | Oct 13 04:58:20.483 INFO kablam! 167 | pub fn is_alive(&self) -> bool { Oct 13 04:58:20.483 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.484 INFO kablam! Oct 13 04:58:20.484 INFO kablam! warning: method is never used: `regenerate_shields` Oct 13 04:58:20.484 INFO kablam! --> src/game/combat/ships/ship.rs:172:5 Oct 13 04:58:20.484 INFO kablam! | Oct 13 04:58:20.484 INFO kablam! 172 | pub fn regenerate_shields(&mut self) { Oct 13 04:58:20.484 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.484 INFO kablam! Oct 13 04:58:20.484 INFO kablam! warning: method is never used: `simulate_damage` Oct 13 04:58:20.488 INFO kablam! --> src/game/combat/ships/ship.rs:185:5 Oct 13 04:58:20.488 INFO kablam! | Oct 13 04:58:20.488 INFO kablam! 185 | pub fn simulate_damage(&mut self, mut damage: DamagePoint) -> (HullPoint, ShieldPoint, DamagePoint) { Oct 13 04:58:20.488 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.488 INFO kablam! Oct 13 04:58:20.488 INFO kablam! warning: method is never used: `resolve_damage` Oct 13 04:58:20.488 INFO kablam! --> src/game/combat/ships/ship.rs:211:5 Oct 13 04:58:20.488 INFO kablam! | Oct 13 04:58:20.488 INFO kablam! 211 | pub fn resolve_damage(&mut self, damage: DamagePoint) -> DamagePoint { Oct 13 04:58:20.488 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.488 INFO kablam! Oct 13 04:58:20.488 INFO kablam! warning: method is never used: `resolve_attacks` Oct 13 04:58:20.489 INFO kablam! --> src/game/combat/ships/ship.rs:228:5 Oct 13 04:58:20.489 INFO kablam! | Oct 13 04:58:20.489 INFO kablam! 228 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 13 04:58:20.489 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.489 INFO kablam! Oct 13 04:58:20.489 INFO kablam! warning: method is never used: `is_alive` Oct 13 04:58:20.489 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:39:5 Oct 13 04:58:20.489 INFO kablam! | Oct 13 04:58:20.489 INFO kablam! 39 | pub fn is_alive(&self) -> bool { Oct 13 04:58:20.489 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.489 INFO kablam! Oct 13 04:58:20.489 INFO kablam! warning: method is never used: `regenerate_shields` Oct 13 04:58:20.489 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:43:5 Oct 13 04:58:20.489 INFO kablam! | Oct 13 04:58:20.489 INFO kablam! 43 | pub fn regenerate_shields(&mut self) { Oct 13 04:58:20.489 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.489 INFO kablam! Oct 13 04:58:20.489 INFO kablam! warning: method is never used: `resolve_damage` Oct 13 04:58:20.489 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:52:5 Oct 13 04:58:20.489 INFO kablam! | Oct 13 04:58:20.489 INFO kablam! 52 | pub fn resolve_damage(&mut self, mut damage: DamagePoint) -> DamagePoint { Oct 13 04:58:20.489 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.489 INFO kablam! Oct 13 04:58:20.489 INFO kablam! warning: method is never used: `resolve_attacks` Oct 13 04:58:20.490 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:118:5 Oct 13 04:58:20.490 INFO kablam! | Oct 13 04:58:20.490 INFO kablam! 118 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 13 04:58:20.490 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.490 INFO kablam! Oct 13 04:58:20.490 INFO kablam! warning: method is never used: `get_attacks` Oct 13 04:58:20.490 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:146:5 Oct 13 04:58:20.490 INFO kablam! | Oct 13 04:58:20.490 INFO kablam! 146 | pub fn get_attacks(&self) -> ReducedAttacks { Oct 13 04:58:20.490 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.490 INFO kablam! Oct 13 04:58:20.490 INFO kablam! warning: variant is never constructed: `Unaware` Oct 13 04:58:20.490 INFO kablam! --> src/game/factions.rs:20:5 Oct 13 04:58:20.490 INFO kablam! | Oct 13 04:58:20.490 INFO kablam! 20 | Unaware, Oct 13 04:58:20.490 INFO kablam! | ^^^^^^^ Oct 13 04:58:20.490 INFO kablam! Oct 13 04:58:20.490 INFO kablam! warning: variant is never constructed: `Neutral` Oct 13 04:58:20.490 INFO kablam! --> src/game/factions.rs:22:5 Oct 13 04:58:20.490 INFO kablam! | Oct 13 04:58:20.490 INFO kablam! 22 | Neutral, Oct 13 04:58:20.490 INFO kablam! | ^^^^^^^ Oct 13 04:58:20.490 INFO kablam! Oct 13 04:58:20.490 INFO kablam! warning: variant is never constructed: `Friendly` Oct 13 04:58:20.490 INFO kablam! --> src/game/factions.rs:24:5 Oct 13 04:58:20.491 INFO kablam! | Oct 13 04:58:20.491 INFO kablam! 24 | Friendly, Oct 13 04:58:20.491 INFO kablam! | ^^^^^^^^ Oct 13 04:58:20.491 INFO kablam! Oct 13 04:58:20.491 INFO kablam! warning: variant is never constructed: `Enemy` Oct 13 04:58:20.491 INFO kablam! --> src/game/factions.rs:26:5 Oct 13 04:58:20.491 INFO kablam! | Oct 13 04:58:20.491 INFO kablam! 26 | Enemy Oct 13 04:58:20.491 INFO kablam! | ^^^^^ Oct 13 04:58:20.491 INFO kablam! Oct 13 04:58:20.491 INFO kablam! warning: function is never used: `get_game_factions` Oct 13 04:58:20.491 INFO kablam! --> src/game/factions.rs:97:1 Oct 13 04:58:20.491 INFO kablam! | Oct 13 04:58:20.491 INFO kablam! 97 | pub fn get_game_factions() -> &'static mut (Vec, HashMap) { Oct 13 04:58:20.491 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 13 04:58:20.491 INFO kablam! Oct 13 04:58:20.512 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2.97s Oct 13 04:58:20.512 INFO kablam! su: No module specific data is present Oct 13 04:58:20.917 INFO running `"docker" "rm" "-f" "a5aea4e3e96178462c25d376dc0c3b7a923efe627c7123257c4fb0e2e9ed5cd2"` Oct 13 04:58:21.036 INFO blam! a5aea4e3e96178462c25d376dc0c3b7a923efe627c7123257c4fb0e2e9ed5cd2