[INFO] cloning repository https://github.com/whodatbo1/GA_FJSP
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/whodatbo1/GA_FJSP" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhodatbo1%2FGA_FJSP", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhodatbo1%2FGA_FJSP'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 591a8c5625eee739ddc530942c89cbb5f135d045
[INFO] checking whodatbo1/GA_FJSP against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhodatbo1%2FGA_FJSP" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/whodatbo1/GA_FJSP
[INFO] finished tweaking git repo https://github.com/whodatbo1/GA_FJSP
[INFO] tweaked toml for git repo https://github.com/whodatbo1/GA_FJSP written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/whodatbo1/GA_FJSP on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/whodatbo1/GA_FJSP 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7bfa00fc79f72b5e48718480febd05b50745e5f89ede0f0dc25d02e1f0ca6f71
[INFO] running `Command { std: "docker" "start" "-a" "7bfa00fc79f72b5e48718480febd05b50745e5f89ede0f0dc25d02e1f0ca6f71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7bfa00fc79f72b5e48718480febd05b50745e5f89ede0f0dc25d02e1f0ca6f71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7bfa00fc79f72b5e48718480febd05b50745e5f89ede0f0dc25d02e1f0ca6f71", kill_on_drop: false }`
[INFO] [stdout] 7bfa00fc79f72b5e48718480febd05b50745e5f89ede0f0dc25d02e1f0ca6f71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,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" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-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" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c29ccd040f01f5952b536aa23346809a29fd636b72e7202b7736909c5484ba65
[INFO] running `Command { std: "docker" "start" "-a" "c29ccd040f01f5952b536aa23346809a29fd636b72e7202b7736909c5484ba65", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling unicode-ident v1.0.2
[INFO] [stderr]    Compiling crossbeam-utils v0.8.11
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling serde_derive v1.0.139
[INFO] [stderr]     Checking once_cell v1.15.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.10
[INFO] [stderr]    Compiling serde v1.0.139
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]     Checking either v1.7.0
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]     Checking radium v0.3.0
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]     Checking aho-corasick v0.7.19
[INFO] [stderr]     Checking bitvec v0.17.4
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking crossbeam-channel v0.5.6
[INFO] [stderr]     Checking regex v1.6.0
[INFO] [stderr]     Checking crossbeam-deque v0.8.2
[INFO] [stderr]     Checking shuffle v0.1.7
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking geneticAlgorithmFJSP v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `decode_optimal` and `encode_schedule`
[INFO] [stdout]  --> src/main.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::encode_decode::{decode_optimal, decode_simple, encode_schedule};
[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: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/main.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stdout]  --> src/genetic_operations.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::seq::SliceRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `generate_random_schedule_encoding`
[INFO] [stdout]  --> src/population.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::schedule::{generate_random_schedule_encoding, Schedule};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::decode_simple`
[INFO] [stdout]  --> src/schedule.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::decode_simple;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `index` is assigned to, but never used
[INFO] [stdout]   --> src/instance.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let mut index: i32 = 0;
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_index` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]   --> src/instance.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 index += 1;
[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: variable `nr_machines` is assigned to, but never used
[INFO] [stdout]   --> src/python_instance_decoder.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut nr_machines: i32;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_nr_machines` instead
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NR_MACHINES`
[INFO] [stdout]    |
[INFO] [stdout] 14 -     let mut nr_machines: i32;
[INFO] [stdout] 14 +     let main::NR_MACHINES: i32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `machines` is assigned to, but never used
[INFO] [stdout]   --> src/python_instance_decoder.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut machines: Vec<i32> = Vec::new();
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_machines` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `nr_machines` is never read
[INFO] [stdout]   --> src/python_instance_decoder.rs:31:34
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 "nr_machines" => nr_machines = value.parse::<i32>().unwrap(),
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `machines` is never read
[INFO] [stdout]   --> src/python_instance_decoder.rs:34:31
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 "machines" => machines = parse_array_from_str::<i32>(value).expect("Error parsing machines"),
[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/python_instance_decoder.rs:56:38
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn parse_orders(orders_string: &str, mut orders: &mut HashMap<i32, Order>) {
[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 imports: `decode_optimal` and `encode_schedule`
[INFO] [stdout]  --> src/main.rs:1:28
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::encode_decode::{decode_optimal, decode_simple, encode_schedule};
[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: `rand::Rng`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use rand::Rng;
[INFO] [stdout]   |     ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]   --> src/main.rs:10:17
[INFO] [stdout]    |
[INFO] [stdout] 10 | use std::time::{Duration, Instant};
[INFO] [stdout]    |                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stdout]  --> src/genetic_operations.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::seq::SliceRandom;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `generate_random_schedule_encoding`
[INFO] [stdout]  --> src/population.rs:3:23
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::schedule::{generate_random_schedule_encoding, Schedule};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::decode_simple`
[INFO] [stdout]  --> src/schedule.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::decode_simple;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/python_instance_decoder.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut trimmed = value.clone().trim();
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instance`
[INFO] [stdout]   --> src/schedule.rs:66:28
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn is_valid(&self, instance: &Instance) -> bool {
[INFO] [stdout]    |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> src/utils.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let x = distribution.len();
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nr_instances`
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let nr_instances = 20;
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nr_instances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `python_instance`
[INFO] [stdout]   --> src/main.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let python_instance =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_python_instance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `product` and `duration` are never read
[INFO] [stdout]   --> src/encode_decode.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct DecodedOperation {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     product: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     duration: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DecodedOperation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_simple` is never used
[INFO] [stdout]    --> src/encode_decode.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn decode_simple(schedule: &Schedule, instance: &Instance) -> DecodedSchedule {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `index` is never read
[INFO] [stdout]  --> src/generate_instances.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct ChangeOverTime {
[INFO] [stdout]   |        -------------- field in this struct
[INFO] [stdout] 9 |     index: i32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ChangeOverTime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_all_instances` is never used
[INFO] [stdout]   --> src/generate_instances.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn generate_all_instances(instance_constants: &InstanceConstants,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_valid` is never used
[INFO] [stdout]   --> src/schedule.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Schedule {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn is_valid(&self, instance: &Instance) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/python_instance_decoder.rs:120:28
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut trimmed = value.clone().trim();
[INFO] [stdout]     |                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `index` is assigned to, but never used
[INFO] [stdout]   --> src/instance.rs:85:13
[INFO] [stdout]    |
[INFO] [stdout] 85 |         let mut index: i32 = 0;
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_index` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]   --> src/instance.rs:89:17
[INFO] [stdout]    |
[INFO] [stdout] 89 |                 index += 1;
[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: variable `nr_machines` is assigned to, but never used
[INFO] [stdout]   --> src/python_instance_decoder.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut nr_machines: i32;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_nr_machines` instead
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `NR_MACHINES`
[INFO] [stdout]    |
[INFO] [stdout] 14 -     let mut nr_machines: i32;
[INFO] [stdout] 14 +     let main::NR_MACHINES: i32;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `machines` is assigned to, but never used
[INFO] [stdout]   --> src/python_instance_decoder.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let mut machines: Vec<i32> = Vec::new();
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_machines` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `nr_machines` is never read
[INFO] [stdout]   --> src/python_instance_decoder.rs:31:34
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 "nr_machines" => nr_machines = value.parse::<i32>().unwrap(),
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `machines` is never read
[INFO] [stdout]   --> src/python_instance_decoder.rs:34:31
[INFO] [stdout]    |
[INFO] [stdout] 34 |                 "machines" => machines = parse_array_from_str::<i32>(value).expect("Error parsing machines"),
[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/python_instance_decoder.rs:56:38
[INFO] [stdout]    |
[INFO] [stdout] 56 | fn parse_orders(orders_string: &str, mut orders: &mut HashMap<i32, Order>) {
[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/python_instance_decoder.rs:120:9
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut trimmed = value.clone().trim();
[INFO] [stdout]     |         ----^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `instance`
[INFO] [stdout]   --> src/schedule.rs:66:28
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn is_valid(&self, instance: &Instance) -> bool {
[INFO] [stdout]    |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> src/utils.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     let x = distribution.len();
[INFO] [stdout]   |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nr_instances`
[INFO] [stdout]   --> src/main.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let nr_instances = 20;
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nr_instances`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `python_instance`
[INFO] [stdout]   --> src/main.rs:67:9
[INFO] [stdout]    |
[INFO] [stdout] 67 |     let python_instance =
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_python_instance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `product` and `duration` are never read
[INFO] [stdout]   --> src/encode_decode.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout]  9 | pub struct DecodedOperation {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |     product: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 15 |     duration: i32,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DecodedOperation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `decode_simple` is never used
[INFO] [stdout]    --> src/encode_decode.rs:110:8
[INFO] [stdout]     |
[INFO] [stdout] 110 | pub fn decode_simple(schedule: &Schedule, instance: &Instance) -> DecodedSchedule {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `index` is never read
[INFO] [stdout]  --> src/generate_instances.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | struct ChangeOverTime {
[INFO] [stdout]   |        -------------- field in this struct
[INFO] [stdout] 9 |     index: i32,
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `ChangeOverTime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_all_instances` is never used
[INFO] [stdout]   --> src/generate_instances.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn generate_all_instances(instance_constants: &InstanceConstants,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_valid` is never used
[INFO] [stdout]   --> src/schedule.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl Schedule {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn is_valid(&self, instance: &Instance) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/python_instance_decoder.rs:120:28
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut trimmed = value.clone().trim();
[INFO] [stdout]     |                            ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.72s
[INFO] running `Command { std: "docker" "inspect" "c29ccd040f01f5952b536aa23346809a29fd636b72e7202b7736909c5484ba65", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c29ccd040f01f5952b536aa23346809a29fd636b72e7202b7736909c5484ba65", kill_on_drop: false }`
[INFO] [stdout] c29ccd040f01f5952b536aa23346809a29fd636b72e7202b7736909c5484ba65
