[INFO] cloning repository https://github.com/LaurinBrechter/personalized-pricing
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LaurinBrechter/personalized-pricing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurinBrechter%2Fpersonalized-pricing", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurinBrechter%2Fpersonalized-pricing'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fad25bdda79814c294aad3dccff22067ff1a3f22
[INFO] checking LaurinBrechter/personalized-pricing against try#14e4661efa5acbf985e4fe564baae04683366cc1 for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLaurinBrechter%2Fpersonalized-pricing" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/LaurinBrechter/personalized-pricing
[INFO] finished tweaking git repo https://github.com/LaurinBrechter/personalized-pricing
[INFO] tweaked toml for git repo https://github.com/LaurinBrechter/personalized-pricing written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/LaurinBrechter/personalized-pricing on toolchain 14e4661efa5acbf985e4fe564baae04683366cc1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/LaurinBrechter/personalized-pricing already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] e6e46a772d2ada657933b76840e8af80f57607ef2ee3b2b442d1e233ec7215fe
[INFO] running `Command { std: "docker" "start" "e6e46a772d2ada657933b76840e8af80f57607ef2ee3b2b442d1e233ec7215fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e6e46a772d2ada657933b76840e8af80f57607ef2ee3b2b442d1e233ec7215fe" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e6e46a772d2ada657933b76840e8af80f57607ef2ee3b2b442d1e233ec7215fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "e6e46a772d2ada657933b76840e8af80f57607ef2ee3b2b442d1e233ec7215fe" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.92
[INFO] [stderr]    Compiling unicode-ident v1.0.14
[INFO] [stderr]    Compiling libm v0.2.11
[INFO] [stderr]    Compiling libc v0.2.169
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]     Checking bytemuck v1.23.0
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]     Checking indexmap v2.7.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling matrixmultiply v0.3.10
[INFO] [stderr]     Checking wide v0.7.32
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking priority-queue v2.1.1
[INFO] [stderr]    Compiling syn v2.0.90
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking approx v0.5.1
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking ordered-float v4.6.0
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]     Checking simba v0.9.0
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling nalgebra-macros v0.2.2
[INFO] [stderr]     Checking zerocopy v0.7.35
[INFO] [stderr]     Checking ppv-lite86 v0.2.20
[INFO] [stderr]     Checking nalgebra v0.33.2
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rand_distr v0.4.3
[INFO] [stderr]     Checking personalized-pricing v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::os::fd::IntoRawFd`
[INFO] [stdout]  --> src/evolution.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::os::fd::IntoRawFd;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SimulationEvent`
[INFO] [stdout]  --> src/evolution.rs:6:60
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::simulation::{simulate_revenue, ProblemSettings, SimulationEvent, SimulationResult};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/evolution.rs:211:20
[INFO] [stdout]     |
[INFO] [stdout] 211 |                 if (w_idx == 0 && t_idx < 10) {
[INFO] [stdout]     |                    ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 211 -                 if (w_idx == 0 && t_idx < 10) {
[INFO] [stdout] 211 +                 if w_idx == 0 && t_idx < 10  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SimulationEvent`
[INFO] [stdout]  --> src/particle_swarm.rs:2:60
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::simulation::{simulate_revenue, ProblemSettings, SimulationEvent, SimulationResult};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `custom` and `evolution::ESSettings`
[INFO] [stdout]  --> src/simulation.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{custom, evolution::ESSettings, network_formation::create_network};
[INFO] [stdout]   |             ^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/simulation.rs:326:12
[INFO] [stdout]     |
[INFO] [stdout] 326 |         if (event.0.event == "wom") {
[INFO] [stdout]     |            ^                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 326 -         if (event.0.event == "wom") {
[INFO] [stdout] 326 +         if event.0.event == "wom"  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/custom.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/custom.rs:106:31
[INFO] [stdout]     |
[INFO] [stdout] 106 |             log_event_history((scenario_id as i32 + run_id), best, &settings);
[INFO] [stdout]     |                               ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 106 -             log_event_history((scenario_id as i32 + run_id), best, &settings);
[INFO] [stdout] 106 +             log_event_history(scenario_id as i32 + run_id , best, &settings);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::fd::IntoRawFd`
[INFO] [stdout]  --> src/cma_es.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::os::fd::IntoRawFd;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mab::Algorithm`
[INFO] [stdout]  --> src/cma_es.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::mab::Algorithm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SimulationEvent` and `simulate_revenue`
[INFO] [stdout]  --> src/cma_es.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::simulation::{simulate_revenue, ProblemSettings, SimulationEvent, SimulationResult};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::fd::IntoRawFd`
[INFO] [stdout]  --> src/evolution.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::os::fd::IntoRawFd;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SimulationEvent`
[INFO] [stdout]  --> src/evolution.rs:6:60
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::simulation::{simulate_revenue, ProblemSettings, SimulationEvent, SimulationResult};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/evolution.rs:211:20
[INFO] [stdout]     |
[INFO] [stdout] 211 |                 if (w_idx == 0 && t_idx < 10) {
[INFO] [stdout]     |                    ^                        ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 211 -                 if (w_idx == 0 && t_idx < 10) {
[INFO] [stdout] 211 +                 if w_idx == 0 && t_idx < 10  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SimulationEvent`
[INFO] [stdout]  --> src/particle_swarm.rs:2:60
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::simulation::{simulate_revenue, ProblemSettings, SimulationEvent, SimulationResult};
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `custom` and `evolution::ESSettings`
[INFO] [stdout]  --> src/simulation.rs:1:13
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::{custom, evolution::ESSettings, network_formation::create_network};
[INFO] [stdout]   |             ^^^^^^  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/simulation.rs:326:12
[INFO] [stdout]     |
[INFO] [stdout] 326 |         if (event.0.event == "wom") {
[INFO] [stdout]     |            ^                      ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 326 -         if (event.0.event == "wom") {
[INFO] [stdout] 326 +         if event.0.event == "wom"  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::Rng`
[INFO] [stdout]  --> src/custom.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/custom.rs:106:31
[INFO] [stdout]     |
[INFO] [stdout] 106 |             log_event_history((scenario_id as i32 + run_id), best, &settings);
[INFO] [stdout]     |                               ^                           ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 106 -             log_event_history((scenario_id as i32 + run_id), best, &settings);
[INFO] [stdout] 106 +             log_event_history(scenario_id as i32 + run_id , best, &settings);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::os::fd::IntoRawFd`
[INFO] [stdout]  --> src/cma_es.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::os::fd::IntoRawFd;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::mab::Algorithm`
[INFO] [stdout]  --> src/cma_es.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::mab::Algorithm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SimulationEvent` and `simulate_revenue`
[INFO] [stdout]  --> src/cma_es.rs:7:25
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::simulation::{simulate_revenue, ProblemSettings, SimulationEvent, SimulationResult};
[INFO] [stdout]   |                         ^^^^^^^^^^^^^^^^                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visit`
[INFO] [stdout]    --> src/evolution.rs:133:46
[INFO] [stdout]     |
[INFO] [stdout] 133 |     fn get_price(&mut self, group_id: usize, visit: usize, period: usize) -> i32 {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_visit`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `settings`
[INFO] [stdout]    --> src/evolution.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 200 |     settings: &ESSettings,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normal`
[INFO] [stdout]    --> src/evolution.rs:227:25
[INFO] [stdout]     |
[INFO] [stdout] 227 |                     let normal = Normal::new(0.0, 1.0).unwrap();
[INFO] [stdout]     |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/evolution.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_evals`
[INFO] [stdout]    --> src/evolution.rs:262:93
[INFO] [stdout]     |
[INFO] [stdout] 262 | ...gs: &'a ProblemSettings, n_evals:i32) -> (f64, SimulationResult<'a>) {
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_evals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/evolution.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `avg_score` is assigned to, but never used
[INFO] [stdout]    --> src/evolution.rs:419:13
[INFO] [stdout]     |
[INFO] [stdout] 419 |         let mut avg_score = 0.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_avg_score` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `avg_score` is never read
[INFO] [stdout]    --> src/evolution.rs:453:13
[INFO] [stdout]     |
[INFO] [stdout] 453 |             avg_score += result.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/mab.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn new(id: usize, price: i32) -> Self {
[INFO] [stdout]    |                ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visit`
[INFO] [stdout]    --> src/mab.rs:233:46
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn get_price(&mut self, group_id: usize, visit: usize, period: usize) -> i32 {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_visit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/particle_swarm.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_evals`
[INFO] [stdout]    --> src/particle_swarm.rs:131:91
[INFO] [stdout]     |
[INFO] [stdout] 131 | ...gs: &'a ProblemSettings, n_evals:i32) -> (f64, SimulationResult<'a>) {
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_evals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/particle_swarm.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visit`
[INFO] [stdout]    --> src/particle_swarm.rs:150:46
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn get_price(&mut self, group_id: usize, visit: usize, period: usize) -> i32 {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_visit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_inertia`
[INFO] [stdout]    --> src/particle_swarm.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     current_inertia: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_inertia`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visit`
[INFO] [stdout]    --> src/evolution.rs:133:46
[INFO] [stdout]     |
[INFO] [stdout] 133 |     fn get_price(&mut self, group_id: usize, visit: usize, period: usize) -> i32 {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_visit`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `settings`
[INFO] [stdout]    --> src/evolution.rs:200:5
[INFO] [stdout]     |
[INFO] [stdout] 200 |     settings: &ESSettings,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `normal`
[INFO] [stdout]    --> src/evolution.rs:227:25
[INFO] [stdout]     |
[INFO] [stdout] 227 |                     let normal = Normal::new(0.0, 1.0).unwrap();
[INFO] [stdout]     |                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/evolution.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_evals`
[INFO] [stdout]    --> src/evolution.rs:262:93
[INFO] [stdout]     |
[INFO] [stdout] 262 | ...gs: &'a ProblemSettings, n_evals:i32) -> (f64, SimulationResult<'a>) {
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_evals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/evolution.rs:264:9
[INFO] [stdout]     |
[INFO] [stdout] 264 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `beta_dist`
[INFO] [stdout]    --> src/simulation.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |     let beta_dist = Beta::new(3.0, 6.0).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_beta_dist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `avg_wtp_increase` is assigned to, but never used
[INFO] [stdout]    --> src/simulation.rs:280:9
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let mut avg_wtp_increase = 0.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_avg_wtp_increase` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `avg_wtp_increase` is never read
[INFO] [stdout]    --> src/simulation.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |             avg_wtp_increase += adjusted_wtp - customers[customer_idx].initial_wtp;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/custom.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/custom.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let mut ind = Self {
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/custom.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/custom.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         for i in 0..n_runs {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `avg_score` is assigned to, but never used
[INFO] [stdout]    --> src/evolution.rs:419:13
[INFO] [stdout]     |
[INFO] [stdout] 419 |         let mut avg_score = 0.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_avg_score` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `avg_score` is never read
[INFO] [stdout]    --> src/evolution.rs:453:13
[INFO] [stdout]     |
[INFO] [stdout] 453 |             avg_score += result.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `settings`
[INFO] [stdout]    --> src/cma_es.rs:157:5
[INFO] [stdout]     |
[INFO] [stdout] 157 |     settings: &'a ProblemSettings,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cma_es.rs:290:9
[INFO] [stdout]     |
[INFO] [stdout] 290 |     let mut initial_individual = Individual::new(
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cma_es.rs:316:13
[INFO] [stdout]     |
[INFO] [stdout] 316 |         let mut population: Vec<Individual<'a>> = Vec::new();
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `population`
[INFO] [stdout]    --> src/cma_es.rs:316:13
[INFO] [stdout]     |
[INFO] [stdout] 316 |         let mut population: Vec<Individual<'a>> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_population`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mutate_solution_selective` is never used
[INFO] [stdout]    --> src/evolution.rs:198:4
[INFO] [stdout]     |
[INFO] [stdout] 198 | fn mutate_solution_selective<'a>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dominant_recombination` is never used
[INFO] [stdout]    --> src/evolution.rs:326:4
[INFO] [stdout]     |
[INFO] [stdout] 326 | fn dominant_recombination<'a>(individuals: Vec<Individual<'a>>, ind_id: i32) -> Individual<'a> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `price` is never read
[INFO] [stdout]   --> src/mab.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Arm {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 27 |     price: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Arm` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `num_arms` is never read
[INFO] [stdout]   --> src/mab.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct MAB<'a> {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 43 |     num_arms: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]   --> src/mab.rs:33:16
[INFO] [stdout]    |
[INFO] [stdout] 33 |     pub fn new(id: usize, price: i32) -> Self {
[INFO] [stdout]    |                ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `C` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub C: DMatrix<f64>,    // Covariance matrix
[INFO] [stdout]    |         ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `B` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub B: DMatrix<f64>,    // Eigenvectors of C
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `D` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub D: DVector<f64>,    // Eigenvalues of C (diagonal)
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `invsqrtC` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub invsqrtC: DMatrix<f64>, // C^(-1/2)
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `invsqrt_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `chiN` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub chiN: f64,          // Expected norm of N(0,I)
[INFO] [stdout]    |         ^^^^ help: convert the identifier to snake case: `chi_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let C = DMatrix::identity(n, n);
[INFO] [stdout]    |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let B = DMatrix::identity(n, n);
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `D` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let D = DVector::from_element(n, 1.0);
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `invsqrtC` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let invsqrtC = DMatrix::identity(n, n);
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `invsqrt_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `chiN` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let chiN = (n as f64).sqrt() * (1.0 - 1.0 / (4.0 * n as f64) + 1.0 / (21.0 * n as f64 * n as f64));
[INFO] [stdout]    |             ^^^^ help: convert the identifier to snake case: `chi_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `invsqrtC` should have a snake case name
[INFO] [stdout]    --> src/cma_es.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut invsqrtC = self.B.clone();
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `invsqrt_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visit`
[INFO] [stdout]    --> src/mab.rs:233:46
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn get_price(&mut self, group_id: usize, visit: usize, period: usize) -> i32 {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_visit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/particle_swarm.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n_evals`
[INFO] [stdout]    --> src/particle_swarm.rs:131:91
[INFO] [stdout]     |
[INFO] [stdout] 131 | ...gs: &'a ProblemSettings, n_evals:i32) -> (f64, SimulationResult<'a>) {
[INFO] [stdout]     |                             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_evals`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]    --> src/particle_swarm.rs:133:9
[INFO] [stdout]     |
[INFO] [stdout] 133 |     let mut rng = rand::thread_rng();
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `visit`
[INFO] [stdout]    --> src/particle_swarm.rs:150:46
[INFO] [stdout]     |
[INFO] [stdout] 150 |     fn get_price(&mut self, group_id: usize, visit: usize, period: usize) -> i32 {
[INFO] [stdout]     |                                              ^^^^^ help: if this is intentional, prefix it with an underscore: `_visit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `current_inertia`
[INFO] [stdout]    --> src/particle_swarm.rs:173:5
[INFO] [stdout]     |
[INFO] [stdout] 173 |     current_inertia: f64,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_inertia`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `beta_dist`
[INFO] [stdout]    --> src/simulation.rs:231:9
[INFO] [stdout]     |
[INFO] [stdout] 231 |     let beta_dist = Beta::new(3.0, 6.0).unwrap();
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_beta_dist`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `avg_wtp_increase` is assigned to, but never used
[INFO] [stdout]    --> src/simulation.rs:280:9
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let mut avg_wtp_increase = 0.0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_avg_wtp_increase` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `avg_wtp_increase` is never read
[INFO] [stdout]    --> src/simulation.rs:357:13
[INFO] [stdout]     |
[INFO] [stdout] 357 |             avg_wtp_increase += adjusted_wtp - customers[customer_idx].initial_wtp;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/custom.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/custom.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |         let mut ind = Self {
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rng`
[INFO] [stdout]   --> src/custom.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let mut rng = rand::thread_rng();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rng`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/custom.rs:75:13
[INFO] [stdout]    |
[INFO] [stdout] 75 |         for i in 0..n_runs {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `settings`
[INFO] [stdout]    --> src/cma_es.rs:157:5
[INFO] [stdout]     |
[INFO] [stdout] 157 |     settings: &'a ProblemSettings,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cma_es.rs:290:9
[INFO] [stdout]     |
[INFO] [stdout] 290 |     let mut initial_individual = Individual::new(
[INFO] [stdout]     |         ----^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/cma_es.rs:316:13
[INFO] [stdout]     |
[INFO] [stdout] 316 |         let mut population: Vec<Individual<'a>> = Vec::new();
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `population`
[INFO] [stdout]    --> src/cma_es.rs:316:13
[INFO] [stdout]     |
[INFO] [stdout] 316 |         let mut population: Vec<Individual<'a>> = Vec::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_population`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `mutate_solution_selective` is never used
[INFO] [stdout]    --> src/evolution.rs:198:4
[INFO] [stdout]     |
[INFO] [stdout] 198 | fn mutate_solution_selective<'a>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `dominant_recombination` is never used
[INFO] [stdout]    --> src/evolution.rs:326:4
[INFO] [stdout]     |
[INFO] [stdout] 326 | fn dominant_recombination<'a>(individuals: Vec<Individual<'a>>, ind_id: i32) -> Individual<'a> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `price` is never read
[INFO] [stdout]   --> src/mab.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Arm {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 27 |     price: i32,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Arm` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `num_arms` is never read
[INFO] [stdout]   --> src/mab.rs:43:5
[INFO] [stdout]    |
[INFO] [stdout] 42 | pub struct MAB<'a> {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 43 |     num_arms: usize,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `C` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub C: DMatrix<f64>,    // Covariance matrix
[INFO] [stdout]    |         ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `B` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub B: DMatrix<f64>,    // Eigenvectors of C
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `D` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub D: DVector<f64>,    // Eigenvalues of C (diagonal)
[INFO] [stdout]    |         ^ help: convert the identifier to snake case: `d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `invsqrtC` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     pub invsqrtC: DMatrix<f64>, // C^(-1/2)
[INFO] [stdout]    |         ^^^^^^^^ help: convert the identifier to snake case: `invsqrt_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `chiN` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     pub chiN: f64,          // Expected norm of N(0,I)
[INFO] [stdout]    |         ^^^^ help: convert the identifier to snake case: `chi_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `C` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:70:13
[INFO] [stdout]    |
[INFO] [stdout] 70 |         let C = DMatrix::identity(n, n);
[INFO] [stdout]    |             ^ help: convert the identifier to snake case (notice the capitalization): `c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `B` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let B = DMatrix::identity(n, n);
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `D` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:72:13
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let D = DVector::from_element(n, 1.0);
[INFO] [stdout]    |             ^ help: convert the identifier to snake case: `d`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `invsqrtC` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:73:13
[INFO] [stdout]    |
[INFO] [stdout] 73 |         let invsqrtC = DMatrix::identity(n, n);
[INFO] [stdout]    |             ^^^^^^^^ help: convert the identifier to snake case: `invsqrt_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `chiN` should have a snake case name
[INFO] [stdout]   --> src/cma_es.rs:76:13
[INFO] [stdout]    |
[INFO] [stdout] 76 |         let chiN = (n as f64).sqrt() * (1.0 - 1.0 / (4.0 * n as f64) + 1.0 / (21.0 * n as f64 * n as f64));
[INFO] [stdout]    |             ^^^^ help: convert the identifier to snake case: `chi_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `invsqrtC` should have a snake case name
[INFO] [stdout]    --> src/cma_es.rs:109:17
[INFO] [stdout]     |
[INFO] [stdout] 109 |         let mut invsqrtC = self.B.clone();
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `invsqrt_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `simulate_custom`
[INFO] [stdout]  --> src/main.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use personalized_pricing::custom::{self, simulate_custom};
[INFO] [stdout]   |                                    ^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `evolve_pricing`
[INFO] [stdout]  --> src/main.rs:5:39
[INFO] [stdout]   |
[INFO] [stdout] 5 | use personalized_pricing::evolution::{evolve_pricing, ESSettings, Selection};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `init_log_mab`, `init_log_pso`, `log_event_history`, and `log_individual`
[INFO] [stdout]  --> src/main.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 |     init_log, init_log_es, init_log_mab, init_log_pso, log_event_history, log_individual
[INFO] [stdout]   |                            ^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MAB`
[INFO] [stdout]  --> src/main.rs:9:59
[INFO] [stdout]   |
[INFO] [stdout] 9 | use personalized_pricing::mab::{MABSettings, MABStrategy, MAB};
[INFO] [stdout]   |                                                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `optimize_pricing`
[INFO] [stdout]   --> src/main.rs:10:44
[INFO] [stdout]    |
[INFO] [stdout] 10 | use personalized_pricing::particle_swarm::{optimize_pricing, PSOSettings};
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `personalized_pricing::random_search::random_search`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use personalized_pricing::random_search::random_search;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `simulate_revenue`
[INFO] [stdout]   --> src/main.rs:12:40
[INFO] [stdout]    |
[INFO] [stdout] 12 | use personalized_pricing::simulation::{simulate_revenue, ProblemSettings};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `self` and `simulate_custom`
[INFO] [stdout]  --> src/main.rs:3:36
[INFO] [stdout]   |
[INFO] [stdout] 3 | use personalized_pricing::custom::{self, simulate_custom};
[INFO] [stdout]   |                                    ^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `evolve_pricing`
[INFO] [stdout]  --> src/main.rs:5:39
[INFO] [stdout]   |
[INFO] [stdout] 5 | use personalized_pricing::evolution::{evolve_pricing, ESSettings, Selection};
[INFO] [stdout]   |                                       ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `init_log_mab`, `init_log_pso`, `log_event_history`, and `log_individual`
[INFO] [stdout]  --> src/main.rs:7:28
[INFO] [stdout]   |
[INFO] [stdout] 7 |     init_log, init_log_es, init_log_mab, init_log_pso, log_event_history, log_individual
[INFO] [stdout]   |                            ^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MAB`
[INFO] [stdout]  --> src/main.rs:9:59
[INFO] [stdout]   |
[INFO] [stdout] 9 | use personalized_pricing::mab::{MABSettings, MABStrategy, MAB};
[INFO] [stdout]   |                                                           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `optimize_pricing`
[INFO] [stdout]   --> src/main.rs:10:44
[INFO] [stdout]    |
[INFO] [stdout] 10 | use personalized_pricing::particle_swarm::{optimize_pricing, PSOSettings};
[INFO] [stdout]    |                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `personalized_pricing::random_search::random_search`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use personalized_pricing::random_search::random_search;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `simulate_revenue`
[INFO] [stdout]   --> src/main.rs:12:40
[INFO] [stdout]    |
[INFO] [stdout] 12 | use personalized_pricing::simulation::{simulate_revenue, ProblemSettings};
[INFO] [stdout]    |                                        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut settings = ProblemSettings {
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let mut es_steady_state_settings = ESSettings {
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut pso_settings = PSOSettings {
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut mab_settings = MABSettings {
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let mut writer = init_log();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `es_steady_state_settings`
[INFO] [stdout]   --> src/main.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let mut es_steady_state_settings = ESSettings {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_es_steady_state_settings`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pso_settings`
[INFO] [stdout]   --> src/main.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut pso_settings = PSOSettings {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pso_settings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mab_settings`
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut mab_settings = MABSettings {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mab_settings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `writer`
[INFO] [stdout]    --> src/main.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let mut writer = init_log();
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut settings = ProblemSettings {
[INFO] [stdout]    |         ----^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let mut es_steady_state_settings = ESSettings {
[INFO] [stdout]    |         ----^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut pso_settings = PSOSettings {
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut mab_settings = MABSettings {
[INFO] [stdout]    |         ----^^^^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let mut writer = init_log();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `es_steady_state_settings`
[INFO] [stdout]   --> src/main.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     let mut es_steady_state_settings = ESSettings {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_es_steady_state_settings`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pso_settings`
[INFO] [stdout]   --> src/main.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |     let mut pso_settings = PSOSettings {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pso_settings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mab_settings`
[INFO] [stdout]   --> src/main.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |     let mut mab_settings = MABSettings {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mab_settings`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `writer`
[INFO] [stdout]    --> src/main.rs:100:9
[INFO] [stdout]     |
[INFO] [stdout] 100 |     let mut writer = init_log();
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writer`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.26s
[INFO] running `Command { std: "docker" "inspect" "e6e46a772d2ada657933b76840e8af80f57607ef2ee3b2b442d1e233ec7215fe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6e46a772d2ada657933b76840e8af80f57607ef2ee3b2b442d1e233ec7215fe", kill_on_drop: false }`
[INFO] [stdout] e6e46a772d2ada657933b76840e8af80f57607ef2ee3b2b442d1e233ec7215fe
