[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] testing whodatbo1/GA_FJSP against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwhodatbo1%2FGA_FJSP" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/whodatbo1/GA_FJSP on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded crossbeam-utils v0.8.11
[INFO] [stderr]   Downloaded serde_derive v1.0.139
[INFO] [stderr]   Downloaded ryu v1.0.10
[INFO] [stderr]   Downloaded shuffle v0.1.7
[INFO] [stderr]   Downloaded rayon-core v1.9.3
[INFO] [stderr]   Downloaded crossbeam-deque v0.8.2
[INFO] [stderr]   Downloaded crossbeam-epoch v0.9.10
[INFO] [stderr]   Downloaded unicode-ident v1.0.2
[INFO] [stderr]   Downloaded proc-macro2 v1.0.40
[INFO] [stderr]   Downloaded itoa v1.0.2
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.6
[INFO] [stderr]   Downloaded syn v1.0.98
[INFO] [stderr]   Downloaded serde v1.0.139
[INFO] [stderr]   Downloaded rayon v1.5.3
[INFO] [stderr]   Downloaded serde_json v1.0.82
[INFO] [stderr]   Downloaded either v1.7.0
[INFO] [stderr]   Downloaded quote v1.0.20
[INFO] [stderr]   Downloaded bstr v0.2.17
[INFO] [stderr]   Downloaded libc v0.2.126
[INFO] [stderr]   Downloaded csv v1.1.6
[INFO] [stderr]   Downloaded csv-core v0.1.10
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3fd4d3402d2e07984abed82327d734c1b63e9d7909b93419d08ea6c670960770
[INFO] running `Command { std: "docker" "start" "-a" "3fd4d3402d2e07984abed82327d734c1b63e9d7909b93419d08ea6c670960770", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3fd4d3402d2e07984abed82327d734c1b63e9d7909b93419d08ea6c670960770", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3fd4d3402d2e07984abed82327d734c1b63e9d7909b93419d08ea6c670960770", kill_on_drop: false }`
[INFO] [stdout] 3fd4d3402d2e07984abed82327d734c1b63e9d7909b93419d08ea6c670960770
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c1bae04f297e28f7a4a5c5780080e59f3432a020feb6f211c36a8c1058b14e99
[INFO] running `Command { std: "docker" "start" "-a" "c1bae04f297e28f7a4a5c5780080e59f3432a020feb6f211c36a8c1058b14e99", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.2
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling crossbeam-utils v0.8.11
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling serde_derive v1.0.139
[INFO] [stderr]    Compiling once_cell v1.15.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.10
[INFO] [stderr]    Compiling serde v1.0.139
[INFO] [stderr]    Compiling rayon-core v1.9.3
[INFO] [stderr]    Compiling either v1.7.0
[INFO] [stderr]    Compiling rayon v1.5.3
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling radium v0.3.0
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling csv-core v0.1.10
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling bitvec v0.17.4
[INFO] [stderr]    Compiling getrandom v0.2.7
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.6
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling shuffle v0.1.7
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling bstr v0.2.17
[INFO] [stderr]    Compiling csv v1.1.6
[INFO] [stderr]    Compiling 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: 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 18.81s
[INFO] running `Command { std: "docker" "inspect" "c1bae04f297e28f7a4a5c5780080e59f3432a020feb6f211c36a8c1058b14e99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c1bae04f297e28f7a4a5c5780080e59f3432a020feb6f211c36a8c1058b14e99", kill_on_drop: false }`
[INFO] [stdout] c1bae04f297e28f7a4a5c5780080e59f3432a020feb6f211c36a8c1058b14e99
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5aa51e28f417a086ed8701eaf5fe063ba3a69648d9084717f9295990a2ff3cf3
[INFO] running `Command { std: "docker" "start" "-a" "5aa51e28f417a086ed8701eaf5fe063ba3a69648d9084717f9295990a2ff3cf3", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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: 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 `test` profile [unoptimized + debuginfo] target(s) in 1.02s
[INFO] running `Command { std: "docker" "inspect" "5aa51e28f417a086ed8701eaf5fe063ba3a69648d9084717f9295990a2ff3cf3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5aa51e28f417a086ed8701eaf5fe063ba3a69648d9084717f9295990a2ff3cf3", kill_on_drop: false }`
[INFO] [stdout] 5aa51e28f417a086ed8701eaf5fe063ba3a69648d9084717f9295990a2ff3cf3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 301c01f1c47572644f98e83880fc5657ebe2982a9f49cbb43d68248515c2f3f3
[INFO] running `Command { std: "docker" "start" "-a" "301c01f1c47572644f98e83880fc5657ebe2982a9f49cbb43d68248515c2f3f3", kill_on_drop: false }`
[INFO] [stderr] warning: unused imports: `decode_optimal` and `encode_schedule`
[INFO] [stderr]  --> src/main.rs:1:28
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::encode_decode::{decode_optimal, decode_simple, encode_schedule};
[INFO] [stderr]   |                            ^^^^^^^^^^^^^^                 ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rand::Rng`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use rand::Rng;
[INFO] [stderr]   |     ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `Duration`
[INFO] [stderr]   --> src/main.rs:10:17
[INFO] [stderr]    |
[INFO] [stderr] 10 | use std::time::{Duration, Instant};
[INFO] [stderr]    |                 ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rand::seq::SliceRandom`
[INFO] [stderr]  --> src/genetic_operations.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use rand::seq::SliceRandom;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `generate_random_schedule_encoding`
[INFO] [stderr]  --> src/population.rs:3:23
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::schedule::{generate_random_schedule_encoding, Schedule};
[INFO] [stderr]   |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::decode_simple`
[INFO] [stderr]  --> src/schedule.rs:1:5
[INFO] [stderr]   |
[INFO] [stderr] 1 | use crate::decode_simple;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable `index` is assigned to, but never used
[INFO] [stderr]   --> src/instance.rs:85:13
[INFO] [stderr]    |
[INFO] [stderr] 85 |         let mut index: i32 = 0;
[INFO] [stderr]    |             ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_index` instead
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `index` is never read
[INFO] [stderr]   --> src/instance.rs:89:17
[INFO] [stderr]    |
[INFO] [stderr] 89 |                 index += 1;
[INFO] [stderr]    |                 ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable `nr_machines` is assigned to, but never used
[INFO] [stderr]   --> src/python_instance_decoder.rs:14:9
[INFO] [stderr]    |
[INFO] [stderr] 14 |     let mut nr_machines: i32;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_nr_machines` instead
[INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `NR_MACHINES`
[INFO] [stderr]    |
[INFO] [stderr] 14 -     let mut nr_machines: i32;
[INFO] [stderr] 14 +     let main::NR_MACHINES: i32;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: variable `machines` is assigned to, but never used
[INFO] [stderr]   --> src/python_instance_decoder.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 17 |     let mut machines: Vec<i32> = Vec::new();
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using `_machines` instead
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `nr_machines` is never read
[INFO] [stderr]   --> src/python_instance_decoder.rs:31:34
[INFO] [stderr]    |
[INFO] [stderr] 31 |                 "nr_machines" => nr_machines = value.parse::<i32>().unwrap(),
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `machines` is never read
[INFO] [stderr]   --> src/python_instance_decoder.rs:34:31
[INFO] [stderr]    |
[INFO] [stderr] 34 |                 "machines" => machines = parse_array_from_str::<i32>(value).expect("Error parsing machines"),
[INFO] [stderr]    |                               ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]   --> src/python_instance_decoder.rs:56:38
[INFO] [stderr]    |
[INFO] [stderr] 56 | fn parse_orders(orders_string: &str, mut orders: &mut HashMap<i32, Order>) {
[INFO] [stderr]    |                                      ----^^^^^^
[INFO] [stderr]    |                                      |
[INFO] [stderr]    |                                      help: remove this `mut`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/python_instance_decoder.rs:120:9
[INFO] [stderr]     |
[INFO] [stderr] 120 |     let mut trimmed = value.clone().trim();
[INFO] [stderr]     |         ----^^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `instance`
[INFO] [stderr]   --> src/schedule.rs:66:28
[INFO] [stderr]    |
[INFO] [stderr] 66 |     pub fn is_valid(&self, instance: &Instance) -> bool {
[INFO] [stderr]    |                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instance`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]  --> src/utils.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 |     let x = distribution.len();
[INFO] [stderr]   |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `nr_instances`
[INFO] [stderr]   --> src/main.rs:22:9
[INFO] [stderr]    |
[INFO] [stderr] 22 |     let nr_instances = 20;
[INFO] [stderr]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nr_instances`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `python_instance`
[INFO] [stderr]   --> src/main.rs:67:9
[INFO] [stderr]    |
[INFO] [stderr] 67 |     let python_instance =
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_python_instance`
[INFO] [stderr] 
[INFO] [stderr] warning: fields `product` and `duration` are never read
[INFO] [stderr]   --> src/encode_decode.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr]  9 | pub struct DecodedOperation {
[INFO] [stderr]    |            ---------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 12 |     product: String,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 15 |     duration: i32,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `DecodedOperation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `decode_simple` is never used
[INFO] [stderr]    --> src/encode_decode.rs:110:8
[INFO] [stderr]     |
[INFO] [stderr] 110 | pub fn decode_simple(schedule: &Schedule, instance: &Instance) -> DecodedSchedule {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `index` is never read
[INFO] [stderr]  --> src/generate_instances.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | struct ChangeOverTime {
[INFO] [stderr]   |        -------------- field in this struct
[INFO] [stderr] 9 |     index: i32,
[INFO] [stderr]   |     ^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `ChangeOverTime` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `generate_all_instances` is never used
[INFO] [stderr]   --> src/generate_instances.rs:28:8
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub fn generate_all_instances(instance_constants: &InstanceConstants,
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `is_valid` is never used
[INFO] [stderr]   --> src/schedule.rs:66:12
[INFO] [stderr]    |
[INFO] [stderr] 17 | impl Schedule {
[INFO] [stderr]    | ------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 66 |     pub fn is_valid(&self, instance: &Instance) -> bool {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/python_instance_decoder.rs:120:28
[INFO] [stderr]     |
[INFO] [stderr] 120 |     let mut trimmed = value.clone().trim();
[INFO] [stderr]     |                            ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = 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] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `geneticAlgorithmFJSP` (bin "geneticAlgorithmFJSP" test) generated 24 warnings (run `cargo fix --bin "geneticAlgorithmFJSP" -p geneticAlgorithmFJSP --tests` to apply 13 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/geneticAlgorithmFJSP-7e313350c167e00e)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "301c01f1c47572644f98e83880fc5657ebe2982a9f49cbb43d68248515c2f3f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "301c01f1c47572644f98e83880fc5657ebe2982a9f49cbb43d68248515c2f3f3", kill_on_drop: false }`
[INFO] [stdout] 301c01f1c47572644f98e83880fc5657ebe2982a9f49cbb43d68248515c2f3f3
