Oct 27 00:45:36.816 INFO checking mdeg/market-agent-experiment against master#155510e377ae2a8d8ee0dad1a5f809c9062a5526 for pr-55192-2 Oct 27 00:45:36.817 INFO running `"docker" "create" "-v" "/mnt/big/crater/./work/local/target-dirs/pr-55192-2/worker-0/master#155510e377ae2a8d8ee0dad1a5f809c9062a5526:/target:rw,Z" "-v" "/mnt/big/crater/./work/local/test-source/worker-0/pr-55192-2/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 27 00:45:37.271 INFO blam! 39c5e71a8e6b8a74003de896e5777e2dd5aa97af7929797750e3f3a941e62c9e Oct 27 00:45:37.276 INFO running `"docker" "start" "-a" "39c5e71a8e6b8a74003de896e5777e2dd5aa97af7929797750e3f3a941e62c9e"` Oct 27 00:45:38.375 INFO kablam! usermod: no changes Oct 27 00:45:38.684 INFO kablam! Compiling serde v1.0.41 Oct 27 00:45:38.751 INFO kablam! Compiling backtrace-sys v0.1.16 Oct 27 00:45:38.751 INFO kablam! Checking parking_lot v0.4.8 Oct 27 00:45:38.752 INFO kablam! Checking uuid v0.4.0 Oct 27 00:45:38.752 INFO kablam! Checking backtrace v0.2.3 Oct 27 00:45:38.752 INFO kablam! Checking failure v0.1.1 Oct 27 00:45:40.695 INFO kablam! Checking error-chain v0.1.12 Oct 27 00:45:40.724 INFO kablam! Compiling backtrace v0.3.6 Oct 27 00:45:41.888 INFO kablam! Checking crossbeam-channel v0.1.2 Oct 27 00:45:42.401 INFO kablam! Checking trust-dns-proto v0.3.2 Oct 27 00:45:44.107 INFO kablam! Compiling error-chain v0.11.0 Oct 27 00:45:50.797 INFO kablam! Checking trust-dns-resolver v0.8.1 Oct 27 00:45:59.973 INFO kablam! Compiling serde_json v1.0.15 Oct 27 00:45:59.973 INFO kablam! Compiling semver v0.8.0 Oct 27 00:46:05.171 INFO kablam! Compiling cargo_metadata v0.3.3 Oct 27 00:46:08.967 INFO kablam! Compiling skeptic v0.13.2 Oct 27 00:46:13.155 INFO kablam! Compiling actix v0.5.6 Oct 27 00:46:19.445 INFO kablam! Checking market-demo v0.1.0 (/source) Oct 27 00:46:22.572 INFO kablam! warning: unused import: `actix` Oct 27 00:46:22.572 INFO kablam! --> src/agent.rs:9:5 Oct 27 00:46:22.572 INFO kablam! | Oct 27 00:46:22.572 INFO kablam! 9 | use actix; Oct 27 00:46:22.573 INFO kablam! | ^^^^^ Oct 27 00:46:22.573 INFO kablam! | Oct 27 00:46:22.573 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 27 00:46:22.573 INFO kablam! Oct 27 00:46:22.573 INFO kablam! warning: unused import: `futures::future::Future` Oct 27 00:46:22.574 INFO kablam! --> src/agent.rs:11:5 Oct 27 00:46:22.574 INFO kablam! | Oct 27 00:46:22.574 INFO kablam! 11 | use futures::future::Future; Oct 27 00:46:22.574 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.574 INFO kablam! Oct 27 00:46:22.574 INFO kablam! warning: unused import: `futures::future::*` Oct 27 00:46:22.575 INFO kablam! --> src/main.rs:22:5 Oct 27 00:46:22.575 INFO kablam! | Oct 27 00:46:22.575 INFO kablam! 22 | use futures::future::*; Oct 27 00:46:22.575 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.576 INFO kablam! Oct 27 00:46:22.748 INFO kablam! warning: unused import: `actix` Oct 27 00:46:22.748 INFO kablam! --> src/agent.rs:9:5 Oct 27 00:46:22.749 INFO kablam! | Oct 27 00:46:22.755 INFO kablam! 9 | use actix; Oct 27 00:46:22.755 INFO kablam! | ^^^^^ Oct 27 00:46:22.756 INFO kablam! | Oct 27 00:46:22.756 INFO kablam! = note: #[warn(unused_imports)] on by default Oct 27 00:46:22.756 INFO kablam! Oct 27 00:46:22.757 INFO kablam! warning: unused import: `futures::future::Future` Oct 27 00:46:22.757 INFO kablam! --> src/agent.rs:11:5 Oct 27 00:46:22.757 INFO kablam! | Oct 27 00:46:22.758 INFO kablam! 11 | use futures::future::Future; Oct 27 00:46:22.758 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.758 INFO kablam! Oct 27 00:46:22.763 INFO kablam! warning: unused import: `futures::future::*` Oct 27 00:46:22.764 INFO kablam! --> src/main.rs:22:5 Oct 27 00:46:22.765 INFO kablam! | Oct 27 00:46:22.765 INFO kablam! 22 | use futures::future::*; Oct 27 00:46:22.765 INFO kablam! | ^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.771 INFO kablam! Oct 27 00:46:22.876 INFO kablam! warning: unused variable: `turn_pulser` Oct 27 00:46:22.876 INFO kablam! --> src/main.rs:45:9 Oct 27 00:46:22.876 INFO kablam! | Oct 27 00:46:22.876 INFO kablam! 45 | let turn_pulser: Addr = TurnPulser { agents }.start(); Oct 27 00:46:22.876 INFO kablam! | ^^^^^^^^^^^ help: consider using `_turn_pulser` instead Oct 27 00:46:22.876 INFO kablam! | Oct 27 00:46:22.876 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 27 00:46:22.876 INFO kablam! Oct 27 00:46:22.878 INFO kablam! warning: unused variable: `ctx` Oct 27 00:46:22.879 INFO kablam! --> src/agent.rs:27:27 Oct 27 00:46:22.879 INFO kablam! | Oct 27 00:46:22.879 INFO kablam! 27 | fn started(&mut self, ctx: &mut Self::Context) { Oct 27 00:46:22.879 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 27 00:46:22.880 INFO kablam! Oct 27 00:46:22.880 INFO kablam! warning: unused variable: `msg` Oct 27 00:46:22.880 INFO kablam! --> src/agent.rs:35:26 Oct 27 00:46:22.880 INFO kablam! | Oct 27 00:46:22.880 INFO kablam! 35 | fn handle(&mut self, msg: ::Tick, ctx: &mut Context) -> Self::Result { Oct 27 00:46:22.881 INFO kablam! | ^^^ help: consider using `_msg` instead Oct 27 00:46:22.881 INFO kablam! Oct 27 00:46:22.881 INFO kablam! warning: unused variable: `ctx` Oct 27 00:46:22.881 INFO kablam! --> src/agent.rs:35:39 Oct 27 00:46:22.881 INFO kablam! | Oct 27 00:46:22.882 INFO kablam! 35 | fn handle(&mut self, msg: ::Tick, ctx: &mut Context) -> Self::Result { Oct 27 00:46:22.882 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 27 00:46:22.882 INFO kablam! Oct 27 00:46:22.882 INFO kablam! warning: unused variable: `msg` Oct 27 00:46:22.882 INFO kablam! --> src/agent.rs:47:26 Oct 27 00:46:22.883 INFO kablam! | Oct 27 00:46:22.883 INFO kablam! 47 | fn handle(&mut self, msg: RequestStateMessage, ctx: &mut Context) -> Self::Result { Oct 27 00:46:22.883 INFO kablam! | ^^^ help: consider using `_msg` instead Oct 27 00:46:22.883 INFO kablam! Oct 27 00:46:22.883 INFO kablam! warning: unused variable: `ctx` Oct 27 00:46:22.883 INFO kablam! --> src/agent.rs:47:52 Oct 27 00:46:22.884 INFO kablam! | Oct 27 00:46:22.884 INFO kablam! 47 | fn handle(&mut self, msg: RequestStateMessage, ctx: &mut Context) -> Self::Result { Oct 27 00:46:22.884 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 27 00:46:22.884 INFO kablam! Oct 27 00:46:22.884 INFO kablam! warning: unused variable: `ctx` Oct 27 00:46:22.884 INFO kablam! --> src/distributor.rs:27:50 Oct 27 00:46:22.885 INFO kablam! | Oct 27 00:46:22.885 INFO kablam! 27 | fn handle(&mut self, msg: ProductionMessage, ctx: &mut Self::Context) -> Self::Result { Oct 27 00:46:22.885 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 27 00:46:22.885 INFO kablam! Oct 27 00:46:22.959 INFO kablam! warning: method is never used: `set_production` Oct 27 00:46:22.959 INFO kablam! --> src/agent.rs:83:5 Oct 27 00:46:22.959 INFO kablam! | Oct 27 00:46:22.960 INFO kablam! 83 | pub fn set_production(&mut self, res: Resource) { Oct 27 00:46:22.960 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.960 INFO kablam! | Oct 27 00:46:22.960 INFO kablam! = note: #[warn(dead_code)] on by default Oct 27 00:46:22.960 INFO kablam! Oct 27 00:46:22.961 INFO kablam! warning: method is never used: `modify_wealth` Oct 27 00:46:22.961 INFO kablam! --> src/agent.rs:87:5 Oct 27 00:46:22.961 INFO kablam! | Oct 27 00:46:22.961 INFO kablam! 87 | pub fn modify_wealth(&mut self, delta: f32) { Oct 27 00:46:22.962 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.962 INFO kablam! Oct 27 00:46:22.967 INFO kablam! warning: method is never used: `consume` Oct 27 00:46:22.967 INFO kablam! --> src/agent.rs:91:5 Oct 27 00:46:22.967 INFO kablam! | Oct 27 00:46:22.967 INFO kablam! 91 | pub fn consume(&mut self) { Oct 27 00:46:22.968 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.968 INFO kablam! Oct 27 00:46:22.968 INFO kablam! warning: method is never used: `give` Oct 27 00:46:22.968 INFO kablam! --> src/agent.rs:95:5 Oct 27 00:46:22.968 INFO kablam! | Oct 27 00:46:22.969 INFO kablam! 95 | pub fn give(&mut self, res: &Resource, amount: f32) { Oct 27 00:46:22.969 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.969 INFO kablam! Oct 27 00:46:22.969 INFO kablam! warning: method is never used: `can_afford` Oct 27 00:46:22.969 INFO kablam! --> src/agent.rs:125:5 Oct 27 00:46:22.970 INFO kablam! | Oct 27 00:46:22.970 INFO kablam! 125 | pub fn can_afford(&self, cost: f32) -> bool { Oct 27 00:46:22.970 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.970 INFO kablam! Oct 27 00:46:22.970 INFO kablam! warning: method is never used: `attempt_item_purchase` Oct 27 00:46:22.971 INFO kablam! --> src/agent.rs:129:5 Oct 27 00:46:22.971 INFO kablam! | Oct 27 00:46:22.971 INFO kablam! 129 | pub fn attempt_item_purchase(&mut self) { Oct 27 00:46:22.971 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.971 INFO kablam! Oct 27 00:46:22.971 INFO kablam! warning: method is never used: `name` Oct 27 00:46:22.972 INFO kablam! --> src/agent.rs:149:5 Oct 27 00:46:22.972 INFO kablam! | Oct 27 00:46:22.972 INFO kablam! 149 | pub fn name(&self) -> &String { Oct 27 00:46:22.972 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.972 INFO kablam! Oct 27 00:46:22.972 INFO kablam! warning: method is never used: `values` Oct 27 00:46:22.973 INFO kablam! --> src/resource.rs:22:5 Oct 27 00:46:22.973 INFO kablam! | Oct 27 00:46:22.973 INFO kablam! 22 | pub fn values() -> Vec { Oct 27 00:46:22.973 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.973 INFO kablam! Oct 27 00:46:22.973 INFO kablam! warning: method is never used: `cost` Oct 27 00:46:22.974 INFO kablam! --> src/resource.rs:33:5 Oct 27 00:46:22.974 INFO kablam! | Oct 27 00:46:22.974 INFO kablam! 33 | pub fn cost(&self) -> f32 { Oct 27 00:46:22.974 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.974 INFO kablam! Oct 27 00:46:22.975 INFO kablam! warning: associated const is never used: `MIN_PRODUCTION` Oct 27 00:46:22.975 INFO kablam! --> src/distributor.rs:40:5 Oct 27 00:46:22.975 INFO kablam! | Oct 27 00:46:22.975 INFO kablam! 40 | pub const MIN_PRODUCTION: f32 = 0.01; Oct 27 00:46:22.975 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.975 INFO kablam! Oct 27 00:46:22.975 INFO kablam! warning: method is never used: `produce_and_collate_resources` Oct 27 00:46:22.976 INFO kablam! --> src/distributor.rs:42:5 Oct 27 00:46:22.976 INFO kablam! | Oct 27 00:46:22.976 INFO kablam! 42 | / fn produce_and_collate_resources(agents: &mut[&mut Agent], Oct 27 00:46:22.976 INFO kablam! 43 | | leftover_production: Option) -> ProductionResult { Oct 27 00:46:22.976 INFO kablam! 44 | | Oct 27 00:46:22.976 INFO kablam! 45 | | let mut all_produced_resources = match leftover_production { Oct 27 00:46:22.977 INFO kablam! ... | Oct 27 00:46:22.977 INFO kablam! 56 | | all_produced_resources Oct 27 00:46:22.977 INFO kablam! 57 | | } Oct 27 00:46:22.977 INFO kablam! | |_____^ Oct 27 00:46:22.977 INFO kablam! Oct 27 00:46:22.977 INFO kablam! warning: method is never used: `distribute` Oct 27 00:46:22.978 INFO kablam! --> src/distributor.rs:59:5 Oct 27 00:46:22.978 INFO kablam! | Oct 27 00:46:22.978 INFO kablam! 59 | pub fn distribute(agents: &mut[&mut Agent], leftover_production: Option) -> DistributorResult { Oct 27 00:46:22.978 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.978 INFO kablam! Oct 27 00:46:22.979 INFO kablam! warning: method is never used: `give_item` Oct 27 00:46:22.979 INFO kablam! --> src/possessions.rs:26:5 Oct 27 00:46:22.979 INFO kablam! | Oct 27 00:46:22.979 INFO kablam! 26 | pub fn give_item(&mut self, item: &Item, amount: i32) { Oct 27 00:46:22.979 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.980 INFO kablam! Oct 27 00:46:22.980 INFO kablam! warning: method is never used: `has_item` Oct 27 00:46:22.980 INFO kablam! --> src/possessions.rs:31:5 Oct 27 00:46:22.980 INFO kablam! | Oct 27 00:46:22.980 INFO kablam! 31 | pub fn has_item(&self, item: Item) -> Option { Oct 27 00:46:22.981 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.981 INFO kablam! Oct 27 00:46:22.981 INFO kablam! warning: function is never used: `run` Oct 27 00:46:22.981 INFO kablam! --> src/main.rs:85:1 Oct 27 00:46:22.981 INFO kablam! | Oct 27 00:46:22.982 INFO kablam! 85 | fn run(delta: i32, agent_map: &mut HashMap) { Oct 27 00:46:22.982 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.982 INFO kablam! Oct 27 00:46:22.982 INFO kablam! warning: function is never used: `do_distribute` Oct 27 00:46:22.983 INFO kablam! --> src/main.rs:101:1 Oct 27 00:46:22.983 INFO kablam! | Oct 27 00:46:22.983 INFO kablam! 101 | / fn do_distribute(agents: &mut HashMap, leftover: Vec>, Oct 27 00:46:22.983 INFO kablam! 102 | | chunk_size: usize) -> Vec { Oct 27 00:46:22.983 INFO kablam! 103 | | Oct 27 00:46:22.984 INFO kablam! 104 | | let agent_vec: &mut Vec<&mut Agent> = &mut agents.values_mut().collect(); Oct 27 00:46:22.984 INFO kablam! ... | Oct 27 00:46:22.984 INFO kablam! 113 | | .collect() Oct 27 00:46:22.984 INFO kablam! 114 | | } Oct 27 00:46:22.984 INFO kablam! | |_^ Oct 27 00:46:22.985 INFO kablam! Oct 27 00:46:22.985 INFO kablam! warning: function is never used: `distribute` Oct 27 00:46:22.985 INFO kablam! --> src/main.rs:116:1 Oct 27 00:46:22.985 INFO kablam! | Oct 27 00:46:22.985 INFO kablam! 116 | fn distribute(agents: &mut HashMap) -> ProductionResult { Oct 27 00:46:22.986 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.986 INFO kablam! Oct 27 00:46:22.986 INFO kablam! warning: function is never used: `combine_leftover_production` Oct 27 00:46:22.986 INFO kablam! --> src/main.rs:149:1 Oct 27 00:46:22.987 INFO kablam! | Oct 27 00:46:22.987 INFO kablam! 149 | fn combine_leftover_production(mut production: Vec) -> Vec> { Oct 27 00:46:22.987 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.987 INFO kablam! Oct 27 00:46:22.987 INFO kablam! warning: function is never used: `store_unused_production` Oct 27 00:46:22.988 INFO kablam! --> src/main.rs:167:1 Oct 27 00:46:22.988 INFO kablam! | Oct 27 00:46:22.988 INFO kablam! 167 | / fn store_unused_production(agent_map: &mut HashMap, Oct 27 00:46:22.988 INFO kablam! 168 | | mut production_result: ProductionResult) { Oct 27 00:46:22.988 INFO kablam! 169 | | Oct 27 00:46:22.988 INFO kablam! 170 | | for (_resource, mut leftover_production) in production_result.drain() { Oct 27 00:46:22.989 INFO kablam! ... | Oct 27 00:46:22.989 INFO kablam! 175 | | } Oct 27 00:46:22.989 INFO kablam! 176 | | } Oct 27 00:46:22.989 INFO kablam! | |_^ Oct 27 00:46:22.989 INFO kablam! Oct 27 00:46:22.989 INFO kablam! warning: function is never used: `consume` Oct 27 00:46:22.990 INFO kablam! --> src/main.rs:178:1 Oct 27 00:46:22.990 INFO kablam! | Oct 27 00:46:22.990 INFO kablam! 178 | fn consume(agents: Vec<&mut Agent>) { Oct 27 00:46:22.990 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.990 INFO kablam! Oct 27 00:46:22.991 INFO kablam! warning: function is never used: `reevaluate_occupation` Oct 27 00:46:22.991 INFO kablam! --> src/main.rs:186:1 Oct 27 00:46:22.991 INFO kablam! | Oct 27 00:46:22.991 INFO kablam! 186 | fn reevaluate_occupation(agents: &mut Vec<&mut Agent>) { Oct 27 00:46:22.991 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.991 INFO kablam! Oct 27 00:46:22.992 INFO kablam! warning: function is never used: `make_purchases` Oct 27 00:46:22.992 INFO kablam! --> src/main.rs:191:1 Oct 27 00:46:22.992 INFO kablam! | Oct 27 00:46:22.992 INFO kablam! 191 | fn make_purchases(agents: &mut Vec<&mut Agent>) { Oct 27 00:46:22.992 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.992 INFO kablam! Oct 27 00:46:22.992 INFO kablam! warning: function is never used: `print_state` Oct 27 00:46:22.993 INFO kablam! --> src/main.rs:197:1 Oct 27 00:46:22.993 INFO kablam! | Oct 27 00:46:22.993 INFO kablam! 197 | fn print_state(agents: &HashMap) { Oct 27 00:46:22.993 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:22.993 INFO kablam! Oct 27 00:46:23.139 INFO kablam! warning: unused variable: `turn_pulser` Oct 27 00:46:23.139 INFO kablam! --> src/main.rs:45:9 Oct 27 00:46:23.139 INFO kablam! | Oct 27 00:46:23.140 INFO kablam! 45 | let turn_pulser: Addr = TurnPulser { agents }.start(); Oct 27 00:46:23.140 INFO kablam! | ^^^^^^^^^^^ help: consider using `_turn_pulser` instead Oct 27 00:46:23.140 INFO kablam! | Oct 27 00:46:23.141 INFO kablam! = note: #[warn(unused_variables)] on by default Oct 27 00:46:23.141 INFO kablam! Oct 27 00:46:23.141 INFO kablam! warning: unused variable: `ctx` Oct 27 00:46:23.142 INFO kablam! --> src/agent.rs:27:27 Oct 27 00:46:23.142 INFO kablam! | Oct 27 00:46:23.142 INFO kablam! 27 | fn started(&mut self, ctx: &mut Self::Context) { Oct 27 00:46:23.142 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 27 00:46:23.143 INFO kablam! Oct 27 00:46:23.143 INFO kablam! warning: unused variable: `msg` Oct 27 00:46:23.143 INFO kablam! --> src/agent.rs:35:26 Oct 27 00:46:23.144 INFO kablam! | Oct 27 00:46:23.144 INFO kablam! 35 | fn handle(&mut self, msg: ::Tick, ctx: &mut Context) -> Self::Result { Oct 27 00:46:23.144 INFO kablam! | ^^^ help: consider using `_msg` instead Oct 27 00:46:23.145 INFO kablam! Oct 27 00:46:23.145 INFO kablam! warning: unused variable: `ctx` Oct 27 00:46:23.145 INFO kablam! --> src/agent.rs:35:39 Oct 27 00:46:23.146 INFO kablam! | Oct 27 00:46:23.146 INFO kablam! 35 | fn handle(&mut self, msg: ::Tick, ctx: &mut Context) -> Self::Result { Oct 27 00:46:23.146 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 27 00:46:23.147 INFO kablam! Oct 27 00:46:23.147 INFO kablam! warning: unused variable: `msg` Oct 27 00:46:23.147 INFO kablam! --> src/agent.rs:47:26 Oct 27 00:46:23.148 INFO kablam! | Oct 27 00:46:23.148 INFO kablam! 47 | fn handle(&mut self, msg: RequestStateMessage, ctx: &mut Context) -> Self::Result { Oct 27 00:46:23.148 INFO kablam! | ^^^ help: consider using `_msg` instead Oct 27 00:46:23.148 INFO kablam! Oct 27 00:46:23.149 INFO kablam! warning: unused variable: `ctx` Oct 27 00:46:23.149 INFO kablam! --> src/agent.rs:47:52 Oct 27 00:46:23.149 INFO kablam! | Oct 27 00:46:23.150 INFO kablam! 47 | fn handle(&mut self, msg: RequestStateMessage, ctx: &mut Context) -> Self::Result { Oct 27 00:46:23.150 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 27 00:46:23.150 INFO kablam! Oct 27 00:46:23.151 INFO kablam! warning: unused variable: `ctx` Oct 27 00:46:23.151 INFO kablam! --> src/distributor.rs:27:50 Oct 27 00:46:23.151 INFO kablam! | Oct 27 00:46:23.151 INFO kablam! 27 | fn handle(&mut self, msg: ProductionMessage, ctx: &mut Self::Context) -> Self::Result { Oct 27 00:46:23.151 INFO kablam! | ^^^ help: consider using `_ctx` instead Oct 27 00:46:23.151 INFO kablam! Oct 27 00:46:23.234 INFO kablam! warning: method is never used: `set_production` Oct 27 00:46:23.234 INFO kablam! --> src/agent.rs:83:5 Oct 27 00:46:23.235 INFO kablam! | Oct 27 00:46:23.235 INFO kablam! 83 | pub fn set_production(&mut self, res: Resource) { Oct 27 00:46:23.235 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.236 INFO kablam! | Oct 27 00:46:23.236 INFO kablam! = note: #[warn(dead_code)] on by default Oct 27 00:46:23.236 INFO kablam! Oct 27 00:46:23.237 INFO kablam! warning: method is never used: `modify_wealth` Oct 27 00:46:23.237 INFO kablam! --> src/agent.rs:87:5 Oct 27 00:46:23.237 INFO kablam! | Oct 27 00:46:23.238 INFO kablam! 87 | pub fn modify_wealth(&mut self, delta: f32) { Oct 27 00:46:23.238 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.238 INFO kablam! Oct 27 00:46:23.239 INFO kablam! warning: method is never used: `consume` Oct 27 00:46:23.239 INFO kablam! --> src/agent.rs:91:5 Oct 27 00:46:23.239 INFO kablam! | Oct 27 00:46:23.239 INFO kablam! 91 | pub fn consume(&mut self) { Oct 27 00:46:23.240 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.240 INFO kablam! Oct 27 00:46:23.240 INFO kablam! warning: method is never used: `give` Oct 27 00:46:23.241 INFO kablam! --> src/agent.rs:95:5 Oct 27 00:46:23.241 INFO kablam! | Oct 27 00:46:23.241 INFO kablam! 95 | pub fn give(&mut self, res: &Resource, amount: f32) { Oct 27 00:46:23.242 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.242 INFO kablam! Oct 27 00:46:23.242 INFO kablam! warning: method is never used: `can_afford` Oct 27 00:46:23.242 INFO kablam! --> src/agent.rs:125:5 Oct 27 00:46:23.242 INFO kablam! | Oct 27 00:46:23.242 INFO kablam! 125 | pub fn can_afford(&self, cost: f32) -> bool { Oct 27 00:46:23.242 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.242 INFO kablam! Oct 27 00:46:23.242 INFO kablam! warning: method is never used: `attempt_item_purchase` Oct 27 00:46:23.242 INFO kablam! --> src/agent.rs:129:5 Oct 27 00:46:23.242 INFO kablam! | Oct 27 00:46:23.242 INFO kablam! 129 | pub fn attempt_item_purchase(&mut self) { Oct 27 00:46:23.242 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.242 INFO kablam! Oct 27 00:46:23.242 INFO kablam! warning: method is never used: `name` Oct 27 00:46:23.242 INFO kablam! --> src/agent.rs:149:5 Oct 27 00:46:23.242 INFO kablam! | Oct 27 00:46:23.242 INFO kablam! 149 | pub fn name(&self) -> &String { Oct 27 00:46:23.242 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.242 INFO kablam! Oct 27 00:46:23.242 INFO kablam! warning: method is never used: `values` Oct 27 00:46:23.242 INFO kablam! --> src/resource.rs:22:5 Oct 27 00:46:23.242 INFO kablam! | Oct 27 00:46:23.242 INFO kablam! 22 | pub fn values() -> Vec { Oct 27 00:46:23.243 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.243 INFO kablam! Oct 27 00:46:23.243 INFO kablam! warning: method is never used: `cost` Oct 27 00:46:23.243 INFO kablam! --> src/resource.rs:33:5 Oct 27 00:46:23.243 INFO kablam! | Oct 27 00:46:23.243 INFO kablam! 33 | pub fn cost(&self) -> f32 { Oct 27 00:46:23.243 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.243 INFO kablam! Oct 27 00:46:23.243 INFO kablam! warning: associated const is never used: `MIN_PRODUCTION` Oct 27 00:46:23.243 INFO kablam! --> src/distributor.rs:40:5 Oct 27 00:46:23.243 INFO kablam! | Oct 27 00:46:23.243 INFO kablam! 40 | pub const MIN_PRODUCTION: f32 = 0.01; Oct 27 00:46:23.243 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.243 INFO kablam! Oct 27 00:46:23.243 INFO kablam! warning: method is never used: `produce_and_collate_resources` Oct 27 00:46:23.243 INFO kablam! --> src/distributor.rs:42:5 Oct 27 00:46:23.243 INFO kablam! | Oct 27 00:46:23.243 INFO kablam! 42 | / fn produce_and_collate_resources(agents: &mut[&mut Agent], Oct 27 00:46:23.243 INFO kablam! 43 | | leftover_production: Option) -> ProductionResult { Oct 27 00:46:23.243 INFO kablam! 44 | | Oct 27 00:46:23.243 INFO kablam! 45 | | let mut all_produced_resources = match leftover_production { Oct 27 00:46:23.243 INFO kablam! ... | Oct 27 00:46:23.243 INFO kablam! 56 | | all_produced_resources Oct 27 00:46:23.243 INFO kablam! 57 | | } Oct 27 00:46:23.243 INFO kablam! | |_____^ Oct 27 00:46:23.243 INFO kablam! Oct 27 00:46:23.243 INFO kablam! warning: method is never used: `distribute` Oct 27 00:46:23.243 INFO kablam! --> src/distributor.rs:59:5 Oct 27 00:46:23.243 INFO kablam! | Oct 27 00:46:23.243 INFO kablam! 59 | pub fn distribute(agents: &mut[&mut Agent], leftover_production: Option) -> DistributorResult { Oct 27 00:46:23.243 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.243 INFO kablam! Oct 27 00:46:23.243 INFO kablam! warning: method is never used: `give_item` Oct 27 00:46:23.243 INFO kablam! --> src/possessions.rs:26:5 Oct 27 00:46:23.243 INFO kablam! | Oct 27 00:46:23.243 INFO kablam! 26 | pub fn give_item(&mut self, item: &Item, amount: i32) { Oct 27 00:46:23.243 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.243 INFO kablam! Oct 27 00:46:23.243 INFO kablam! warning: method is never used: `has_item` Oct 27 00:46:23.243 INFO kablam! --> src/possessions.rs:31:5 Oct 27 00:46:23.243 INFO kablam! | Oct 27 00:46:23.243 INFO kablam! 31 | pub fn has_item(&self, item: Item) -> Option { Oct 27 00:46:23.243 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.243 INFO kablam! Oct 27 00:46:23.243 INFO kablam! warning: function is never used: `run` Oct 27 00:46:23.243 INFO kablam! --> src/main.rs:85:1 Oct 27 00:46:23.243 INFO kablam! | Oct 27 00:46:23.243 INFO kablam! 85 | fn run(delta: i32, agent_map: &mut HashMap) { Oct 27 00:46:23.243 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.243 INFO kablam! Oct 27 00:46:23.243 INFO kablam! warning: function is never used: `do_distribute` Oct 27 00:46:23.243 INFO kablam! --> src/main.rs:101:1 Oct 27 00:46:23.243 INFO kablam! | Oct 27 00:46:23.243 INFO kablam! 101 | / fn do_distribute(agents: &mut HashMap, leftover: Vec>, Oct 27 00:46:23.243 INFO kablam! 102 | | chunk_size: usize) -> Vec { Oct 27 00:46:23.243 INFO kablam! 103 | | Oct 27 00:46:23.243 INFO kablam! 104 | | let agent_vec: &mut Vec<&mut Agent> = &mut agents.values_mut().collect(); Oct 27 00:46:23.243 INFO kablam! ... | Oct 27 00:46:23.243 INFO kablam! 113 | | .collect() Oct 27 00:46:23.243 INFO kablam! 114 | | } Oct 27 00:46:23.243 INFO kablam! | |_^ Oct 27 00:46:23.243 INFO kablam! Oct 27 00:46:23.243 INFO kablam! warning: function is never used: `distribute` Oct 27 00:46:23.243 INFO kablam! --> src/main.rs:116:1 Oct 27 00:46:23.243 INFO kablam! | Oct 27 00:46:23.243 INFO kablam! 116 | fn distribute(agents: &mut HashMap) -> ProductionResult { Oct 27 00:46:23.243 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.243 INFO kablam! Oct 27 00:46:23.243 INFO kablam! warning: function is never used: `combine_leftover_production` Oct 27 00:46:23.243 INFO kablam! --> src/main.rs:149:1 Oct 27 00:46:23.243 INFO kablam! | Oct 27 00:46:23.243 INFO kablam! 149 | fn combine_leftover_production(mut production: Vec) -> Vec> { Oct 27 00:46:23.243 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.243 INFO kablam! Oct 27 00:46:23.243 INFO kablam! warning: function is never used: `store_unused_production` Oct 27 00:46:23.243 INFO kablam! --> src/main.rs:167:1 Oct 27 00:46:23.243 INFO kablam! | Oct 27 00:46:23.243 INFO kablam! 167 | / fn store_unused_production(agent_map: &mut HashMap, Oct 27 00:46:23.243 INFO kablam! 168 | | mut production_result: ProductionResult) { Oct 27 00:46:23.243 INFO kablam! 169 | | Oct 27 00:46:23.243 INFO kablam! 170 | | for (_resource, mut leftover_production) in production_result.drain() { Oct 27 00:46:23.243 INFO kablam! ... | Oct 27 00:46:23.243 INFO kablam! 175 | | } Oct 27 00:46:23.243 INFO kablam! 176 | | } Oct 27 00:46:23.243 INFO kablam! | |_^ Oct 27 00:46:23.243 INFO kablam! Oct 27 00:46:23.243 INFO kablam! warning: function is never used: `consume` Oct 27 00:46:23.244 INFO kablam! --> src/main.rs:178:1 Oct 27 00:46:23.244 INFO kablam! | Oct 27 00:46:23.244 INFO kablam! 178 | fn consume(agents: Vec<&mut Agent>) { Oct 27 00:46:23.244 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.244 INFO kablam! Oct 27 00:46:23.244 INFO kablam! warning: function is never used: `reevaluate_occupation` Oct 27 00:46:23.244 INFO kablam! --> src/main.rs:186:1 Oct 27 00:46:23.244 INFO kablam! | Oct 27 00:46:23.244 INFO kablam! 186 | fn reevaluate_occupation(agents: &mut Vec<&mut Agent>) { Oct 27 00:46:23.244 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.244 INFO kablam! Oct 27 00:46:23.244 INFO kablam! warning: function is never used: `make_purchases` Oct 27 00:46:23.244 INFO kablam! --> src/main.rs:191:1 Oct 27 00:46:23.244 INFO kablam! | Oct 27 00:46:23.244 INFO kablam! 191 | fn make_purchases(agents: &mut Vec<&mut Agent>) { Oct 27 00:46:23.244 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.244 INFO kablam! Oct 27 00:46:23.244 INFO kablam! warning: function is never used: `print_state` Oct 27 00:46:23.244 INFO kablam! --> src/main.rs:197:1 Oct 27 00:46:23.244 INFO kablam! | Oct 27 00:46:23.244 INFO kablam! 197 | fn print_state(agents: &HashMap) { Oct 27 00:46:23.244 INFO kablam! | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Oct 27 00:46:23.244 INFO kablam! Oct 27 00:46:23.291 INFO kablam! Finished dev [unoptimized + debuginfo] target(s) in 44.89s Oct 27 00:46:23.303 INFO kablam! su: No module specific data is present Oct 27 00:46:24.352 INFO running `"docker" "rm" "-f" "39c5e71a8e6b8a74003de896e5777e2dd5aa97af7929797750e3f3a941e62c9e"` Oct 27 00:46:24.621 INFO blam! 39c5e71a8e6b8a74003de896e5777e2dd5aa97af7929797750e3f3a941e62c9e