Oct 10 20:49:00.027 INFO testing johnkoehn/econ-sim against master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513 for rustdoc-test-static-cling Oct 10 20:49:00.027 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt build --frozen Oct 10 20:49:00.027 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-7/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 10 20:49:00.235 INFO blam! f3a16366c8fde92728738223313944e105f350b949b51eeec7b05cfa1c1fdf29 Oct 10 20:49:00.237 INFO running `"docker" "start" "-a" "f3a16366c8fde92728738223313944e105f350b949b51eeec7b05cfa1c1fdf29"` Oct 10 20:49:00.754 INFO kablam! usermod: no changes Oct 10 20:49:00.784 INFO kablam! Compiling econ-sim v0.1.0 (/source) Oct 10 20:49:01.364 INFO kablam! warning: struct is never constructed: `VillageManager` Oct 10 20:49:01.364 INFO kablam! --> src/simulation/village_manager.rs:4:1 Oct 10 20:49:01.364 INFO kablam! | Oct 10 20:49:01.364 INFO kablam! 4 | pub struct VillageManager { Oct 10 20:49:01.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.364 INFO kablam! | Oct 10 20:49:01.364 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 20:49:01.364 INFO kablam! Oct 10 20:49:01.364 INFO kablam! warning: variant is never constructed: `Upward` Oct 10 20:49:01.364 INFO kablam! --> src/simulation/mod.rs:14:5 Oct 10 20:49:01.364 INFO kablam! | Oct 10 20:49:01.364 INFO kablam! 14 | Upward, Oct 10 20:49:01.364 INFO kablam! | ^^^^^^ Oct 10 20:49:01.364 INFO kablam! Oct 10 20:49:01.364 INFO kablam! warning: variant is never constructed: `Downward` Oct 10 20:49:01.364 INFO kablam! --> src/simulation/mod.rs:15:5 Oct 10 20:49:01.364 INFO kablam! | Oct 10 20:49:01.364 INFO kablam! 15 | Downward, Oct 10 20:49:01.364 INFO kablam! | ^^^^^^^^ Oct 10 20:49:01.364 INFO kablam! Oct 10 20:49:01.364 INFO kablam! warning: variant is never constructed: `Equilibrium` Oct 10 20:49:01.364 INFO kablam! --> src/simulation/mod.rs:16:5 Oct 10 20:49:01.364 INFO kablam! | Oct 10 20:49:01.364 INFO kablam! 16 | Equilibrium, Oct 10 20:49:01.364 INFO kablam! | ^^^^^^^^^^^ Oct 10 20:49:01.364 INFO kablam! Oct 10 20:49:01.364 INFO kablam! warning: struct is never constructed: `Simulation` Oct 10 20:49:01.364 INFO kablam! --> src/simulation/mod.rs:19:1 Oct 10 20:49:01.364 INFO kablam! | Oct 10 20:49:01.364 INFO kablam! 19 | pub struct Simulation { Oct 10 20:49:01.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.364 INFO kablam! Oct 10 20:49:01.364 INFO kablam! warning: method is never used: `new` Oct 10 20:49:01.364 INFO kablam! --> src/simulation/mod.rs:26:5 Oct 10 20:49:01.364 INFO kablam! | Oct 10 20:49:01.364 INFO kablam! 26 | pub fn new() -> Simulation { Oct 10 20:49:01.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.364 INFO kablam! Oct 10 20:49:01.364 INFO kablam! warning: method is never used: `add_village` Oct 10 20:49:01.364 INFO kablam! --> src/simulation/mod.rs:44:5 Oct 10 20:49:01.364 INFO kablam! | Oct 10 20:49:01.364 INFO kablam! 44 | pub fn add_village(&mut self, village: Village) { Oct 10 20:49:01.364 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.364 INFO kablam! Oct 10 20:49:01.364 INFO kablam! warning: method is never used: `village_managers` Oct 10 20:49:01.364 INFO kablam! --> src/simulation/mod.rs:54:5 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 54 | pub fn village_managers(&self) -> &Vec { Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: method is never used: `simulate` Oct 10 20:49:01.365 INFO kablam! --> src/simulation/mod.rs:58:5 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 58 | pub fn simulate(&mut self) { Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: method is never used: `handle_trades` Oct 10 20:49:01.365 INFO kablam! --> src/simulation/mod.rs:87:5 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 87 | pub fn handle_trades(&mut self, trade_requests: &mut Vec) { Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: variant is never constructed: `Gold` Oct 10 20:49:01.365 INFO kablam! --> src/village/resource.rs:6:5 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 6 | Gold, Oct 10 20:49:01.365 INFO kablam! | ^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: variant is never constructed: `Food` Oct 10 20:49:01.365 INFO kablam! --> src/village/resource.rs:7:5 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 7 | Food, Oct 10 20:49:01.365 INFO kablam! | ^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: variant is never constructed: `Wood` Oct 10 20:49:01.365 INFO kablam! --> src/village/resource.rs:8:5 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 8 | Wood, Oct 10 20:49:01.365 INFO kablam! | ^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: variant is never constructed: `Stone` Oct 10 20:49:01.365 INFO kablam! --> src/village/resource.rs:9:5 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 9 | Stone, Oct 10 20:49:01.365 INFO kablam! | ^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: method is never used: `iterator` Oct 10 20:49:01.365 INFO kablam! --> src/village/resource.rs:13:5 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 13 | pub fn iterator() -> Iter<'static, ResourceType> { Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: static item is never used: `RESOURCE_TYPES` Oct 10 20:49:01.365 INFO kablam! --> src/village/resource.rs:14:9 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 14 | static RESOURCE_TYPES: [ResourceType; 4] = [Gold, Food, Wood, Stone]; Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: type alias is never used: `ResourceId` Oct 10 20:49:01.365 INFO kablam! --> src/village/resource.rs:19:1 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 19 | pub type ResourceId = u32; Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: type alias is never used: `CollectResource` Oct 10 20:49:01.365 INFO kablam! --> src/village/resource.rs:20:1 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 20 | pub type CollectResource = fn(worker_power : u32) -> f64; Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: struct is never constructed: `Resource` Oct 10 20:49:01.365 INFO kablam! --> src/village/resource.rs:22:1 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 22 | pub struct Resource { Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: method is never used: `new` Oct 10 20:49:01.365 INFO kablam! --> src/village/resource.rs:29:5 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 29 | pub fn new(resource_type : ResourceType, resource_id : ResourceId, collect_resource : CollectResource) -> Resource { Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: type alias is never used: `WorkerId` Oct 10 20:49:01.365 INFO kablam! --> src/village/worker.rs:1:1 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 1 | pub type WorkerId = u32; Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: struct is never constructed: `Worker` Oct 10 20:49:01.365 INFO kablam! --> src/village/worker.rs:3:1 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 3 | pub struct Worker { Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: method is never used: `new` Oct 10 20:49:01.365 INFO kablam! --> src/village/worker.rs:12:5 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 12 | pub fn new(worker_id: WorkerId, power: u32) -> Worker { Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: type alias is never used: `VillageRef` Oct 10 20:49:01.365 INFO kablam! --> src/village/mod.rs:10:1 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 10 | pub type VillageRef = Rc>; Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: type alias is never used: `CheckForWorkerDeath` Oct 10 20:49:01.365 INFO kablam! --> src/village/mod.rs:12:1 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 12 | pub type CheckForWorkerDeath = fn(&Worker) -> bool; Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: struct is never constructed: `Village` Oct 10 20:49:01.365 INFO kablam! --> src/village/mod.rs:14:1 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 14 | pub struct Village { Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: method is never used: `new` Oct 10 20:49:01.365 INFO kablam! --> src/village/mod.rs:26:5 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 26 | pub fn new(check_for_worker_death: CheckForWorkerDeath) -> Village { Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: method is never used: `create_worker` Oct 10 20:49:01.365 INFO kablam! --> src/village/mod.rs:47:5 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 47 | pub fn create_worker(&mut self, power: u32) -> WorkerId { Oct 10 20:49:01.365 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.365 INFO kablam! Oct 10 20:49:01.365 INFO kablam! warning: method is never used: `create_resource` Oct 10 20:49:01.365 INFO kablam! --> src/village/mod.rs:57:5 Oct 10 20:49:01.365 INFO kablam! | Oct 10 20:49:01.365 INFO kablam! 57 | pub fn create_resource(&mut self, resource_type: ResourceType, collect_resource: CollectResource) -> ResourceId { Oct 10 20:49:01.366 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.366 INFO kablam! Oct 10 20:49:01.366 INFO kablam! warning: method is never used: `assign_worker` Oct 10 20:49:01.366 INFO kablam! --> src/village/mod.rs:71:5 Oct 10 20:49:01.366 INFO kablam! | Oct 10 20:49:01.366 INFO kablam! 71 | pub fn assign_worker(&mut self, worker_id: WorkerId, resource_id: ResourceId) -> Result<(), &'static str> { Oct 10 20:49:01.366 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.366 INFO kablam! Oct 10 20:49:01.366 INFO kablam! warning: method is never used: `resource` Oct 10 20:49:01.366 INFO kablam! --> src/village/mod.rs:87:5 Oct 10 20:49:01.366 INFO kablam! | Oct 10 20:49:01.366 INFO kablam! 87 | pub fn resource(&self, resource_id: ResourceId) -> Option<&Resource> { Oct 10 20:49:01.366 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.366 INFO kablam! Oct 10 20:49:01.373 INFO kablam! warning: method is never used: `resources_of_type` Oct 10 20:49:01.373 INFO kablam! --> src/village/mod.rs:91:5 Oct 10 20:49:01.373 INFO kablam! | Oct 10 20:49:01.373 INFO kablam! 91 | pub fn resources_of_type(&self, resource_type: ResourceType) -> Vec<&Resource> { Oct 10 20:49:01.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.373 INFO kablam! Oct 10 20:49:01.373 INFO kablam! warning: method is never used: `resources` Oct 10 20:49:01.373 INFO kablam! --> src/village/mod.rs:97:5 Oct 10 20:49:01.373 INFO kablam! | Oct 10 20:49:01.373 INFO kablam! 97 | pub fn resources(&self) -> &Vec { Oct 10 20:49:01.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.373 INFO kablam! Oct 10 20:49:01.373 INFO kablam! warning: method is never used: `idle_worker_count` Oct 10 20:49:01.373 INFO kablam! --> src/village/mod.rs:101:5 Oct 10 20:49:01.373 INFO kablam! | Oct 10 20:49:01.373 INFO kablam! 101 | pub fn idle_worker_count(&self) -> u32 { Oct 10 20:49:01.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.373 INFO kablam! Oct 10 20:49:01.373 INFO kablam! warning: method is never used: `worker` Oct 10 20:49:01.373 INFO kablam! --> src/village/mod.rs:105:5 Oct 10 20:49:01.373 INFO kablam! | Oct 10 20:49:01.373 INFO kablam! 105 | pub fn worker(&self, worker_id: WorkerId) -> Option<&Worker> { Oct 10 20:49:01.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.373 INFO kablam! Oct 10 20:49:01.373 INFO kablam! warning: method is never used: `workers_on_resource` Oct 10 20:49:01.373 INFO kablam! --> src/village/mod.rs:109:5 Oct 10 20:49:01.373 INFO kablam! | Oct 10 20:49:01.373 INFO kablam! 109 | pub fn workers_on_resource(&self, resource_id: u32) -> Vec<&Worker> { Oct 10 20:49:01.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.373 INFO kablam! Oct 10 20:49:01.373 INFO kablam! warning: method is never used: `power_on_resource` Oct 10 20:49:01.373 INFO kablam! --> src/village/mod.rs:113:5 Oct 10 20:49:01.373 INFO kablam! | Oct 10 20:49:01.373 INFO kablam! 113 | pub fn power_on_resource(&self, resource_id: u32) -> u32 { Oct 10 20:49:01.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.373 INFO kablam! Oct 10 20:49:01.373 INFO kablam! warning: method is never used: `simulate` Oct 10 20:49:01.373 INFO kablam! --> src/village/mod.rs:121:5 Oct 10 20:49:01.373 INFO kablam! | Oct 10 20:49:01.373 INFO kablam! 121 | pub fn simulate(&mut self) { Oct 10 20:49:01.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.373 INFO kablam! Oct 10 20:49:01.373 INFO kablam! warning: variant is never constructed: `Buy` Oct 10 20:49:01.373 INFO kablam! --> src/village_mind/trade_request.rs:5:5 Oct 10 20:49:01.373 INFO kablam! | Oct 10 20:49:01.373 INFO kablam! 5 | Buy, Oct 10 20:49:01.373 INFO kablam! | ^^^ Oct 10 20:49:01.373 INFO kablam! Oct 10 20:49:01.373 INFO kablam! warning: variant is never constructed: `Sell` Oct 10 20:49:01.373 INFO kablam! --> src/village_mind/trade_request.rs:6:5 Oct 10 20:49:01.373 INFO kablam! | Oct 10 20:49:01.373 INFO kablam! 6 | Sell, Oct 10 20:49:01.373 INFO kablam! | ^^^^ Oct 10 20:49:01.373 INFO kablam! Oct 10 20:49:01.373 INFO kablam! warning: struct is never constructed: `TradeRequest` Oct 10 20:49:01.373 INFO kablam! --> src/village_mind/trade_request.rs:9:1 Oct 10 20:49:01.373 INFO kablam! | Oct 10 20:49:01.373 INFO kablam! 9 | pub struct TradeRequest { Oct 10 20:49:01.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.373 INFO kablam! Oct 10 20:49:01.373 INFO kablam! warning: method is never used: `new` Oct 10 20:49:01.373 INFO kablam! --> src/village_mind/trade_request.rs:17:5 Oct 10 20:49:01.373 INFO kablam! | Oct 10 20:49:01.373 INFO kablam! 17 | pub fn new(trade_type: TradeType, amount: u32, resource_type: ResourceType) -> TradeRequest{ Oct 10 20:49:01.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.373 INFO kablam! Oct 10 20:49:01.373 INFO kablam! warning: struct is never constructed: `VillageMind` Oct 10 20:49:01.373 INFO kablam! --> src/village_mind/mod.rs:6:1 Oct 10 20:49:01.373 INFO kablam! | Oct 10 20:49:01.373 INFO kablam! 6 | pub struct VillageMind { Oct 10 20:49:01.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.373 INFO kablam! Oct 10 20:49:01.373 INFO kablam! warning: method is never used: `new` Oct 10 20:49:01.373 INFO kablam! --> src/village_mind/mod.rs:11:5 Oct 10 20:49:01.373 INFO kablam! | Oct 10 20:49:01.373 INFO kablam! 11 | pub fn new(village: VillageRef) -> VillageMind { Oct 10 20:49:01.373 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.373 INFO kablam! Oct 10 20:49:01.374 INFO kablam! warning: method is never used: `trade` Oct 10 20:49:01.374 INFO kablam! --> src/village_mind/mod.rs:19:5 Oct 10 20:49:01.374 INFO kablam! | Oct 10 20:49:01.374 INFO kablam! 19 | pub fn trade(&mut self) -> Vec { Oct 10 20:49:01.374 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.374 INFO kablam! Oct 10 20:49:01.374 INFO kablam! warning: method is never used: `manage_village` Oct 10 20:49:01.374 INFO kablam! --> src/village_mind/mod.rs:24:5 Oct 10 20:49:01.374 INFO kablam! | Oct 10 20:49:01.374 INFO kablam! 24 | pub fn manage_village(&mut self) { Oct 10 20:49:01.374 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:01.374 INFO kablam! Oct 10 20:49:01.374 INFO kablam! warning: variable `villageRC` should have a snake case name such as `village_rc` Oct 10 20:49:01.374 INFO kablam! --> src/simulation/mod.rs:45:13 Oct 10 20:49:01.374 INFO kablam! | Oct 10 20:49:01.374 INFO kablam! 45 | let villageRC = Rc::new(RefCell::new(village)); Oct 10 20:49:01.374 INFO kablam! | ^^^^^^^^^ Oct 10 20:49:01.374 INFO kablam! | Oct 10 20:49:01.374 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 10 20:49:01.374 INFO kablam! Oct 10 20:49:01.618 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.84s Oct 10 20:49:01.620 INFO kablam! su: No module specific data is present Oct 10 20:49:01.905 INFO running `"docker" "rm" "-f" "f3a16366c8fde92728738223313944e105f350b949b51eeec7b05cfa1c1fdf29"` Oct 10 20:49:02.091 INFO blam! f3a16366c8fde92728738223313944e105f350b949b51eeec7b05cfa1c1fdf29 Oct 10 20:49:02.093 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen --no-run Oct 10 20:49:02.094 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-7/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 10 20:49:02.242 INFO blam! 900850a2c164eab422709eaa466c18c3f2c2926cce9114835e10ac9174ceef97 Oct 10 20:49:02.252 INFO running `"docker" "start" "-a" "900850a2c164eab422709eaa466c18c3f2c2926cce9114835e10ac9174ceef97"` Oct 10 20:49:02.749 INFO kablam! usermod: no changes Oct 10 20:49:02.767 INFO kablam! Compiling econ-sim v0.1.0 (/source) Oct 10 20:49:03.250 INFO kablam! warning: unused import: `village_mind::*` Oct 10 20:49:03.250 INFO kablam! --> src/simulation/mod.rs:181:9 Oct 10 20:49:03.250 INFO kablam! | Oct 10 20:49:03.250 INFO kablam! 181 | use village_mind::*; Oct 10 20:49:03.250 INFO kablam! | ^^^^^^^^^^^^^^^ Oct 10 20:49:03.250 INFO kablam! | Oct 10 20:49:03.250 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 10 20:49:03.250 INFO kablam! Oct 10 20:49:03.250 INFO kablam! warning: unused import: `village::resource::*` Oct 10 20:49:03.250 INFO kablam! --> src/simulation/mod.rs:183:9 Oct 10 20:49:03.250 INFO kablam! | Oct 10 20:49:03.250 INFO kablam! 183 | use village::resource::*; Oct 10 20:49:03.250 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:03.250 INFO kablam! Oct 10 20:49:03.250 INFO kablam! warning: unused import: `village_mind::trade_request::*` Oct 10 20:49:03.250 INFO kablam! --> src/simulation/mod.rs:184:9 Oct 10 20:49:03.250 INFO kablam! | Oct 10 20:49:03.250 INFO kablam! 184 | use village_mind::trade_request::*; Oct 10 20:49:03.250 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:03.250 INFO kablam! Oct 10 20:49:03.250 INFO kablam! warning: unused import: `village::worker::*` Oct 10 20:49:03.250 INFO kablam! --> src/village/mod.rs:140:9 Oct 10 20:49:03.250 INFO kablam! | Oct 10 20:49:03.250 INFO kablam! 140 | use village::worker::*; Oct 10 20:49:03.250 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 10 20:49:03.250 INFO kablam! Oct 10 20:49:03.434 INFO kablam! warning: unused variable: `w` Oct 10 20:49:03.434 INFO kablam! --> src/simulation/mod.rs:187:23 Oct 10 20:49:03.434 INFO kablam! | Oct 10 20:49:03.434 INFO kablam! 187 | Village::new(|w: &worker::Worker| false) Oct 10 20:49:03.434 INFO kablam! | ^ help: consider using `_w` instead Oct 10 20:49:03.434 INFO kablam! | Oct 10 20:49:03.434 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 10 20:49:03.434 INFO kablam! Oct 10 20:49:03.434 INFO kablam! warning: unused variable: `w` Oct 10 20:49:03.434 INFO kablam! --> src/village/mod.rs:143:23 Oct 10 20:49:03.434 INFO kablam! | Oct 10 20:49:03.434 INFO kablam! 143 | Village::new(|w: &Worker| false) Oct 10 20:49:03.434 INFO kablam! | ^ help: consider using `_w` instead Oct 10 20:49:03.434 INFO kablam! Oct 10 20:49:03.434 INFO kablam! warning: unused variable: `w` Oct 10 20:49:03.434 INFO kablam! --> src/village_mind/mod.rs:38:44 Oct 10 20:49:03.434 INFO kablam! | Oct 10 20:49:03.434 INFO kablam! 38 | Rc::new(RefCell::new(Village::new(|w: &Worker| false))) Oct 10 20:49:03.434 INFO kablam! | ^ help: consider using `_w` instead Oct 10 20:49:03.434 INFO kablam! Oct 10 20:49:03.435 INFO kablam! warning: unused variable: `x` Oct 10 20:49:03.435 INFO kablam! --> src/village/mod.rs:278:57 Oct 10 20:49:03.435 INFO kablam! | Oct 10 20:49:03.435 INFO kablam! 278 | let r1 = v.create_resource(ResourceType::Wood, |x| 2 as f64); Oct 10 20:49:03.435 INFO kablam! | ^ help: consider using `_x` instead Oct 10 20:49:03.435 INFO kablam! Oct 10 20:49:03.435 INFO kablam! warning: unused variable: `r1` Oct 10 20:49:03.435 INFO kablam! --> src/village/mod.rs:278:13 Oct 10 20:49:03.435 INFO kablam! | Oct 10 20:49:03.435 INFO kablam! 278 | let r1 = v.create_resource(ResourceType::Wood, |x| 2 as f64); Oct 10 20:49:03.435 INFO kablam! | ^^ help: consider using `_r1` instead Oct 10 20:49:03.435 INFO kablam! Oct 10 20:49:03.470 INFO kablam! warning: variable does not need to be mutable Oct 10 20:49:03.470 INFO kablam! --> src/simulation/mod.rs:200:13 Oct 10 20:49:03.470 INFO kablam! | Oct 10 20:49:03.470 INFO kablam! 200 | let mut simulation = Simulation::new(); Oct 10 20:49:03.470 INFO kablam! | ----^^^^^^^^^^ Oct 10 20:49:03.470 INFO kablam! | | Oct 10 20:49:03.470 INFO kablam! | help: remove this `mut` Oct 10 20:49:03.470 INFO kablam! | Oct 10 20:49:03.470 INFO kablam! = note: #[warn(unused_mut)] on by default Oct 10 20:49:03.470 INFO kablam! Oct 10 20:49:03.472 INFO kablam! warning: variable does not need to be mutable Oct 10 20:49:03.472 INFO kablam! --> src/simulation/mod.rs:207:13 Oct 10 20:49:03.472 INFO kablam! | Oct 10 20:49:03.472 INFO kablam! 207 | let mut simulation = Simulation::new(); Oct 10 20:49:03.472 INFO kablam! | ----^^^^^^^^^^ Oct 10 20:49:03.472 INFO kablam! | | Oct 10 20:49:03.472 INFO kablam! | help: remove this `mut` Oct 10 20:49:03.472 INFO kablam! Oct 10 20:49:03.526 INFO kablam! warning: method is never used: `simulate` Oct 10 20:49:03.526 INFO kablam! --> src/simulation/mod.rs:58:5 Oct 10 20:49:03.526 INFO kablam! | Oct 10 20:49:03.526 INFO kablam! 58 | pub fn simulate(&mut self) { Oct 10 20:49:03.526 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:03.526 INFO kablam! | Oct 10 20:49:03.526 INFO kablam! = note: #[warn(dead_code)] on by default Oct 10 20:49:03.526 INFO kablam! Oct 10 20:49:03.526 INFO kablam! warning: method is never used: `new` Oct 10 20:49:03.526 INFO kablam! --> src/village/resource.rs:29:5 Oct 10 20:49:03.526 INFO kablam! | Oct 10 20:49:03.526 INFO kablam! 29 | pub fn new(resource_type : ResourceType, resource_id : ResourceId, collect_resource : CollectResource) -> Resource { Oct 10 20:49:03.526 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:03.526 INFO kablam! Oct 10 20:49:03.526 INFO kablam! warning: method is never used: `resource` Oct 10 20:49:03.526 INFO kablam! --> src/village/mod.rs:87:5 Oct 10 20:49:03.526 INFO kablam! | Oct 10 20:49:03.526 INFO kablam! 87 | pub fn resource(&self, resource_id: ResourceId) -> Option<&Resource> { Oct 10 20:49:03.526 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:03.526 INFO kablam! Oct 10 20:49:03.526 INFO kablam! warning: field is never used: `village` Oct 10 20:49:03.526 INFO kablam! --> src/village_mind/mod.rs:7:5 Oct 10 20:49:03.526 INFO kablam! | Oct 10 20:49:03.526 INFO kablam! 7 | village: VillageRef, Oct 10 20:49:03.526 INFO kablam! | ^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:03.526 INFO kablam! Oct 10 20:49:03.526 INFO kablam! warning: method is never used: `manage_village` Oct 10 20:49:03.526 INFO kablam! --> src/village_mind/mod.rs:24:5 Oct 10 20:49:03.527 INFO kablam! | Oct 10 20:49:03.527 INFO kablam! 24 | pub fn manage_village(&mut self) { Oct 10 20:49:03.527 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:03.527 INFO kablam! Oct 10 20:49:03.528 INFO kablam! warning: variable `villageRC` should have a snake case name such as `village_rc` Oct 10 20:49:03.528 INFO kablam! --> src/simulation/mod.rs:45:13 Oct 10 20:49:03.528 INFO kablam! | Oct 10 20:49:03.528 INFO kablam! 45 | let villageRC = Rc::new(RefCell::new(village)); Oct 10 20:49:03.528 INFO kablam! | ^^^^^^^^^ Oct 10 20:49:03.528 INFO kablam! | Oct 10 20:49:03.528 INFO kablam! = note: #[warn(non_snake_case)] on by default Oct 10 20:49:03.528 INFO kablam! Oct 10 20:49:03.534 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 20:49:03.534 INFO kablam! --> src/village/mod.rs:170:9 Oct 10 20:49:03.534 INFO kablam! | Oct 10 20:49:03.534 INFO kablam! 170 | v.assign_worker(w1, r1); Oct 10 20:49:03.534 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:03.534 INFO kablam! | Oct 10 20:49:03.535 INFO kablam! = note: #[warn(unused_must_use)] on by default Oct 10 20:49:03.535 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 20:49:03.535 INFO kablam! Oct 10 20:49:03.536 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 20:49:03.536 INFO kablam! --> src/village/mod.rs:182:9 Oct 10 20:49:03.536 INFO kablam! | Oct 10 20:49:03.536 INFO kablam! 182 | v.assign_worker(w1, r1); Oct 10 20:49:03.536 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:03.536 INFO kablam! | Oct 10 20:49:03.536 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 20:49:03.536 INFO kablam! Oct 10 20:49:03.536 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 20:49:03.536 INFO kablam! --> src/village/mod.rs:183:9 Oct 10 20:49:03.536 INFO kablam! | Oct 10 20:49:03.536 INFO kablam! 183 | v.assign_worker(w1, 0); Oct 10 20:49:03.536 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:03.536 INFO kablam! | Oct 10 20:49:03.536 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 20:49:03.536 INFO kablam! Oct 10 20:49:03.536 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 20:49:03.536 INFO kablam! --> src/village/mod.rs:220:9 Oct 10 20:49:03.536 INFO kablam! | Oct 10 20:49:03.536 INFO kablam! 220 | v.assign_worker(w1, r1); Oct 10 20:49:03.536 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:03.536 INFO kablam! | Oct 10 20:49:03.536 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 20:49:03.536 INFO kablam! Oct 10 20:49:03.536 INFO kablam! warning: unused `std::result::Result` which must be used Oct 10 20:49:03.536 INFO kablam! --> src/village/mod.rs:221:9 Oct 10 20:49:03.536 INFO kablam! | Oct 10 20:49:03.536 INFO kablam! 221 | v.assign_worker(w2, r1); Oct 10 20:49:03.536 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^ Oct 10 20:49:03.536 INFO kablam! | Oct 10 20:49:03.536 INFO kablam! = note: this `Result` may be an `Err` variant, which should be handled Oct 10 20:49:03.536 INFO kablam! Oct 10 20:49:04.542 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1.78s Oct 10 20:49:04.544 INFO kablam! su: No module specific data is present Oct 10 20:49:04.832 INFO running `"docker" "rm" "-f" "900850a2c164eab422709eaa466c18c3f2c2926cce9114835e10ac9174ceef97"` Oct 10 20:49:04.923 INFO blam! 900850a2c164eab422709eaa466c18c3f2c2926cce9114835e10ac9174ceef97 Oct 10 20:49:04.925 INFO running: cargo +0e07c4281c343e9e15a0a8fca79538ad1a8eb513-alt test --frozen Oct 10 20:49:04.925 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/test-source/worker-7/rustdoc-test-static-cling/master#0e07c4281c343e9e15a0a8fca79538ad1a8eb513:/source:ro,Z" "-v" "/mnt/big/crater/./work/local/target-dirs/rustdoc-test-static-cling/worker-7/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 10 20:49:05.139 INFO blam! 5d28080725f6d67aabb1fdc351df34583e677d3348fcaaf20353e8b792c34ca9 Oct 10 20:49:05.140 INFO running `"docker" "start" "-a" "5d28080725f6d67aabb1fdc351df34583e677d3348fcaaf20353e8b792c34ca9"` Oct 10 20:49:05.698 INFO kablam! usermod: no changes Oct 10 20:49:05.720 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 0.01s Oct 10 20:49:05.721 INFO kablam! Running /target/debug/deps/econ_sim-d70baef5aace8b0e Oct 10 20:49:05.728 INFO blam! Oct 10 20:49:05.728 INFO blam! running 23 tests Oct 10 20:49:05.728 INFO blam! test simulation::tests::add_village ... ok Oct 10 20:49:05.728 INFO blam! test simulation::tests::handle_trades_basic_sell_and_buy ... ok Oct 10 20:49:05.728 INFO blam! test simulation::tests::handle_trades_downward_price ... ok Oct 10 20:49:05.728 INFO blam! test simulation::tests::handle_trades_upward_price ... ok Oct 10 20:49:05.728 INFO blam! test simulation::tests::initial_resource_prices ... ok Oct 10 20:49:05.728 INFO blam! test simulation::tests::initial_price_directions ... ok Oct 10 20:49:05.728 INFO blam! test village::tests::assign_worker_to_resource ... ok Oct 10 20:49:05.728 INFO blam! test village::tests::assign_worker_to_resource_invalid_resource_id ... ok Oct 10 20:49:05.728 INFO blam! test simulation::tests::handle_trades_multiple_rounds_upward ... ok Oct 10 20:49:05.728 INFO blam! test simulation::tests::handle_trades_no_requests ... ok Oct 10 20:49:05.728 INFO blam! test village::tests::get_resources_by_type ... ok Oct 10 20:49:05.728 INFO blam! test simulation::tests::handle_trades_price_minimum ... ok Oct 10 20:49:05.728 INFO blam! test village::tests::simulate_collect_resources ... ok Oct 10 20:49:05.728 INFO blam! test village::tests::simulate_worker_death ... ok Oct 10 20:49:05.729 INFO blam! test village::tests::simulate_increase_worker_age ... ok Oct 10 20:49:05.729 INFO blam! test village::tests::simulate_resource_collect ... ok Oct 10 20:49:05.729 INFO blam! test village::tests::simulate_increase_worker_age_multiple ... ok Oct 10 20:49:05.729 INFO blam! test village::tests::create_resources ... ok Oct 10 20:49:05.732 INFO blam! test village::tests::assign_worker_to_resource_invalid_worker_id ... ok Oct 10 20:49:05.732 INFO blam! test village::tests::stockpile_starts_empty ... ok Oct 10 20:49:05.732 INFO blam! test simulation::tests::handle_trades_multiple_rounds_downward ... ok Oct 10 20:49:05.732 INFO blam! test village::tests::unassign_worker_from_resource ... ok Oct 10 20:49:05.733 INFO blam! test village_mind::tests::trade_test ... ok Oct 10 20:49:05.733 INFO blam! Oct 10 20:49:05.733 INFO blam! test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out Oct 10 20:49:05.733 INFO blam! Oct 10 20:49:05.735 INFO kablam! su: No module specific data is present Oct 10 20:49:06.132 INFO running `"docker" "rm" "-f" "5d28080725f6d67aabb1fdc351df34583e677d3348fcaaf20353e8b792c34ca9"` Oct 10 20:49:06.223 INFO blam! 5d28080725f6d67aabb1fdc351df34583e677d3348fcaaf20353e8b792c34ca9