[INFO] cloning repository https://github.com/Veanir/imo-2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Veanir/imo-2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeanir%2Fimo-2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeanir%2Fimo-2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6e26d7436dd2fcd74ced818f32b51c1ee40d43e0
[INFO] checking Veanir/imo-2 against master#12f35ad39ed3e39df4d953c46d4f6cc6c82adc96 for pr-155299-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FVeanir%2Fimo-2" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Veanir/imo-2
[INFO] finished tweaking git repo https://github.com/Veanir/imo-2
[INFO] tweaked toml for git repo https://github.com/Veanir/imo-2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Veanir/imo-2 on toolchain 12f35ad39ed3e39df4d953c46d4f6cc6c82adc96
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Veanir/imo-2 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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded plotters-bitmap v0.3.7
[INFO] [stderr]   Downloaded pathfinder_simd v0.5.4
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.23
[INFO] [stderr]   Downloaded float-ord v0.3.2
[INFO] [stderr]   Downloaded dwrote v0.11.2
[INFO] [stderr]   Downloaded yeslogic-fontconfig-sys v6.0.0
[INFO] [stderr]   Downloaded pathfinder_geometry v0.5.1
[INFO] [stderr]   Downloaded font-kit v0.14.2
[INFO] [stderr]   Downloaded zerocopy v0.8.23
[INFO] [stderr]   Downloaded freetype-sys v0.20.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 530b70c790f6ae79fbcd66bd463e019f7085175df8155d149fe29b8e27a97fe0
[INFO] running `Command { std: "docker" "start" "-a" "530b70c790f6ae79fbcd66bd463e019f7085175df8155d149fe29b8e27a97fe0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "530b70c790f6ae79fbcd66bd463e019f7085175df8155d149fe29b8e27a97fe0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "530b70c790f6ae79fbcd66bd463e019f7085175df8155d149fe29b8e27a97fe0", kill_on_drop: false }`
[INFO] [stdout] 530b70c790f6ae79fbcd66bd463e019f7085175df8155d149fe29b8e27a97fe0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+12f35ad39ed3e39df4d953c46d4f6cc6c82adc96" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4fb6dd43532bdf091bf47d952d13fd8d4e7c5b945a8337c4df2123406cf3bb0f
[INFO] running `Command { std: "docker" "start" "-a" "4fb6dd43532bdf091bf47d952d13fd8d4e7c5b945a8337c4df2123406cf3bb0f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling semver v1.0.26
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking adler2 v2.0.0
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling yeslogic-fontconfig-sys v6.0.0
[INFO] [stderr]     Checking crc32fast v1.4.2
[INFO] [stderr]    Compiling zerocopy v0.8.23
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]     Checking once_cell v1.21.1
[INFO] [stderr]    Compiling getrandom v0.3.2
[INFO] [stderr]     Checking fdeflate v0.3.7
[INFO] [stderr]     Checking libloading v0.8.6
[INFO] [stderr]     Checking option-ext v0.2.0
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]    Compiling font-kit v0.14.2
[INFO] [stderr]     Checking plotters-backend v0.3.7
[INFO] [stderr]     Checking jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling portable-atomic v1.11.0
[INFO] [stderr]     Checking weezl v0.1.8
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]     Checking log v0.4.26
[INFO] [stderr]     Checking bytemuck v1.22.0
[INFO] [stderr]     Checking same-file v1.0.6
[INFO] [stderr]     Checking walkdir v2.5.0
[INFO] [stderr]     Checking gif v0.12.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking float-ord v0.3.2
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking iana-time-zone v0.1.61
[INFO] [stderr]     Checking unicode-width v0.2.0
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling thiserror v2.0.12
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking plotters-svg v0.3.7
[INFO] [stderr]     Checking ttf-parser v0.20.0
[INFO] [stderr]     Checking number_prefix v0.4.0
[INFO] [stderr]     Checking flate2 v1.1.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking png v0.17.16
[INFO] [stderr]     Checking dirs-sys v0.4.1
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]    Compiling pathfinder_simd v0.5.4
[INFO] [stderr]     Checking dirs v5.0.1
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]     Checking chrono v0.4.40
[INFO] [stderr]     Checking pathfinder_geometry v0.5.1
[INFO] [stderr]     Checking image v0.24.9
[INFO] [stderr]    Compiling freetype-sys v0.20.1
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking plotters-bitmap v0.3.7
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking IMO v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/algorithm.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/algorithms/constructive/weighted_regret_cycle.rs:163:36
[INFO] [stdout]     |
[INFO] [stdout] 163 |             let progress_percent = (iterations_done * 100 / total_iterations.max(1));
[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] 163 -             let progress_percent = (iterations_done * 100 / total_iterations.max(1));
[INFO] [stdout] 163 +             let progress_percent = iterations_done * 100 / total_iterations.max(1) ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/algorithms/ils.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{Rng, thread_rng};
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/algorithms/lns.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{Rng, thread_rng};
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BinaryHeap`
[INFO] [stdout]   --> src/algorithms/local_search/base.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::collections::{BinaryHeap, HashSet};
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::generate_random_solution`
[INFO] [stdout]  --> src/algorithms/msls.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::utils::generate_random_solution;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::algorithms::constructive::weighted_regret_cycle::WeightedRegretCycle`
[INFO] [stdout]  --> src/algorithms/perturbation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::algorithms::constructive::weighted_regret_cycle::WeightedRegretCycle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]  --> src/algorithms/random_walk.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CycleId`
[INFO] [stdout]  --> src/moves/inter_route.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::moves::types::{CycleId, EvaluatedMove, Move};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EvaluatedMove` and `Move`
[INFO] [stdout]  --> src/moves/mod.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use types::{EvaluatedMove, Move};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `algorithms::constructive::weighted_regret_cycle::WeightedRegretCycle`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use algorithms::constructive::weighted_regret_cycle::WeightedRegretCycle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeuristicAlgorithm`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     HeuristicAlgorithm, InitialSolutionType, LocalSearch, NeighborhoodType, SearchVariant,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `algorithms::random_walk::RandomWalk`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use algorithms::random_walk::RandomWalk;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]  --> src/algorithms/constructive/weighted_regret_cycle.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::thread_rng;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]    --> src/algorithms/constructive/weighted_regret_cycle.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let mut rng = thread_rng();
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]  --> src/algorithms/ils.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{Rng, thread_rng};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/algorithms/ils.rs:48:23
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut rng = thread_rng();
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]  --> src/algorithms/lns.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{Rng, thread_rng};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/algorithms/lns.rs:69:23
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut rng = thread_rng();
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/algorithms/local_search/base.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::thread_rng;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]    --> src/algorithms/local_search/base.rs:103:23
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let mut rng = thread_rng();
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]  --> src/algorithms/random_walk.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{Rng, thread_rng};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]    --> src/algorithms/random_walk.rs:130:23
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let mut rng = thread_rng();
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]  --> src/utils.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::thread_rng;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]  --> src/utils.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 |     vertices.shuffle(&mut thread_rng());
[INFO] [stdout]   |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Duration`
[INFO] [stdout]  --> src/algorithm.rs:3:17
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/algorithms/constructive/weighted_regret_cycle.rs:163:36
[INFO] [stdout]     |
[INFO] [stdout] 163 |             let progress_percent = (iterations_done * 100 / total_iterations.max(1));
[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] 163 -             let progress_percent = (iterations_done * 100 / total_iterations.max(1));
[INFO] [stdout] 163 +             let progress_percent = iterations_done * 100 / total_iterations.max(1) ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/algorithms/ils.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{Rng, thread_rng};
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Rng`
[INFO] [stdout]  --> src/algorithms/lns.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{Rng, thread_rng};
[INFO] [stdout]   |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BinaryHeap`
[INFO] [stdout]   --> src/algorithms/local_search/base.rs:14:24
[INFO] [stdout]    |
[INFO] [stdout] 14 | use std::collections::{BinaryHeap, HashSet};
[INFO] [stdout]    |                        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::utils::generate_random_solution`
[INFO] [stdout]  --> src/algorithms/msls.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::utils::generate_random_solution;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::algorithms::constructive::weighted_regret_cycle::WeightedRegretCycle`
[INFO] [stdout]  --> src/algorithms/perturbation.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::algorithms::constructive::weighted_regret_cycle::WeightedRegretCycle;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Duration` and `Instant`
[INFO] [stdout]  --> src/algorithms/random_walk.rs:7:17
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::time::{Duration, Instant};
[INFO] [stdout]   |                 ^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `CycleId`
[INFO] [stdout]  --> src/moves/inter_route.rs:1:27
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::moves::types::{CycleId, EvaluatedMove, Move};
[INFO] [stdout]   |                           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `EvaluatedMove` and `Move`
[INFO] [stdout]  --> src/moves/mod.rs:5:17
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use types::{EvaluatedMove, Move};
[INFO] [stdout]   |                 ^^^^^^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `algorithms::constructive::weighted_regret_cycle::WeightedRegretCycle`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use algorithms::constructive::weighted_regret_cycle::WeightedRegretCycle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `HeuristicAlgorithm`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     HeuristicAlgorithm, InitialSolutionType, LocalSearch, NeighborhoodType, SearchVariant,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `algorithms::random_walk::RandomWalk`
[INFO] [stdout]   --> src/main.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use algorithms::random_walk::RandomWalk;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]  --> src/algorithms/constructive/weighted_regret_cycle.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 | use rand::thread_rng;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]    --> src/algorithms/constructive/weighted_regret_cycle.rs:128:23
[INFO] [stdout]     |
[INFO] [stdout] 128 |         let mut rng = thread_rng();
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]  --> src/algorithms/ils.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{Rng, thread_rng};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/algorithms/ils.rs:48:23
[INFO] [stdout]    |
[INFO] [stdout] 48 |         let mut rng = thread_rng();
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]  --> src/algorithms/lns.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{Rng, thread_rng};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/algorithms/lns.rs:69:23
[INFO] [stdout]    |
[INFO] [stdout] 69 |         let mut rng = thread_rng();
[INFO] [stdout]    |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]   --> src/algorithms/local_search/base.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | use rand::thread_rng;
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]    --> src/algorithms/local_search/base.rs:103:23
[INFO] [stdout]     |
[INFO] [stdout] 103 |         let mut rng = thread_rng();
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]  --> src/algorithms/random_walk.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::{Rng, thread_rng};
[INFO] [stdout]   |                 ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]    --> src/algorithms/random_walk.rs:130:23
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let mut rng = thread_rng();
[INFO] [stdout]     |                       ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]  --> src/utils.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use rand::thread_rng;
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: renamed to `rng`
[INFO] [stdout]  --> src/utils.rs:7:27
[INFO] [stdout]   |
[INFO] [stdout] 7 |     vertices.shuffle(&mut thread_rng());
[INFO] [stdout]   |                           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/constructive/weighted_regret_cycle.rs:129:26
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let start1 = rng.gen_range(0..n);
[INFO] [stdout]     |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:101:20
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let pos1 = rng.gen_range(0..n1);
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:102:20
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let pos2 = rng.gen_range(0..n2);
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:119:20
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let pos1 = rng.gen_range(0..n);
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:120:24
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut pos2 = rng.gen_range(0..n);
[INFO] [stdout]     |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:122:20
[INFO] [stdout]     |
[INFO] [stdout] 122 |         pos2 = rng.gen_range(0..n);
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:144:20
[INFO] [stdout]     |
[INFO] [stdout] 144 |     let pos1 = rng.gen_range(0..n);
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:149:24
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let mut pos2 = rng.gen_range(0..n);
[INFO] [stdout]     |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:152:20
[INFO] [stdout]     |
[INFO] [stdout] 152 |         pos2 = rng.gen_range(0..n);
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:35:36
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let move_type_choice = rng.gen_range(0..=2);
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 let pos1 = rng.gen_range(0..n1);
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 let pos2 = rng.gen_range(0..n2);
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:46:65
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 let cycle_choice = if n1 >= 2 && (n2 < 2 || rng.gen_bool(0.5)) {
[INFO] [stdout]    |                                                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 let pos1 = rng.gen_range(0..n);
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:62:36
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 let mut pos2 = rng.gen_range(0..n);
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:64:32
[INFO] [stdout]    |
[INFO] [stdout] 64 |                     pos2 = rng.gen_range(0..n);
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:76:65
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 let cycle_choice = if n1 >= 3 && (n2 < 3 || rng.gen_bool(0.5)) {
[INFO] [stdout]    |                                                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:92:32
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 let pos1 = rng.gen_range(0..n);
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:93:36
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 let mut pos2 = rng.gen_range(0..n);
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 |                     pos2 = rng.gen_range(0..n);
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/constructive/weighted_regret_cycle.rs:129:26
[INFO] [stdout]     |
[INFO] [stdout] 129 |         let start1 = rng.gen_range(0..n);
[INFO] [stdout]     |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:101:20
[INFO] [stdout]     |
[INFO] [stdout] 101 |     let pos1 = rng.gen_range(0..n1);
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:102:20
[INFO] [stdout]     |
[INFO] [stdout] 102 |     let pos2 = rng.gen_range(0..n2);
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:119:20
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let pos1 = rng.gen_range(0..n);
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:120:24
[INFO] [stdout]     |
[INFO] [stdout] 120 |     let mut pos2 = rng.gen_range(0..n);
[INFO] [stdout]     |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:122:20
[INFO] [stdout]     |
[INFO] [stdout] 122 |         pos2 = rng.gen_range(0..n);
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:144:20
[INFO] [stdout]     |
[INFO] [stdout] 144 |     let pos1 = rng.gen_range(0..n);
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:149:24
[INFO] [stdout]     |
[INFO] [stdout] 149 |     let mut pos2 = rng.gen_range(0..n);
[INFO] [stdout]     |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]    --> src/algorithms/perturbation.rs:152:20
[INFO] [stdout]     |
[INFO] [stdout] 152 |         pos2 = rng.gen_range(0..n);
[INFO] [stdout]     |                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:35:36
[INFO] [stdout]    |
[INFO] [stdout] 35 |         let move_type_choice = rng.gen_range(0..=2);
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:39:32
[INFO] [stdout]    |
[INFO] [stdout] 39 |                 let pos1 = rng.gen_range(0..n1);
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:40:32
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 let pos2 = rng.gen_range(0..n2);
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:46:65
[INFO] [stdout]    |
[INFO] [stdout] 46 |                 let cycle_choice = if n1 >= 2 && (n2 < 2 || rng.gen_bool(0.5)) {
[INFO] [stdout]    |                                                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:61:32
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 let pos1 = rng.gen_range(0..n);
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:62:36
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 let mut pos2 = rng.gen_range(0..n);
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:64:32
[INFO] [stdout]    |
[INFO] [stdout] 64 |                     pos2 = rng.gen_range(0..n);
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_bool`: Renamed to `random_bool`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:76:65
[INFO] [stdout]    |
[INFO] [stdout] 76 |                 let cycle_choice = if n1 >= 3 && (n2 < 3 || rng.gen_bool(0.5)) {
[INFO] [stdout]    |                                                                 ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:92:32
[INFO] [stdout]    |
[INFO] [stdout] 92 |                 let pos1 = rng.gen_range(0..n);
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:93:36
[INFO] [stdout]    |
[INFO] [stdout] 93 |                 let mut pos2 = rng.gen_range(0..n);
[INFO] [stdout]    |                                    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range`
[INFO] [stdout]   --> src/algorithms/random_walk.rs:95:32
[INFO] [stdout]    |
[INFO] [stdout] 95 |                     pos2 = rng.gen_range(0..n);
[INFO] [stdout]    |                                ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Perturbation`
[INFO] [stdout]   --> src/main.rs:19:51
[INFO] [stdout]    |
[INFO] [stdout] 19 | use algorithms::perturbation::{LargePerturbation, Perturbation, SmallPerturbation};
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_available_count`
[INFO] [stdout]    --> src/algorithms/constructive/weighted_regret_cycle.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let initial_available_count = available.len();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_available_count`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_solution`
[INFO] [stdout]   --> src/algorithms/ils.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let initial_solution = generate_random_solution(instance);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_solution`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `best_evaluated_move` is never read
[INFO] [stdout]    --> src/algorithms/local_search/base.rs:117:66
[INFO] [stdout]     |
[INFO] [stdout] 117 |             let mut best_evaluated_move: Option<EvaluatedMove> = None;
[INFO] [stdout]     |                                                                  ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 135 |             best_evaluated_move = None;
[INFO] [stdout]     |             -------------------------- `best_evaluated_move` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `found_improving_move` is never read
[INFO] [stdout]    --> src/algorithms/local_search/base.rs:118:44
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let mut found_improving_move = false;
[INFO] [stdout]     |                                            ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 136 |             found_improving_move = false;
[INFO] [stdout]     |             ---------------------------- `found_improving_move` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/algorithms/local_search/base.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 |         k: usize,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/algorithms/local_search/base.rs:418:13
[INFO] [stdout]     |
[INFO] [stdout] 418 |         let mut add_node_and_neighbors = |node: usize, affected: &mut HashSet<usize>| {
[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 import: `Perturbation`
[INFO] [stdout]   --> src/main.rs:19:51
[INFO] [stdout]    |
[INFO] [stdout] 19 | use algorithms::perturbation::{LargePerturbation, Perturbation, SmallPerturbation};
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/moves/types.rs:96:29
[INFO] [stdout]    |
[INFO] [stdout] 96 |                         let mut start = pos_b;
[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/moves/types.rs:97:29
[INFO] [stdout]    |
[INFO] [stdout] 97 |                         let mut end = pos_c;
[INFO] [stdout]    |                             ----^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/moves/types.rs:80:17
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 a,
[INFO] [stdout]    |                 ^ help: try ignoring the field: `a: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_available_count`
[INFO] [stdout]    --> src/algorithms/constructive/weighted_regret_cycle.rs:139:13
[INFO] [stdout]     |
[INFO] [stdout] 139 |         let initial_available_count = available.len();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_available_count`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `initial_solution`
[INFO] [stdout]   --> src/algorithms/ils.rs:52:13
[INFO] [stdout]    |
[INFO] [stdout] 52 |         let initial_solution = generate_random_solution(instance);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_solution`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `best_evaluated_move` is never read
[INFO] [stdout]    --> src/algorithms/local_search/base.rs:117:66
[INFO] [stdout]     |
[INFO] [stdout] 117 |             let mut best_evaluated_move: Option<EvaluatedMove> = None;
[INFO] [stdout]     |                                                                  ^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 135 |             best_evaluated_move = None;
[INFO] [stdout]     |             -------------------------- `best_evaluated_move` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `found_improving_move` is never read
[INFO] [stdout]    --> src/algorithms/local_search/base.rs:118:44
[INFO] [stdout]     |
[INFO] [stdout] 118 |             let mut found_improving_move = false;
[INFO] [stdout]     |                                            ^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 136 |             found_improving_move = false;
[INFO] [stdout]     |             ---------------------------- `found_improving_move` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]    --> src/algorithms/local_search/base.rs:325:9
[INFO] [stdout]     |
[INFO] [stdout] 325 |         k: usize,
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/algorithms/local_search/base.rs:418:13
[INFO] [stdout]     |
[INFO] [stdout] 418 |         let mut add_node_and_neighbors = |node: usize, affected: &mut HashSet<usize>| {
[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: field `instance_name` is never read
[INFO] [stdout]   --> src/algorithm.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ExperimentStats {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 27 |     pub algorithm_name: String,
[INFO] [stdout] 28 |     pub instance_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExperimentStats` has derived impls for the traits `Clone` and `Debug`, but these are 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: variants `Steepest` and `Greedy` are never constructed
[INFO] [stdout]   --> src/algorithms/local_search/base.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum SearchVariant {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 18 |     Steepest,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 19 |     Greedy,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SearchVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `VertexExchange` is never constructed
[INFO] [stdout]   --> src/algorithms/local_search/base.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum NeighborhoodType {
[INFO] [stdout]    |          ---------------- variant in this enum
[INFO] [stdout] 26 |     VertexExchange,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NeighborhoodType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Heuristic` is never constructed
[INFO] [stdout]   --> src/algorithms/local_search/base.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum InitialSolutionType {
[INFO] [stdout]    |          ------------------- variant in this enum
[INFO] [stdout] 32 |     Random,
[INFO] [stdout] 33 |     Heuristic(HeuristicAlgorithm),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InitialSolutionType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `WeightedRegret` is never constructed
[INFO] [stdout]   --> src/algorithms/local_search/base.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum HeuristicAlgorithm {
[INFO] [stdout]    |          ------------------ variant in this enum
[INFO] [stdout] 38 |     WeightedRegret,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HeuristicAlgorithm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomWalk` is never constructed
[INFO] [stdout]   --> src/algorithms/random_walk.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct RandomWalk {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `generate_random_move` are never used
[INFO] [stdout]   --> src/algorithms/random_walk.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl RandomWalk {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 23 |     pub fn new(max_iterations: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn generate_random_move(&self, solution: &Solution, rng: &mut impl Rng) -> Option<Move> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_edge` is never used
[INFO] [stdout]    --> src/tsplib.rs:295:12
[INFO] [stdout]     |
[INFO] [stdout] 224 | impl Solution {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 295 |     pub fn has_edge(&self, a: usize, b: usize) -> Option<(CycleId, i8)> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/moves/types.rs:96:29
[INFO] [stdout]    |
[INFO] [stdout] 96 |                         let mut start = pos_b;
[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/moves/types.rs:97:29
[INFO] [stdout]    |
[INFO] [stdout] 97 |                         let mut end = pos_c;
[INFO] [stdout]    |                             ----^^^
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `a`
[INFO] [stdout]   --> src/moves/types.rs:80:17
[INFO] [stdout]    |
[INFO] [stdout] 80 |                 a,
[INFO] [stdout]    |                 ^ help: try ignoring the field: `a: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `instance_name` is never read
[INFO] [stdout]   --> src/algorithm.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct ExperimentStats {
[INFO] [stdout]    |            --------------- field in this struct
[INFO] [stdout] 27 |     pub algorithm_name: String,
[INFO] [stdout] 28 |     pub instance_name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ExperimentStats` has derived impls for the traits `Clone` and `Debug`, but these are 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: variants `Steepest` and `Greedy` are never constructed
[INFO] [stdout]   --> src/algorithms/local_search/base.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub enum SearchVariant {
[INFO] [stdout]    |          ------------- variants in this enum
[INFO] [stdout] 18 |     Steepest,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 19 |     Greedy,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SearchVariant` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `VertexExchange` is never constructed
[INFO] [stdout]   --> src/algorithms/local_search/base.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub enum NeighborhoodType {
[INFO] [stdout]    |          ---------------- variant in this enum
[INFO] [stdout] 26 |     VertexExchange,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NeighborhoodType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Heuristic` is never constructed
[INFO] [stdout]   --> src/algorithms/local_search/base.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub enum InitialSolutionType {
[INFO] [stdout]    |          ------------------- variant in this enum
[INFO] [stdout] 32 |     Random,
[INFO] [stdout] 33 |     Heuristic(HeuristicAlgorithm),
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `InitialSolutionType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `WeightedRegret` is never constructed
[INFO] [stdout]   --> src/algorithms/local_search/base.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 37 | pub enum HeuristicAlgorithm {
[INFO] [stdout]    |          ------------------ variant in this enum
[INFO] [stdout] 38 |     WeightedRegret,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `HeuristicAlgorithm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RandomWalk` is never constructed
[INFO] [stdout]   --> src/algorithms/random_walk.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct RandomWalk {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `generate_random_move` are never used
[INFO] [stdout]   --> src/algorithms/random_walk.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | impl RandomWalk {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 23 |     pub fn new(max_iterations: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     fn generate_random_move(&self, solution: &Solution, rng: &mut impl Rng) -> Option<Move> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `has_edge` is never used
[INFO] [stdout]    --> src/tsplib.rs:295:12
[INFO] [stdout]     |
[INFO] [stdout] 224 | impl Solution {
[INFO] [stdout]     | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 295 |     pub fn has_edge(&self, a: usize, b: usize) -> Option<(CycleId, i8)> {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.05s
[INFO] running `Command { std: "docker" "inspect" "4fb6dd43532bdf091bf47d952d13fd8d4e7c5b945a8337c4df2123406cf3bb0f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4fb6dd43532bdf091bf47d952d13fd8d4e7c5b945a8337c4df2123406cf3bb0f", kill_on_drop: false }`
[INFO] [stdout] 4fb6dd43532bdf091bf47d952d13fd8d4e7c5b945a8337c4df2123406cf3bb0f
