[INFO] cloning repository https://github.com/TamairNV/Rust-Polygons-Evolve [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TamairNV/Rust-Polygons-Evolve" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamairNV%2FRust-Polygons-Evolve", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamairNV%2FRust-Polygons-Evolve'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9c799e33cffc7496a3392be530c8a220508614e [INFO] testing TamairNV/Rust-Polygons-Evolve against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTamairNV%2FRust-Polygons-Evolve" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TamairNV/Rust-Polygons-Evolve [INFO] finished tweaking git repo https://github.com/TamairNV/Rust-Polygons-Evolve [INFO] tweaked toml for git repo https://github.com/TamairNV/Rust-Polygons-Evolve written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TamairNV/Rust-Polygons-Evolve on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TamairNV/Rust-Polygons-Evolve 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.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f45542c9041c471d2733b09ac1164ea6b1f6e4e5061f9aee95e72ea515372ab3 [INFO] running `Command { std: "docker" "start" "f45542c9041c471d2733b09ac1164ea6b1f6e4e5061f9aee95e72ea515372ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f45542c9041c471d2733b09ac1164ea6b1f6e4e5061f9aee95e72ea515372ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f45542c9041c471d2733b09ac1164ea6b1f6e4e5061f9aee95e72ea515372ab3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f45542c9041c471d2733b09ac1164ea6b1f6e4e5061f9aee95e72ea515372ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f45542c9041c471d2733b09ac1164ea6b1f6e4e5061f9aee95e72ea515372ab3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.117 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling libm v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling aligned v0.4.3 [INFO] [stderr] Compiling bumpalo v3.20.2 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.117 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling zune-core v0.5.1 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling avif-serialize v0.8.8 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling zune-jpeg v0.5.15 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling pxfm v0.1.28 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling rgb v0.8.53 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling png v0.18.1 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling moxcms v0.8.1 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.117 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.117 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling js-sys v0.3.94 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling tiff v0.11.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling ravif v0.13.0 [INFO] [stderr] Compiling image v0.25.10 [INFO] [stderr] Compiling imageproc v0.25.0 [INFO] [stderr] Compiling evo_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RgbaImage` [INFO] [stdout] --> src/polygon.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{Rgba, RgbaImage}; // Switched to Rgba [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `RgbaImage`, and `Rgba` [INFO] [stdout] --> src/population.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{ImageBuffer, Rgba, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imageproc::point::Point` [INFO] [stdout] --> src/population.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use imageproc::point::Point; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shape` [INFO] [stdout] --> src/population.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::polygon::{create_ellipse, create_polygon, Shape}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `console_log` [INFO] [stdout] --> src/population.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! console_log { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tiny_skia::Pixmap` [INFO] [stdout] --> src/population.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use tiny_skia::Pixmap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/population.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `individual` and `polygon` [INFO] [stdout] --> src/population.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | use crate::{individual, polygon}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/population.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `draw_polygon_mut` [INFO] [stdout] --> src/individual.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use imageproc::drawing::{draw_polygon_mut, Canvas}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tiny_skia::*` [INFO] [stdout] --> src/individual.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tiny_skia::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/individual.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | use image::{Pixel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RgbaImage` and `Rgba` [INFO] [stdout] --> src/main.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{GenericImageView, Rgba, RgbaImage}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fround` and `round` [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use js_sys::Math::{fround, round}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `initIndividual` [INFO] [stdout] --> src/main.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::individual::{draw_into_buffer, initIndividual, Individual}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `console_log` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | macro_rules! console_log { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/individual.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/individual.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | use imageproc::drawing::{draw_polygon_mut, Canvas}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/polygon.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn create_polygon(max_sides: u8, width : u16, height: u16,shape_size_mul :f64) -> Shape { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/polygon.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn create_ellipse(width : u16, height: u16,shape_size_mul :f64) -> Shape { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/population.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut out = &indi1; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/population.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut parents = vec![selection[0],selection[1]]; [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/individual.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut indi = Individual{ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/individual.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | for i in 0..start_count{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut population = init_population(pop_size as i16, width, height, 30); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `combine_function` is never read [INFO] [stdout] --> src/main.rs:94:80 [INFO] [stdout] | [INFO] [stdout] 94 | let mut combine_function: fn(&Individual, &Individual) -> Individual = uniform_crossover; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] 95 | [INFO] [stdout] 96 | combine_function = array_based_pivot; [INFO] [stdout] | ------------------------------------ `combine_function` 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: function `initIndividual` should have a snake case name [INFO] [stdout] --> src/individual.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn initIndividual(start_count: i16,width : u32, height : u32) -> Individual { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `init_individual` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2m 54s [INFO] running `Command { std: "docker" "inspect" "f45542c9041c471d2733b09ac1164ea6b1f6e4e5061f9aee95e72ea515372ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f45542c9041c471d2733b09ac1164ea6b1f6e4e5061f9aee95e72ea515372ab3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] Compiling simd-adler32 v0.3.9 [INFO] [stderr] Compiling bytemuck v1.25.0 [INFO] [stderr] Compiling libc v0.2.184 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling aligned v0.4.3 [INFO] [stderr] Compiling zune-core v0.5.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.117 [INFO] [stderr] Compiling safe_arch v0.7.4 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling zune-jpeg v0.5.15 [INFO] [stderr] Compiling avif-serialize v0.8.8 [INFO] [stderr] Compiling flate2 v1.1.9 [INFO] [stderr] Compiling wide v0.7.33 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling pxfm v0.1.28 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling rgb v0.8.53 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling wasm-bindgen v0.2.117 [INFO] [stderr] Compiling gif v0.14.1 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling png v0.18.1 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling ab_glyph v0.2.32 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling js-sys v0.3.94 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling moxcms v0.8.1 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling tiff v0.11.3 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling ravif v0.13.0 [INFO] [stderr] Compiling image v0.25.10 [INFO] [stderr] Compiling imageproc v0.25.0 [INFO] [stderr] Compiling evo_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RgbaImage` [INFO] [stdout] --> src/polygon.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use image::{Rgba, RgbaImage}; // Switched to Rgba [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageBuffer`, `RgbaImage`, and `Rgba` [INFO] [stdout] --> src/population.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use image::{ImageBuffer, Rgba, RgbaImage}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `imageproc::point::Point` [INFO] [stdout] --> src/population.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use imageproc::point::Point; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shape` [INFO] [stdout] --> src/population.rs:5:54 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::polygon::{create_ellipse, create_polygon, Shape}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `console_log` [INFO] [stdout] --> src/population.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | macro_rules! console_log { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tiny_skia::Pixmap` [INFO] [stdout] --> src/population.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use tiny_skia::Pixmap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude::*` [INFO] [stdout] --> src/population.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `individual` and `polygon` [INFO] [stdout] --> src/population.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | use crate::{individual, polygon}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::seq::SliceRandom` [INFO] [stdout] --> src/population.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | use rand::seq::SliceRandom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `draw_polygon_mut` [INFO] [stdout] --> src/individual.rs:11:26 [INFO] [stdout] | [INFO] [stdout] 11 | use imageproc::drawing::{draw_polygon_mut, Canvas}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tiny_skia::*` [INFO] [stdout] --> src/individual.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tiny_skia::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pixel` [INFO] [stdout] --> src/individual.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | use image::{Pixel}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RgbaImage` and `Rgba` [INFO] [stdout] --> src/main.rs:6:31 [INFO] [stdout] | [INFO] [stdout] 6 | use image::{GenericImageView, Rgba, RgbaImage}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fround` and `round` [INFO] [stdout] --> src/main.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use js_sys::Math::{fround, round}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `initIndividual` [INFO] [stdout] --> src/main.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::individual::{draw_into_buffer, initIndividual, Individual}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `console_log` [INFO] [stdout] --> src/main.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | macro_rules! console_log { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/individual.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Canvas` [INFO] [stdout] --> src/individual.rs:11:44 [INFO] [stdout] | [INFO] [stdout] 11 | use imageproc::drawing::{draw_polygon_mut, Canvas}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/polygon.rs:13:51 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn create_polygon(max_sides: u8, width : u16, height: u16,shape_size_mul :f64) -> Shape { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/polygon.rs:60:36 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn create_ellipse(width : u16, height: u16,shape_size_mul :f64) -> Shape { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/population.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut out = &indi1; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/population.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut parents = vec![selection[0],selection[1]]; [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/individual.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | let mut indi = Individual{ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/individual.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | for i in 0..start_count{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let mut population = init_population(pop_size as i16, width, height, 30); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `combine_function` is never read [INFO] [stdout] --> src/main.rs:94:80 [INFO] [stdout] | [INFO] [stdout] 94 | let mut combine_function: fn(&Individual, &Individual) -> Individual = uniform_crossover; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stdout] 95 | [INFO] [stdout] 96 | combine_function = array_based_pivot; [INFO] [stdout] | ------------------------------------ `combine_function` 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: function `initIndividual` should have a snake case name [INFO] [stdout] --> src/individual.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn initIndividual(start_count: i16,width : u32, height : u32) -> Individual { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `init_individual` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 2m 11s [INFO] running `Command { std: "docker" "inspect" "f45542c9041c471d2733b09ac1164ea6b1f6e4e5061f9aee95e72ea515372ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f45542c9041c471d2733b09ac1164ea6b1f6e4e5061f9aee95e72ea515372ab3" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `RgbaImage` [INFO] [stderr] --> src/polygon.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | use image::{Rgba, RgbaImage}; // Switched to Rgba [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ImageBuffer`, `RgbaImage`, and `Rgba` [INFO] [stderr] --> src/population.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use image::{ImageBuffer, Rgba, RgbaImage}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `imageproc::point::Point` [INFO] [stderr] --> src/population.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use imageproc::point::Point; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Shape` [INFO] [stderr] --> src/population.rs:5:54 [INFO] [stderr] | [INFO] [stderr] 5 | use crate::polygon::{create_ellipse, create_polygon, Shape}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `console_log` [INFO] [stderr] --> src/population.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | macro_rules! console_log { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tiny_skia::Pixmap` [INFO] [stderr] --> src/population.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use tiny_skia::Pixmap; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rayon::prelude::*` [INFO] [stderr] --> src/population.rs:118:5 [INFO] [stderr] | [INFO] [stderr] 118 | use rayon::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `individual` and `polygon` [INFO] [stderr] --> src/population.rs:147:13 [INFO] [stderr] | [INFO] [stderr] 147 | use crate::{individual, polygon}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::seq::SliceRandom` [INFO] [stderr] --> src/population.rs:148:5 [INFO] [stderr] | [INFO] [stderr] 148 | use rand::seq::SliceRandom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `draw_polygon_mut` [INFO] [stderr] --> src/individual.rs:11:26 [INFO] [stderr] | [INFO] [stderr] 11 | use imageproc::drawing::{draw_polygon_mut, Canvas}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tiny_skia::*` [INFO] [stderr] --> src/individual.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use tiny_skia::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Pixel` [INFO] [stderr] --> src/individual.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | use image::{Pixel}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RgbaImage` and `Rgba` [INFO] [stderr] --> src/main.rs:6:31 [INFO] [stderr] | [INFO] [stderr] 6 | use image::{GenericImageView, Rgba, RgbaImage}; [INFO] [stderr] | ^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `fround` and `round` [INFO] [stderr] --> src/main.rs:7:20 [INFO] [stderr] | [INFO] [stderr] 7 | use js_sys::Math::{fround, round}; [INFO] [stderr] | ^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `initIndividual` [INFO] [stderr] --> src/main.rs:10:43 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::individual::{draw_into_buffer, initIndividual, Individual}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `console_log` [INFO] [stderr] --> src/main.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | macro_rules! console_log { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rayon::prelude` [INFO] [stderr] --> src/individual.rs:83:5 [INFO] [stderr] | [INFO] [stderr] 83 | use rayon::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Canvas` [INFO] [stderr] --> src/individual.rs:11:44 [INFO] [stderr] | [INFO] [stderr] 11 | use imageproc::drawing::{draw_polygon_mut, Canvas}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/polygon.rs:13:51 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn create_polygon(max_sides: u8, width : u16, height: u16,shape_size_mul :f64) -> Shape { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `height` [INFO] [stderr] --> src/polygon.rs:60:36 [INFO] [stderr] | [INFO] [stderr] 60 | pub fn create_ellipse(width : u16, height: u16,shape_size_mul :f64) -> Shape { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/population.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | let mut out = &indi1; [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/population.rs:112:9 [INFO] [stderr] | [INFO] [stderr] 112 | let mut parents = vec![selection[0],selection[1]]; [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/individual.rs:73:9 [INFO] [stderr] | [INFO] [stderr] 73 | let mut indi = Individual{ [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/individual.rs:69:9 [INFO] [stderr] | [INFO] [stderr] 69 | for i in 0..start_count{ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:75:13 [INFO] [stderr] | [INFO] [stderr] 75 | let mut population = init_population(pop_size as i16, width, height, 30); [INFO] [stderr] | ----^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `combine_function` is never read [INFO] [stderr] --> src/main.rs:94:80 [INFO] [stderr] | [INFO] [stderr] 94 | let mut combine_function: fn(&Individual, &Individual) -> Individual = uniform_crossover; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ this value is reassigned later and never used [INFO] [stderr] 95 | [INFO] [stderr] 96 | combine_function = array_based_pivot; [INFO] [stderr] | ------------------------------------ `combine_function` is overwritten here before the previous value is read [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `initIndividual` should have a snake case name [INFO] [stderr] --> src/individual.rs:66:8 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn initIndividual(start_count: i16,width : u32, height : u32) -> Individual { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `init_individual` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `evo_engine` (bin "evo_engine" test) generated 27 warnings (run `cargo fix --bin "evo_engine" -p evo_engine --tests` to apply 21 suggestions) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/release/build/evo_engine/caa01a3e1154a4e7/out/evo_engine-caa01a3e1154a4e7) [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" "f45542c9041c471d2733b09ac1164ea6b1f6e4e5061f9aee95e72ea515372ab3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f45542c9041c471d2733b09ac1164ea6b1f6e4e5061f9aee95e72ea515372ab3", kill_on_drop: false }` [INFO] [stdout] f45542c9041c471d2733b09ac1164ea6b1f6e4e5061f9aee95e72ea515372ab3