Oct 11 06:58:10.514 INFO testing Dynisious/the_brass against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling Oct 11 06:58:10.514 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen Oct 11 06:58:10.514 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-5/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-5/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 11 06:58:10.676 INFO blam! 5c740e5cbf0fc74cb73bdc470251e1ef40f3ca0619a76812b66d3aa652518b06 Oct 11 06:58:10.676 INFO running `"docker" "start" "-a" "5c740e5cbf0fc74cb73bdc470251e1ef40f3ca0619a76812b66d3aa652518b06"` Oct 11 06:58:11.111 INFO kablam! usermod: no changes Oct 11 06:58:11.156 INFO kablam! Compiling toml v0.4.5 Oct 11 06:58:14.139 INFO kablam! Compiling the_brass v0.2.0 (/source) Oct 11 06:58:15.217 INFO kablam! warning: variant is never constructed: `FuelError` Oct 11 06:58:15.217 INFO kablam! --> src/game/combat/ships/ship_error.rs:11:5 Oct 11 06:58:15.217 INFO kablam! | Oct 11 06:58:15.217 INFO kablam! 11 | FuelError, Oct 11 06:58:15.217 INFO kablam! | ^^^^^^^^^ Oct 11 06:58:15.217 INFO kablam! | Oct 11 06:58:15.217 INFO kablam! = note: #[warn(dead_code)] on by default Oct 11 06:58:15.217 INFO kablam! Oct 11 06:58:15.217 INFO kablam! warning: variant is never constructed: `ShieldError` Oct 11 06:58:15.217 INFO kablam! --> src/game/combat/ships/ship_error.rs:12:5 Oct 11 06:58:15.217 INFO kablam! | Oct 11 06:58:15.217 INFO kablam! 12 | ShieldError, Oct 11 06:58:15.217 INFO kablam! | ^^^^^^^^^^^ Oct 11 06:58:15.217 INFO kablam! Oct 11 06:58:15.217 INFO kablam! warning: variant is never constructed: `HullError` Oct 11 06:58:15.217 INFO kablam! --> src/game/combat/ships/ship_error.rs:13:5 Oct 11 06:58:15.217 INFO kablam! | Oct 11 06:58:15.217 INFO kablam! 13 | HullError Oct 11 06:58:15.217 INFO kablam! | ^^^^^^^^^ Oct 11 06:58:15.217 INFO kablam! Oct 11 06:58:15.217 INFO kablam! warning: method is never used: `new` Oct 11 06:58:15.217 INFO kablam! --> src/game/combat/ships/attacks.rs:31:5 Oct 11 06:58:15.218 INFO kablam! | Oct 11 06:58:15.218 INFO kablam! 31 | pub fn new(attack: Attack, smallest_target: ShipSize) -> Self { Oct 11 06:58:15.218 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.218 INFO kablam! Oct 11 06:58:15.218 INFO kablam! warning: method is never used: `valid_target` Oct 11 06:58:15.218 INFO kablam! --> src/game/combat/ships/attacks.rs:43:5 Oct 11 06:58:15.218 INFO kablam! | Oct 11 06:58:15.218 INFO kablam! 43 | pub fn valid_target(&self, target_size: ShipSize) -> bool { Oct 11 06:58:15.218 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.218 INFO kablam! Oct 11 06:58:15.218 INFO kablam! warning: method is never used: `same_target` Oct 11 06:58:15.218 INFO kablam! --> src/game/combat/ships/attacks.rs:52:5 Oct 11 06:58:15.219 INFO kablam! | Oct 11 06:58:15.219 INFO kablam! 52 | pub fn same_target(&self, other: &Self) -> bool { Oct 11 06:58:15.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.219 INFO kablam! Oct 11 06:58:15.219 INFO kablam! warning: method is never used: `new` Oct 11 06:58:15.219 INFO kablam! --> src/game/combat/ships/attacks.rs:94:5 Oct 11 06:58:15.219 INFO kablam! | Oct 11 06:58:15.219 INFO kablam! 94 | pub fn new(parralel_attacks: UInt, damage_per_attack: DamagePoint) -> Self { Oct 11 06:58:15.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.219 INFO kablam! Oct 11 06:58:15.219 INFO kablam! warning: method is never used: `merge` Oct 11 06:58:15.219 INFO kablam! --> src/game/combat/ships/attacks.rs:106:5 Oct 11 06:58:15.219 INFO kablam! | Oct 11 06:58:15.219 INFO kablam! 106 | pub fn merge(&mut self, other: Self) -> Option { Oct 11 06:58:15.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.219 INFO kablam! Oct 11 06:58:15.219 INFO kablam! warning: method is never used: `sum_damage` Oct 11 06:58:15.219 INFO kablam! --> src/game/combat/ships/attacks.rs:118:5 Oct 11 06:58:15.219 INFO kablam! | Oct 11 06:58:15.219 INFO kablam! 118 | pub fn sum_damage(&self) -> DamagePoint { Oct 11 06:58:15.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.219 INFO kablam! Oct 11 06:58:15.219 INFO kablam! warning: method is never used: `same_damage` Oct 11 06:58:15.219 INFO kablam! --> src/game/combat/ships/attacks.rs:122:5 Oct 11 06:58:15.219 INFO kablam! | Oct 11 06:58:15.219 INFO kablam! 122 | pub fn same_damage(&self, other: &Self) -> bool { Oct 11 06:58:15.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.219 INFO kablam! Oct 11 06:58:15.219 INFO kablam! warning: method is never used: `from_parts` Oct 11 06:58:15.219 INFO kablam! --> src/game/combat/ships/attacks.rs:141:5 Oct 11 06:58:15.219 INFO kablam! | Oct 11 06:58:15.219 INFO kablam! 141 | pub unsafe fn from_parts(attacks: Vec) -> Self { Oct 11 06:58:15.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.219 INFO kablam! Oct 11 06:58:15.219 INFO kablam! warning: method is never used: `new` Oct 11 06:58:15.219 INFO kablam! --> src/game/combat/ships/attacks.rs:153:5 Oct 11 06:58:15.219 INFO kablam! | Oct 11 06:58:15.219 INFO kablam! 153 | pub fn new(mut attacks: Vec) -> Self { Oct 11 06:58:15.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.219 INFO kablam! Oct 11 06:58:15.219 INFO kablam! warning: method is never used: `add_attack` Oct 11 06:58:15.219 INFO kablam! --> src/game/combat/ships/attacks.rs:179:5 Oct 11 06:58:15.219 INFO kablam! | Oct 11 06:58:15.219 INFO kablam! 179 | pub fn add_attack(&mut self, attack: TargetedAttack) { Oct 11 06:58:15.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.219 INFO kablam! Oct 11 06:58:15.219 INFO kablam! warning: method is never used: `add_attacks` Oct 11 06:58:15.219 INFO kablam! --> src/game/combat/ships/attacks.rs:196:5 Oct 11 06:58:15.219 INFO kablam! | Oct 11 06:58:15.219 INFO kablam! 196 | pub fn add_attacks(&mut self, attacks: &[TargetedAttack]) { Oct 11 06:58:15.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.219 INFO kablam! Oct 11 06:58:15.219 INFO kablam! warning: method is never used: `iter` Oct 11 06:58:15.219 INFO kablam! --> src/game/combat/ships/attacks.rs:200:5 Oct 11 06:58:15.219 INFO kablam! | Oct 11 06:58:15.219 INFO kablam! 200 | pub fn iter(&self) -> ::std::slice::Iter { Oct 11 06:58:15.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.219 INFO kablam! Oct 11 06:58:15.219 INFO kablam! warning: method is never used: `iter_mut` Oct 11 06:58:15.219 INFO kablam! --> src/game/combat/ships/attacks.rs:204:5 Oct 11 06:58:15.219 INFO kablam! | Oct 11 06:58:15.219 INFO kablam! 204 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { Oct 11 06:58:15.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.219 INFO kablam! Oct 11 06:58:15.219 INFO kablam! warning: method is never used: `clear_used_attacks` Oct 11 06:58:15.219 INFO kablam! --> src/game/combat/ships/attacks.rs:208:5 Oct 11 06:58:15.219 INFO kablam! | Oct 11 06:58:15.219 INFO kablam! 208 | pub fn clear_used_attacks(&mut self) { Oct 11 06:58:15.219 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.219 INFO kablam! Oct 11 06:58:15.219 INFO kablam! warning: method is never used: `from_parts` Oct 11 06:58:15.219 INFO kablam! --> src/game/combat/ships/ship_template.rs:57:5 Oct 11 06:58:15.219 INFO kablam! | Oct 11 06:58:15.219 INFO kablam! 57 | / pub unsafe fn from_parts(ship_size_class: ShipSize, fuel_capacity: UInt, Oct 11 06:58:15.219 INFO kablam! 58 | | fuel_use: UInt, max_hull: UInt, shield_capacity: UInt, shield_recovery: UInt, Oct 11 06:58:15.219 INFO kablam! 59 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Self { Oct 11 06:58:15.219 INFO kablam! 60 | | Self { Oct 11 06:58:15.219 INFO kablam! ... | Oct 11 06:58:15.219 INFO kablam! 69 | | } Oct 11 06:58:15.220 INFO kablam! 70 | | } Oct 11 06:58:15.220 INFO kablam! | |_____^ Oct 11 06:58:15.220 INFO kablam! Oct 11 06:58:15.220 INFO kablam! warning: method is never used: `new` Oct 11 06:58:15.220 INFO kablam! --> src/game/combat/ships/ship_template.rs:81:5 Oct 11 06:58:15.220 INFO kablam! | Oct 11 06:58:15.220 INFO kablam! 81 | / pub fn new(ship_size_class: ShipSize, fuel_capacity: UInt, fuel_use: UInt, Oct 11 06:58:15.220 INFO kablam! 82 | | hull_points: UInt, shield_points: UInt, shield_recovery: UInt, Oct 11 06:58:15.220 INFO kablam! 83 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Result { Oct 11 06:58:15.220 INFO kablam! 84 | | //Check that fuel use is not greater than fuel capacity. Oct 11 06:58:15.220 INFO kablam! ... | Oct 11 06:58:15.220 INFO kablam! 106 | | } Oct 11 06:58:15.220 INFO kablam! 107 | | } Oct 11 06:58:15.220 INFO kablam! | |_____^ Oct 11 06:58:15.220 INFO kablam! Oct 11 06:58:15.220 INFO kablam! warning: method is never used: `set_fuel_capacity` Oct 11 06:58:15.220 INFO kablam! --> src/game/combat/ships/ship_template.rs:121:5 Oct 11 06:58:15.220 INFO kablam! | Oct 11 06:58:15.220 INFO kablam! 121 | pub fn set_fuel_capacity(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 11 06:58:15.220 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.220 INFO kablam! Oct 11 06:58:15.220 INFO kablam! warning: method is never used: `get_fuel_use` Oct 11 06:58:15.220 INFO kablam! --> src/game/combat/ships/ship_template.rs:129:5 Oct 11 06:58:15.220 INFO kablam! | Oct 11 06:58:15.220 INFO kablam! 129 | pub fn get_fuel_use(&self) -> FuelUnit { Oct 11 06:58:15.220 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.221 INFO kablam! Oct 11 06:58:15.221 INFO kablam! warning: method is never used: `set_fuel_use` Oct 11 06:58:15.221 INFO kablam! --> src/game/combat/ships/ship_template.rs:141:5 Oct 11 06:58:15.221 INFO kablam! | Oct 11 06:58:15.221 INFO kablam! 141 | pub fn set_fuel_use(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 11 06:58:15.221 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.221 INFO kablam! Oct 11 06:58:15.221 INFO kablam! warning: method is never used: `set_shield_capacity` Oct 11 06:58:15.221 INFO kablam! --> src/game/combat/ships/ship_template.rs:161:5 Oct 11 06:58:15.221 INFO kablam! | Oct 11 06:58:15.221 INFO kablam! 161 | pub fn set_shield_capacity(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 11 06:58:15.221 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.221 INFO kablam! Oct 11 06:58:15.221 INFO kablam! warning: method is never used: `get_shield_recovery` Oct 11 06:58:15.221 INFO kablam! --> src/game/combat/ships/ship_template.rs:169:5 Oct 11 06:58:15.221 INFO kablam! | Oct 11 06:58:15.221 INFO kablam! 169 | pub fn get_shield_recovery(&self) -> ShieldPoint { Oct 11 06:58:15.221 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.221 INFO kablam! Oct 11 06:58:15.221 INFO kablam! warning: method is never used: `set_shield_recovery` Oct 11 06:58:15.221 INFO kablam! --> src/game/combat/ships/ship_template.rs:181:5 Oct 11 06:58:15.221 INFO kablam! | Oct 11 06:58:15.221 INFO kablam! 181 | pub fn set_shield_recovery(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 11 06:58:15.221 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.221 INFO kablam! Oct 11 06:58:15.221 INFO kablam! warning: method is never used: `can_target` Oct 11 06:58:15.221 INFO kablam! --> src/game/combat/ships/ship_template.rs:193:5 Oct 11 06:58:15.221 INFO kablam! | Oct 11 06:58:15.221 INFO kablam! 193 | pub fn can_target(&self, target: &Self) -> bool { Oct 11 06:58:15.221 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.221 INFO kablam! Oct 11 06:58:15.221 INFO kablam! warning: method is never used: `loaded` Oct 11 06:58:15.221 INFO kablam! --> src/game/combat/ships/ship_template.rs:267:5 Oct 11 06:58:15.221 INFO kablam! | Oct 11 06:58:15.221 INFO kablam! 267 | pub fn loaded(&self) -> usize { Oct 11 06:58:15.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `unload_overflow` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship_template.rs:271:5 Oct 11 06:58:15.222 INFO kablam! | Oct 11 06:58:15.222 INFO kablam! 271 | pub fn unload_overflow(&mut self) { Oct 11 06:58:15.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `unload` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship_template.rs:301:5 Oct 11 06:58:15.222 INFO kablam! | Oct 11 06:58:15.222 INFO kablam! 301 | pub fn unload(&mut self, name: &String) -> bool { Oct 11 06:58:15.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `new` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship.rs:54:5 Oct 11 06:58:15.222 INFO kablam! | Oct 11 06:58:15.222 INFO kablam! 54 | / pub fn new(template: Rc, fuel_units: FuelUnit, Oct 11 06:58:15.222 INFO kablam! 55 | | hull_points: HullPoint, shield_points: ShieldPoint) -> Result { Oct 11 06:58:15.222 INFO kablam! 56 | | //Check that fuel is not greater than fuel capacity. Oct 11 06:58:15.222 INFO kablam! 57 | | if fuel_units > template.get_fuel_capacity() { Oct 11 06:58:15.222 INFO kablam! ... | Oct 11 06:58:15.222 INFO kablam! 77 | | } Oct 11 06:58:15.222 INFO kablam! 78 | | } Oct 11 06:58:15.222 INFO kablam! | |_____^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `set_template` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship.rs:91:5 Oct 11 06:58:15.222 INFO kablam! | Oct 11 06:58:15.222 INFO kablam! 91 | pub fn set_template(&mut self, val: Rc) -> Result<(), ShipError> { Oct 11 06:58:15.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `get_fuel_units` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship.rs:107:5 Oct 11 06:58:15.222 INFO kablam! | Oct 11 06:58:15.222 INFO kablam! 107 | pub fn get_fuel_units(&self) -> FuelUnit { Oct 11 06:58:15.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `set_fuel_units` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship.rs:119:5 Oct 11 06:58:15.222 INFO kablam! | Oct 11 06:58:15.222 INFO kablam! 119 | pub fn set_fuel_units(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 11 06:58:15.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `get_hull_points` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship.rs:127:5 Oct 11 06:58:15.222 INFO kablam! | Oct 11 06:58:15.222 INFO kablam! 127 | pub fn get_hull_points(&self) -> HullPoint { Oct 11 06:58:15.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `set_hull_points` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship.rs:139:5 Oct 11 06:58:15.222 INFO kablam! | Oct 11 06:58:15.222 INFO kablam! 139 | pub fn set_hull_points(&mut self, val: HullPoint) -> Result<(), ShipError> { Oct 11 06:58:15.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `get_shield_points` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship.rs:147:5 Oct 11 06:58:15.222 INFO kablam! | Oct 11 06:58:15.222 INFO kablam! 147 | pub fn get_shield_points(&self) -> ShieldPoint { Oct 11 06:58:15.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `set_shield_points` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship.rs:159:5 Oct 11 06:58:15.222 INFO kablam! | Oct 11 06:58:15.222 INFO kablam! 159 | pub fn set_shield_points(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 11 06:58:15.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `is_alive` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship.rs:167:5 Oct 11 06:58:15.222 INFO kablam! | Oct 11 06:58:15.222 INFO kablam! 167 | pub fn is_alive(&self) -> bool { Oct 11 06:58:15.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `regenerate_shields` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship.rs:172:5 Oct 11 06:58:15.222 INFO kablam! | Oct 11 06:58:15.222 INFO kablam! 172 | pub fn regenerate_shields(&mut self) { Oct 11 06:58:15.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `simulate_damage` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship.rs:185:5 Oct 11 06:58:15.222 INFO kablam! | Oct 11 06:58:15.222 INFO kablam! 185 | pub fn simulate_damage(&mut self, mut damage: DamagePoint) -> (HullPoint, ShieldPoint, DamagePoint) { Oct 11 06:58:15.222 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.222 INFO kablam! Oct 11 06:58:15.222 INFO kablam! warning: method is never used: `resolve_damage` Oct 11 06:58:15.222 INFO kablam! --> src/game/combat/ships/ship.rs:211:5 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 211 | pub fn resolve_damage(&mut self, damage: DamagePoint) -> DamagePoint { Oct 11 06:58:15.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:15.223 INFO kablam! warning: method is never used: `resolve_attacks` Oct 11 06:58:15.223 INFO kablam! --> src/game/combat/ships/ship.rs:228:5 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 228 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 11 06:58:15.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:15.223 INFO kablam! warning: method is never used: `is_alive` Oct 11 06:58:15.223 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:39:5 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 39 | pub fn is_alive(&self) -> bool { Oct 11 06:58:15.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:15.223 INFO kablam! warning: method is never used: `regenerate_shields` Oct 11 06:58:15.223 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:43:5 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 43 | pub fn regenerate_shields(&mut self) { Oct 11 06:58:15.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:15.223 INFO kablam! warning: method is never used: `resolve_damage` Oct 11 06:58:15.223 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:52:5 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 52 | pub fn resolve_damage(&mut self, mut damage: DamagePoint) -> DamagePoint { Oct 11 06:58:15.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:15.223 INFO kablam! warning: method is never used: `resolve_attacks` Oct 11 06:58:15.223 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:118:5 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 118 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 11 06:58:15.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:15.223 INFO kablam! warning: method is never used: `get_attacks` Oct 11 06:58:15.223 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:146:5 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 146 | pub fn get_attacks(&self) -> ReducedAttacks { Oct 11 06:58:15.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:15.223 INFO kablam! warning: variant is never constructed: `Unaware` Oct 11 06:58:15.223 INFO kablam! --> src/game/factions.rs:20:5 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 20 | Unaware, Oct 11 06:58:15.223 INFO kablam! | ^^^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:15.223 INFO kablam! warning: variant is never constructed: `Neutral` Oct 11 06:58:15.223 INFO kablam! --> src/game/factions.rs:22:5 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 22 | Neutral, Oct 11 06:58:15.223 INFO kablam! | ^^^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:15.223 INFO kablam! warning: variant is never constructed: `Friendly` Oct 11 06:58:15.223 INFO kablam! --> src/game/factions.rs:24:5 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 24 | Friendly, Oct 11 06:58:15.223 INFO kablam! | ^^^^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:15.223 INFO kablam! warning: variant is never constructed: `Enemy` Oct 11 06:58:15.223 INFO kablam! --> src/game/factions.rs:26:5 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 26 | Enemy Oct 11 06:58:15.223 INFO kablam! | ^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:15.223 INFO kablam! warning: method is never used: `from_parts` Oct 11 06:58:15.223 INFO kablam! --> src/game/factions.rs:41:5 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 41 | pub unsafe fn from_parts(first: Faction, second: Faction) -> FactionPair { Oct 11 06:58:15.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:15.223 INFO kablam! warning: method is never used: `new` Oct 11 06:58:15.223 INFO kablam! --> src/game/factions.rs:50:5 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 50 | pub fn new(first: Faction, second: Faction) -> Option { Oct 11 06:58:15.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:15.223 INFO kablam! warning: function is never used: `get_game_factions` Oct 11 06:58:15.223 INFO kablam! --> src/game/factions.rs:97:1 Oct 11 06:58:15.223 INFO kablam! | Oct 11 06:58:15.223 INFO kablam! 97 | pub fn get_game_factions() -> &'static mut (Vec, HashMap) { Oct 11 06:58:15.223 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:15.223 INFO kablam! Oct 11 06:58:16.347 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 5.22s Oct 11 06:58:16.350 INFO kablam! su: No module specific data is present Oct 11 06:58:16.571 INFO running `"docker" "rm" "-f" "5c740e5cbf0fc74cb73bdc470251e1ef40f3ca0619a76812b66d3aa652518b06"` Oct 11 06:58:16.664 INFO blam! 5c740e5cbf0fc74cb73bdc470251e1ef40f3ca0619a76812b66d3aa652518b06 Oct 11 06:58:16.668 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run Oct 11 06:58:16.669 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-5/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-5/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 11 06:58:16.865 INFO blam! 435aa9ee3b42725a843a9eac9fdca21c5a2993c44338bbf31e33c306368c5317 Oct 11 06:58:16.866 INFO running `"docker" "start" "-a" "435aa9ee3b42725a843a9eac9fdca21c5a2993c44338bbf31e33c306368c5317"` Oct 11 06:58:17.625 INFO kablam! usermod: no changes Oct 11 06:58:17.692 INFO kablam! Compiling the_brass v0.2.0 (/source) Oct 11 06:58:19.107 INFO kablam! warning: variant is never constructed: `FuelError` Oct 11 06:58:19.107 INFO kablam! --> src/game/combat/ships/ship_error.rs:11:5 Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! 11 | FuelError, Oct 11 06:58:19.107 INFO kablam! | ^^^^^^^^^ Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! = note: #[warn(dead_code)] on by default Oct 11 06:58:19.107 INFO kablam! Oct 11 06:58:19.107 INFO kablam! warning: variant is never constructed: `ShieldError` Oct 11 06:58:19.107 INFO kablam! --> src/game/combat/ships/ship_error.rs:12:5 Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! 12 | ShieldError, Oct 11 06:58:19.107 INFO kablam! | ^^^^^^^^^^^ Oct 11 06:58:19.107 INFO kablam! Oct 11 06:58:19.107 INFO kablam! warning: variant is never constructed: `HullError` Oct 11 06:58:19.107 INFO kablam! --> src/game/combat/ships/ship_error.rs:13:5 Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! 13 | HullError Oct 11 06:58:19.107 INFO kablam! | ^^^^^^^^^ Oct 11 06:58:19.107 INFO kablam! Oct 11 06:58:19.107 INFO kablam! warning: method is never used: `new` Oct 11 06:58:19.107 INFO kablam! --> src/game/combat/ships/attacks.rs:31:5 Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! 31 | pub fn new(attack: Attack, smallest_target: ShipSize) -> Self { Oct 11 06:58:19.107 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.107 INFO kablam! Oct 11 06:58:19.107 INFO kablam! warning: method is never used: `valid_target` Oct 11 06:58:19.107 INFO kablam! --> src/game/combat/ships/attacks.rs:43:5 Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! 43 | pub fn valid_target(&self, target_size: ShipSize) -> bool { Oct 11 06:58:19.107 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.107 INFO kablam! Oct 11 06:58:19.107 INFO kablam! warning: method is never used: `same_target` Oct 11 06:58:19.107 INFO kablam! --> src/game/combat/ships/attacks.rs:52:5 Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! 52 | pub fn same_target(&self, other: &Self) -> bool { Oct 11 06:58:19.107 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.107 INFO kablam! Oct 11 06:58:19.107 INFO kablam! warning: method is never used: `new` Oct 11 06:58:19.107 INFO kablam! --> src/game/combat/ships/attacks.rs:94:5 Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! 94 | pub fn new(parralel_attacks: UInt, damage_per_attack: DamagePoint) -> Self { Oct 11 06:58:19.107 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.107 INFO kablam! Oct 11 06:58:19.107 INFO kablam! warning: method is never used: `merge` Oct 11 06:58:19.107 INFO kablam! --> src/game/combat/ships/attacks.rs:106:5 Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! 106 | pub fn merge(&mut self, other: Self) -> Option { Oct 11 06:58:19.107 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.107 INFO kablam! Oct 11 06:58:19.107 INFO kablam! warning: method is never used: `sum_damage` Oct 11 06:58:19.107 INFO kablam! --> src/game/combat/ships/attacks.rs:118:5 Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! 118 | pub fn sum_damage(&self) -> DamagePoint { Oct 11 06:58:19.107 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.107 INFO kablam! Oct 11 06:58:19.107 INFO kablam! warning: method is never used: `same_damage` Oct 11 06:58:19.107 INFO kablam! --> src/game/combat/ships/attacks.rs:122:5 Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! 122 | pub fn same_damage(&self, other: &Self) -> bool { Oct 11 06:58:19.107 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.107 INFO kablam! Oct 11 06:58:19.107 INFO kablam! warning: method is never used: `from_parts` Oct 11 06:58:19.107 INFO kablam! --> src/game/combat/ships/attacks.rs:141:5 Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! 141 | pub unsafe fn from_parts(attacks: Vec) -> Self { Oct 11 06:58:19.107 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.107 INFO kablam! Oct 11 06:58:19.107 INFO kablam! warning: method is never used: `new` Oct 11 06:58:19.107 INFO kablam! --> src/game/combat/ships/attacks.rs:153:5 Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! 153 | pub fn new(mut attacks: Vec) -> Self { Oct 11 06:58:19.107 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.107 INFO kablam! Oct 11 06:58:19.107 INFO kablam! warning: method is never used: `add_attack` Oct 11 06:58:19.107 INFO kablam! --> src/game/combat/ships/attacks.rs:179:5 Oct 11 06:58:19.107 INFO kablam! | Oct 11 06:58:19.107 INFO kablam! 179 | pub fn add_attack(&mut self, attack: TargetedAttack) { Oct 11 06:58:19.107 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.107 INFO kablam! Oct 11 06:58:19.108 INFO kablam! warning: method is never used: `add_attacks` Oct 11 06:58:19.108 INFO kablam! --> src/game/combat/ships/attacks.rs:196:5 Oct 11 06:58:19.108 INFO kablam! | Oct 11 06:58:19.108 INFO kablam! 196 | pub fn add_attacks(&mut self, attacks: &[TargetedAttack]) { Oct 11 06:58:19.108 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.108 INFO kablam! Oct 11 06:58:19.108 INFO kablam! warning: method is never used: `iter` Oct 11 06:58:19.108 INFO kablam! --> src/game/combat/ships/attacks.rs:200:5 Oct 11 06:58:19.108 INFO kablam! | Oct 11 06:58:19.108 INFO kablam! 200 | pub fn iter(&self) -> ::std::slice::Iter { Oct 11 06:58:19.108 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.108 INFO kablam! Oct 11 06:58:19.108 INFO kablam! warning: method is never used: `iter_mut` Oct 11 06:58:19.108 INFO kablam! --> src/game/combat/ships/attacks.rs:204:5 Oct 11 06:58:19.108 INFO kablam! | Oct 11 06:58:19.108 INFO kablam! 204 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { Oct 11 06:58:19.108 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.108 INFO kablam! Oct 11 06:58:19.108 INFO kablam! warning: method is never used: `clear_used_attacks` Oct 11 06:58:19.108 INFO kablam! --> src/game/combat/ships/attacks.rs:208:5 Oct 11 06:58:19.108 INFO kablam! | Oct 11 06:58:19.108 INFO kablam! 208 | pub fn clear_used_attacks(&mut self) { Oct 11 06:58:19.108 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.124 INFO kablam! Oct 11 06:58:19.124 INFO kablam! warning: method is never used: `from_parts` Oct 11 06:58:19.124 INFO kablam! --> src/game/combat/ships/ship_template.rs:57:5 Oct 11 06:58:19.124 INFO kablam! | Oct 11 06:58:19.124 INFO kablam! 57 | / pub unsafe fn from_parts(ship_size_class: ShipSize, fuel_capacity: UInt, Oct 11 06:58:19.124 INFO kablam! 58 | | fuel_use: UInt, max_hull: UInt, shield_capacity: UInt, shield_recovery: UInt, Oct 11 06:58:19.124 INFO kablam! 59 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Self { Oct 11 06:58:19.124 INFO kablam! 60 | | Self { Oct 11 06:58:19.124 INFO kablam! ... | Oct 11 06:58:19.124 INFO kablam! 69 | | } Oct 11 06:58:19.124 INFO kablam! 70 | | } Oct 11 06:58:19.124 INFO kablam! | |_____^ Oct 11 06:58:19.124 INFO kablam! Oct 11 06:58:19.124 INFO kablam! warning: method is never used: `new` Oct 11 06:58:19.124 INFO kablam! --> src/game/combat/ships/ship_template.rs:81:5 Oct 11 06:58:19.124 INFO kablam! | Oct 11 06:58:19.124 INFO kablam! 81 | / pub fn new(ship_size_class: ShipSize, fuel_capacity: UInt, fuel_use: UInt, Oct 11 06:58:19.124 INFO kablam! 82 | | hull_points: UInt, shield_points: UInt, shield_recovery: UInt, Oct 11 06:58:19.124 INFO kablam! 83 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Result { Oct 11 06:58:19.124 INFO kablam! 84 | | //Check that fuel use is not greater than fuel capacity. Oct 11 06:58:19.124 INFO kablam! ... | Oct 11 06:58:19.124 INFO kablam! 106 | | } Oct 11 06:58:19.124 INFO kablam! 107 | | } Oct 11 06:58:19.124 INFO kablam! | |_____^ Oct 11 06:58:19.124 INFO kablam! Oct 11 06:58:19.124 INFO kablam! warning: method is never used: `set_fuel_capacity` Oct 11 06:58:19.124 INFO kablam! --> src/game/combat/ships/ship_template.rs:121:5 Oct 11 06:58:19.124 INFO kablam! | Oct 11 06:58:19.124 INFO kablam! 121 | pub fn set_fuel_capacity(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 11 06:58:19.124 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.124 INFO kablam! Oct 11 06:58:19.124 INFO kablam! warning: method is never used: `get_fuel_use` Oct 11 06:58:19.124 INFO kablam! --> src/game/combat/ships/ship_template.rs:129:5 Oct 11 06:58:19.124 INFO kablam! | Oct 11 06:58:19.124 INFO kablam! 129 | pub fn get_fuel_use(&self) -> FuelUnit { Oct 11 06:58:19.124 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.124 INFO kablam! Oct 11 06:58:19.124 INFO kablam! warning: method is never used: `set_fuel_use` Oct 11 06:58:19.124 INFO kablam! --> src/game/combat/ships/ship_template.rs:141:5 Oct 11 06:58:19.124 INFO kablam! | Oct 11 06:58:19.124 INFO kablam! 141 | pub fn set_fuel_use(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 11 06:58:19.124 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.124 INFO kablam! Oct 11 06:58:19.124 INFO kablam! warning: method is never used: `set_shield_capacity` Oct 11 06:58:19.125 INFO kablam! --> src/game/combat/ships/ship_template.rs:161:5 Oct 11 06:58:19.125 INFO kablam! | Oct 11 06:58:19.125 INFO kablam! 161 | pub fn set_shield_capacity(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 11 06:58:19.125 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.125 INFO kablam! Oct 11 06:58:19.125 INFO kablam! warning: method is never used: `get_shield_recovery` Oct 11 06:58:19.125 INFO kablam! --> src/game/combat/ships/ship_template.rs:169:5 Oct 11 06:58:19.125 INFO kablam! | Oct 11 06:58:19.125 INFO kablam! 169 | pub fn get_shield_recovery(&self) -> ShieldPoint { Oct 11 06:58:19.125 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.125 INFO kablam! Oct 11 06:58:19.125 INFO kablam! warning: method is never used: `set_shield_recovery` Oct 11 06:58:19.125 INFO kablam! --> src/game/combat/ships/ship_template.rs:181:5 Oct 11 06:58:19.125 INFO kablam! | Oct 11 06:58:19.125 INFO kablam! 181 | pub fn set_shield_recovery(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 11 06:58:19.125 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.125 INFO kablam! Oct 11 06:58:19.125 INFO kablam! warning: method is never used: `can_target` Oct 11 06:58:19.125 INFO kablam! --> src/game/combat/ships/ship_template.rs:193:5 Oct 11 06:58:19.125 INFO kablam! | Oct 11 06:58:19.125 INFO kablam! 193 | pub fn can_target(&self, target: &Self) -> bool { Oct 11 06:58:19.125 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.125 INFO kablam! Oct 11 06:58:19.125 INFO kablam! warning: method is never used: `loaded` Oct 11 06:58:19.125 INFO kablam! --> src/game/combat/ships/ship_template.rs:267:5 Oct 11 06:58:19.125 INFO kablam! | Oct 11 06:58:19.125 INFO kablam! 267 | pub fn loaded(&self) -> usize { Oct 11 06:58:19.125 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.125 INFO kablam! Oct 11 06:58:19.125 INFO kablam! warning: method is never used: `unload_overflow` Oct 11 06:58:19.125 INFO kablam! --> src/game/combat/ships/ship_template.rs:271:5 Oct 11 06:58:19.125 INFO kablam! | Oct 11 06:58:19.125 INFO kablam! 271 | pub fn unload_overflow(&mut self) { Oct 11 06:58:19.125 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.125 INFO kablam! Oct 11 06:58:19.125 INFO kablam! warning: method is never used: `unload` Oct 11 06:58:19.125 INFO kablam! --> src/game/combat/ships/ship_template.rs:301:5 Oct 11 06:58:19.125 INFO kablam! | Oct 11 06:58:19.125 INFO kablam! 301 | pub fn unload(&mut self, name: &String) -> bool { Oct 11 06:58:19.125 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.125 INFO kablam! Oct 11 06:58:19.125 INFO kablam! warning: method is never used: `new` Oct 11 06:58:19.125 INFO kablam! --> src/game/combat/ships/ship.rs:54:5 Oct 11 06:58:19.125 INFO kablam! | Oct 11 06:58:19.125 INFO kablam! 54 | / pub fn new(template: Rc, fuel_units: FuelUnit, Oct 11 06:58:19.125 INFO kablam! 55 | | hull_points: HullPoint, shield_points: ShieldPoint) -> Result { Oct 11 06:58:19.125 INFO kablam! 56 | | //Check that fuel is not greater than fuel capacity. Oct 11 06:58:19.125 INFO kablam! 57 | | if fuel_units > template.get_fuel_capacity() { Oct 11 06:58:19.125 INFO kablam! ... | Oct 11 06:58:19.125 INFO kablam! 77 | | } Oct 11 06:58:19.125 INFO kablam! 78 | | } Oct 11 06:58:19.125 INFO kablam! | |_____^ Oct 11 06:58:19.125 INFO kablam! Oct 11 06:58:19.125 INFO kablam! warning: method is never used: `set_template` Oct 11 06:58:19.125 INFO kablam! --> src/game/combat/ships/ship.rs:91:5 Oct 11 06:58:19.125 INFO kablam! | Oct 11 06:58:19.125 INFO kablam! 91 | pub fn set_template(&mut self, val: Rc) -> Result<(), ShipError> { Oct 11 06:58:19.125 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.125 INFO kablam! Oct 11 06:58:19.125 INFO kablam! warning: method is never used: `get_fuel_units` Oct 11 06:58:19.125 INFO kablam! --> src/game/combat/ships/ship.rs:107:5 Oct 11 06:58:19.125 INFO kablam! | Oct 11 06:58:19.125 INFO kablam! 107 | pub fn get_fuel_units(&self) -> FuelUnit { Oct 11 06:58:19.125 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.125 INFO kablam! Oct 11 06:58:19.125 INFO kablam! warning: method is never used: `set_fuel_units` Oct 11 06:58:19.125 INFO kablam! --> src/game/combat/ships/ship.rs:119:5 Oct 11 06:58:19.125 INFO kablam! | Oct 11 06:58:19.125 INFO kablam! 119 | pub fn set_fuel_units(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 11 06:58:19.125 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.125 INFO kablam! Oct 11 06:58:19.125 INFO kablam! warning: method is never used: `get_hull_points` Oct 11 06:58:19.125 INFO kablam! --> src/game/combat/ships/ship.rs:127:5 Oct 11 06:58:19.125 INFO kablam! | Oct 11 06:58:19.125 INFO kablam! 127 | pub fn get_hull_points(&self) -> HullPoint { Oct 11 06:58:19.125 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.125 INFO kablam! Oct 11 06:58:19.125 INFO kablam! warning: method is never used: `set_hull_points` Oct 11 06:58:19.125 INFO kablam! --> src/game/combat/ships/ship.rs:139:5 Oct 11 06:58:19.125 INFO kablam! | Oct 11 06:58:19.125 INFO kablam! 139 | pub fn set_hull_points(&mut self, val: HullPoint) -> Result<(), ShipError> { Oct 11 06:58:19.125 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.125 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: method is never used: `get_shield_points` Oct 11 06:58:19.126 INFO kablam! --> src/game/combat/ships/ship.rs:147:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 147 | pub fn get_shield_points(&self) -> ShieldPoint { Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: method is never used: `set_shield_points` Oct 11 06:58:19.126 INFO kablam! --> src/game/combat/ships/ship.rs:159:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 159 | pub fn set_shield_points(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: method is never used: `is_alive` Oct 11 06:58:19.126 INFO kablam! --> src/game/combat/ships/ship.rs:167:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 167 | pub fn is_alive(&self) -> bool { Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: method is never used: `regenerate_shields` Oct 11 06:58:19.126 INFO kablam! --> src/game/combat/ships/ship.rs:172:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 172 | pub fn regenerate_shields(&mut self) { Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: method is never used: `simulate_damage` Oct 11 06:58:19.126 INFO kablam! --> src/game/combat/ships/ship.rs:185:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 185 | pub fn simulate_damage(&mut self, mut damage: DamagePoint) -> (HullPoint, ShieldPoint, DamagePoint) { Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: method is never used: `resolve_damage` Oct 11 06:58:19.126 INFO kablam! --> src/game/combat/ships/ship.rs:211:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 211 | pub fn resolve_damage(&mut self, damage: DamagePoint) -> DamagePoint { Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: method is never used: `resolve_attacks` Oct 11 06:58:19.126 INFO kablam! --> src/game/combat/ships/ship.rs:228:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 228 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: method is never used: `is_alive` Oct 11 06:58:19.126 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:39:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 39 | pub fn is_alive(&self) -> bool { Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: method is never used: `regenerate_shields` Oct 11 06:58:19.126 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:43:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 43 | pub fn regenerate_shields(&mut self) { Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: method is never used: `resolve_damage` Oct 11 06:58:19.126 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:52:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 52 | pub fn resolve_damage(&mut self, mut damage: DamagePoint) -> DamagePoint { Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: method is never used: `resolve_attacks` Oct 11 06:58:19.126 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:118:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 118 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: method is never used: `get_attacks` Oct 11 06:58:19.126 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:146:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 146 | pub fn get_attacks(&self) -> ReducedAttacks { Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: variant is never constructed: `Unaware` Oct 11 06:58:19.126 INFO kablam! --> src/game/factions.rs:20:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 20 | Unaware, Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.126 INFO kablam! warning: variant is never constructed: `Neutral` Oct 11 06:58:19.126 INFO kablam! --> src/game/factions.rs:22:5 Oct 11 06:58:19.126 INFO kablam! | Oct 11 06:58:19.126 INFO kablam! 22 | Neutral, Oct 11 06:58:19.126 INFO kablam! | ^^^^^^^ Oct 11 06:58:19.126 INFO kablam! Oct 11 06:58:19.127 INFO kablam! warning: variant is never constructed: `Friendly` Oct 11 06:58:19.127 INFO kablam! --> src/game/factions.rs:24:5 Oct 11 06:58:19.127 INFO kablam! | Oct 11 06:58:19.127 INFO kablam! 24 | Friendly, Oct 11 06:58:19.127 INFO kablam! | ^^^^^^^^ Oct 11 06:58:19.127 INFO kablam! Oct 11 06:58:19.127 INFO kablam! warning: variant is never constructed: `Enemy` Oct 11 06:58:19.127 INFO kablam! --> src/game/factions.rs:26:5 Oct 11 06:58:19.127 INFO kablam! | Oct 11 06:58:19.127 INFO kablam! 26 | Enemy Oct 11 06:58:19.127 INFO kablam! | ^^^^^ Oct 11 06:58:19.127 INFO kablam! Oct 11 06:58:19.127 INFO kablam! warning: function is never used: `get_game_factions` Oct 11 06:58:19.127 INFO kablam! --> src/game/factions.rs:97:1 Oct 11 06:58:19.127 INFO kablam! | Oct 11 06:58:19.127 INFO kablam! 97 | pub fn get_game_factions() -> &'static mut (Vec, HashMap) { Oct 11 06:58:19.127 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 11 06:58:19.127 INFO kablam! Oct 11 06:58:19.771 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 2.11s Oct 11 06:58:19.771 INFO kablam! su: No module specific data is present Oct 11 06:58:20.240 INFO running `"docker" "rm" "-f" "435aa9ee3b42725a843a9eac9fdca21c5a2993c44338bbf31e33c306368c5317"` Oct 11 06:58:20.569 INFO blam! 435aa9ee3b42725a843a9eac9fdca21c5a2993c44338bbf31e33c306368c5317 Oct 11 06:58:20.579 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen Oct 11 06:58:20.579 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-5/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-5/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,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" "CMD=cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-m" "1536M" "--network" "none" "crater"` Oct 11 06:58:20.924 INFO blam! 1bca22942e6cb685b4fe5c75add4c1a58028d38b21c4e2b2db6d5ade4e246cde Oct 11 06:58:20.932 INFO running `"docker" "start" "-a" "1bca22942e6cb685b4fe5c75add4c1a58028d38b21c4e2b2db6d5ade4e246cde"` Oct 11 06:58:22.044 INFO kablam! usermod: no changes Oct 11 06:58:22.096 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.03s Oct 11 06:58:22.112 INFO kablam! Running /target/debug/deps/the_brass-5df51904cca5a76b Oct 11 06:58:22.130 INFO blam! Oct 11 06:58:22.130 INFO blam! running 1 test Oct 11 06:58:22.136 INFO blam! test game::factions::tests::test_faction_pair ... ok Oct 11 06:58:22.136 INFO kablam! su: No module specific data is present Oct 11 06:58:22.136 INFO blam! Oct 11 06:58:22.136 INFO blam! test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 11 06:58:22.136 INFO blam! Oct 11 06:58:22.672 INFO running `"docker" "rm" "-f" "1bca22942e6cb685b4fe5c75add4c1a58028d38b21c4e2b2db6d5ade4e246cde"` Oct 11 06:58:23.093 INFO blam! 1bca22942e6cb685b4fe5c75add4c1a58028d38b21c4e2b2db6d5ade4e246cde