Oct 21 15:47:22.085 INFO checking mdeg/market-agent-experiment against master#155510e377ae2a8d8ee0dad1a5f809c9062a5526 for pr-55192 Oct 21 15:47:22.085 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192/worker-4/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-4/pr-55192/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/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 +155510e377ae2a8d8ee0dad1a5f809c9062a5526-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 21 15:47:22.521 INFO blam! 6b9f2d127cc31e2db3f777d3ad061065230204b1bbaa4230da860c49e4652ae5 Oct 21 15:47:22.523 INFO running `"docker" "start" "-a" "6b9f2d127cc31e2db3f777d3ad061065230204b1bbaa4230da860c49e4652ae5"` Oct 21 15:47:23.636 INFO kablam! usermod: no changes Oct 21 15:47:23.920 INFO kablam! Compiling serde v1.0.41 Oct 21 15:47:23.920 INFO kablam! Checking uuid v0.6.3 Oct 21 15:47:23.920 INFO kablam! Compiling tempdir v0.3.7 Oct 21 15:47:23.920 INFO kablam! Compiling backtrace-sys v0.1.16 Oct 21 15:47:23.920 INFO kablam! Checking uuid v0.4.0 Oct 21 15:47:23.920 INFO kablam! Checking mio-uds v0.6.4 Oct 21 15:47:23.920 INFO kablam! Compiling actix_derive v0.2.0 Oct 21 15:47:23.920 INFO kablam! Checking backtrace v0.2.3 Oct 21 15:47:24.821 INFO kablam! Compiling serde_derive v1.0.41 Oct 21 15:47:26.590 INFO kablam! Compiling backtrace v0.3.6 Oct 21 15:47:26.623 INFO kablam! Checking failure v0.1.1 Oct 21 15:47:26.664 INFO kablam! Checking error-chain v0.1.12 Oct 21 15:47:26.942 INFO kablam! Checking tokio-signal v0.1.5 Oct 21 15:47:28.580 INFO kablam! Checking trust-dns-proto v0.3.2 Oct 21 15:47:29.952 INFO kablam! Compiling error-chain v0.11.0 Oct 21 15:47:39.476 INFO kablam! Checking trust-dns-resolver v0.8.1 Oct 21 15:47:49.067 INFO kablam! Compiling semver v0.8.0 Oct 21 15:47:49.067 INFO kablam! Compiling serde_json v1.0.15 Oct 21 15:47:53.532 INFO kablam! Compiling cargo_metadata v0.3.3 Oct 21 15:47:56.584 INFO kablam! Compiling skeptic v0.13.2 Oct 21 15:47:59.721 INFO kablam! Compiling actix v0.5.6 Oct 21 15:48:05.832 INFO kablam! Checking market-demo v0.1.0 (/source) Oct 21 15:48:08.148 INFO kablam! warning: unused import: `actix` Oct 21 15:48:08.148 INFO kablam! --> src/agent.rs:9:5 Oct 21 15:48:08.148 INFO kablam! | Oct 21 15:48:08.148 INFO kablam! 9 | use actix; Oct 21 15:48:08.148 INFO kablam! | ^^^^^ Oct 21 15:48:08.148 INFO kablam! | Oct 21 15:48:08.148 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 21 15:48:08.148 INFO kablam! Oct 21 15:48:08.148 INFO kablam! warning: unused import: `futures::future::Future` Oct 21 15:48:08.148 INFO kablam! --> src/agent.rs:11:5 Oct 21 15:48:08.148 INFO kablam! | Oct 21 15:48:08.148 INFO kablam! 11 | use futures::future::Future; Oct 21 15:48:08.148 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.148 INFO kablam! Oct 21 15:48:08.149 INFO kablam! warning: unused import: `futures::future::*` Oct 21 15:48:08.149 INFO kablam! --> src/main.rs:22:5 Oct 21 15:48:08.149 INFO kablam! | Oct 21 15:48:08.149 INFO kablam! 22 | use futures::future::*; Oct 21 15:48:08.149 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.149 INFO kablam! Oct 21 15:48:08.480 INFO kablam! warning: unused variable: `turn_pulser` Oct 21 15:48:08.481 INFO kablam! --> src/main.rs:45:9 Oct 21 15:48:08.481 INFO kablam! | Oct 21 15:48:08.482 INFO kablam! 45 | let turn_pulser: Addr = TurnPulser { agents }.start(); Oct 21 15:48:08.482 INFO kablam! | ^^^^^^^^^^^ help: consider using `_turn_pulser` instead Oct 21 15:48:08.482 INFO kablam! | Oct 21 15:48:08.483 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 21 15:48:08.483 INFO kablam! Oct 21 15:48:08.484 INFO kablam! warning: unused variable: `ctx` Oct 21 15:48:08.484 INFO kablam! --> src/agent.rs:27:27 Oct 21 15:48:08.484 INFO kablam! | Oct 21 15:48:08.485 INFO kablam! 27 | fn started(&mut self, ctx: &mut Self::Context) { Oct 21 15:48:08.485 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 21 15:48:08.485 INFO kablam! Oct 21 15:48:08.486 INFO kablam! warning: unused variable: `msg` Oct 21 15:48:08.486 INFO kablam! --> src/agent.rs:35:26 Oct 21 15:48:08.486 INFO kablam! | Oct 21 15:48:08.486 INFO kablam! 35 | fn handle(&mut self, msg: ::Tick, ctx: &mut Context) -> Self::Result { Oct 21 15:48:08.487 INFO kablam! | ^^^ help: consider using `_msg` instead Oct 21 15:48:08.487 INFO kablam! Oct 21 15:48:08.487 INFO kablam! warning: unused variable: `ctx` Oct 21 15:48:08.488 INFO kablam! --> src/agent.rs:35:39 Oct 21 15:48:08.488 INFO kablam! | Oct 21 15:48:08.488 INFO kablam! 35 | fn handle(&mut self, msg: ::Tick, ctx: &mut Context) -> Self::Result { Oct 21 15:48:08.489 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 21 15:48:08.489 INFO kablam! Oct 21 15:48:08.492 INFO kablam! warning: unused variable: `msg` Oct 21 15:48:08.493 INFO kablam! --> src/agent.rs:47:26 Oct 21 15:48:08.493 INFO kablam! | Oct 21 15:48:08.493 INFO kablam! 47 | fn handle(&mut self, msg: RequestStateMessage, ctx: &mut Context) -> Self::Result { Oct 21 15:48:08.494 INFO kablam! | ^^^ help: consider using `_msg` instead Oct 21 15:48:08.494 INFO kablam! Oct 21 15:48:08.494 INFO kablam! warning: unused variable: `ctx` Oct 21 15:48:08.494 INFO kablam! --> src/agent.rs:47:52 Oct 21 15:48:08.494 INFO kablam! | Oct 21 15:48:08.495 INFO kablam! 47 | fn handle(&mut self, msg: RequestStateMessage, ctx: &mut Context) -> Self::Result { Oct 21 15:48:08.495 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 21 15:48:08.495 INFO kablam! Oct 21 15:48:08.495 INFO kablam! warning: unused variable: `ctx` Oct 21 15:48:08.496 INFO kablam! --> src/distributor.rs:27:50 Oct 21 15:48:08.496 INFO kablam! | Oct 21 15:48:08.496 INFO kablam! 27 | fn handle(&mut self, msg: ProductionMessage, ctx: &mut Self::Context) -> Self::Result { Oct 21 15:48:08.496 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 21 15:48:08.497 INFO kablam! Oct 21 15:48:08.616 INFO kablam! warning: method is never used: `set_production` Oct 21 15:48:08.616 INFO kablam! --> src/agent.rs:83:5 Oct 21 15:48:08.616 INFO kablam! | Oct 21 15:48:08.616 INFO kablam! 83 | pub fn set_production(&mut self, res: Resource) { Oct 21 15:48:08.616 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.616 INFO kablam! | Oct 21 15:48:08.616 INFO kablam! = note: #[warn(dead_code)] on by default Oct 21 15:48:08.616 INFO kablam! Oct 21 15:48:08.616 INFO kablam! warning: method is never used: `modify_wealth` Oct 21 15:48:08.616 INFO kablam! --> src/agent.rs:87:5 Oct 21 15:48:08.616 INFO kablam! | Oct 21 15:48:08.616 INFO kablam! 87 | pub fn modify_wealth(&mut self, delta: f32) { Oct 21 15:48:08.616 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.616 INFO kablam! Oct 21 15:48:08.616 INFO kablam! warning: method is never used: `consume` Oct 21 15:48:08.616 INFO kablam! --> src/agent.rs:91:5 Oct 21 15:48:08.616 INFO kablam! | Oct 21 15:48:08.616 INFO kablam! 91 | pub fn consume(&mut self) { Oct 21 15:48:08.616 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.616 INFO kablam! Oct 21 15:48:08.616 INFO kablam! warning: method is never used: `give` Oct 21 15:48:08.616 INFO kablam! --> src/agent.rs:95:5 Oct 21 15:48:08.616 INFO kablam! | Oct 21 15:48:08.616 INFO kablam! 95 | pub fn give(&mut self, res: &Resource, amount: f32) { Oct 21 15:48:08.616 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.616 INFO kablam! Oct 21 15:48:08.616 INFO kablam! warning: method is never used: `can_afford` Oct 21 15:48:08.616 INFO kablam! --> src/agent.rs:125:5 Oct 21 15:48:08.616 INFO kablam! | Oct 21 15:48:08.616 INFO kablam! 125 | pub fn can_afford(&self, cost: f32) -> bool { Oct 21 15:48:08.616 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.616 INFO kablam! Oct 21 15:48:08.616 INFO kablam! warning: method is never used: `attempt_item_purchase` Oct 21 15:48:08.616 INFO kablam! --> src/agent.rs:129:5 Oct 21 15:48:08.616 INFO kablam! | Oct 21 15:48:08.616 INFO kablam! 129 | pub fn attempt_item_purchase(&mut self) { Oct 21 15:48:08.616 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.616 INFO kablam! Oct 21 15:48:08.616 INFO kablam! warning: method is never used: `name` Oct 21 15:48:08.616 INFO kablam! --> src/agent.rs:149:5 Oct 21 15:48:08.616 INFO kablam! | Oct 21 15:48:08.617 INFO kablam! 149 | pub fn name(&self) -> &String { Oct 21 15:48:08.617 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.617 INFO kablam! Oct 21 15:48:08.617 INFO kablam! warning: method is never used: `values` Oct 21 15:48:08.617 INFO kablam! --> src/resource.rs:22:5 Oct 21 15:48:08.617 INFO kablam! | Oct 21 15:48:08.617 INFO kablam! 22 | pub fn values() -> Vec { Oct 21 15:48:08.617 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.617 INFO kablam! Oct 21 15:48:08.617 INFO kablam! warning: method is never used: `cost` Oct 21 15:48:08.617 INFO kablam! --> src/resource.rs:33:5 Oct 21 15:48:08.617 INFO kablam! | Oct 21 15:48:08.617 INFO kablam! 33 | pub fn cost(&self) -> f32 { Oct 21 15:48:08.617 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.617 INFO kablam! Oct 21 15:48:08.617 INFO kablam! warning: associated const is never used: `MIN_PRODUCTION` Oct 21 15:48:08.617 INFO kablam! --> src/distributor.rs:40:5 Oct 21 15:48:08.617 INFO kablam! | Oct 21 15:48:08.617 INFO kablam! 40 | pub const MIN_PRODUCTION: f32 = 0.01; Oct 21 15:48:08.617 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.617 INFO kablam! Oct 21 15:48:08.617 INFO kablam! warning: method is never used: `produce_and_collate_resources` Oct 21 15:48:08.617 INFO kablam! --> src/distributor.rs:42:5 Oct 21 15:48:08.617 INFO kablam! | Oct 21 15:48:08.617 INFO kablam! 42 | / fn produce_and_collate_resources(agents: &mut[&mut Agent], Oct 21 15:48:08.617 INFO kablam! 43 | | leftover_production: Option) -> ProductionResult { Oct 21 15:48:08.617 INFO kablam! 44 | | Oct 21 15:48:08.617 INFO kablam! 45 | | let mut all_produced_resources = match leftover_production { Oct 21 15:48:08.617 INFO kablam! ... | Oct 21 15:48:08.617 INFO kablam! 56 | | all_produced_resources Oct 21 15:48:08.617 INFO kablam! 57 | | } Oct 21 15:48:08.617 INFO kablam! | |_____^ Oct 21 15:48:08.617 INFO kablam! Oct 21 15:48:08.617 INFO kablam! warning: method is never used: `distribute` Oct 21 15:48:08.617 INFO kablam! --> src/distributor.rs:59:5 Oct 21 15:48:08.617 INFO kablam! | Oct 21 15:48:08.617 INFO kablam! 59 | pub fn distribute(agents: &mut[&mut Agent], leftover_production: Option) -> DistributorResult { Oct 21 15:48:08.617 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.617 INFO kablam! Oct 21 15:48:08.617 INFO kablam! warning: method is never used: `give_item` Oct 21 15:48:08.617 INFO kablam! --> src/possessions.rs:26:5 Oct 21 15:48:08.617 INFO kablam! | Oct 21 15:48:08.617 INFO kablam! 26 | pub fn give_item(&mut self, item: &Item, amount: i32) { Oct 21 15:48:08.617 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.617 INFO kablam! Oct 21 15:48:08.617 INFO kablam! warning: method is never used: `has_item` Oct 21 15:48:08.617 INFO kablam! --> src/possessions.rs:31:5 Oct 21 15:48:08.617 INFO kablam! | Oct 21 15:48:08.617 INFO kablam! 31 | pub fn has_item(&self, item: Item) -> Option { Oct 21 15:48:08.617 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.617 INFO kablam! Oct 21 15:48:08.617 INFO kablam! warning: function is never used: `run` Oct 21 15:48:08.617 INFO kablam! --> src/main.rs:85:1 Oct 21 15:48:08.617 INFO kablam! | Oct 21 15:48:08.617 INFO kablam! 85 | fn run(delta: i32, agent_map: &mut HashMap) { Oct 21 15:48:08.617 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.617 INFO kablam! Oct 21 15:48:08.617 INFO kablam! warning: function is never used: `do_distribute` Oct 21 15:48:08.617 INFO kablam! --> src/main.rs:101:1 Oct 21 15:48:08.617 INFO kablam! | Oct 21 15:48:08.617 INFO kablam! 101 | / fn do_distribute(agents: &mut HashMap, leftover: Vec>, Oct 21 15:48:08.617 INFO kablam! 102 | | chunk_size: usize) -> Vec { Oct 21 15:48:08.617 INFO kablam! 103 | | Oct 21 15:48:08.617 INFO kablam! 104 | | let agent_vec: &mut Vec<&mut Agent> = &mut agents.values_mut().collect(); Oct 21 15:48:08.617 INFO kablam! ... | Oct 21 15:48:08.617 INFO kablam! 113 | | .collect() Oct 21 15:48:08.617 INFO kablam! 114 | | } Oct 21 15:48:08.617 INFO kablam! | |_^ Oct 21 15:48:08.617 INFO kablam! Oct 21 15:48:08.617 INFO kablam! warning: function is never used: `distribute` Oct 21 15:48:08.617 INFO kablam! --> src/main.rs:116:1 Oct 21 15:48:08.617 INFO kablam! | Oct 21 15:48:08.617 INFO kablam! 116 | fn distribute(agents: &mut HashMap) -> ProductionResult { Oct 21 15:48:08.617 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.617 INFO kablam! Oct 21 15:48:08.617 INFO kablam! warning: function is never used: `combine_leftover_production` Oct 21 15:48:08.617 INFO kablam! --> src/main.rs:149:1 Oct 21 15:48:08.617 INFO kablam! | Oct 21 15:48:08.617 INFO kablam! 149 | fn combine_leftover_production(mut production: Vec) -> Vec> { Oct 21 15:48:08.617 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.617 INFO kablam! Oct 21 15:48:08.617 INFO kablam! warning: function is never used: `store_unused_production` Oct 21 15:48:08.617 INFO kablam! --> src/main.rs:167:1 Oct 21 15:48:08.617 INFO kablam! | Oct 21 15:48:08.618 INFO kablam! 167 | / fn store_unused_production(agent_map: &mut HashMap, Oct 21 15:48:08.618 INFO kablam! 168 | | mut production_result: ProductionResult) { Oct 21 15:48:08.618 INFO kablam! 169 | | Oct 21 15:48:08.618 INFO kablam! 170 | | for (_resource, mut leftover_production) in production_result.drain() { Oct 21 15:48:08.618 INFO kablam! ... | Oct 21 15:48:08.618 INFO kablam! 175 | | } Oct 21 15:48:08.618 INFO kablam! 176 | | } Oct 21 15:48:08.618 INFO kablam! | |_^ Oct 21 15:48:08.618 INFO kablam! Oct 21 15:48:08.618 INFO kablam! warning: function is never used: `consume` Oct 21 15:48:08.618 INFO kablam! --> src/main.rs:178:1 Oct 21 15:48:08.618 INFO kablam! | Oct 21 15:48:08.618 INFO kablam! 178 | fn consume(agents: Vec<&mut Agent>) { Oct 21 15:48:08.618 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.618 INFO kablam! Oct 21 15:48:08.618 INFO kablam! warning: function is never used: `reevaluate_occupation` Oct 21 15:48:08.618 INFO kablam! --> src/main.rs:186:1 Oct 21 15:48:08.618 INFO kablam! | Oct 21 15:48:08.618 INFO kablam! 186 | fn reevaluate_occupation(agents: &mut Vec<&mut Agent>) { Oct 21 15:48:08.618 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.618 INFO kablam! Oct 21 15:48:08.618 INFO kablam! warning: function is never used: `make_purchases` Oct 21 15:48:08.618 INFO kablam! --> src/main.rs:191:1 Oct 21 15:48:08.618 INFO kablam! | Oct 21 15:48:08.618 INFO kablam! 191 | fn make_purchases(agents: &mut Vec<&mut Agent>) { Oct 21 15:48:08.618 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.618 INFO kablam! Oct 21 15:48:08.618 INFO kablam! warning: function is never used: `print_state` Oct 21 15:48:08.618 INFO kablam! --> src/main.rs:197:1 Oct 21 15:48:08.618 INFO kablam! | Oct 21 15:48:08.618 INFO kablam! 197 | fn print_state(agents: &HashMap) { Oct 21 15:48:08.618 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.618 INFO kablam! Oct 21 15:48:08.986 INFO kablam! warning: unused import: `actix` Oct 21 15:48:08.986 INFO kablam! --> src/agent.rs:9:5 Oct 21 15:48:08.986 INFO kablam! | Oct 21 15:48:08.986 INFO kablam! 9 | use actix; Oct 21 15:48:08.986 INFO kablam! | ^^^^^ Oct 21 15:48:08.986 INFO kablam! | Oct 21 15:48:08.986 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 21 15:48:08.986 INFO kablam! Oct 21 15:48:08.986 INFO kablam! warning: unused import: `futures::future::Future` Oct 21 15:48:08.986 INFO kablam! --> src/agent.rs:11:5 Oct 21 15:48:08.986 INFO kablam! | Oct 21 15:48:08.986 INFO kablam! 11 | use futures::future::Future; Oct 21 15:48:08.986 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.986 INFO kablam! Oct 21 15:48:08.986 INFO kablam! warning: unused import: `futures::future::*` Oct 21 15:48:08.986 INFO kablam! --> src/main.rs:22:5 Oct 21 15:48:08.986 INFO kablam! | Oct 21 15:48:08.986 INFO kablam! 22 | use futures::future::*; Oct 21 15:48:08.986 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 21 15:48:08.986 INFO kablam! Oct 21 15:48:09.232 INFO kablam! warning: unused variable: `turn_pulser` Oct 21 15:48:09.233 INFO kablam! --> src/main.rs:45:9 Oct 21 15:48:09.233 INFO kablam! | Oct 21 15:48:09.233 INFO kablam! 45 | let turn_pulser: Addr = TurnPulser { agents }.start(); Oct 21 15:48:09.234 INFO kablam! | ^^^^^^^^^^^ help: consider using `_turn_pulser` instead Oct 21 15:48:09.234 INFO kablam! | Oct 21 15:48:09.234 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 21 15:48:09.234 INFO kablam! Oct 21 15:48:09.235 INFO kablam! warning: unused variable: `ctx` Oct 21 15:48:09.235 INFO kablam! --> src/agent.rs:27:27 Oct 21 15:48:09.235 INFO kablam! | Oct 21 15:48:09.236 INFO kablam! 27 | fn started(&mut self, ctx: &mut Self::Context) { Oct 21 15:48:09.236 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 21 15:48:09.236 INFO kablam! Oct 21 15:48:09.236 INFO kablam! warning: unused variable: `msg` Oct 21 15:48:09.237 INFO kablam! --> src/agent.rs:35:26 Oct 21 15:48:09.237 INFO kablam! | Oct 21 15:48:09.237 INFO kablam! 35 | fn handle(&mut self, msg: ::Tick, ctx: &mut Context) -> Self::Result { Oct 21 15:48:09.237 INFO kablam! | ^^^ help: consider using `_msg` instead Oct 21 15:48:09.238 INFO kablam! Oct 21 15:48:09.238 INFO kablam! warning: unused variable: `ctx` Oct 21 15:48:09.238 INFO kablam! --> src/agent.rs:35:39 Oct 21 15:48:09.238 INFO kablam! | Oct 21 15:48:09.238 INFO kablam! 35 | fn handle(&mut self, msg: ::Tick, ctx: &mut Context) -> Self::Result { Oct 21 15:48:09.238 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 21 15:48:09.238 INFO kablam! Oct 21 15:48:09.238 INFO kablam! warning: unused variable: `msg` Oct 21 15:48:09.238 INFO kablam! --> src/agent.rs:47:26 Oct 21 15:48:09.238 INFO kablam! | Oct 21 15:48:09.238 INFO kablam! 47 | fn handle(&mut self, msg: RequestStateMessage, ctx: &mut Context) -> Self::Result { Oct 21 15:48:09.238 INFO kablam! | ^^^ help: consider using `_msg` instead Oct 21 15:48:09.238 INFO kablam! Oct 21 15:48:09.238 INFO kablam! warning: unused variable: `ctx` Oct 21 15:48:09.238 INFO kablam! --> src/agent.rs:47:52 Oct 21 15:48:09.238 INFO kablam! | Oct 21 15:48:09.238 INFO kablam! 47 | fn handle(&mut self, msg: RequestStateMessage, ctx: &mut Context) -> Self::Result { Oct 21 15:48:09.238 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 21 15:48:09.238 INFO kablam! Oct 21 15:48:09.238 INFO kablam! warning: unused variable: `ctx` Oct 21 15:48:09.238 INFO kablam! --> src/distributor.rs:27:50 Oct 21 15:48:09.238 INFO kablam! | Oct 21 15:48:09.238 INFO kablam! 27 | fn handle(&mut self, msg: ProductionMessage, ctx: &mut Self::Context) -> Self::Result { Oct 21 15:48:09.239 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 21 15:48:09.239 INFO kablam! Oct 21 15:48:09.297 INFO kablam! warning: method is never used: `set_production` Oct 21 15:48:09.297 INFO kablam! --> src/agent.rs:83:5 Oct 21 15:48:09.297 INFO kablam! | Oct 21 15:48:09.297 INFO kablam! 83 | pub fn set_production(&mut self, res: Resource) { Oct 21 15:48:09.297 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.297 INFO kablam! | Oct 21 15:48:09.297 INFO kablam! = note: #[warn(dead_code)] on by default Oct 21 15:48:09.297 INFO kablam! Oct 21 15:48:09.297 INFO kablam! warning: method is never used: `modify_wealth` Oct 21 15:48:09.297 INFO kablam! --> src/agent.rs:87:5 Oct 21 15:48:09.297 INFO kablam! | Oct 21 15:48:09.297 INFO kablam! 87 | pub fn modify_wealth(&mut self, delta: f32) { Oct 21 15:48:09.297 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.297 INFO kablam! Oct 21 15:48:09.298 INFO kablam! warning: method is never used: `consume` Oct 21 15:48:09.298 INFO kablam! --> src/agent.rs:91:5 Oct 21 15:48:09.298 INFO kablam! | Oct 21 15:48:09.298 INFO kablam! 91 | pub fn consume(&mut self) { Oct 21 15:48:09.298 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.298 INFO kablam! Oct 21 15:48:09.298 INFO kablam! warning: method is never used: `give` Oct 21 15:48:09.298 INFO kablam! --> src/agent.rs:95:5 Oct 21 15:48:09.298 INFO kablam! | Oct 21 15:48:09.298 INFO kablam! 95 | pub fn give(&mut self, res: &Resource, amount: f32) { Oct 21 15:48:09.298 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.298 INFO kablam! Oct 21 15:48:09.298 INFO kablam! warning: method is never used: `can_afford` Oct 21 15:48:09.298 INFO kablam! --> src/agent.rs:125:5 Oct 21 15:48:09.298 INFO kablam! | Oct 21 15:48:09.298 INFO kablam! 125 | pub fn can_afford(&self, cost: f32) -> bool { Oct 21 15:48:09.298 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.298 INFO kablam! Oct 21 15:48:09.298 INFO kablam! warning: method is never used: `attempt_item_purchase` Oct 21 15:48:09.298 INFO kablam! --> src/agent.rs:129:5 Oct 21 15:48:09.298 INFO kablam! | Oct 21 15:48:09.298 INFO kablam! 129 | pub fn attempt_item_purchase(&mut self) { Oct 21 15:48:09.298 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.298 INFO kablam! Oct 21 15:48:09.299 INFO kablam! warning: method is never used: `name` Oct 21 15:48:09.299 INFO kablam! --> src/agent.rs:149:5 Oct 21 15:48:09.299 INFO kablam! | Oct 21 15:48:09.299 INFO kablam! 149 | pub fn name(&self) -> &String { Oct 21 15:48:09.299 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.299 INFO kablam! Oct 21 15:48:09.299 INFO kablam! warning: method is never used: `values` Oct 21 15:48:09.299 INFO kablam! --> src/resource.rs:22:5 Oct 21 15:48:09.299 INFO kablam! | Oct 21 15:48:09.299 INFO kablam! 22 | pub fn values() -> Vec { Oct 21 15:48:09.299 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.299 INFO kablam! Oct 21 15:48:09.299 INFO kablam! warning: method is never used: `cost` Oct 21 15:48:09.299 INFO kablam! --> src/resource.rs:33:5 Oct 21 15:48:09.299 INFO kablam! | Oct 21 15:48:09.299 INFO kablam! 33 | pub fn cost(&self) -> f32 { Oct 21 15:48:09.299 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.299 INFO kablam! Oct 21 15:48:09.299 INFO kablam! warning: associated const is never used: `MIN_PRODUCTION` Oct 21 15:48:09.299 INFO kablam! --> src/distributor.rs:40:5 Oct 21 15:48:09.299 INFO kablam! | Oct 21 15:48:09.299 INFO kablam! 40 | pub const MIN_PRODUCTION: f32 = 0.01; Oct 21 15:48:09.299 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.300 INFO kablam! Oct 21 15:48:09.300 INFO kablam! warning: method is never used: `produce_and_collate_resources` Oct 21 15:48:09.300 INFO kablam! --> src/distributor.rs:42:5 Oct 21 15:48:09.300 INFO kablam! | Oct 21 15:48:09.300 INFO kablam! 42 | / fn produce_and_collate_resources(agents: &mut[&mut Agent], Oct 21 15:48:09.300 INFO kablam! 43 | | leftover_production: Option) -> ProductionResult { Oct 21 15:48:09.300 INFO kablam! 44 | | Oct 21 15:48:09.300 INFO kablam! 45 | | let mut all_produced_resources = match leftover_production { Oct 21 15:48:09.300 INFO kablam! ... | Oct 21 15:48:09.300 INFO kablam! 56 | | all_produced_resources Oct 21 15:48:09.300 INFO kablam! 57 | | } Oct 21 15:48:09.300 INFO kablam! | |_____^ Oct 21 15:48:09.300 INFO kablam! Oct 21 15:48:09.300 INFO kablam! warning: method is never used: `distribute` Oct 21 15:48:09.300 INFO kablam! --> src/distributor.rs:59:5 Oct 21 15:48:09.300 INFO kablam! | Oct 21 15:48:09.300 INFO kablam! 59 | pub fn distribute(agents: &mut[&mut Agent], leftover_production: Option) -> DistributorResult { Oct 21 15:48:09.300 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.300 INFO kablam! Oct 21 15:48:09.300 INFO kablam! warning: method is never used: `give_item` Oct 21 15:48:09.300 INFO kablam! --> src/possessions.rs:26:5 Oct 21 15:48:09.300 INFO kablam! | Oct 21 15:48:09.300 INFO kablam! 26 | pub fn give_item(&mut self, item: &Item, amount: i32) { Oct 21 15:48:09.300 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.300 INFO kablam! Oct 21 15:48:09.300 INFO kablam! warning: method is never used: `has_item` Oct 21 15:48:09.300 INFO kablam! --> src/possessions.rs:31:5 Oct 21 15:48:09.300 INFO kablam! | Oct 21 15:48:09.300 INFO kablam! 31 | pub fn has_item(&self, item: Item) -> Option { Oct 21 15:48:09.300 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.300 INFO kablam! Oct 21 15:48:09.300 INFO kablam! warning: function is never used: `run` Oct 21 15:48:09.300 INFO kablam! --> src/main.rs:85:1 Oct 21 15:48:09.300 INFO kablam! | Oct 21 15:48:09.300 INFO kablam! 85 | fn run(delta: i32, agent_map: &mut HashMap) { Oct 21 15:48:09.300 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.300 INFO kablam! Oct 21 15:48:09.300 INFO kablam! warning: function is never used: `do_distribute` Oct 21 15:48:09.300 INFO kablam! --> src/main.rs:101:1 Oct 21 15:48:09.300 INFO kablam! | Oct 21 15:48:09.300 INFO kablam! 101 | / fn do_distribute(agents: &mut HashMap, leftover: Vec>, Oct 21 15:48:09.300 INFO kablam! 102 | | chunk_size: usize) -> Vec { Oct 21 15:48:09.300 INFO kablam! 103 | | Oct 21 15:48:09.300 INFO kablam! 104 | | let agent_vec: &mut Vec<&mut Agent> = &mut agents.values_mut().collect(); Oct 21 15:48:09.300 INFO kablam! ... | Oct 21 15:48:09.300 INFO kablam! 113 | | .collect() Oct 21 15:48:09.300 INFO kablam! 114 | | } Oct 21 15:48:09.300 INFO kablam! | |_^ Oct 21 15:48:09.300 INFO kablam! Oct 21 15:48:09.300 INFO kablam! warning: function is never used: `distribute` Oct 21 15:48:09.300 INFO kablam! --> src/main.rs:116:1 Oct 21 15:48:09.300 INFO kablam! | Oct 21 15:48:09.300 INFO kablam! 116 | fn distribute(agents: &mut HashMap) -> ProductionResult { Oct 21 15:48:09.301 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.301 INFO kablam! Oct 21 15:48:09.301 INFO kablam! warning: function is never used: `combine_leftover_production` Oct 21 15:48:09.301 INFO kablam! --> src/main.rs:149:1 Oct 21 15:48:09.301 INFO kablam! | Oct 21 15:48:09.301 INFO kablam! 149 | fn combine_leftover_production(mut production: Vec) -> Vec> { Oct 21 15:48:09.301 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.301 INFO kablam! Oct 21 15:48:09.301 INFO kablam! warning: function is never used: `store_unused_production` Oct 21 15:48:09.301 INFO kablam! --> src/main.rs:167:1 Oct 21 15:48:09.301 INFO kablam! | Oct 21 15:48:09.301 INFO kablam! 167 | / fn store_unused_production(agent_map: &mut HashMap, Oct 21 15:48:09.301 INFO kablam! 168 | | mut production_result: ProductionResult) { Oct 21 15:48:09.301 INFO kablam! 169 | | Oct 21 15:48:09.301 INFO kablam! 170 | | for (_resource, mut leftover_production) in production_result.drain() { Oct 21 15:48:09.301 INFO kablam! ... | Oct 21 15:48:09.301 INFO kablam! 175 | | } Oct 21 15:48:09.301 INFO kablam! 176 | | } Oct 21 15:48:09.301 INFO kablam! | |_^ Oct 21 15:48:09.301 INFO kablam! Oct 21 15:48:09.301 INFO kablam! warning: function is never used: `consume` Oct 21 15:48:09.301 INFO kablam! --> src/main.rs:178:1 Oct 21 15:48:09.301 INFO kablam! | Oct 21 15:48:09.301 INFO kablam! 178 | fn consume(agents: Vec<&mut Agent>) { Oct 21 15:48:09.301 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.301 INFO kablam! Oct 21 15:48:09.301 INFO kablam! warning: function is never used: `reevaluate_occupation` Oct 21 15:48:09.301 INFO kablam! --> src/main.rs:186:1 Oct 21 15:48:09.301 INFO kablam! | Oct 21 15:48:09.301 INFO kablam! 186 | fn reevaluate_occupation(agents: &mut Vec<&mut Agent>) { Oct 21 15:48:09.301 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.301 INFO kablam! Oct 21 15:48:09.301 INFO kablam! warning: function is never used: `make_purchases` Oct 21 15:48:09.301 INFO kablam! --> src/main.rs:191:1 Oct 21 15:48:09.301 INFO kablam! | Oct 21 15:48:09.301 INFO kablam! 191 | fn make_purchases(agents: &mut Vec<&mut Agent>) { Oct 21 15:48:09.301 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.301 INFO kablam! Oct 21 15:48:09.301 INFO kablam! warning: function is never used: `print_state` Oct 21 15:48:09.301 INFO kablam! --> src/main.rs:197:1 Oct 21 15:48:09.301 INFO kablam! | Oct 21 15:48:09.301 INFO kablam! 197 | fn print_state(agents: &HashMap) { Oct 21 15:48:09.301 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 21 15:48:09.301 INFO kablam! Oct 21 15:48:09.347 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 45.69s Oct 21 15:48:09.368 INFO kablam! su: No module specific data is present Oct 21 15:48:09.944 INFO running `"docker" "rm" "-f" "6b9f2d127cc31e2db3f777d3ad061065230204b1bbaa4230da860c49e4652ae5"` Oct 21 15:48:10.244 INFO blam! 6b9f2d127cc31e2db3f777d3ad061065230204b1bbaa4230da860c49e4652ae5