Oct 15 11:21:39.126 INFO testing Dynisious/the_brass against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling-1 Oct 15 11:21:39.126 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/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 +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen" "-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 15 11:21:39.288 INFO blam! 895b233c47a5c5fabca0dd0d569498728a11ad0eacd489a4f94628c770a86e46 Oct 15 11:21:39.290 INFO running `"docker" "start" "-a" "895b233c47a5c5fabca0dd0d569498728a11ad0eacd489a4f94628c770a86e46"` Oct 15 11:21:39.790 INFO kablam! usermod: no changes Oct 15 11:21:39.827 INFO kablam! Compiling toml v0.4.5 Oct 15 11:21:39.827 INFO kablam! Compiling serde_derive v1.0.19 Oct 15 11:21:47.626 INFO kablam! Compiling the_brass v0.2.0 (/source) Oct 15 11:21:48.400 INFO kablam! warning: variant is never constructed: `FuelError` Oct 15 11:21:48.400 INFO kablam! --> src/game/combat/ships/ship_error.rs:11:5 Oct 15 11:21:48.400 INFO kablam! | Oct 15 11:21:48.400 INFO kablam! 11 | FuelError, Oct 15 11:21:48.400 INFO kablam! | ^^^^^^^^^ Oct 15 11:21:48.400 INFO kablam! | Oct 15 11:21:48.400 INFO kablam! = note: #[warn(dead_code)] on by default Oct 15 11:21:48.400 INFO kablam! Oct 15 11:21:48.400 INFO kablam! warning: variant is never constructed: `ShieldError` Oct 15 11:21:48.400 INFO kablam! --> src/game/combat/ships/ship_error.rs:12:5 Oct 15 11:21:48.400 INFO kablam! | Oct 15 11:21:48.400 INFO kablam! 12 | ShieldError, Oct 15 11:21:48.400 INFO kablam! | ^^^^^^^^^^^ Oct 15 11:21:48.400 INFO kablam! Oct 15 11:21:48.400 INFO kablam! warning: variant is never constructed: `HullError` Oct 15 11:21:48.400 INFO kablam! --> src/game/combat/ships/ship_error.rs:13:5 Oct 15 11:21:48.400 INFO kablam! | Oct 15 11:21:48.400 INFO kablam! 13 | HullError Oct 15 11:21:48.400 INFO kablam! | ^^^^^^^^^ Oct 15 11:21:48.400 INFO kablam! Oct 15 11:21:48.400 INFO kablam! warning: method is never used: `new` Oct 15 11:21:48.400 INFO kablam! --> src/game/combat/ships/attacks.rs:31:5 Oct 15 11:21:48.400 INFO kablam! | Oct 15 11:21:48.400 INFO kablam! 31 | pub fn new(attack: Attack, smallest_target: ShipSize) -> Self { Oct 15 11:21:48.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.400 INFO kablam! Oct 15 11:21:48.400 INFO kablam! warning: method is never used: `valid_target` Oct 15 11:21:48.400 INFO kablam! --> src/game/combat/ships/attacks.rs:43:5 Oct 15 11:21:48.400 INFO kablam! | Oct 15 11:21:48.400 INFO kablam! 43 | pub fn valid_target(&self, target_size: ShipSize) -> bool { Oct 15 11:21:48.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.400 INFO kablam! Oct 15 11:21:48.400 INFO kablam! warning: method is never used: `same_target` Oct 15 11:21:48.400 INFO kablam! --> src/game/combat/ships/attacks.rs:52:5 Oct 15 11:21:48.400 INFO kablam! | Oct 15 11:21:48.400 INFO kablam! 52 | pub fn same_target(&self, other: &Self) -> bool { Oct 15 11:21:48.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.400 INFO kablam! Oct 15 11:21:48.400 INFO kablam! warning: method is never used: `new` Oct 15 11:21:48.400 INFO kablam! --> src/game/combat/ships/attacks.rs:94:5 Oct 15 11:21:48.400 INFO kablam! | Oct 15 11:21:48.400 INFO kablam! 94 | pub fn new(parralel_attacks: UInt, damage_per_attack: DamagePoint) -> Self { Oct 15 11:21:48.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.400 INFO kablam! Oct 15 11:21:48.400 INFO kablam! warning: method is never used: `merge` Oct 15 11:21:48.400 INFO kablam! --> src/game/combat/ships/attacks.rs:106:5 Oct 15 11:21:48.400 INFO kablam! | Oct 15 11:21:48.400 INFO kablam! 106 | pub fn merge(&mut self, other: Self) -> Option { Oct 15 11:21:48.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.403 INFO kablam! Oct 15 11:21:48.403 INFO kablam! warning: method is never used: `sum_damage` Oct 15 11:21:48.403 INFO kablam! --> src/game/combat/ships/attacks.rs:118:5 Oct 15 11:21:48.403 INFO kablam! | Oct 15 11:21:48.403 INFO kablam! 118 | pub fn sum_damage(&self) -> DamagePoint { Oct 15 11:21:48.403 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.403 INFO kablam! Oct 15 11:21:48.403 INFO kablam! warning: method is never used: `same_damage` Oct 15 11:21:48.403 INFO kablam! --> src/game/combat/ships/attacks.rs:122:5 Oct 15 11:21:48.403 INFO kablam! | Oct 15 11:21:48.403 INFO kablam! 122 | pub fn same_damage(&self, other: &Self) -> bool { Oct 15 11:21:48.403 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.403 INFO kablam! Oct 15 11:21:48.403 INFO kablam! warning: method is never used: `from_parts` Oct 15 11:21:48.403 INFO kablam! --> src/game/combat/ships/attacks.rs:141:5 Oct 15 11:21:48.403 INFO kablam! | Oct 15 11:21:48.403 INFO kablam! 141 | pub unsafe fn from_parts(attacks: Vec) -> Self { Oct 15 11:21:48.403 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.403 INFO kablam! Oct 15 11:21:48.403 INFO kablam! warning: method is never used: `new` Oct 15 11:21:48.403 INFO kablam! --> src/game/combat/ships/attacks.rs:153:5 Oct 15 11:21:48.403 INFO kablam! | Oct 15 11:21:48.403 INFO kablam! 153 | pub fn new(mut attacks: Vec) -> Self { Oct 15 11:21:48.403 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.403 INFO kablam! Oct 15 11:21:48.403 INFO kablam! warning: method is never used: `add_attack` Oct 15 11:21:48.403 INFO kablam! --> src/game/combat/ships/attacks.rs:179:5 Oct 15 11:21:48.403 INFO kablam! | Oct 15 11:21:48.403 INFO kablam! 179 | pub fn add_attack(&mut self, attack: TargetedAttack) { Oct 15 11:21:48.403 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.403 INFO kablam! Oct 15 11:21:48.403 INFO kablam! warning: method is never used: `add_attacks` Oct 15 11:21:48.403 INFO kablam! --> src/game/combat/ships/attacks.rs:196:5 Oct 15 11:21:48.404 INFO kablam! | Oct 15 11:21:48.404 INFO kablam! 196 | pub fn add_attacks(&mut self, attacks: &[TargetedAttack]) { Oct 15 11:21:48.405 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.405 INFO kablam! Oct 15 11:21:48.405 INFO kablam! warning: method is never used: `iter` Oct 15 11:21:48.405 INFO kablam! --> src/game/combat/ships/attacks.rs:200:5 Oct 15 11:21:48.405 INFO kablam! | Oct 15 11:21:48.405 INFO kablam! 200 | pub fn iter(&self) -> ::std::slice::Iter { Oct 15 11:21:48.405 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.405 INFO kablam! Oct 15 11:21:48.405 INFO kablam! warning: method is never used: `iter_mut` Oct 15 11:21:48.405 INFO kablam! --> src/game/combat/ships/attacks.rs:204:5 Oct 15 11:21:48.405 INFO kablam! | Oct 15 11:21:48.405 INFO kablam! 204 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { Oct 15 11:21:48.405 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.405 INFO kablam! Oct 15 11:21:48.405 INFO kablam! warning: method is never used: `clear_used_attacks` Oct 15 11:21:48.405 INFO kablam! --> src/game/combat/ships/attacks.rs:208:5 Oct 15 11:21:48.405 INFO kablam! | Oct 15 11:21:48.405 INFO kablam! 208 | pub fn clear_used_attacks(&mut self) { Oct 15 11:21:48.405 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.405 INFO kablam! Oct 15 11:21:48.405 INFO kablam! warning: method is never used: `from_parts` Oct 15 11:21:48.405 INFO kablam! --> src/game/combat/ships/ship_template.rs:57:5 Oct 15 11:21:48.405 INFO kablam! | Oct 15 11:21:48.405 INFO kablam! 57 | / pub unsafe fn from_parts(ship_size_class: ShipSize, fuel_capacity: UInt, Oct 15 11:21:48.405 INFO kablam! 58 | | fuel_use: UInt, max_hull: UInt, shield_capacity: UInt, shield_recovery: UInt, Oct 15 11:21:48.405 INFO kablam! 59 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Self { Oct 15 11:21:48.405 INFO kablam! 60 | | Self { Oct 15 11:21:48.405 INFO kablam! ... | Oct 15 11:21:48.405 INFO kablam! 69 | | } Oct 15 11:21:48.405 INFO kablam! 70 | | } Oct 15 11:21:48.405 INFO kablam! | |_____^ Oct 15 11:21:48.405 INFO kablam! Oct 15 11:21:48.405 INFO kablam! warning: method is never used: `new` Oct 15 11:21:48.405 INFO kablam! --> src/game/combat/ships/ship_template.rs:81:5 Oct 15 11:21:48.405 INFO kablam! | Oct 15 11:21:48.405 INFO kablam! 81 | / pub fn new(ship_size_class: ShipSize, fuel_capacity: UInt, fuel_use: UInt, Oct 15 11:21:48.405 INFO kablam! 82 | | hull_points: UInt, shield_points: UInt, shield_recovery: UInt, Oct 15 11:21:48.405 INFO kablam! 83 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Result { Oct 15 11:21:48.405 INFO kablam! 84 | | //Check that fuel use is not greater than fuel capacity. Oct 15 11:21:48.405 INFO kablam! ... | Oct 15 11:21:48.405 INFO kablam! 106 | | } Oct 15 11:21:48.405 INFO kablam! 107 | | } Oct 15 11:21:48.405 INFO kablam! | |_____^ Oct 15 11:21:48.405 INFO kablam! Oct 15 11:21:48.405 INFO kablam! warning: method is never used: `set_fuel_capacity` Oct 15 11:21:48.405 INFO kablam! --> src/game/combat/ships/ship_template.rs:121:5 Oct 15 11:21:48.405 INFO kablam! | Oct 15 11:21:48.405 INFO kablam! 121 | pub fn set_fuel_capacity(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 15 11:21:48.405 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.405 INFO kablam! Oct 15 11:21:48.405 INFO kablam! warning: method is never used: `get_fuel_use` Oct 15 11:21:48.405 INFO kablam! --> src/game/combat/ships/ship_template.rs:129:5 Oct 15 11:21:48.405 INFO kablam! | Oct 15 11:21:48.405 INFO kablam! 129 | pub fn get_fuel_use(&self) -> FuelUnit { Oct 15 11:21:48.405 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.405 INFO kablam! Oct 15 11:21:48.405 INFO kablam! warning: method is never used: `set_fuel_use` Oct 15 11:21:48.405 INFO kablam! --> src/game/combat/ships/ship_template.rs:141:5 Oct 15 11:21:48.405 INFO kablam! | Oct 15 11:21:48.405 INFO kablam! 141 | pub fn set_fuel_use(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 15 11:21:48.407 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.407 INFO kablam! Oct 15 11:21:48.407 INFO kablam! warning: method is never used: `set_shield_capacity` Oct 15 11:21:48.407 INFO kablam! --> src/game/combat/ships/ship_template.rs:161:5 Oct 15 11:21:48.407 INFO kablam! | Oct 15 11:21:48.407 INFO kablam! 161 | pub fn set_shield_capacity(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 15 11:21:48.407 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.407 INFO kablam! Oct 15 11:21:48.408 INFO kablam! warning: method is never used: `get_shield_recovery` Oct 15 11:21:48.408 INFO kablam! --> src/game/combat/ships/ship_template.rs:169:5 Oct 15 11:21:48.408 INFO kablam! | Oct 15 11:21:48.408 INFO kablam! 169 | pub fn get_shield_recovery(&self) -> ShieldPoint { Oct 15 11:21:48.408 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.408 INFO kablam! Oct 15 11:21:48.408 INFO kablam! warning: method is never used: `set_shield_recovery` Oct 15 11:21:48.408 INFO kablam! --> src/game/combat/ships/ship_template.rs:181:5 Oct 15 11:21:48.408 INFO kablam! | Oct 15 11:21:48.408 INFO kablam! 181 | pub fn set_shield_recovery(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 15 11:21:48.408 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.408 INFO kablam! Oct 15 11:21:48.408 INFO kablam! warning: method is never used: `can_target` Oct 15 11:21:48.408 INFO kablam! --> src/game/combat/ships/ship_template.rs:193:5 Oct 15 11:21:48.408 INFO kablam! | Oct 15 11:21:48.408 INFO kablam! 193 | pub fn can_target(&self, target: &Self) -> bool { Oct 15 11:21:48.408 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.408 INFO kablam! Oct 15 11:21:48.408 INFO kablam! warning: method is never used: `loaded` Oct 15 11:21:48.408 INFO kablam! --> src/game/combat/ships/ship_template.rs:267:5 Oct 15 11:21:48.409 INFO kablam! | Oct 15 11:21:48.409 INFO kablam! 267 | pub fn loaded(&self) -> usize { Oct 15 11:21:48.409 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.409 INFO kablam! Oct 15 11:21:48.409 INFO kablam! warning: method is never used: `unload_overflow` Oct 15 11:21:48.409 INFO kablam! --> src/game/combat/ships/ship_template.rs:271:5 Oct 15 11:21:48.409 INFO kablam! | Oct 15 11:21:48.409 INFO kablam! 271 | pub fn unload_overflow(&mut self) { Oct 15 11:21:48.413 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.413 INFO kablam! Oct 15 11:21:48.413 INFO kablam! warning: method is never used: `unload` Oct 15 11:21:48.413 INFO kablam! --> src/game/combat/ships/ship_template.rs:301:5 Oct 15 11:21:48.413 INFO kablam! | Oct 15 11:21:48.413 INFO kablam! 301 | pub fn unload(&mut self, name: &String) -> bool { Oct 15 11:21:48.413 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.413 INFO kablam! Oct 15 11:21:48.414 INFO kablam! warning: method is never used: `new` Oct 15 11:21:48.414 INFO kablam! --> src/game/combat/ships/ship.rs:54:5 Oct 15 11:21:48.414 INFO kablam! | Oct 15 11:21:48.414 INFO kablam! 54 | / pub fn new(template: Rc, fuel_units: FuelUnit, Oct 15 11:21:48.414 INFO kablam! 55 | | hull_points: HullPoint, shield_points: ShieldPoint) -> Result { Oct 15 11:21:48.414 INFO kablam! 56 | | //Check that fuel is not greater than fuel capacity. Oct 15 11:21:48.414 INFO kablam! 57 | | if fuel_units > template.get_fuel_capacity() { Oct 15 11:21:48.414 INFO kablam! ... | Oct 15 11:21:48.414 INFO kablam! 77 | | } Oct 15 11:21:48.414 INFO kablam! 78 | | } Oct 15 11:21:48.414 INFO kablam! | |_____^ Oct 15 11:21:48.414 INFO kablam! Oct 15 11:21:48.414 INFO kablam! warning: method is never used: `set_template` Oct 15 11:21:48.414 INFO kablam! --> src/game/combat/ships/ship.rs:91:5 Oct 15 11:21:48.414 INFO kablam! | Oct 15 11:21:48.414 INFO kablam! 91 | pub fn set_template(&mut self, val: Rc) -> Result<(), ShipError> { Oct 15 11:21:48.414 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.414 INFO kablam! Oct 15 11:21:48.415 INFO kablam! warning: method is never used: `get_fuel_units` Oct 15 11:21:48.415 INFO kablam! --> src/game/combat/ships/ship.rs:107:5 Oct 15 11:21:48.415 INFO kablam! | Oct 15 11:21:48.415 INFO kablam! 107 | pub fn get_fuel_units(&self) -> FuelUnit { Oct 15 11:21:48.415 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.415 INFO kablam! Oct 15 11:21:48.415 INFO kablam! warning: method is never used: `set_fuel_units` Oct 15 11:21:48.415 INFO kablam! --> src/game/combat/ships/ship.rs:119:5 Oct 15 11:21:48.415 INFO kablam! | Oct 15 11:21:48.415 INFO kablam! 119 | pub fn set_fuel_units(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 15 11:21:48.415 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.415 INFO kablam! Oct 15 11:21:48.415 INFO kablam! warning: method is never used: `get_hull_points` Oct 15 11:21:48.415 INFO kablam! --> src/game/combat/ships/ship.rs:127:5 Oct 15 11:21:48.415 INFO kablam! | Oct 15 11:21:48.415 INFO kablam! 127 | pub fn get_hull_points(&self) -> HullPoint { Oct 15 11:21:48.415 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.415 INFO kablam! Oct 15 11:21:48.416 INFO kablam! warning: method is never used: `set_hull_points` Oct 15 11:21:48.416 INFO kablam! --> src/game/combat/ships/ship.rs:139:5 Oct 15 11:21:48.416 INFO kablam! | Oct 15 11:21:48.416 INFO kablam! 139 | pub fn set_hull_points(&mut self, val: HullPoint) -> Result<(), ShipError> { Oct 15 11:21:48.416 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.416 INFO kablam! Oct 15 11:21:48.416 INFO kablam! warning: method is never used: `get_shield_points` Oct 15 11:21:48.416 INFO kablam! --> src/game/combat/ships/ship.rs:147:5 Oct 15 11:21:48.416 INFO kablam! | Oct 15 11:21:48.416 INFO kablam! 147 | pub fn get_shield_points(&self) -> ShieldPoint { Oct 15 11:21:48.416 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.416 INFO kablam! Oct 15 11:21:48.416 INFO kablam! warning: method is never used: `set_shield_points` Oct 15 11:21:48.416 INFO kablam! --> src/game/combat/ships/ship.rs:159:5 Oct 15 11:21:48.416 INFO kablam! | Oct 15 11:21:48.416 INFO kablam! 159 | pub fn set_shield_points(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 15 11:21:48.416 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.417 INFO kablam! Oct 15 11:21:48.417 INFO kablam! warning: method is never used: `is_alive` Oct 15 11:21:48.417 INFO kablam! --> src/game/combat/ships/ship.rs:167:5 Oct 15 11:21:48.417 INFO kablam! | Oct 15 11:21:48.417 INFO kablam! 167 | pub fn is_alive(&self) -> bool { Oct 15 11:21:48.417 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.417 INFO kablam! Oct 15 11:21:48.417 INFO kablam! warning: method is never used: `regenerate_shields` Oct 15 11:21:48.417 INFO kablam! --> src/game/combat/ships/ship.rs:172:5 Oct 15 11:21:48.417 INFO kablam! | Oct 15 11:21:48.417 INFO kablam! 172 | pub fn regenerate_shields(&mut self) { Oct 15 11:21:48.417 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.417 INFO kablam! Oct 15 11:21:48.417 INFO kablam! warning: method is never used: `simulate_damage` Oct 15 11:21:48.417 INFO kablam! --> src/game/combat/ships/ship.rs:185:5 Oct 15 11:21:48.417 INFO kablam! | Oct 15 11:21:48.417 INFO kablam! 185 | pub fn simulate_damage(&mut self, mut damage: DamagePoint) -> (HullPoint, ShieldPoint, DamagePoint) { Oct 15 11:21:48.417 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.417 INFO kablam! Oct 15 11:21:48.417 INFO kablam! warning: method is never used: `resolve_damage` Oct 15 11:21:48.418 INFO kablam! --> src/game/combat/ships/ship.rs:211:5 Oct 15 11:21:48.418 INFO kablam! | Oct 15 11:21:48.418 INFO kablam! 211 | pub fn resolve_damage(&mut self, damage: DamagePoint) -> DamagePoint { Oct 15 11:21:48.418 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.418 INFO kablam! Oct 15 11:21:48.418 INFO kablam! warning: method is never used: `resolve_attacks` Oct 15 11:21:48.418 INFO kablam! --> src/game/combat/ships/ship.rs:228:5 Oct 15 11:21:48.418 INFO kablam! | Oct 15 11:21:48.418 INFO kablam! 228 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 15 11:21:48.418 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.418 INFO kablam! Oct 15 11:21:48.418 INFO kablam! warning: method is never used: `is_alive` Oct 15 11:21:48.418 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:39:5 Oct 15 11:21:48.418 INFO kablam! | Oct 15 11:21:48.418 INFO kablam! 39 | pub fn is_alive(&self) -> bool { Oct 15 11:21:48.418 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.422 INFO kablam! Oct 15 11:21:48.423 INFO kablam! warning: method is never used: `regenerate_shields` Oct 15 11:21:48.423 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:43:5 Oct 15 11:21:48.423 INFO kablam! | Oct 15 11:21:48.423 INFO kablam! 43 | pub fn regenerate_shields(&mut self) { Oct 15 11:21:48.423 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.423 INFO kablam! Oct 15 11:21:48.423 INFO kablam! warning: method is never used: `resolve_damage` Oct 15 11:21:48.423 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:52:5 Oct 15 11:21:48.423 INFO kablam! | Oct 15 11:21:48.423 INFO kablam! 52 | pub fn resolve_damage(&mut self, mut damage: DamagePoint) -> DamagePoint { Oct 15 11:21:48.423 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.423 INFO kablam! Oct 15 11:21:48.423 INFO kablam! warning: method is never used: `resolve_attacks` Oct 15 11:21:48.423 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:118:5 Oct 15 11:21:48.423 INFO kablam! | Oct 15 11:21:48.423 INFO kablam! 118 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 15 11:21:48.423 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.423 INFO kablam! Oct 15 11:21:48.423 INFO kablam! warning: method is never used: `get_attacks` Oct 15 11:21:48.423 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:146:5 Oct 15 11:21:48.423 INFO kablam! | Oct 15 11:21:48.423 INFO kablam! 146 | pub fn get_attacks(&self) -> ReducedAttacks { Oct 15 11:21:48.423 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.423 INFO kablam! Oct 15 11:21:48.423 INFO kablam! warning: variant is never constructed: `Unaware` Oct 15 11:21:48.423 INFO kablam! --> src/game/factions.rs:20:5 Oct 15 11:21:48.423 INFO kablam! | Oct 15 11:21:48.423 INFO kablam! 20 | Unaware, Oct 15 11:21:48.423 INFO kablam! | ^^^^^^^ Oct 15 11:21:48.423 INFO kablam! Oct 15 11:21:48.423 INFO kablam! warning: variant is never constructed: `Neutral` Oct 15 11:21:48.423 INFO kablam! --> src/game/factions.rs:22:5 Oct 15 11:21:48.423 INFO kablam! | Oct 15 11:21:48.423 INFO kablam! 22 | Neutral, Oct 15 11:21:48.423 INFO kablam! | ^^^^^^^ Oct 15 11:21:48.423 INFO kablam! Oct 15 11:21:48.423 INFO kablam! warning: variant is never constructed: `Friendly` Oct 15 11:21:48.423 INFO kablam! --> src/game/factions.rs:24:5 Oct 15 11:21:48.423 INFO kablam! | Oct 15 11:21:48.423 INFO kablam! 24 | Friendly, Oct 15 11:21:48.423 INFO kablam! | ^^^^^^^^ Oct 15 11:21:48.423 INFO kablam! Oct 15 11:21:48.423 INFO kablam! warning: variant is never constructed: `Enemy` Oct 15 11:21:48.423 INFO kablam! --> src/game/factions.rs:26:5 Oct 15 11:21:48.423 INFO kablam! | Oct 15 11:21:48.423 INFO kablam! 26 | Enemy Oct 15 11:21:48.423 INFO kablam! | ^^^^^ Oct 15 11:21:48.423 INFO kablam! Oct 15 11:21:48.423 INFO kablam! warning: method is never used: `from_parts` Oct 15 11:21:48.423 INFO kablam! --> src/game/factions.rs:41:5 Oct 15 11:21:48.423 INFO kablam! | Oct 15 11:21:48.423 INFO kablam! 41 | pub unsafe fn from_parts(first: Faction, second: Faction) -> FactionPair { Oct 15 11:21:48.423 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.423 INFO kablam! Oct 15 11:21:48.423 INFO kablam! warning: method is never used: `new` Oct 15 11:21:48.423 INFO kablam! --> src/game/factions.rs:50:5 Oct 15 11:21:48.423 INFO kablam! | Oct 15 11:21:48.423 INFO kablam! 50 | pub fn new(first: Faction, second: Faction) -> Option { Oct 15 11:21:48.423 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.423 INFO kablam! Oct 15 11:21:48.423 INFO kablam! warning: function is never used: `get_game_factions` Oct 15 11:21:48.423 INFO kablam! --> src/game/factions.rs:97:1 Oct 15 11:21:48.423 INFO kablam! | Oct 15 11:21:48.423 INFO kablam! 97 | pub fn get_game_factions() -> &'static mut (Vec, HashMap) { Oct 15 11:21:48.423 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:48.423 INFO kablam! Oct 15 11:21:49.927 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 10.12s Oct 15 11:21:49.930 INFO kablam! su: No module specific data is present Oct 15 11:21:50.458 INFO running `"docker" "rm" "-f" "895b233c47a5c5fabca0dd0d569498728a11ad0eacd489a4f94628c770a86e46"` Oct 15 11:21:50.791 INFO blam! 895b233c47a5c5fabca0dd0d569498728a11ad0eacd489a4f94628c770a86e46 Oct 15 11:21:50.793 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/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 +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run" "-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 15 11:21:51.213 INFO blam! 43ac1f86fc6ac876435875940d7cf962b87903e98d8e96edd2398869de059967 Oct 15 11:21:51.219 INFO running `"docker" "start" "-a" "43ac1f86fc6ac876435875940d7cf962b87903e98d8e96edd2398869de059967"` Oct 15 11:21:52.275 INFO kablam! usermod: no changes Oct 15 11:21:52.347 INFO kablam! Compiling the_brass v0.2.0 (/source) Oct 15 11:21:53.393 INFO kablam! warning: variant is never constructed: `FuelError` Oct 15 11:21:53.393 INFO kablam! --> src/game/combat/ships/ship_error.rs:11:5 Oct 15 11:21:53.393 INFO kablam! | Oct 15 11:21:53.393 INFO kablam! 11 | FuelError, Oct 15 11:21:53.393 INFO kablam! | ^^^^^^^^^ Oct 15 11:21:53.393 INFO kablam! | Oct 15 11:21:53.393 INFO kablam! = note: #[warn(dead_code)] on by default Oct 15 11:21:53.393 INFO kablam! Oct 15 11:21:53.393 INFO kablam! warning: variant is never constructed: `ShieldError` Oct 15 11:21:53.393 INFO kablam! --> src/game/combat/ships/ship_error.rs:12:5 Oct 15 11:21:53.393 INFO kablam! | Oct 15 11:21:53.393 INFO kablam! 12 | ShieldError, Oct 15 11:21:53.393 INFO kablam! | ^^^^^^^^^^^ Oct 15 11:21:53.393 INFO kablam! Oct 15 11:21:53.393 INFO kablam! warning: variant is never constructed: `HullError` Oct 15 11:21:53.393 INFO kablam! --> src/game/combat/ships/ship_error.rs:13:5 Oct 15 11:21:53.393 INFO kablam! | Oct 15 11:21:53.393 INFO kablam! 13 | HullError Oct 15 11:21:53.393 INFO kablam! | ^^^^^^^^^ Oct 15 11:21:53.393 INFO kablam! Oct 15 11:21:53.393 INFO kablam! warning: method is never used: `new` Oct 15 11:21:53.393 INFO kablam! --> src/game/combat/ships/attacks.rs:31:5 Oct 15 11:21:53.393 INFO kablam! | Oct 15 11:21:53.393 INFO kablam! 31 | pub fn new(attack: Attack, smallest_target: ShipSize) -> Self { Oct 15 11:21:53.393 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.393 INFO kablam! Oct 15 11:21:53.393 INFO kablam! warning: method is never used: `valid_target` Oct 15 11:21:53.393 INFO kablam! --> src/game/combat/ships/attacks.rs:43:5 Oct 15 11:21:53.393 INFO kablam! | Oct 15 11:21:53.393 INFO kablam! 43 | pub fn valid_target(&self, target_size: ShipSize) -> bool { Oct 15 11:21:53.393 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.393 INFO kablam! Oct 15 11:21:53.393 INFO kablam! warning: method is never used: `same_target` Oct 15 11:21:53.393 INFO kablam! --> src/game/combat/ships/attacks.rs:52:5 Oct 15 11:21:53.393 INFO kablam! | Oct 15 11:21:53.393 INFO kablam! 52 | pub fn same_target(&self, other: &Self) -> bool { Oct 15 11:21:53.393 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.393 INFO kablam! Oct 15 11:21:53.393 INFO kablam! warning: method is never used: `new` Oct 15 11:21:53.393 INFO kablam! --> src/game/combat/ships/attacks.rs:94:5 Oct 15 11:21:53.393 INFO kablam! | Oct 15 11:21:53.393 INFO kablam! 94 | pub fn new(parralel_attacks: UInt, damage_per_attack: DamagePoint) -> Self { Oct 15 11:21:53.393 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.393 INFO kablam! Oct 15 11:21:53.393 INFO kablam! warning: method is never used: `merge` Oct 15 11:21:53.393 INFO kablam! --> src/game/combat/ships/attacks.rs:106:5 Oct 15 11:21:53.393 INFO kablam! | Oct 15 11:21:53.393 INFO kablam! 106 | pub fn merge(&mut self, other: Self) -> Option { Oct 15 11:21:53.393 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.393 INFO kablam! Oct 15 11:21:53.393 INFO kablam! warning: method is never used: `sum_damage` Oct 15 11:21:53.393 INFO kablam! --> src/game/combat/ships/attacks.rs:118:5 Oct 15 11:21:53.393 INFO kablam! | Oct 15 11:21:53.393 INFO kablam! 118 | pub fn sum_damage(&self) -> DamagePoint { Oct 15 11:21:53.393 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.393 INFO kablam! Oct 15 11:21:53.393 INFO kablam! warning: method is never used: `same_damage` Oct 15 11:21:53.393 INFO kablam! --> src/game/combat/ships/attacks.rs:122:5 Oct 15 11:21:53.393 INFO kablam! | Oct 15 11:21:53.393 INFO kablam! 122 | pub fn same_damage(&self, other: &Self) -> bool { Oct 15 11:21:53.393 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.393 INFO kablam! Oct 15 11:21:53.393 INFO kablam! warning: method is never used: `from_parts` Oct 15 11:21:53.393 INFO kablam! --> src/game/combat/ships/attacks.rs:141:5 Oct 15 11:21:53.393 INFO kablam! | Oct 15 11:21:53.393 INFO kablam! 141 | pub unsafe fn from_parts(attacks: Vec) -> Self { Oct 15 11:21:53.393 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.393 INFO kablam! Oct 15 11:21:53.396 INFO kablam! warning: method is never used: `new` Oct 15 11:21:53.397 INFO kablam! --> src/game/combat/ships/attacks.rs:153:5 Oct 15 11:21:53.397 INFO kablam! | Oct 15 11:21:53.397 INFO kablam! 153 | pub fn new(mut attacks: Vec) -> Self { Oct 15 11:21:53.397 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.397 INFO kablam! Oct 15 11:21:53.397 INFO kablam! warning: method is never used: `add_attack` Oct 15 11:21:53.397 INFO kablam! --> src/game/combat/ships/attacks.rs:179:5 Oct 15 11:21:53.397 INFO kablam! | Oct 15 11:21:53.397 INFO kablam! 179 | pub fn add_attack(&mut self, attack: TargetedAttack) { Oct 15 11:21:53.397 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.397 INFO kablam! Oct 15 11:21:53.397 INFO kablam! warning: method is never used: `add_attacks` Oct 15 11:21:53.397 INFO kablam! --> src/game/combat/ships/attacks.rs:196:5 Oct 15 11:21:53.397 INFO kablam! | Oct 15 11:21:53.397 INFO kablam! 196 | pub fn add_attacks(&mut self, attacks: &[TargetedAttack]) { Oct 15 11:21:53.397 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.397 INFO kablam! Oct 15 11:21:53.397 INFO kablam! warning: method is never used: `iter` Oct 15 11:21:53.397 INFO kablam! --> src/game/combat/ships/attacks.rs:200:5 Oct 15 11:21:53.397 INFO kablam! | Oct 15 11:21:53.397 INFO kablam! 200 | pub fn iter(&self) -> ::std::slice::Iter { Oct 15 11:21:53.397 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.397 INFO kablam! Oct 15 11:21:53.397 INFO kablam! warning: method is never used: `iter_mut` Oct 15 11:21:53.397 INFO kablam! --> src/game/combat/ships/attacks.rs:204:5 Oct 15 11:21:53.397 INFO kablam! | Oct 15 11:21:53.397 INFO kablam! 204 | pub fn iter_mut(&mut self) -> ::std::slice::IterMut { Oct 15 11:21:53.397 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.397 INFO kablam! Oct 15 11:21:53.397 INFO kablam! warning: method is never used: `clear_used_attacks` Oct 15 11:21:53.397 INFO kablam! --> src/game/combat/ships/attacks.rs:208:5 Oct 15 11:21:53.397 INFO kablam! | Oct 15 11:21:53.397 INFO kablam! 208 | pub fn clear_used_attacks(&mut self) { Oct 15 11:21:53.397 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.398 INFO kablam! Oct 15 11:21:53.398 INFO kablam! warning: method is never used: `from_parts` Oct 15 11:21:53.398 INFO kablam! --> src/game/combat/ships/ship_template.rs:57:5 Oct 15 11:21:53.398 INFO kablam! | Oct 15 11:21:53.398 INFO kablam! 57 | / pub unsafe fn from_parts(ship_size_class: ShipSize, fuel_capacity: UInt, Oct 15 11:21:53.398 INFO kablam! 58 | | fuel_use: UInt, max_hull: UInt, shield_capacity: UInt, shield_recovery: UInt, Oct 15 11:21:53.398 INFO kablam! 59 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Self { Oct 15 11:21:53.398 INFO kablam! 60 | | Self { Oct 15 11:21:53.398 INFO kablam! ... | Oct 15 11:21:53.398 INFO kablam! 69 | | } Oct 15 11:21:53.398 INFO kablam! 70 | | } Oct 15 11:21:53.398 INFO kablam! | |_____^ Oct 15 11:21:53.398 INFO kablam! Oct 15 11:21:53.398 INFO kablam! warning: method is never used: `new` Oct 15 11:21:53.398 INFO kablam! --> src/game/combat/ships/ship_template.rs:81:5 Oct 15 11:21:53.398 INFO kablam! | Oct 15 11:21:53.398 INFO kablam! 81 | / pub fn new(ship_size_class: ShipSize, fuel_capacity: UInt, fuel_use: UInt, Oct 15 11:21:53.398 INFO kablam! 82 | | hull_points: UInt, shield_points: UInt, shield_recovery: UInt, Oct 15 11:21:53.398 INFO kablam! 83 | | cargo_capacity: Mass, attacks: ReducedAttacks) -> Result { Oct 15 11:21:53.398 INFO kablam! 84 | | //Check that fuel use is not greater than fuel capacity. Oct 15 11:21:53.398 INFO kablam! ... | Oct 15 11:21:53.398 INFO kablam! 106 | | } Oct 15 11:21:53.398 INFO kablam! 107 | | } Oct 15 11:21:53.398 INFO kablam! | |_____^ Oct 15 11:21:53.398 INFO kablam! Oct 15 11:21:53.398 INFO kablam! warning: method is never used: `set_fuel_capacity` Oct 15 11:21:53.398 INFO kablam! --> src/game/combat/ships/ship_template.rs:121:5 Oct 15 11:21:53.398 INFO kablam! | Oct 15 11:21:53.398 INFO kablam! 121 | pub fn set_fuel_capacity(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 15 11:21:53.398 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.398 INFO kablam! Oct 15 11:21:53.398 INFO kablam! warning: method is never used: `get_fuel_use` Oct 15 11:21:53.398 INFO kablam! --> src/game/combat/ships/ship_template.rs:129:5 Oct 15 11:21:53.398 INFO kablam! | Oct 15 11:21:53.398 INFO kablam! 129 | pub fn get_fuel_use(&self) -> FuelUnit { Oct 15 11:21:53.398 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.398 INFO kablam! Oct 15 11:21:53.398 INFO kablam! warning: method is never used: `set_fuel_use` Oct 15 11:21:53.398 INFO kablam! --> src/game/combat/ships/ship_template.rs:141:5 Oct 15 11:21:53.398 INFO kablam! | Oct 15 11:21:53.398 INFO kablam! 141 | pub fn set_fuel_use(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 15 11:21:53.398 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.398 INFO kablam! Oct 15 11:21:53.398 INFO kablam! warning: method is never used: `set_shield_capacity` Oct 15 11:21:53.398 INFO kablam! --> src/game/combat/ships/ship_template.rs:161:5 Oct 15 11:21:53.398 INFO kablam! | Oct 15 11:21:53.398 INFO kablam! 161 | pub fn set_shield_capacity(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 15 11:21:53.398 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.398 INFO kablam! Oct 15 11:21:53.398 INFO kablam! warning: method is never used: `get_shield_recovery` Oct 15 11:21:53.398 INFO kablam! --> src/game/combat/ships/ship_template.rs:169:5 Oct 15 11:21:53.398 INFO kablam! | Oct 15 11:21:53.398 INFO kablam! 169 | pub fn get_shield_recovery(&self) -> ShieldPoint { Oct 15 11:21:53.398 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.398 INFO kablam! Oct 15 11:21:53.398 INFO kablam! warning: method is never used: `set_shield_recovery` Oct 15 11:21:53.398 INFO kablam! --> src/game/combat/ships/ship_template.rs:181:5 Oct 15 11:21:53.398 INFO kablam! | Oct 15 11:21:53.398 INFO kablam! 181 | pub fn set_shield_recovery(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 15 11:21:53.398 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.398 INFO kablam! Oct 15 11:21:53.398 INFO kablam! warning: method is never used: `can_target` Oct 15 11:21:53.398 INFO kablam! --> src/game/combat/ships/ship_template.rs:193:5 Oct 15 11:21:53.398 INFO kablam! | Oct 15 11:21:53.398 INFO kablam! 193 | pub fn can_target(&self, target: &Self) -> bool { Oct 15 11:21:53.398 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.398 INFO kablam! Oct 15 11:21:53.398 INFO kablam! warning: method is never used: `loaded` Oct 15 11:21:53.398 INFO kablam! --> src/game/combat/ships/ship_template.rs:267:5 Oct 15 11:21:53.398 INFO kablam! | Oct 15 11:21:53.398 INFO kablam! 267 | pub fn loaded(&self) -> usize { Oct 15 11:21:53.398 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.398 INFO kablam! Oct 15 11:21:53.398 INFO kablam! warning: method is never used: `unload_overflow` Oct 15 11:21:53.398 INFO kablam! --> src/game/combat/ships/ship_template.rs:271:5 Oct 15 11:21:53.398 INFO kablam! | Oct 15 11:21:53.398 INFO kablam! 271 | pub fn unload_overflow(&mut self) { Oct 15 11:21:53.398 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.398 INFO kablam! Oct 15 11:21:53.398 INFO kablam! warning: method is never used: `unload` Oct 15 11:21:53.399 INFO kablam! --> src/game/combat/ships/ship_template.rs:301:5 Oct 15 11:21:53.399 INFO kablam! | Oct 15 11:21:53.399 INFO kablam! 301 | pub fn unload(&mut self, name: &String) -> bool { Oct 15 11:21:53.399 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.399 INFO kablam! Oct 15 11:21:53.399 INFO kablam! warning: method is never used: `new` Oct 15 11:21:53.399 INFO kablam! --> src/game/combat/ships/ship.rs:54:5 Oct 15 11:21:53.399 INFO kablam! | Oct 15 11:21:53.399 INFO kablam! 54 | / pub fn new(template: Rc, fuel_units: FuelUnit, Oct 15 11:21:53.399 INFO kablam! 55 | | hull_points: HullPoint, shield_points: ShieldPoint) -> Result { Oct 15 11:21:53.399 INFO kablam! 56 | | //Check that fuel is not greater than fuel capacity. Oct 15 11:21:53.399 INFO kablam! 57 | | if fuel_units > template.get_fuel_capacity() { Oct 15 11:21:53.399 INFO kablam! ... | Oct 15 11:21:53.399 INFO kablam! 77 | | } Oct 15 11:21:53.399 INFO kablam! 78 | | } Oct 15 11:21:53.399 INFO kablam! | |_____^ Oct 15 11:21:53.399 INFO kablam! Oct 15 11:21:53.399 INFO kablam! warning: method is never used: `set_template` Oct 15 11:21:53.399 INFO kablam! --> src/game/combat/ships/ship.rs:91:5 Oct 15 11:21:53.399 INFO kablam! | Oct 15 11:21:53.399 INFO kablam! 91 | pub fn set_template(&mut self, val: Rc) -> Result<(), ShipError> { Oct 15 11:21:53.399 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.399 INFO kablam! Oct 15 11:21:53.399 INFO kablam! warning: method is never used: `get_fuel_units` Oct 15 11:21:53.399 INFO kablam! --> src/game/combat/ships/ship.rs:107:5 Oct 15 11:21:53.399 INFO kablam! | Oct 15 11:21:53.399 INFO kablam! 107 | pub fn get_fuel_units(&self) -> FuelUnit { Oct 15 11:21:53.399 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.399 INFO kablam! Oct 15 11:21:53.399 INFO kablam! warning: method is never used: `set_fuel_units` Oct 15 11:21:53.399 INFO kablam! --> src/game/combat/ships/ship.rs:119:5 Oct 15 11:21:53.399 INFO kablam! | Oct 15 11:21:53.399 INFO kablam! 119 | pub fn set_fuel_units(&mut self, val: FuelUnit) -> Result<(), ShipError> { Oct 15 11:21:53.399 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.399 INFO kablam! Oct 15 11:21:53.399 INFO kablam! warning: method is never used: `get_hull_points` Oct 15 11:21:53.399 INFO kablam! --> src/game/combat/ships/ship.rs:127:5 Oct 15 11:21:53.399 INFO kablam! | Oct 15 11:21:53.399 INFO kablam! 127 | pub fn get_hull_points(&self) -> HullPoint { Oct 15 11:21:53.399 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.399 INFO kablam! Oct 15 11:21:53.399 INFO kablam! warning: method is never used: `set_hull_points` Oct 15 11:21:53.399 INFO kablam! --> src/game/combat/ships/ship.rs:139:5 Oct 15 11:21:53.399 INFO kablam! | Oct 15 11:21:53.399 INFO kablam! 139 | pub fn set_hull_points(&mut self, val: HullPoint) -> Result<(), ShipError> { Oct 15 11:21:53.399 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.399 INFO kablam! Oct 15 11:21:53.399 INFO kablam! warning: method is never used: `get_shield_points` Oct 15 11:21:53.399 INFO kablam! --> src/game/combat/ships/ship.rs:147:5 Oct 15 11:21:53.399 INFO kablam! | Oct 15 11:21:53.399 INFO kablam! 147 | pub fn get_shield_points(&self) -> ShieldPoint { Oct 15 11:21:53.399 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: method is never used: `set_shield_points` Oct 15 11:21:53.400 INFO kablam! --> src/game/combat/ships/ship.rs:159:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 159 | pub fn set_shield_points(&mut self, val: ShieldPoint) -> Result<(), ShipError> { Oct 15 11:21:53.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: method is never used: `is_alive` Oct 15 11:21:53.400 INFO kablam! --> src/game/combat/ships/ship.rs:167:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 167 | pub fn is_alive(&self) -> bool { Oct 15 11:21:53.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: method is never used: `regenerate_shields` Oct 15 11:21:53.400 INFO kablam! --> src/game/combat/ships/ship.rs:172:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 172 | pub fn regenerate_shields(&mut self) { Oct 15 11:21:53.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: method is never used: `simulate_damage` Oct 15 11:21:53.400 INFO kablam! --> src/game/combat/ships/ship.rs:185:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 185 | pub fn simulate_damage(&mut self, mut damage: DamagePoint) -> (HullPoint, ShieldPoint, DamagePoint) { Oct 15 11:21:53.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: method is never used: `resolve_damage` Oct 15 11:21:53.400 INFO kablam! --> src/game/combat/ships/ship.rs:211:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 211 | pub fn resolve_damage(&mut self, damage: DamagePoint) -> DamagePoint { Oct 15 11:21:53.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: method is never used: `resolve_attacks` Oct 15 11:21:53.400 INFO kablam! --> src/game/combat/ships/ship.rs:228:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 228 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 15 11:21:53.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: method is never used: `is_alive` Oct 15 11:21:53.400 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:39:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 39 | pub fn is_alive(&self) -> bool { Oct 15 11:21:53.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: method is never used: `regenerate_shields` Oct 15 11:21:53.400 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:43:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 43 | pub fn regenerate_shields(&mut self) { Oct 15 11:21:53.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: method is never used: `resolve_damage` Oct 15 11:21:53.400 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:52:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 52 | pub fn resolve_damage(&mut self, mut damage: DamagePoint) -> DamagePoint { Oct 15 11:21:53.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: method is never used: `resolve_attacks` Oct 15 11:21:53.400 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:118:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 118 | pub fn resolve_attacks(&mut self, attacks: &mut ReducedAttacks) { Oct 15 11:21:53.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: method is never used: `get_attacks` Oct 15 11:21:53.400 INFO kablam! --> src/game/combat/ships/reduced_ship.rs:146:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 146 | pub fn get_attacks(&self) -> ReducedAttacks { Oct 15 11:21:53.400 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: variant is never constructed: `Unaware` Oct 15 11:21:53.400 INFO kablam! --> src/game/factions.rs:20:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 20 | Unaware, Oct 15 11:21:53.400 INFO kablam! | ^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: variant is never constructed: `Neutral` Oct 15 11:21:53.400 INFO kablam! --> src/game/factions.rs:22:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 22 | Neutral, Oct 15 11:21:53.400 INFO kablam! | ^^^^^^^ Oct 15 11:21:53.400 INFO kablam! Oct 15 11:21:53.400 INFO kablam! warning: variant is never constructed: `Friendly` Oct 15 11:21:53.400 INFO kablam! --> src/game/factions.rs:24:5 Oct 15 11:21:53.400 INFO kablam! | Oct 15 11:21:53.400 INFO kablam! 24 | Friendly, Oct 15 11:21:53.401 INFO kablam! | ^^^^^^^^ Oct 15 11:21:53.401 INFO kablam! Oct 15 11:21:53.401 INFO kablam! warning: variant is never constructed: `Enemy` Oct 15 11:21:53.401 INFO kablam! --> src/game/factions.rs:26:5 Oct 15 11:21:53.401 INFO kablam! | Oct 15 11:21:53.401 INFO kablam! 26 | Enemy Oct 15 11:21:53.401 INFO kablam! | ^^^^^ Oct 15 11:21:53.401 INFO kablam! Oct 15 11:21:53.401 INFO kablam! warning: function is never used: `get_game_factions` Oct 15 11:21:53.401 INFO kablam! --> src/game/factions.rs:97:1 Oct 15 11:21:53.401 INFO kablam! | Oct 15 11:21:53.401 INFO kablam! 97 | pub fn get_game_factions() -> &'static mut (Vec, HashMap) { Oct 15 11:21:53.401 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 15 11:21:53.401 INFO kablam! Oct 15 11:21:54.039 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.75s Oct 15 11:21:54.043 INFO kablam! su: No module specific data is present Oct 15 11:21:54.730 INFO running `"docker" "rm" "-f" "43ac1f86fc6ac876435875940d7cf962b87903e98d8e96edd2398869de059967"` Oct 15 11:21:55.012 INFO blam! 43ac1f86fc6ac876435875940d7cf962b87903e98d8e96edd2398869de059967 Oct 15 11:21:55.027 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling-1/worker-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-1/rustdoc-test-static-cling-1/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/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 +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen" "-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 15 11:21:55.595 INFO blam! 6ef112291f6f6b68ec16b337a296f9879a6baf3abab377c5011191ed5987afcf Oct 15 11:21:55.597 INFO running `"docker" "start" "-a" "6ef112291f6f6b68ec16b337a296f9879a6baf3abab377c5011191ed5987afcf"` Oct 15 11:21:57.237 INFO kablam! usermod: no changes Oct 15 11:21:57.331 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.05s Oct 15 11:21:57.343 INFO kablam! Running /target/debug/deps/the_brass-5df51904cca5a76b Oct 15 11:21:57.347 INFO kablam! su: No module specific data is present Oct 15 11:21:57.347 INFO blam! Oct 15 11:21:57.347 INFO blam! running 1 test Oct 15 11:21:57.347 INFO blam! test game::factions::tests::test_faction_pair ... ok Oct 15 11:21:57.347 INFO blam! Oct 15 11:21:57.347 INFO blam! test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 15 11:21:57.347 INFO blam! Oct 15 11:21:57.923 INFO running `"docker" "rm" "-f" "6ef112291f6f6b68ec16b337a296f9879a6baf3abab377c5011191ed5987afcf"` Oct 15 11:21:58.151 INFO blam! 6ef112291f6f6b68ec16b337a296f9879a6baf3abab377c5011191ed5987afcf