[INFO] cloning repository https://github.com/Arnav-Bista/genetic_algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Arnav-Bista/genetic_algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnav-Bista%2Fgenetic_algorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnav-Bista%2Fgenetic_algorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] be6497d9e6a5eabdf6ce3384c0aef8def89416f2 [INFO] testing Arnav-Bista/genetic_algorithms against 1.90.0 for beta-1.91-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnav-Bista%2Fgenetic_algorithms" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Arnav-Bista/genetic_algorithms [INFO] finished tweaking git repo https://github.com/Arnav-Bista/genetic_algorithms [INFO] tweaked toml for git repo https://github.com/Arnav-Bista/genetic_algorithms written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Arnav-Bista/genetic_algorithms on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Arnav-Bista/genetic_algorithms 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.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-client v0.31.5 [INFO] [stderr] Downloaded egui_plot v0.28.1 [INFO] [stderr] Downloaded wayland-sys v0.31.4 [INFO] [stderr] Downloaded wayland-cursor v0.31.5 [INFO] [stderr] Downloaded wayland-scanner v0.31.4 [INFO] [stderr] Downloaded wayland-protocols-wlr v0.3.3 [INFO] [stderr] Downloaded error-code v3.2.0 [INFO] [stderr] Downloaded memmap2 v0.9.4 [INFO] [stderr] Downloaded arboard v3.4.0 [INFO] [stderr] Downloaded cc v1.1.16 [INFO] [stderr] Downloaded wayland-backend v0.3.6 [INFO] [stderr] Downloaded wayland-protocols v0.32.3 [INFO] [stderr] Downloaded webbrowser v1.0.1 [INFO] [stderr] Downloaded quick-xml v0.34.0 [INFO] [stderr] Downloaded rustix v0.38.35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b14cd8e4be0ef5268eab28471eac5d61700b116cd305a167e20d99871a0ca044 [INFO] running `Command { std: "docker" "start" "-a" "b14cd8e4be0ef5268eab28471eac5d61700b116cd305a167e20d99871a0ca044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b14cd8e4be0ef5268eab28471eac5d61700b116cd305a167e20d99871a0ca044", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b14cd8e4be0ef5268eab28471eac5d61700b116cd305a167e20d99871a0ca044", kill_on_drop: false }` [INFO] [stdout] b14cd8e4be0ef5268eab28471eac5d61700b116cd305a167e20d99871a0ca044 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 756039c31333678233d193fc76db8e63983fe33d04bc8d15953c791c11060cb4 [INFO] running `Command { std: "docker" "start" "-a" "756039c31333678233d193fc76db8e63983fe33d04bc8d15953c791c11060cb4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling wayland-sys v0.31.4 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling wayland-client v0.31.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cc v1.1.16 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling serde v1.0.216 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling syn v2.0.91 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling ab_glyph v0.2.28 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling xml-rs v0.8.21 [INFO] [stderr] Compiling cpufeatures v0.2.13 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling wayland-scanner v0.31.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling async-executor v1.13.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling wayland-backend v0.3.6 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.99 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling accesskit v0.12.3 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling winit v0.29.15 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling raw-window-handle v0.5.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling accesskit_consumer v0.16.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling glutin v0.31.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling async-once-cell v0.5.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.99 [INFO] [stderr] Compiling flate2 v1.0.33 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling glutin-winit v0.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling web-time v0.2.4 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling webbrowser v1.0.1 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling colored v2.1.0 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.99 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling crossterm v0.28.1 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.216 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.99 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling bytemuck v1.17.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.99 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling emath v0.28.1 [INFO] [stderr] Compiling image v0.25.2 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling calloop v0.12.4 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling ecolor v0.28.1 [INFO] [stderr] Compiling epaint v0.28.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling arboard v3.4.0 [INFO] [stderr] Compiling wayland-cursor v0.31.5 [INFO] [stderr] Compiling wayland-protocols v0.31.2 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wayland-protocols v0.32.3 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling js-sys v0.3.70 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling egui v0.28.1 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling serde-wasm-bindgen v0.6.5 [INFO] [stderr] Compiling zvariant v3.15.2 [INFO] [stderr] Compiling egui_glow v0.28.1 [INFO] [stderr] Compiling egui_plot v0.28.1 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.3 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling zbus_names v2.6.1 [INFO] [stderr] Compiling zbus v3.15.2 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling sctk-adwaita v0.8.3 [INFO] [stderr] Compiling atspi-common v0.3.0 [INFO] [stderr] Compiling atspi-proxies v0.3.0 [INFO] [stderr] Compiling atspi-connection v0.3.0 [INFO] [stderr] Compiling atspi v0.19.0 [INFO] [stderr] Compiling accesskit_unix v0.6.2 [INFO] [stderr] Compiling accesskit_winit v0.16.1 [INFO] [stderr] Compiling egui-winit v0.28.1 [INFO] [stderr] Compiling eframe v0.28.1 [INFO] [stderr] Compiling genetic_algorithm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new_shuffle` is never used [INFO] [stdout] --> src/candidate.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Candidate { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] 2 | fn new(chromosomes: U) -> Self; [INFO] [stdout] 3 | fn new_shuffle(chromosomes: U) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_population_size` is never used [INFO] [stdout] --> src/genetic_algorithm/genetic_algorithm.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl GA [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | T: Candidate + GaCandidate + Clone, [INFO] [stdout] | |__________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn set_population_size(&mut self, population_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tournament` is never constructed [INFO] [stdout] --> src/genetic_algorithm/selection.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum SelectionMethod { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 9 | Tournament(usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimulatedAnnealing` is never constructed [INFO] [stdout] --> src/simualted_annealing/simulated_annealing.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SimulatedAnnealing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, and `step` are never used [INFO] [stdout] --> src/simualted_annealing/simulated_annealing.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 14 | / impl SimulatedAnnealing [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | T: Candidate + SaCandidate + Clone, [INFO] [stdout] | |__________________________________________- associated items in this implementation [INFO] [stdout] 17 | { [INFO] [stdout] 18 | pub fn new(temperature: f64, cooling_rate: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn run(&mut self, initial: T, iterations: usize) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn step(&mut self, current: T) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SaCandidate` is never used [INFO] [stdout] --> src/simualted_annealing/simulated_annealing_candidate.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait SaCandidate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Style` and `Visuals` [INFO] [stdout] --> src/visualisation/plotting.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Style, Visuals}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread::sleep` and `time::Duration` [INFO] [stdout] --> src/visualisation/egui_struct.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlotItem` [INFO] [stdout] --> src/visualisation/egui_struct.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | use egui_plot::{Corner, Legend, Line, Plot, PlotItem, PlotPoints}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/visualisation/plotting.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | Box::new(|cc| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/visualisation/egui_struct.rs:44:47 [INFO] [stdout] | [INFO] [stdout] 44 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/visualisation/egui_struct.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/candidate.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Candidate { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] 2 | fn new(chromosomes: U) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_elitism_target`, `set_population_size`, `set_mutation_rate`, and `set_selection_target` are never used [INFO] [stdout] --> src/genetic_algorithm/genetic_algorithm.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl GA [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | T: Candidate + GaCandidate + Clone, [INFO] [stdout] | |__________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn set_elitism_target(&mut self, elitism_target: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn set_population_size(&mut self, population_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn set_mutation_rate(&mut self, mutation_rate: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn set_selection_target(&mut self, selection_target: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/simualted_annealing/simulated_annealing.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 14 | / impl SimulatedAnnealing [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | T: Candidate + SaCandidate + Clone, [INFO] [stdout] | |__________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn run(&mut self, initial: T, iterations: usize) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selection_method` is never read [INFO] [stdout] --> src/visualisation/egui_struct.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RealTimePlotTSP { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | selection_method: SelectionMethod, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `iterations` is never read [INFO] [stdout] --> src/visualisation/egui_struct.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct RealTimePlotSA { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 121 | sa: SimulatedAnnealing>, [INFO] [stdout] 122 | iterations: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "756039c31333678233d193fc76db8e63983fe33d04bc8d15953c791c11060cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "756039c31333678233d193fc76db8e63983fe33d04bc8d15953c791c11060cb4", kill_on_drop: false }` [INFO] [stdout] 756039c31333678233d193fc76db8e63983fe33d04bc8d15953c791c11060cb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0efc4859caa9ffdd4cce5d683d0c5c63b41158fffd423e747bfcc43e1ec41279 [INFO] running `Command { std: "docker" "start" "-a" "0efc4859caa9ffdd4cce5d683d0c5c63b41158fffd423e747bfcc43e1ec41279", kill_on_drop: false }` [INFO] [stdout] warning: associated function `new_shuffle` is never used [INFO] [stdout] --> src/candidate.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Candidate { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] 2 | fn new(chromosomes: U) -> Self; [INFO] [stdout] 3 | fn new_shuffle(chromosomes: U) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_population_size` is never used [INFO] [stdout] --> src/genetic_algorithm/genetic_algorithm.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl GA [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | T: Candidate + GaCandidate + Clone, [INFO] [stdout] | |__________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn set_population_size(&mut self, population_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tournament` is never constructed [INFO] [stdout] --> src/genetic_algorithm/selection.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum SelectionMethod { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 9 | Tournament(usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimulatedAnnealing` is never constructed [INFO] [stdout] --> src/simualted_annealing/simulated_annealing.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SimulatedAnnealing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, and `step` are never used [INFO] [stdout] --> src/simualted_annealing/simulated_annealing.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 14 | / impl SimulatedAnnealing [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | T: Candidate + SaCandidate + Clone, [INFO] [stdout] | |__________________________________________- associated items in this implementation [INFO] [stdout] 17 | { [INFO] [stdout] 18 | pub fn new(temperature: f64, cooling_rate: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn run(&mut self, initial: T, iterations: usize) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn step(&mut self, current: T) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SaCandidate` is never used [INFO] [stdout] --> src/simualted_annealing/simulated_annealing_candidate.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait SaCandidate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling genetic_algorithm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Style` and `Visuals` [INFO] [stdout] --> src/visualisation/plotting.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use egui::{Style, Visuals}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread::sleep` and `time::Duration` [INFO] [stdout] --> src/visualisation/egui_struct.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{thread::sleep, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlotItem` [INFO] [stdout] --> src/visualisation/egui_struct.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | use egui_plot::{Corner, Legend, Line, Plot, PlotItem, PlotPoints}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_shuffle` is never used [INFO] [stdout] --> src/candidate.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Candidate { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] 2 | fn new(chromosomes: U) -> Self; [INFO] [stdout] 3 | fn new_shuffle(chromosomes: U) -> Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_population_size` is never used [INFO] [stdout] --> src/genetic_algorithm/genetic_algorithm.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl GA [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | T: Candidate + GaCandidate + Clone, [INFO] [stdout] | |__________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn set_population_size(&mut self, population_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tournament` is never constructed [INFO] [stdout] --> src/genetic_algorithm/selection.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum SelectionMethod { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 9 | Tournament(usize), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SimulatedAnnealing` is never constructed [INFO] [stdout] --> src/simualted_annealing/simulated_annealing.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SimulatedAnnealing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run`, and `step` are never used [INFO] [stdout] --> src/simualted_annealing/simulated_annealing.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 14 | / impl SimulatedAnnealing [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | T: Candidate + SaCandidate + Clone, [INFO] [stdout] | |__________________________________________- associated items in this implementation [INFO] [stdout] 17 | { [INFO] [stdout] 18 | pub fn new(temperature: f64, cooling_rate: f64) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn run(&mut self, initial: T, iterations: usize) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn step(&mut self, current: T) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `SaCandidate` is never used [INFO] [stdout] --> src/simualted_annealing/simulated_annealing_candidate.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait SaCandidate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/visualisation/plotting.rs:26:19 [INFO] [stdout] | [INFO] [stdout] 26 | Box::new(|cc| { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/visualisation/egui_struct.rs:44:47 [INFO] [stdout] | [INFO] [stdout] 44 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frame` [INFO] [stdout] --> src/visualisation/egui_struct.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/candidate.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub trait Candidate { [INFO] [stdout] | --------- associated function in this trait [INFO] [stdout] 2 | fn new(chromosomes: U) -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_elitism_target`, `set_population_size`, `set_mutation_rate`, and `set_selection_target` are never used [INFO] [stdout] --> src/genetic_algorithm/genetic_algorithm.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl GA [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | T: Candidate + GaCandidate + Clone, [INFO] [stdout] | |__________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn set_elitism_target(&mut self, elitism_target: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn set_population_size(&mut self, population_size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn set_mutation_rate(&mut self, mutation_rate: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 157 | pub fn set_selection_target(&mut self, selection_target: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/simualted_annealing/simulated_annealing.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 14 | / impl SimulatedAnnealing [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | T: Candidate + SaCandidate + Clone, [INFO] [stdout] | |__________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn run(&mut self, initial: T, iterations: usize) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selection_method` is never read [INFO] [stdout] --> src/visualisation/egui_struct.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct RealTimePlotTSP { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | selection_method: SelectionMethod, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `iterations` is never read [INFO] [stdout] --> src/visualisation/egui_struct.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct RealTimePlotSA { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 121 | sa: SimulatedAnnealing>, [INFO] [stdout] 122 | iterations: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "0efc4859caa9ffdd4cce5d683d0c5c63b41158fffd423e747bfcc43e1ec41279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0efc4859caa9ffdd4cce5d683d0c5c63b41158fffd423e747bfcc43e1ec41279", kill_on_drop: false }` [INFO] [stdout] 0efc4859caa9ffdd4cce5d683d0c5c63b41158fffd423e747bfcc43e1ec41279 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e3d66a728fecdbcbc2b8ba8f0cc6e690e19a3b110c2ae5af015d0f514ae5b4f [INFO] running `Command { std: "docker" "start" "-a" "3e3d66a728fecdbcbc2b8ba8f0cc6e690e19a3b110c2ae5af015d0f514ae5b4f", kill_on_drop: false }` [INFO] [stderr] warning: associated function `new_shuffle` is never used [INFO] [stderr] --> src/candidate.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub trait Candidate { [INFO] [stderr] | --------- associated function in this trait [INFO] [stderr] 2 | fn new(chromosomes: U) -> Self; [INFO] [stderr] 3 | fn new_shuffle(chromosomes: U) -> Self; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `set_population_size` is never used [INFO] [stderr] --> src/genetic_algorithm/genetic_algorithm.rs:149:12 [INFO] [stderr] | [INFO] [stderr] 21 | / impl GA [INFO] [stderr] 22 | | where [INFO] [stderr] 23 | | T: Candidate + GaCandidate + Clone, [INFO] [stderr] | |__________________________________________- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 149 | pub fn set_population_size(&mut self, population_size: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `Tournament` is never constructed [INFO] [stderr] --> src/genetic_algorithm/selection.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub enum SelectionMethod { [INFO] [stderr] | --------------- variant in this enum [INFO] [stderr] 9 | Tournament(usize), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `SimulatedAnnealing` is never constructed [INFO] [stderr] --> src/simualted_annealing/simulated_annealing.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct SimulatedAnnealing { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `run`, and `step` are never used [INFO] [stderr] --> src/simualted_annealing/simulated_annealing.rs:18:12 [INFO] [stderr] | [INFO] [stderr] 14 | / impl SimulatedAnnealing [INFO] [stderr] 15 | | where [INFO] [stderr] 16 | | T: Candidate + SaCandidate + Clone, [INFO] [stderr] | |__________________________________________- associated items in this implementation [INFO] [stderr] 17 | { [INFO] [stderr] 18 | pub fn new(temperature: f64, cooling_rate: f64) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn run(&mut self, initial: T, iterations: usize) -> T { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn step(&mut self, current: T) -> T { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `SaCandidate` is never used [INFO] [stderr] --> src/simualted_annealing/simulated_annealing_candidate.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | pub trait SaCandidate { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `genetic_algorithm` (lib) generated 6 warnings [INFO] [stderr] warning: `genetic_algorithm` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] warning: unused imports: `Style` and `Visuals` [INFO] [stderr] --> src/visualisation/plotting.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use egui::{Style, Visuals}; [INFO] [stderr] | ^^^^^ ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `thread::sleep` and `time::Duration` [INFO] [stderr] --> src/visualisation/egui_struct.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{thread::sleep, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `PlotItem` [INFO] [stderr] --> src/visualisation/egui_struct.rs:4:45 [INFO] [stderr] | [INFO] [stderr] 4 | use egui_plot::{Corner, Legend, Line, Plot, PlotItem, PlotPoints}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cc` [INFO] [stderr] --> src/visualisation/plotting.rs:26:19 [INFO] [stderr] | [INFO] [stderr] 26 | Box::new(|cc| { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame` [INFO] [stderr] --> src/visualisation/egui_struct.rs:44:47 [INFO] [stderr] | [INFO] [stderr] 44 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `frame` [INFO] [stderr] --> src/visualisation/egui_struct.rs:151:47 [INFO] [stderr] | [INFO] [stderr] 151 | fn update(&mut self, ctx: &egui::Context, frame: &mut eframe::Frame) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame` [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/candidate.rs:2:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub trait Candidate { [INFO] [stderr] | --------- associated function in this trait [INFO] [stderr] 2 | fn new(chromosomes: U) -> Self; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `set_elitism_target`, `set_population_size`, `set_mutation_rate`, and `set_selection_target` are never used [INFO] [stderr] --> src/genetic_algorithm/genetic_algorithm.rs:145:12 [INFO] [stderr] | [INFO] [stderr] 21 | / impl GA [INFO] [stderr] 22 | | where [INFO] [stderr] 23 | | T: Candidate + GaCandidate + Clone, [INFO] [stderr] | |__________________________________________- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 145 | pub fn set_elitism_target(&mut self, elitism_target: f64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 149 | pub fn set_population_size(&mut self, population_size: usize) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 153 | pub fn set_mutation_rate(&mut self, mutation_rate: f64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 157 | pub fn set_selection_target(&mut self, selection_target: f64) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `run` is never used [INFO] [stderr] --> src/simualted_annealing/simulated_annealing.rs:27:12 [INFO] [stderr] | [INFO] [stderr] 14 | / impl SimulatedAnnealing [INFO] [stderr] 15 | | where [INFO] [stderr] 16 | | T: Candidate + SaCandidate + Clone, [INFO] [stderr] | |__________________________________________- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 27 | pub fn run(&mut self, initial: T, iterations: usize) -> T { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `selection_method` is never read [INFO] [stderr] --> src/visualisation/egui_struct.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct RealTimePlotTSP { [INFO] [stderr] | --------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | selection_method: SelectionMethod, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `iterations` is never read [INFO] [stderr] --> src/visualisation/egui_struct.rs:122:5 [INFO] [stderr] | [INFO] [stderr] 120 | pub struct RealTimePlotSA { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 121 | sa: SimulatedAnnealing>, [INFO] [stderr] 122 | iterations: usize, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `genetic_algorithm` (bin "genetic_algorithm" test) generated 11 warnings (run `cargo fix --bin "genetic_algorithm" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/genetic_algorithm-1d0399291aeea743) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/genetic_algorithm-dbdd856978fcd1c0) [INFO] [stdout] [INFO] [stdout] running 0 tests [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] [stderr] Doc-tests genetic_algorithm [INFO] [stdout] [INFO] [stdout] running 0 tests [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" "3e3d66a728fecdbcbc2b8ba8f0cc6e690e19a3b110c2ae5af015d0f514ae5b4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e3d66a728fecdbcbc2b8ba8f0cc6e690e19a3b110c2ae5af015d0f514ae5b4f", kill_on_drop: false }` [INFO] [stdout] 3e3d66a728fecdbcbc2b8ba8f0cc6e690e19a3b110c2ae5af015d0f514ae5b4f