Oct 12 17:36:25.916 INFO checking mdeg/market-agent-experiment against master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f for pr-54977 Oct 12 17:36:25.916 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-54977/worker-6/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-6/pr-54977/master#5af0bb83044c3fb43d59ad5f49ee5ae1a293901f:/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 +5af0bb83044c3fb43d59ad5f49ee5ae1a293901f-alt check --frozen --all --all-targets" "-e" "CARGO_TARGET_DIR=/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/cargo-home" "-e" "RUSTUP_HOME=/rustup-home" "-m" "1536M" "--network" "none" "crater"` Oct 12 17:36:26.087 INFO blam! 60f377023f2e33d0728cf60b924279e6353827f9195c9207d67df91a18252f9a Oct 12 17:36:26.093 INFO running `"docker" "start" "-a" "60f377023f2e33d0728cf60b924279e6353827f9195c9207d67df91a18252f9a"` Oct 12 17:36:26.805 INFO kablam! usermod: no changes Oct 12 17:36:27.113 INFO kablam! Compiling num-traits v0.2.2 Oct 12 17:36:27.113 INFO kablam! Compiling serde v1.0.41 Oct 12 17:36:27.113 INFO kablam! Checking hostname v0.1.4 Oct 12 17:36:27.113 INFO kablam! Checking parking_lot_core v0.2.13 Oct 12 17:36:27.113 INFO kablam! Checking uuid v0.6.3 Oct 12 17:36:27.113 INFO kablam! Compiling tempdir v0.3.7 Oct 12 17:36:27.113 INFO kablam! Checking uuid v0.4.0 Oct 12 17:36:27.113 INFO kablam! Compiling backtrace-sys v0.1.16 Oct 12 17:36:27.973 INFO kablam! Checking mio-uds v0.6.4 Oct 12 17:36:28.004 INFO kablam! Compiling actix_derive v0.2.0 Oct 12 17:36:28.188 INFO kablam! Checking resolv-conf v0.6.0 Oct 12 17:36:29.189 INFO kablam! Compiling backtrace v0.3.6 Oct 12 17:36:29.512 INFO kablam! Checking backtrace v0.2.3 Oct 12 17:36:30.428 INFO kablam! Compiling serde_derive v1.0.41 Oct 12 17:36:31.465 INFO kablam! Checking parking_lot v0.4.8 Oct 12 17:36:31.513 INFO kablam! Checking failure v0.1.1 Oct 12 17:36:34.026 INFO kablam! Checking error-chain v0.1.12 Oct 12 17:36:34.093 INFO kablam! Checking tokio-signal v0.1.5 Oct 12 17:36:34.136 INFO kablam! Compiling error-chain v0.11.0 Oct 12 17:36:36.547 INFO kablam! Checking crossbeam-channel v0.1.2 Oct 12 17:36:37.160 INFO kablam! Checking trust-dns-proto v0.3.2 Oct 12 17:36:53.249 INFO kablam! Checking trust-dns-resolver v0.8.1 Oct 12 17:37:03.592 INFO kablam! Compiling semver v0.8.0 Oct 12 17:37:03.592 INFO kablam! Compiling serde_json v1.0.15 Oct 12 17:37:09.660 INFO kablam! Compiling cargo_metadata v0.3.3 Oct 12 17:37:13.277 INFO kablam! Compiling skeptic v0.13.2 Oct 12 17:37:16.837 INFO kablam! Compiling actix v0.5.6 Oct 12 17:37:23.266 INFO kablam! Checking market-demo v0.1.0 (/source) Oct 12 17:37:27.136 INFO kablam! warning: unused import: `actix` Oct 12 17:37:27.136 INFO kablam! --> src/agent.rs:9:5 Oct 12 17:37:27.136 INFO kablam! | Oct 12 17:37:27.136 INFO kablam! 9 | use actix; Oct 12 17:37:27.136 INFO kablam! | ^^^^^ Oct 12 17:37:27.136 INFO kablam! | Oct 12 17:37:27.136 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 17:37:27.136 INFO kablam! Oct 12 17:37:27.136 INFO kablam! warning: unused import: `futures::future::Future` Oct 12 17:37:27.136 INFO kablam! --> src/agent.rs:11:5 Oct 12 17:37:27.136 INFO kablam! | Oct 12 17:37:27.136 INFO kablam! 11 | use futures::future::Future; Oct 12 17:37:27.136 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.136 INFO kablam! Oct 12 17:37:27.136 INFO kablam! warning: unused import: `futures::future::*` Oct 12 17:37:27.136 INFO kablam! --> src/main.rs:22:5 Oct 12 17:37:27.136 INFO kablam! | Oct 12 17:37:27.136 INFO kablam! 22 | use futures::future::*; Oct 12 17:37:27.136 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.136 INFO kablam! Oct 12 17:37:27.176 INFO kablam! warning: unused import: `actix` Oct 12 17:37:27.176 INFO kablam! --> src/agent.rs:9:5 Oct 12 17:37:27.176 INFO kablam! | Oct 12 17:37:27.176 INFO kablam! 9 | use actix; Oct 12 17:37:27.176 INFO kablam! | ^^^^^ Oct 12 17:37:27.176 INFO kablam! | Oct 12 17:37:27.176 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 12 17:37:27.176 INFO kablam! Oct 12 17:37:27.176 INFO kablam! warning: unused import: `futures::future::Future` Oct 12 17:37:27.176 INFO kablam! --> src/agent.rs:11:5 Oct 12 17:37:27.176 INFO kablam! | Oct 12 17:37:27.176 INFO kablam! 11 | use futures::future::Future; Oct 12 17:37:27.176 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.176 INFO kablam! Oct 12 17:37:27.176 INFO kablam! warning: unused import: `futures::future::*` Oct 12 17:37:27.176 INFO kablam! --> src/main.rs:22:5 Oct 12 17:37:27.176 INFO kablam! | Oct 12 17:37:27.176 INFO kablam! 22 | use futures::future::*; Oct 12 17:37:27.176 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.176 INFO kablam! Oct 12 17:37:27.473 INFO kablam! warning: unused variable: `turn_pulser` Oct 12 17:37:27.473 INFO kablam! --> src/main.rs:45:9 Oct 12 17:37:27.473 INFO kablam! | Oct 12 17:37:27.474 INFO kablam! 45 | let turn_pulser: Addr = TurnPulser { agents }.start(); Oct 12 17:37:27.474 INFO kablam! | ^^^^^^^^^^^ help: consider using `_turn_pulser` instead Oct 12 17:37:27.474 INFO kablam! | Oct 12 17:37:27.474 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 17:37:27.475 INFO kablam! Oct 12 17:37:27.475 INFO kablam! warning: unused variable: `ctx` Oct 12 17:37:27.475 INFO kablam! --> src/agent.rs:27:27 Oct 12 17:37:27.476 INFO kablam! | Oct 12 17:37:27.476 INFO kablam! 27 | fn started(&mut self, ctx: &mut Self::Context) { Oct 12 17:37:27.476 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 12 17:37:27.476 INFO kablam! Oct 12 17:37:27.477 INFO kablam! warning: unused variable: `msg` Oct 12 17:37:27.477 INFO kablam! --> src/agent.rs:35:26 Oct 12 17:37:27.477 INFO kablam! | Oct 12 17:37:27.477 INFO kablam! 35 | fn handle(&mut self, msg: ::Tick, ctx: &mut Context) -> Self::Result { Oct 12 17:37:27.478 INFO kablam! | ^^^ help: consider using `_msg` instead Oct 12 17:37:27.478 INFO kablam! Oct 12 17:37:27.478 INFO kablam! warning: unused variable: `ctx` Oct 12 17:37:27.478 INFO kablam! --> src/agent.rs:35:39 Oct 12 17:37:27.479 INFO kablam! | Oct 12 17:37:27.479 INFO kablam! 35 | fn handle(&mut self, msg: ::Tick, ctx: &mut Context) -> Self::Result { Oct 12 17:37:27.479 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 12 17:37:27.479 INFO kablam! Oct 12 17:37:27.480 INFO kablam! warning: unused variable: `msg` Oct 12 17:37:27.480 INFO kablam! --> src/agent.rs:47:26 Oct 12 17:37:27.480 INFO kablam! | Oct 12 17:37:27.484 INFO kablam! 47 | fn handle(&mut self, msg: RequestStateMessage, ctx: &mut Context) -> Self::Result { Oct 12 17:37:27.484 INFO kablam! | ^^^ help: consider using `_msg` instead Oct 12 17:37:27.485 INFO kablam! Oct 12 17:37:27.485 INFO kablam! warning: unused variable: `ctx` Oct 12 17:37:27.485 INFO kablam! --> src/agent.rs:47:52 Oct 12 17:37:27.486 INFO kablam! | Oct 12 17:37:27.486 INFO kablam! 47 | fn handle(&mut self, msg: RequestStateMessage, ctx: &mut Context) -> Self::Result { Oct 12 17:37:27.486 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 12 17:37:27.487 INFO kablam! Oct 12 17:37:27.487 INFO kablam! warning: unused variable: `ctx` Oct 12 17:37:27.492 INFO kablam! --> src/distributor.rs:27:50 Oct 12 17:37:27.492 INFO kablam! | Oct 12 17:37:27.493 INFO kablam! 27 | fn handle(&mut self, msg: ProductionMessage, ctx: &mut Self::Context) -> Self::Result { Oct 12 17:37:27.493 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 12 17:37:27.493 INFO kablam! Oct 12 17:37:27.577 INFO kablam! warning: method is never used: `set_production` Oct 12 17:37:27.578 INFO kablam! --> src/agent.rs:83:5 Oct 12 17:37:27.578 INFO kablam! | Oct 12 17:37:27.578 INFO kablam! 83 | pub fn set_production(&mut self, res: Resource) { Oct 12 17:37:27.579 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.579 INFO kablam! | Oct 12 17:37:27.579 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 17:37:27.579 INFO kablam! Oct 12 17:37:27.579 INFO kablam! warning: method is never used: `modify_wealth` Oct 12 17:37:27.580 INFO kablam! --> src/agent.rs:87:5 Oct 12 17:37:27.580 INFO kablam! | Oct 12 17:37:27.580 INFO kablam! 87 | pub fn modify_wealth(&mut self, delta: f32) { Oct 12 17:37:27.580 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.581 INFO kablam! Oct 12 17:37:27.581 INFO kablam! warning: method is never used: `consume` Oct 12 17:37:27.581 INFO kablam! --> src/agent.rs:91:5 Oct 12 17:37:27.582 INFO kablam! | Oct 12 17:37:27.582 INFO kablam! 91 | pub fn consume(&mut self) { Oct 12 17:37:27.582 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.582 INFO kablam! Oct 12 17:37:27.582 INFO kablam! warning: method is never used: `give` Oct 12 17:37:27.583 INFO kablam! --> src/agent.rs:95:5 Oct 12 17:37:27.583 INFO kablam! | Oct 12 17:37:27.583 INFO kablam! 95 | pub fn give(&mut self, res: &Resource, amount: f32) { Oct 12 17:37:27.584 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.584 INFO kablam! Oct 12 17:37:27.584 INFO kablam! warning: method is never used: `can_afford` Oct 12 17:37:27.584 INFO kablam! --> src/agent.rs:125:5 Oct 12 17:37:27.585 INFO kablam! | Oct 12 17:37:27.585 INFO kablam! 125 | pub fn can_afford(&self, cost: f32) -> bool { Oct 12 17:37:27.585 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.585 INFO kablam! Oct 12 17:37:27.585 INFO kablam! warning: method is never used: `attempt_item_purchase` Oct 12 17:37:27.586 INFO kablam! --> src/agent.rs:129:5 Oct 12 17:37:27.586 INFO kablam! | Oct 12 17:37:27.586 INFO kablam! 129 | pub fn attempt_item_purchase(&mut self) { Oct 12 17:37:27.587 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.587 INFO kablam! Oct 12 17:37:27.587 INFO kablam! warning: method is never used: `name` Oct 12 17:37:27.587 INFO kablam! --> src/agent.rs:149:5 Oct 12 17:37:27.587 INFO kablam! | Oct 12 17:37:27.588 INFO kablam! 149 | pub fn name(&self) -> &String { Oct 12 17:37:27.588 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.588 INFO kablam! Oct 12 17:37:27.589 INFO kablam! warning: method is never used: `values` Oct 12 17:37:27.589 INFO kablam! --> src/resource.rs:22:5 Oct 12 17:37:27.589 INFO kablam! | Oct 12 17:37:27.589 INFO kablam! 22 | pub fn values() -> Vec { Oct 12 17:37:27.589 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.590 INFO kablam! Oct 12 17:37:27.590 INFO kablam! warning: method is never used: `cost` Oct 12 17:37:27.590 INFO kablam! --> src/resource.rs:33:5 Oct 12 17:37:27.590 INFO kablam! | Oct 12 17:37:27.591 INFO kablam! 33 | pub fn cost(&self) -> f32 { Oct 12 17:37:27.591 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.591 INFO kablam! Oct 12 17:37:27.591 INFO kablam! warning: associated const is never used: `MIN_PRODUCTION` Oct 12 17:37:27.592 INFO kablam! --> src/distributor.rs:40:5 Oct 12 17:37:27.596 INFO kablam! | Oct 12 17:37:27.596 INFO kablam! 40 | pub const MIN_PRODUCTION: f32 = 0.01; Oct 12 17:37:27.597 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.597 INFO kablam! Oct 12 17:37:27.597 INFO kablam! warning: method is never used: `produce_and_collate_resources` Oct 12 17:37:27.598 INFO kablam! --> src/distributor.rs:42:5 Oct 12 17:37:27.598 INFO kablam! | Oct 12 17:37:27.598 INFO kablam! 42 | / fn produce_and_collate_resources(agents: &mut[&mut Agent], Oct 12 17:37:27.599 INFO kablam! 43 | | leftover_production: Option) -> ProductionResult { Oct 12 17:37:27.599 INFO kablam! 44 | | Oct 12 17:37:27.599 INFO kablam! 45 | | let mut all_produced_resources = match leftover_production { Oct 12 17:37:27.599 INFO kablam! ... | Oct 12 17:37:27.600 INFO kablam! 56 | | all_produced_resources Oct 12 17:37:27.600 INFO kablam! 57 | | } Oct 12 17:37:27.600 INFO kablam! | |_____^ Oct 12 17:37:27.601 INFO kablam! Oct 12 17:37:27.601 INFO kablam! warning: method is never used: `distribute` Oct 12 17:37:27.601 INFO kablam! --> src/distributor.rs:59:5 Oct 12 17:37:27.601 INFO kablam! | Oct 12 17:37:27.602 INFO kablam! 59 | pub fn distribute(agents: &mut[&mut Agent], leftover_production: Option) -> DistributorResult { Oct 12 17:37:27.602 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.602 INFO kablam! Oct 12 17:37:27.602 INFO kablam! warning: method is never used: `give_item` Oct 12 17:37:27.603 INFO kablam! --> src/possessions.rs:26:5 Oct 12 17:37:27.603 INFO kablam! | Oct 12 17:37:27.603 INFO kablam! 26 | pub fn give_item(&mut self, item: &Item, amount: i32) { Oct 12 17:37:27.603 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.604 INFO kablam! Oct 12 17:37:27.608 INFO kablam! warning: method is never used: `has_item` Oct 12 17:37:27.608 INFO kablam! --> src/possessions.rs:31:5 Oct 12 17:37:27.609 INFO kablam! | Oct 12 17:37:27.609 INFO kablam! 31 | pub fn has_item(&self, item: Item) -> Option { Oct 12 17:37:27.609 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.609 INFO kablam! Oct 12 17:37:27.609 INFO kablam! warning: function is never used: `run` Oct 12 17:37:27.610 INFO kablam! --> src/main.rs:85:1 Oct 12 17:37:27.610 INFO kablam! | Oct 12 17:37:27.610 INFO kablam! 85 | fn run(delta: i32, agent_map: &mut HashMap) { Oct 12 17:37:27.611 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.611 INFO kablam! Oct 12 17:37:27.611 INFO kablam! warning: function is never used: `do_distribute` Oct 12 17:37:27.611 INFO kablam! --> src/main.rs:101:1 Oct 12 17:37:27.612 INFO kablam! | Oct 12 17:37:27.612 INFO kablam! 101 | / fn do_distribute(agents: &mut HashMap, leftover: Vec>, Oct 12 17:37:27.612 INFO kablam! 102 | | chunk_size: usize) -> Vec { Oct 12 17:37:27.612 INFO kablam! 103 | | Oct 12 17:37:27.613 INFO kablam! 104 | | let agent_vec: &mut Vec<&mut Agent> = &mut agents.values_mut().collect(); Oct 12 17:37:27.613 INFO kablam! ... | Oct 12 17:37:27.613 INFO kablam! 113 | | .collect() Oct 12 17:37:27.614 INFO kablam! 114 | | } Oct 12 17:37:27.614 INFO kablam! | |_^ Oct 12 17:37:27.614 INFO kablam! Oct 12 17:37:27.614 INFO kablam! warning: function is never used: `distribute` Oct 12 17:37:27.615 INFO kablam! --> src/main.rs:116:1 Oct 12 17:37:27.615 INFO kablam! | Oct 12 17:37:27.615 INFO kablam! 116 | fn distribute(agents: &mut HashMap) -> ProductionResult { Oct 12 17:37:27.616 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.616 INFO kablam! Oct 12 17:37:27.616 INFO kablam! warning: function is never used: `combine_leftover_production` Oct 12 17:37:27.617 INFO kablam! --> src/main.rs:149:1 Oct 12 17:37:27.617 INFO kablam! | Oct 12 17:37:27.617 INFO kablam! 149 | fn combine_leftover_production(mut production: Vec) -> Vec> { Oct 12 17:37:27.617 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.617 INFO kablam! Oct 12 17:37:27.618 INFO kablam! warning: function is never used: `store_unused_production` Oct 12 17:37:27.618 INFO kablam! --> src/main.rs:167:1 Oct 12 17:37:27.618 INFO kablam! | Oct 12 17:37:27.619 INFO kablam! 167 | / fn store_unused_production(agent_map: &mut HashMap, Oct 12 17:37:27.619 INFO kablam! 168 | | mut production_result: ProductionResult) { Oct 12 17:37:27.619 INFO kablam! 169 | | Oct 12 17:37:27.619 INFO kablam! 170 | | for (_resource, mut leftover_production) in production_result.drain() { Oct 12 17:37:27.620 INFO kablam! ... | Oct 12 17:37:27.620 INFO kablam! 175 | | } Oct 12 17:37:27.624 INFO kablam! 176 | | } Oct 12 17:37:27.624 INFO kablam! | |_^ Oct 12 17:37:27.625 INFO kablam! Oct 12 17:37:27.625 INFO kablam! warning: function is never used: `consume` Oct 12 17:37:27.625 INFO kablam! --> src/main.rs:178:1 Oct 12 17:37:27.626 INFO kablam! | Oct 12 17:37:27.626 INFO kablam! 178 | fn consume(agents: Vec<&mut Agent>) { Oct 12 17:37:27.626 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.626 INFO kablam! Oct 12 17:37:27.626 INFO kablam! warning: function is never used: `reevaluate_occupation` Oct 12 17:37:27.627 INFO kablam! --> src/main.rs:186:1 Oct 12 17:37:27.627 INFO kablam! | Oct 12 17:37:27.627 INFO kablam! 186 | fn reevaluate_occupation(agents: &mut Vec<&mut Agent>) { Oct 12 17:37:27.627 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.628 INFO kablam! Oct 12 17:37:27.628 INFO kablam! warning: function is never used: `make_purchases` Oct 12 17:37:27.628 INFO kablam! --> src/main.rs:191:1 Oct 12 17:37:27.629 INFO kablam! | Oct 12 17:37:27.629 INFO kablam! 191 | fn make_purchases(agents: &mut Vec<&mut Agent>) { Oct 12 17:37:27.629 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.629 INFO kablam! Oct 12 17:37:27.630 INFO kablam! warning: function is never used: `print_state` Oct 12 17:37:27.630 INFO kablam! --> src/main.rs:197:1 Oct 12 17:37:27.630 INFO kablam! | Oct 12 17:37:27.631 INFO kablam! 197 | fn print_state(agents: &HashMap) { Oct 12 17:37:27.631 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.631 INFO kablam! Oct 12 17:37:27.673 INFO kablam! warning: unused variable: `turn_pulser` Oct 12 17:37:27.673 INFO kablam! --> src/main.rs:45:9 Oct 12 17:37:27.673 INFO kablam! | Oct 12 17:37:27.673 INFO kablam! 45 | let turn_pulser: Addr = TurnPulser { agents }.start(); Oct 12 17:37:27.673 INFO kablam! | ^^^^^^^^^^^ help: consider using `_turn_pulser` instead Oct 12 17:37:27.673 INFO kablam! | Oct 12 17:37:27.673 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 12 17:37:27.673 INFO kablam! Oct 12 17:37:27.673 INFO kablam! warning: unused variable: `ctx` Oct 12 17:37:27.673 INFO kablam! --> src/agent.rs:27:27 Oct 12 17:37:27.673 INFO kablam! | Oct 12 17:37:27.673 INFO kablam! 27 | fn started(&mut self, ctx: &mut Self::Context) { Oct 12 17:37:27.673 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 12 17:37:27.673 INFO kablam! Oct 12 17:37:27.673 INFO kablam! warning: unused variable: `msg` Oct 12 17:37:27.673 INFO kablam! --> src/agent.rs:35:26 Oct 12 17:37:27.673 INFO kablam! | Oct 12 17:37:27.673 INFO kablam! 35 | fn handle(&mut self, msg: ::Tick, ctx: &mut Context) -> Self::Result { Oct 12 17:37:27.673 INFO kablam! | ^^^ help: consider using `_msg` instead Oct 12 17:37:27.673 INFO kablam! Oct 12 17:37:27.673 INFO kablam! warning: unused variable: `ctx` Oct 12 17:37:27.673 INFO kablam! --> src/agent.rs:35:39 Oct 12 17:37:27.673 INFO kablam! | Oct 12 17:37:27.673 INFO kablam! 35 | fn handle(&mut self, msg: ::Tick, ctx: &mut Context) -> Self::Result { Oct 12 17:37:27.673 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 12 17:37:27.673 INFO kablam! Oct 12 17:37:27.673 INFO kablam! warning: unused variable: `msg` Oct 12 17:37:27.673 INFO kablam! --> src/agent.rs:47:26 Oct 12 17:37:27.673 INFO kablam! | Oct 12 17:37:27.673 INFO kablam! 47 | fn handle(&mut self, msg: RequestStateMessage, ctx: &mut Context) -> Self::Result { Oct 12 17:37:27.673 INFO kablam! | ^^^ help: consider using `_msg` instead Oct 12 17:37:27.673 INFO kablam! Oct 12 17:37:27.673 INFO kablam! warning: unused variable: `ctx` Oct 12 17:37:27.673 INFO kablam! --> src/agent.rs:47:52 Oct 12 17:37:27.673 INFO kablam! | Oct 12 17:37:27.673 INFO kablam! 47 | fn handle(&mut self, msg: RequestStateMessage, ctx: &mut Context) -> Self::Result { Oct 12 17:37:27.673 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 12 17:37:27.673 INFO kablam! Oct 12 17:37:27.673 INFO kablam! warning: unused variable: `ctx` Oct 12 17:37:27.673 INFO kablam! --> src/distributor.rs:27:50 Oct 12 17:37:27.673 INFO kablam! | Oct 12 17:37:27.673 INFO kablam! 27 | fn handle(&mut self, msg: ProductionMessage, ctx: &mut Self::Context) -> Self::Result { Oct 12 17:37:27.673 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 12 17:37:27.673 INFO kablam! Oct 12 17:37:27.742 INFO kablam! warning: method is never used: `set_production` Oct 12 17:37:27.742 INFO kablam! --> src/agent.rs:83:5 Oct 12 17:37:27.742 INFO kablam! | Oct 12 17:37:27.742 INFO kablam! 83 | pub fn set_production(&mut self, res: Resource) { Oct 12 17:37:27.742 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.742 INFO kablam! | Oct 12 17:37:27.742 INFO kablam! = note: #[warn(dead_code)] on by default Oct 12 17:37:27.742 INFO kablam! Oct 12 17:37:27.742 INFO kablam! warning: method is never used: `modify_wealth` Oct 12 17:37:27.742 INFO kablam! --> src/agent.rs:87:5 Oct 12 17:37:27.742 INFO kablam! | Oct 12 17:37:27.742 INFO kablam! 87 | pub fn modify_wealth(&mut self, delta: f32) { Oct 12 17:37:27.742 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.742 INFO kablam! Oct 12 17:37:27.742 INFO kablam! warning: method is never used: `consume` Oct 12 17:37:27.742 INFO kablam! --> src/agent.rs:91:5 Oct 12 17:37:27.742 INFO kablam! | Oct 12 17:37:27.742 INFO kablam! 91 | pub fn consume(&mut self) { Oct 12 17:37:27.742 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.742 INFO kablam! Oct 12 17:37:27.742 INFO kablam! warning: method is never used: `give` Oct 12 17:37:27.742 INFO kablam! --> src/agent.rs:95:5 Oct 12 17:37:27.742 INFO kablam! | Oct 12 17:37:27.742 INFO kablam! 95 | pub fn give(&mut self, res: &Resource, amount: f32) { Oct 12 17:37:27.742 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.742 INFO kablam! Oct 12 17:37:27.742 INFO kablam! warning: method is never used: `can_afford` Oct 12 17:37:27.742 INFO kablam! --> src/agent.rs:125:5 Oct 12 17:37:27.742 INFO kablam! | Oct 12 17:37:27.742 INFO kablam! 125 | pub fn can_afford(&self, cost: f32) -> bool { Oct 12 17:37:27.742 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.742 INFO kablam! Oct 12 17:37:27.742 INFO kablam! warning: method is never used: `attempt_item_purchase` Oct 12 17:37:27.742 INFO kablam! --> src/agent.rs:129:5 Oct 12 17:37:27.742 INFO kablam! | Oct 12 17:37:27.742 INFO kablam! 129 | pub fn attempt_item_purchase(&mut self) { Oct 12 17:37:27.742 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.742 INFO kablam! Oct 12 17:37:27.742 INFO kablam! warning: method is never used: `name` Oct 12 17:37:27.742 INFO kablam! --> src/agent.rs:149:5 Oct 12 17:37:27.742 INFO kablam! | Oct 12 17:37:27.742 INFO kablam! 149 | pub fn name(&self) -> &String { Oct 12 17:37:27.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.743 INFO kablam! Oct 12 17:37:27.743 INFO kablam! warning: method is never used: `values` Oct 12 17:37:27.743 INFO kablam! --> src/resource.rs:22:5 Oct 12 17:37:27.743 INFO kablam! | Oct 12 17:37:27.743 INFO kablam! 22 | pub fn values() -> Vec { Oct 12 17:37:27.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.743 INFO kablam! Oct 12 17:37:27.743 INFO kablam! warning: method is never used: `cost` Oct 12 17:37:27.743 INFO kablam! --> src/resource.rs:33:5 Oct 12 17:37:27.743 INFO kablam! | Oct 12 17:37:27.743 INFO kablam! 33 | pub fn cost(&self) -> f32 { Oct 12 17:37:27.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.743 INFO kablam! Oct 12 17:37:27.743 INFO kablam! warning: associated const is never used: `MIN_PRODUCTION` Oct 12 17:37:27.743 INFO kablam! --> src/distributor.rs:40:5 Oct 12 17:37:27.743 INFO kablam! | Oct 12 17:37:27.743 INFO kablam! 40 | pub const MIN_PRODUCTION: f32 = 0.01; Oct 12 17:37:27.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.743 INFO kablam! Oct 12 17:37:27.743 INFO kablam! warning: method is never used: `produce_and_collate_resources` Oct 12 17:37:27.743 INFO kablam! --> src/distributor.rs:42:5 Oct 12 17:37:27.743 INFO kablam! | Oct 12 17:37:27.743 INFO kablam! 42 | / fn produce_and_collate_resources(agents: &mut[&mut Agent], Oct 12 17:37:27.743 INFO kablam! 43 | | leftover_production: Option) -> ProductionResult { Oct 12 17:37:27.743 INFO kablam! 44 | | Oct 12 17:37:27.743 INFO kablam! 45 | | let mut all_produced_resources = match leftover_production { Oct 12 17:37:27.743 INFO kablam! ... | Oct 12 17:37:27.743 INFO kablam! 56 | | all_produced_resources Oct 12 17:37:27.743 INFO kablam! 57 | | } Oct 12 17:37:27.743 INFO kablam! | |_____^ Oct 12 17:37:27.743 INFO kablam! Oct 12 17:37:27.743 INFO kablam! warning: method is never used: `distribute` Oct 12 17:37:27.743 INFO kablam! --> src/distributor.rs:59:5 Oct 12 17:37:27.743 INFO kablam! | Oct 12 17:37:27.743 INFO kablam! 59 | pub fn distribute(agents: &mut[&mut Agent], leftover_production: Option) -> DistributorResult { Oct 12 17:37:27.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.743 INFO kablam! Oct 12 17:37:27.743 INFO kablam! warning: method is never used: `give_item` Oct 12 17:37:27.743 INFO kablam! --> src/possessions.rs:26:5 Oct 12 17:37:27.743 INFO kablam! | Oct 12 17:37:27.743 INFO kablam! 26 | pub fn give_item(&mut self, item: &Item, amount: i32) { Oct 12 17:37:27.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.743 INFO kablam! Oct 12 17:37:27.743 INFO kablam! warning: method is never used: `has_item` Oct 12 17:37:27.743 INFO kablam! --> src/possessions.rs:31:5 Oct 12 17:37:27.743 INFO kablam! | Oct 12 17:37:27.743 INFO kablam! 31 | pub fn has_item(&self, item: Item) -> Option { Oct 12 17:37:27.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.743 INFO kablam! Oct 12 17:37:27.743 INFO kablam! warning: function is never used: `run` Oct 12 17:37:27.743 INFO kablam! --> src/main.rs:85:1 Oct 12 17:37:27.743 INFO kablam! | Oct 12 17:37:27.743 INFO kablam! 85 | fn run(delta: i32, agent_map: &mut HashMap) { Oct 12 17:37:27.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.743 INFO kablam! Oct 12 17:37:27.743 INFO kablam! warning: function is never used: `do_distribute` Oct 12 17:37:27.743 INFO kablam! --> src/main.rs:101:1 Oct 12 17:37:27.743 INFO kablam! | Oct 12 17:37:27.743 INFO kablam! 101 | / fn do_distribute(agents: &mut HashMap, leftover: Vec>, Oct 12 17:37:27.743 INFO kablam! 102 | | chunk_size: usize) -> Vec { Oct 12 17:37:27.743 INFO kablam! 103 | | Oct 12 17:37:27.743 INFO kablam! 104 | | let agent_vec: &mut Vec<&mut Agent> = &mut agents.values_mut().collect(); Oct 12 17:37:27.743 INFO kablam! ... | Oct 12 17:37:27.743 INFO kablam! 113 | | .collect() Oct 12 17:37:27.743 INFO kablam! 114 | | } Oct 12 17:37:27.743 INFO kablam! | |_^ Oct 12 17:37:27.743 INFO kablam! Oct 12 17:37:27.743 INFO kablam! warning: function is never used: `distribute` Oct 12 17:37:27.743 INFO kablam! --> src/main.rs:116:1 Oct 12 17:37:27.743 INFO kablam! | Oct 12 17:37:27.743 INFO kablam! 116 | fn distribute(agents: &mut HashMap) -> ProductionResult { Oct 12 17:37:27.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.743 INFO kablam! Oct 12 17:37:27.743 INFO kablam! warning: function is never used: `combine_leftover_production` Oct 12 17:37:27.743 INFO kablam! --> src/main.rs:149:1 Oct 12 17:37:27.743 INFO kablam! | Oct 12 17:37:27.743 INFO kablam! 149 | fn combine_leftover_production(mut production: Vec) -> Vec> { Oct 12 17:37:27.743 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.743 INFO kablam! Oct 12 17:37:27.743 INFO kablam! warning: function is never used: `store_unused_production` Oct 12 17:37:27.743 INFO kablam! --> src/main.rs:167:1 Oct 12 17:37:27.743 INFO kablam! | Oct 12 17:37:27.743 INFO kablam! 167 | / fn store_unused_production(agent_map: &mut HashMap, Oct 12 17:37:27.743 INFO kablam! 168 | | mut production_result: ProductionResult) { Oct 12 17:37:27.743 INFO kablam! 169 | | Oct 12 17:37:27.743 INFO kablam! 170 | | for (_resource, mut leftover_production) in production_result.drain() { Oct 12 17:37:27.743 INFO kablam! ... | Oct 12 17:37:27.743 INFO kablam! 175 | | } Oct 12 17:37:27.743 INFO kablam! 176 | | } Oct 12 17:37:27.743 INFO kablam! | |_^ Oct 12 17:37:27.744 INFO kablam! Oct 12 17:37:27.744 INFO kablam! warning: function is never used: `consume` Oct 12 17:37:27.744 INFO kablam! --> src/main.rs:178:1 Oct 12 17:37:27.744 INFO kablam! | Oct 12 17:37:27.744 INFO kablam! 178 | fn consume(agents: Vec<&mut Agent>) { Oct 12 17:37:27.744 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.744 INFO kablam! Oct 12 17:37:27.744 INFO kablam! warning: function is never used: `reevaluate_occupation` Oct 12 17:37:27.744 INFO kablam! --> src/main.rs:186:1 Oct 12 17:37:27.744 INFO kablam! | Oct 12 17:37:27.744 INFO kablam! 186 | fn reevaluate_occupation(agents: &mut Vec<&mut Agent>) { Oct 12 17:37:27.744 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.744 INFO kablam! Oct 12 17:37:27.744 INFO kablam! warning: function is never used: `make_purchases` Oct 12 17:37:27.744 INFO kablam! --> src/main.rs:191:1 Oct 12 17:37:27.744 INFO kablam! | Oct 12 17:37:27.744 INFO kablam! 191 | fn make_purchases(agents: &mut Vec<&mut Agent>) { Oct 12 17:37:27.744 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.744 INFO kablam! Oct 12 17:37:27.744 INFO kablam! warning: function is never used: `print_state` Oct 12 17:37:27.744 INFO kablam! --> src/main.rs:197:1 Oct 12 17:37:27.744 INFO kablam! | Oct 12 17:37:27.744 INFO kablam! 197 | fn print_state(agents: &HashMap) { Oct 12 17:37:27.744 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 12 17:37:27.744 INFO kablam! Oct 12 17:37:27.854 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 1m 01s Oct 12 17:37:27.876 INFO kablam! su: No module specific data is present Oct 12 17:37:28.792 INFO running `"docker" "rm" "-f" "60f377023f2e33d0728cf60b924279e6353827f9195c9207d67df91a18252f9a"` Oct 12 17:37:29.184 INFO blam! 60f377023f2e33d0728cf60b924279e6353827f9195c9207d67df91a18252f9a