[INFO] cloning repository https://github.com/IndaPlus22/daniels5-sorting
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IndaPlus22/daniels5-sorting" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIndaPlus22%2Fdaniels5-sorting", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIndaPlus22%2Fdaniels5-sorting'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 09d5d9a8d07fa6e1e512f36dd9bbc44a186da5b9
[INFO] testing IndaPlus22/daniels5-sorting against 1.98.0-beta.1 for beta-1.98-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIndaPlus22%2Fdaniels5-sorting" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/IndaPlus22/daniels5-sorting
[INFO] finished tweaking git repo https://github.com/IndaPlus22/daniels5-sorting
[INFO] tweaked toml for git repo https://github.com/IndaPlus22/daniels5-sorting written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/IndaPlus22/daniels5-sorting on toolchain 1.98.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/IndaPlus22/daniels5-sorting 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.98.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-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a5c36bf2944777bcd8ae4f0a5e310026570f5a2f9109199ab6ed1add62ce34c2
[INFO] running `Command { std: "docker" "start" "a5c36bf2944777bcd8ae4f0a5e310026570f5a2f9109199ab6ed1add62ce34c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5c36bf2944777bcd8ae4f0a5e310026570f5a2f9109199ab6ed1add62ce34c2", 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" "a5c36bf2944777bcd8ae4f0a5e310026570f5a2f9109199ab6ed1add62ce34c2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5c36bf2944777bcd8ae4f0a5e310026570f5a2f9109199ab6ed1add62ce34c2", 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" "a5c36bf2944777bcd8ae4f0a5e310026570f5a2f9109199ab6ed1add62ce34c2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.137
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling syn v1.0.104
[INFO] [stderr]    Compiling crossbeam-utils v0.8.14
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling memoffset v0.7.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.13
[INFO] [stderr]    Compiling piston-float v1.0.1
[INFO] [stderr]    Compiling ttf-parser v0.15.2
[INFO] [stderr]    Compiling rayon-core v1.10.1
[INFO] [stderr]    Compiling once_cell v1.16.0
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.7
[INFO] [stderr]    Compiling piston-viewport v1.0.2
[INFO] [stderr]    Compiling miniz_oxide v0.6.2
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling futures-core v0.3.25
[INFO] [stderr]    Compiling dlib v0.5.0
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling either v1.8.0
[INFO] [stderr]    Compiling nix v0.18.0
[INFO] [stderr]    Compiling piston-graphics_api_version v1.0.1
[INFO] [stderr]    Compiling serde v1.0.148
[INFO] [stderr]    Compiling serde_derive v1.0.148
[INFO] [stderr]    Compiling nom v7.1.1
[INFO] [stderr]    Compiling spin v0.9.4
[INFO] [stderr]    Compiling weezl v0.1.7
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling draw_state v0.8.0
[INFO] [stderr]    Compiling libloading v0.6.7
[INFO] [stderr]    Compiling wayland-sys v0.28.6
[INFO] [stderr]    Compiling x11-dl v2.20.1
[INFO] [stderr]    Compiling flate2 v1.0.25
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling gl_generator v0.13.1
[INFO] [stderr]    Compiling crossbeam-channel v0.5.6
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling half v2.1.0
[INFO] [stderr]    Compiling bit_field v0.10.1
[INFO] [stderr]    Compiling gif v0.11.4
[INFO] [stderr]    Compiling png v0.17.7
[INFO] [stderr]    Compiling raw-window-handle v0.4.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.2
[INFO] [stderr]    Compiling getrandom v0.2.8
[INFO] [stderr]    Compiling num_cpus v1.14.0
[INFO] [stderr]    Compiling nix v0.20.0
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling wayland-scanner v0.28.6
[INFO] [stderr]    Compiling net2 v0.2.38
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling threadpool v1.8.1
[INFO] [stderr]    Compiling xdg v2.4.1
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]    Compiling mio v0.6.23
[INFO] [stderr]    Compiling gl v0.13.0
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.6
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.8
[INFO] [stderr]    Compiling memmap2 v0.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling owned_ttf_parser v0.15.2
[INFO] [stderr]    Compiling rayon v1.6.0
[INFO] [stderr]    Compiling xcursor v0.3.4
[INFO] [stderr]    Compiling rusttype v0.9.3
[INFO] [stderr]    Compiling dlib v0.4.2
[INFO] [stderr]    Compiling gfx_core v0.9.2
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling bytemuck v1.12.3
[INFO] [stderr]    Compiling piston-texture v0.9.0
[INFO] [stderr]    Compiling andrew v0.3.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling mio-extras v2.0.6
[INFO] [stderr]    Compiling wayland-client v0.28.6
[INFO] [stderr]    Compiling wayland-protocols v0.28.6
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling gfx_gl v0.6.1
[INFO] [stderr]    Compiling raw-window-handle v0.3.4
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling shader_version v0.7.0
[INFO] [stderr]    Compiling vecmath v1.0.0
[INFO] [stderr]    Compiling read_color v1.0.0
[INFO] [stderr]    Compiling interpolation v0.2.0
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling spin_sleep v1.1.1
[INFO] [stderr]    Compiling piston-shaders_graphics2d v0.4.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling piston2d-graphics v0.43.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling wayland-commons v0.28.6
[INFO] [stderr]    Compiling gfx v0.18.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling calloop v0.6.5
[INFO] [stderr]    Compiling jpeg-decoder v0.3.0
[INFO] [stderr]    Compiling wayland-cursor v0.28.6
[INFO] [stderr]    Compiling wayland-egl v0.28.6
[INFO] [stderr]    Compiling pin-project-internal v1.0.12
[INFO] [stderr]    Compiling tiff v0.8.0
[INFO] [stderr]    Compiling gfx_device_gl v0.16.2
[INFO] [stderr]    Compiling pin-project v1.0.12
[INFO] [stderr]    Compiling flume v0.10.14
[INFO] [stderr]    Compiling exr v1.5.2
[INFO] [stderr]    Compiling pistoncore-input v1.0.1
[INFO] [stderr]    Compiling pistoncore-window v0.47.1
[INFO] [stderr]    Compiling pistoncore-event_loop v0.53.1
[INFO] [stderr]    Compiling piston v0.53.2
[INFO] [stderr]    Compiling image v0.24.5
[INFO] [stderr]    Compiling piston-gfx_texture v0.44.0
[INFO] [stderr]    Compiling piston2d-opengl_graphics v0.82.0
[INFO] [stderr]    Compiling piston2d-gfx_graphics v0.79.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.12.3
[INFO] [stderr]    Compiling winit v0.24.0
[INFO] [stderr]    Compiling glutin v0.26.0
[INFO] [stderr]    Compiling pistoncore-glutin_window v0.70.1
[INFO] [stderr]    Compiling piston_window v0.127.0
[INFO] [stderr]    Compiling sorting-visualisation v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::null;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `graphics::types::Matrix2d`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use graphics::types::Matrix2d;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UpdateArgs`
[INFO] [stdout]   --> src/main.rs:14:46
[INFO] [stdout]    |
[INFO] [stdout] 14 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent};
[INFO] [stdout]    |                                              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 if(points[n].1 == true){
[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] 48 -                 if(points[n].1 == true){
[INFO] [stdout] 48 +                 if points[n].1 == true {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/main.rs:71:15
[INFO] [stdout]    |
[INFO] [stdout] 71 |         while (i < self.data_points.len()){
[INFO] [stdout]    |               ^                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 71 -         while (i < self.data_points.len()){
[INFO] [stdout] 71 +         while i < self.data_points.len() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/main.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 73 |             while (j > 0 && self.data_points[j-1] > self.data_points[j]){
[INFO] [stdout]    |                   ^                                                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 73 -             while (j > 0 && self.data_points[j-1] > self.data_points[j]){
[INFO] [stdout] 73 +             while j > 0 && self.data_points[j-1] > self.data_points[j] {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:99:20
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 if (self.data_points[j] < self.data_points[min]){
[INFO] [stdout]    |                    ^                                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 99 -                 if (self.data_points[j] < self.data_points[min]){
[INFO] [stdout] 99 +                 if self.data_points[j] < self.data_points[min] {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |             if (min != i){
[INFO] [stdout]     |                ^        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 103 -             if (min != i){
[INFO] [stdout] 103 +             if min != i {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/main.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 149 |         while (left.len() >= 1 && right.len() >= 1){
[INFO] [stdout]     |               ^                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 -         while (left.len() >= 1 && right.len() >= 1){
[INFO] [stdout] 149 +         while left.len() >= 1 && right.len() >= 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:151:16
[INFO] [stdout]     |
[INFO] [stdout] 151 |             if (left[0] <= right[0]){
[INFO] [stdout]     |                ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 151 -             if (left[0] <= right[0]){
[INFO] [stdout] 151 +             if left[0] <= right[0] {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/main.rs:161:15
[INFO] [stdout]     |
[INFO] [stdout] 161 |         while (left.len() >= 1){
[INFO] [stdout]     |               ^               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 -         while (left.len() >= 1){
[INFO] [stdout] 161 +         while left.len() >= 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/main.rs:165:15
[INFO] [stdout]     |
[INFO] [stdout] 165 |         while (right.len() >= 1){
[INFO] [stdout]     |               ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 165 -         while (right.len() >= 1){
[INFO] [stdout] 165 +         while right.len() >= 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/main.rs:183:14
[INFO] [stdout]     |
[INFO] [stdout] 183 |     for n in (0..size){
[INFO] [stdout]     |              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 183 -     for n in (0..size){
[INFO] [stdout] 183 +     for n in 0..size {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UpdateEvent`
[INFO] [stdout]   --> src/main.rs:14:58
[INFO] [stdout]    |
[INFO] [stdout] 14 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent};
[INFO] [stdout]    |                                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let b = WIDTH/points.len() as u32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `range`
[INFO] [stdout]    --> src/main.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let range = 50;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/main.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |     for n in (0..size){
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |     let mut window: Window = WindowSettings::new("spinning-square", [WIDTH, HEIGHT])
[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: constant `RED` is never used
[INFO] [stdout]   --> src/main.rs:39:15
[INFO] [stdout]    |
[INFO] [stdout] 39 |         const RED: [f32; 4] = [1.0, 0.0, 0.0, 1.0];
[INFO] [stdout]    |               ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `createRects` should have a snake case name
[INFO] [stdout]   --> src/main.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn createRects(points: &Vec<(u32,bool)>) -> Vec<[f64;4]>{
[INFO] [stdout]    |    ^^^^^^^^^^^ help: convert the identifier to snake case: `create_rects`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generatePoints` should have a snake case name
[INFO] [stdout]    --> src/main.rs:178:4
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn generatePoints()-> Vec<(u32,bool)>{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_points`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 20s
[INFO] running `Command { std: "docker" "inspect" "a5c36bf2944777bcd8ae4f0a5e310026570f5a2f9109199ab6ed1add62ce34c2", 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" "a5c36bf2944777bcd8ae4f0a5e310026570f5a2f9109199ab6ed1add62ce34c2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling sorting-visualisation v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::ptr::null`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::ptr::null;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `graphics::types::Matrix2d`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use graphics::types::Matrix2d;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UpdateArgs`
[INFO] [stdout]   --> src/main.rs:14:46
[INFO] [stdout]    |
[INFO] [stdout] 14 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent};
[INFO] [stdout]    |                                              ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 48 |                 if(points[n].1 == true){
[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] 48 -                 if(points[n].1 == true){
[INFO] [stdout] 48 +                 if points[n].1 == true {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/main.rs:71:15
[INFO] [stdout]    |
[INFO] [stdout] 71 |         while (i < self.data_points.len()){
[INFO] [stdout]    |               ^                          ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 71 -         while (i < self.data_points.len()){
[INFO] [stdout] 71 +         while i < self.data_points.len() {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]   --> src/main.rs:73:19
[INFO] [stdout]    |
[INFO] [stdout] 73 |             while (j > 0 && self.data_points[j-1] > self.data_points[j]){
[INFO] [stdout]    |                   ^                                                    ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 73 -             while (j > 0 && self.data_points[j-1] > self.data_points[j]){
[INFO] [stdout] 73 +             while j > 0 && self.data_points[j-1] > self.data_points[j] {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/main.rs:99:20
[INFO] [stdout]    |
[INFO] [stdout] 99 |                 if (self.data_points[j] < self.data_points[min]){
[INFO] [stdout]    |                    ^                                           ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 99 -                 if (self.data_points[j] < self.data_points[min]){
[INFO] [stdout] 99 +                 if self.data_points[j] < self.data_points[min] {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:103:16
[INFO] [stdout]     |
[INFO] [stdout] 103 |             if (min != i){
[INFO] [stdout]     |                ^        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 103 -             if (min != i){
[INFO] [stdout] 103 +             if min != i {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/main.rs:149:15
[INFO] [stdout]     |
[INFO] [stdout] 149 |         while (left.len() >= 1 && right.len() >= 1){
[INFO] [stdout]     |               ^                                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 149 -         while (left.len() >= 1 && right.len() >= 1){
[INFO] [stdout] 149 +         while left.len() >= 1 && right.len() >= 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:151:16
[INFO] [stdout]     |
[INFO] [stdout] 151 |             if (left[0] <= right[0]){
[INFO] [stdout]     |                ^                   ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 151 -             if (left[0] <= right[0]){
[INFO] [stdout] 151 +             if left[0] <= right[0] {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/main.rs:161:15
[INFO] [stdout]     |
[INFO] [stdout] 161 |         while (left.len() >= 1){
[INFO] [stdout]     |               ^               ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 161 -         while (left.len() >= 1){
[INFO] [stdout] 161 +         while left.len() >= 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `while` condition
[INFO] [stdout]    --> src/main.rs:165:15
[INFO] [stdout]     |
[INFO] [stdout] 165 |         while (right.len() >= 1){
[INFO] [stdout]     |               ^                ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 165 -         while (right.len() >= 1){
[INFO] [stdout] 165 +         while right.len() >= 1 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]    --> src/main.rs:183:14
[INFO] [stdout]     |
[INFO] [stdout] 183 |     for n in (0..size){
[INFO] [stdout]     |              ^       ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 183 -     for n in (0..size){
[INFO] [stdout] 183 +     for n in 0..size {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `UpdateEvent`
[INFO] [stdout]   --> src/main.rs:14:58
[INFO] [stdout]    |
[INFO] [stdout] 14 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent};
[INFO] [stdout]    |                                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/main.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let b = WIDTH/points.len() as u32;
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `range`
[INFO] [stdout]    --> src/main.rs:180:9
[INFO] [stdout]     |
[INFO] [stdout] 180 |     let range = 50;
[INFO] [stdout]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_range`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]    --> src/main.rs:183:9
[INFO] [stdout]     |
[INFO] [stdout] 183 |     for n in (0..size){
[INFO] [stdout]     |         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:207:9
[INFO] [stdout]     |
[INFO] [stdout] 207 |     let mut window: Window = WindowSettings::new("spinning-square", [WIDTH, HEIGHT])
[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/main.rs:251:9
[INFO] [stdout]     |
[INFO] [stdout] 251 |     let mut window: Window = WindowSettings::new("spinning-square", [WIDTH, HEIGHT])
[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/main.rs:258:9
[INFO] [stdout]     |
[INFO] [stdout] 258 |     let mut events = Events::new(EventSettings::new());
[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/main.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |     let mut app = App {
[INFO] [stdout]     |         ----^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `RED` is never used
[INFO] [stdout]   --> src/main.rs:39:15
[INFO] [stdout]    |
[INFO] [stdout] 39 |         const RED: [f32; 4] = [1.0, 0.0, 0.0, 1.0];
[INFO] [stdout]    |               ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `createRects` should have a snake case name
[INFO] [stdout]   --> src/main.rs:23:4
[INFO] [stdout]    |
[INFO] [stdout] 23 | fn createRects(points: &Vec<(u32,bool)>) -> Vec<[f64;4]>{
[INFO] [stdout]    |    ^^^^^^^^^^^ help: convert the identifier to snake case: `create_rects`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generatePoints` should have a snake case name
[INFO] [stdout]    --> src/main.rs:178:4
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn generatePoints()-> Vec<(u32,bool)>{
[INFO] [stdout]     |    ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_points`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.47s
[INFO] running `Command { std: "docker" "inspect" "a5c36bf2944777bcd8ae4f0a5e310026570f5a2f9109199ab6ed1add62ce34c2", 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" "a5c36bf2944777bcd8ae4f0a5e310026570f5a2f9109199ab6ed1add62ce34c2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.1" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `std::ptr::null`
[INFO] [stderr]  --> src/main.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 | use std::ptr::null;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `graphics::types::Matrix2d`
[INFO] [stderr]   --> src/main.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 | use graphics::types::Matrix2d;
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `UpdateArgs`
[INFO] [stderr]   --> src/main.rs:14:46
[INFO] [stderr]    |
[INFO] [stderr] 14 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent};
[INFO] [stderr]    |                                              ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/main.rs:48:19
[INFO] [stderr]    |
[INFO] [stderr] 48 |                 if(points[n].1 == true){
[INFO] [stderr]    |                   ^                   ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 48 -                 if(points[n].1 == true){
[INFO] [stderr] 48 +                 if points[n].1 == true {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `while` condition
[INFO] [stderr]   --> src/main.rs:71:15
[INFO] [stderr]    |
[INFO] [stderr] 71 |         while (i < self.data_points.len()){
[INFO] [stderr]    |               ^                          ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 71 -         while (i < self.data_points.len()){
[INFO] [stderr] 71 +         while i < self.data_points.len() {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `while` condition
[INFO] [stderr]   --> src/main.rs:73:19
[INFO] [stderr]    |
[INFO] [stderr] 73 |             while (j > 0 && self.data_points[j-1] > self.data_points[j]){
[INFO] [stderr]    |                   ^                                                    ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 73 -             while (j > 0 && self.data_points[j-1] > self.data_points[j]){
[INFO] [stderr] 73 +             while j > 0 && self.data_points[j-1] > self.data_points[j] {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/main.rs:99:20
[INFO] [stderr]    |
[INFO] [stderr] 99 |                 if (self.data_points[j] < self.data_points[min]){
[INFO] [stderr]    |                    ^                                           ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 99 -                 if (self.data_points[j] < self.data_points[min]){
[INFO] [stderr] 99 +                 if self.data_points[j] < self.data_points[min] {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/main.rs:103:16
[INFO] [stderr]     |
[INFO] [stderr] 103 |             if (min != i){
[INFO] [stderr]     |                ^        ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 103 -             if (min != i){
[INFO] [stderr] 103 +             if min != i {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `while` condition
[INFO] [stderr]    --> src/main.rs:149:15
[INFO] [stderr]     |
[INFO] [stderr] 149 |         while (left.len() >= 1 && right.len() >= 1){
[INFO] [stderr]     |               ^                                   ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 149 -         while (left.len() >= 1 && right.len() >= 1){
[INFO] [stderr] 149 +         while left.len() >= 1 && right.len() >= 1 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/main.rs:151:16
[INFO] [stderr]     |
[INFO] [stderr] 151 |             if (left[0] <= right[0]){
[INFO] [stderr]     |                ^                   ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 151 -             if (left[0] <= right[0]){
[INFO] [stderr] 151 +             if left[0] <= right[0] {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `while` condition
[INFO] [stderr]    --> src/main.rs:161:15
[INFO] [stderr]     |
[INFO] [stderr] 161 |         while (left.len() >= 1){
[INFO] [stderr]     |               ^               ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 161 -         while (left.len() >= 1){
[INFO] [stderr] 161 +         while left.len() >= 1 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `while` condition
[INFO] [stderr]    --> src/main.rs:165:15
[INFO] [stderr]     |
[INFO] [stderr] 165 |         while (right.len() >= 1){
[INFO] [stderr]     |               ^                ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 165 -         while (right.len() >= 1){
[INFO] [stderr] 165 +         while right.len() >= 1 {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stderr]    --> src/main.rs:183:14
[INFO] [stderr]     |
[INFO] [stderr] 183 |     for n in (0..size){
[INFO] [stderr]     |              ^       ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 183 -     for n in (0..size){
[INFO] [stderr] 183 +     for n in 0..size {
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `UpdateEvent`
[INFO] [stderr]   --> src/main.rs:14:58
[INFO] [stderr]    |
[INFO] [stderr] 14 | use piston::input::{RenderArgs, RenderEvent, UpdateArgs, UpdateEvent};
[INFO] [stderr]    |                                                          ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]   --> src/main.rs:24:9
[INFO] [stderr]    |
[INFO] [stderr] 24 |     let b = WIDTH/points.len() as u32;
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `range`
[INFO] [stderr]    --> src/main.rs:180:9
[INFO] [stderr]     |
[INFO] [stderr] 180 |     let range = 50;
[INFO] [stderr]     |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_range`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `n`
[INFO] [stderr]    --> src/main.rs:183:9
[INFO] [stderr]     |
[INFO] [stderr] 183 |     for n in (0..size){
[INFO] [stderr]     |         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:207:9
[INFO] [stderr]     |
[INFO] [stderr] 207 |     let mut window: Window = WindowSettings::new("spinning-square", [WIDTH, HEIGHT])
[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/main.rs:251:9
[INFO] [stderr]     |
[INFO] [stderr] 251 |     let mut window: Window = WindowSettings::new("spinning-square", [WIDTH, HEIGHT])
[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/main.rs:258:9
[INFO] [stderr]     |
[INFO] [stderr] 258 |     let mut events = Events::new(EventSettings::new());
[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/main.rs:259:9
[INFO] [stderr]     |
[INFO] [stderr] 259 |     let mut app = App {
[INFO] [stderr]     |         ----^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `RED` is never used
[INFO] [stderr]   --> src/main.rs:39:15
[INFO] [stderr]    |
[INFO] [stderr] 39 |         const RED: [f32; 4] = [1.0, 0.0, 0.0, 1.0];
[INFO] [stderr]    |               ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `createRects` should have a snake case name
[INFO] [stderr]   --> src/main.rs:23:4
[INFO] [stderr]    |
[INFO] [stderr] 23 | fn createRects(points: &Vec<(u32,bool)>) -> Vec<[f64;4]>{
[INFO] [stderr]    |    ^^^^^^^^^^^ help: convert the identifier to snake case: `create_rects`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `generatePoints` should have a snake case name
[INFO] [stderr]    --> src/main.rs:178:4
[INFO] [stderr]     |
[INFO] [stderr] 178 | fn generatePoints()-> Vec<(u32,bool)>{
[INFO] [stderr]     |    ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_points`
[INFO] [stderr] 
[INFO] [stderr] warning: `sorting-visualisation` (bin "sorting-visualisation" test) generated 24 warnings (run `cargo fix --bin "sorting-visualisation" -p sorting-visualisation --tests` to apply 20 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/sorting_visualisation-fdf2c7643f117b59)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test insert_sort_test ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- insert_sort_test stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'insert_sort_test' (8250) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.24.0/src/platform_impl/linux/mod.rs:741:9:
[INFO] [stdout] Initializing the event loop outside of the main thread is a significant cross-platform compatibility hazard. If you really, absolutely need to create an EventLoop on a different thread, please use the `EventLoopExtUnix::new_any_thread` function.
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x57398fd97991 - std[73adb7dc35730857]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x57398fd97991 - std[73adb7dc35730857]::backtrace_rs::backtrace::trace_unsynchronized::<std[73adb7dc35730857]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x57398fd97991 - std[73adb7dc35730857]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x57398fd97991 - <<std[73adb7dc35730857]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[6883ba1bc0fe4ed1]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x57398fdadd4a - <core[6883ba1bc0fe4ed1]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x57398fdadd4a - core[6883ba1bc0fe4ed1]::fmt::write
[INFO] [stdout]    6:     0x57398fd9c40c - std[73adb7dc35730857]::io::default_write_fmt::<alloc[55a36b64bcbf2c0d]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/io/mod.rs:626:11
[INFO] [stdout]    7:     0x57398fd9c40c - <alloc[55a36b64bcbf2c0d]::vec::Vec<u8> as std[73adb7dc35730857]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/io/mod.rs:1730:13
[INFO] [stdout]    8:     0x57398fd743c6 - <std[73adb7dc35730857]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x57398fd743c6 - std[73adb7dc35730857]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x57398fd8ec09 - std[73adb7dc35730857]::panicking::default_hook
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x57398f970830 - <alloc[55a36b64bcbf2c0d]::boxed::Box<dyn for<'a, 'b> core[6883ba1bc0fe4ed1]::ops::function::Fn<(&'a std[73adb7dc35730857]::panic::PanicHookInfo<'b>,), Output = ()> + core[6883ba1bc0fe4ed1]::marker::Send + core[6883ba1bc0fe4ed1]::marker::Sync> as core[6883ba1bc0fe4ed1]::ops::function::Fn<(&std[73adb7dc35730857]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/alloc/src/boxed.rs:2333:9
[INFO] [stdout]   12:     0x57398f970830 - test[980ffaebd391d06d]::test_main_inner::<test[980ffaebd391d06d]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/test/src/lib.rs:155:21
[INFO] [stdout]   13:     0x57398fd8edc2 - <alloc[55a36b64bcbf2c0d]::boxed::Box<dyn for<'a, 'b> core[6883ba1bc0fe4ed1]::ops::function::Fn<(&'a std[73adb7dc35730857]::panic::PanicHookInfo<'b>,), Output = ()> + core[6883ba1bc0fe4ed1]::marker::Send + core[6883ba1bc0fe4ed1]::marker::Sync> as core[6883ba1bc0fe4ed1]::ops::function::Fn<(&std[73adb7dc35730857]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/alloc/src/boxed.rs:2333:9
[INFO] [stdout]   14:     0x57398fd8edc2 - std[73adb7dc35730857]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:823:13
[INFO] [stdout]   15:     0x57398fd74472 - std[73adb7dc35730857]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:688:13
[INFO] [stdout]   16:     0x57398fd6bac9 - std[73adb7dc35730857]::sys::backtrace::__rust_end_short_backtrace::<std[73adb7dc35730857]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x57398fd751ed - __rustc[a7b7b02e776dd976]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:679:5
[INFO] [stdout]   18:     0x57398fdae57c - core[6883ba1bc0fe4ed1]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x57398fadc555 - winit[3f44268ef588f518]::platform_impl::platform::assert_is_main_thread
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.24.0/src/platform_impl/linux/mod.rs:741:9
[INFO] [stdout]   20:     0x57398fa368d0 - <winit[3f44268ef588f518]::platform_impl::platform::EventLoop<glutin_window[cb7b39a6aebebefa]::UserEvent>>::new
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.24.0/src/platform_impl/linux/mod.rs:554:9
[INFO] [stdout]   21:     0x57398fa3198c - <winit[3f44268ef588f518]::event_loop::EventLoop<glutin_window[cb7b39a6aebebefa]::UserEvent>>::with_user_event
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/winit-0.24.0/src/event_loop.rs:134:25
[INFO] [stdout]   22:     0x57398f9ee696 - <glutin_window[cb7b39a6aebebefa]::GlutinWindow>::new
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-glutin_window-0.70.1/src/lib.rs:120:26
[INFO] [stdout]   23:     0x57398f9efd87 - <glutin_window[cb7b39a6aebebefa]::GlutinWindow as window[80114b2863e3d442]::BuildFromWindowSettings>::build_from_window_settings
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-glutin_window-0.70.1/src/lib.rs:541:9
[INFO] [stdout]   24:     0x57398f962107 - <window[80114b2863e3d442]::WindowSettings>::build::<glutin_window[cb7b39a6aebebefa]::GlutinWindow>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pistoncore-window-0.47.1/src/lib.rs:470:9
[INFO] [stdout]   25:     0x57398f962d2f - sorting_visualisation[5a05f9516de43003]::insert_sort_test
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:254:10
[INFO] [stdout]   26:     0x57398f962a87 - sorting_visualisation[5a05f9516de43003]::insert_sort_test::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/main.rs:246:22
[INFO] [stdout]   27:     0x57398f963ac6 - <sorting_visualisation[5a05f9516de43003]::insert_sort_test::{closure#0} as core[6883ba1bc0fe4ed1]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   28:     0x57398f963b6b - <fn() -> core[6883ba1bc0fe4ed1]::result::Result<(), alloc[55a36b64bcbf2c0d]::string::String> as core[6883ba1bc0fe4ed1]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   29:     0x57398f963b6b - test[980ffaebd391d06d]::__rust_begin_short_backtrace::<core[6883ba1bc0fe4ed1]::result::Result<(), alloc[55a36b64bcbf2c0d]::string::String>, fn() -> core[6883ba1bc0fe4ed1]::result::Result<(), alloc[55a36b64bcbf2c0d]::string::String>>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/test/src/lib.rs:724:18
[INFO] [stdout]   30:     0x57398f9711b5 - test[980ffaebd391d06d]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/test/src/lib.rs:747:74
[INFO] [stdout]   31:     0x57398f9711b5 - <core[6883ba1bc0fe4ed1]::panic::unwind_safe::AssertUnwindSafe<test[980ffaebd391d06d]::run_test_in_process::{closure#0}> as core[6883ba1bc0fe4ed1]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   32:     0x57398f9711b5 - std[73adb7dc35730857]::panicking::catch_unwind::do_call::<core[6883ba1bc0fe4ed1]::panic::unwind_safe::AssertUnwindSafe<test[980ffaebd391d06d]::run_test_in_process::{closure#0}>, core[6883ba1bc0fe4ed1]::result::Result<(), alloc[55a36b64bcbf2c0d]::string::String>>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:576:43
[INFO] [stdout]   33:     0x57398f9711b5 - std[73adb7dc35730857]::panicking::catch_unwind::<core[6883ba1bc0fe4ed1]::result::Result<(), alloc[55a36b64bcbf2c0d]::string::String>, core[6883ba1bc0fe4ed1]::panic::unwind_safe::AssertUnwindSafe<test[980ffaebd391d06d]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:544:19
[INFO] [stdout]   34:     0x57398f9711b5 - std[73adb7dc35730857]::panic::catch_unwind::<core[6883ba1bc0fe4ed1]::panic::unwind_safe::AssertUnwindSafe<test[980ffaebd391d06d]::run_test_in_process::{closure#0}>, core[6883ba1bc0fe4ed1]::result::Result<(), alloc[55a36b64bcbf2c0d]::string::String>>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panic.rs:359:14
[INFO] [stdout]   35:     0x57398f9711b5 - test[980ffaebd391d06d]::run_test_in_process
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/test/src/lib.rs:747:27
[INFO] [stdout]   36:     0x57398f9711b5 - test[980ffaebd391d06d]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/test/src/lib.rs:668:43
[INFO] [stdout]   37:     0x57398f96bc64 - test[980ffaebd391d06d]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/test/src/lib.rs:698:41
[INFO] [stdout]   38:     0x57398f96bc64 - std[73adb7dc35730857]::sys::backtrace::__rust_begin_short_backtrace::<test[980ffaebd391d06d]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   39:     0x57398f974302 - std[73adb7dc35730857]::thread::lifecycle::spawn_unchecked::<test[980ffaebd391d06d]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/thread/lifecycle.rs:70:13
[INFO] [stdout]   40:     0x57398f974302 - <core[6883ba1bc0fe4ed1]::panic::unwind_safe::AssertUnwindSafe<std[73adb7dc35730857]::thread::lifecycle::spawn_unchecked<test[980ffaebd391d06d]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[6883ba1bc0fe4ed1]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   41:     0x57398f974302 - std[73adb7dc35730857]::panicking::catch_unwind::do_call::<core[6883ba1bc0fe4ed1]::panic::unwind_safe::AssertUnwindSafe<std[73adb7dc35730857]::thread::lifecycle::spawn_unchecked<test[980ffaebd391d06d]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:576:43
[INFO] [stdout]   42:     0x57398f974302 - std[73adb7dc35730857]::panicking::catch_unwind::<(), core[6883ba1bc0fe4ed1]::panic::unwind_safe::AssertUnwindSafe<std[73adb7dc35730857]::thread::lifecycle::spawn_unchecked<test[980ffaebd391d06d]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panicking.rs:544:19
[INFO] [stdout]   43:     0x57398f974302 - std[73adb7dc35730857]::panic::catch_unwind::<core[6883ba1bc0fe4ed1]::panic::unwind_safe::AssertUnwindSafe<std[73adb7dc35730857]::thread::lifecycle::spawn_unchecked<test[980ffaebd391d06d]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/panic.rs:359:14
[INFO] [stdout]   44:     0x57398f974302 - std[73adb7dc35730857]::thread::lifecycle::spawn_unchecked::<test[980ffaebd391d06d]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/thread/lifecycle.rs:68:26
[INFO] [stdout]   45:     0x57398f974302 - <std[73adb7dc35730857]::thread::lifecycle::spawn_unchecked<test[980ffaebd391d06d]::run_test::{closure#1}, ()>::{closure#1} as core[6883ba1bc0fe4ed1]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   46:     0x57398fd96b4f - <alloc[55a36b64bcbf2c0d]::boxed::Box<dyn core[6883ba1bc0fe4ed1]::ops::function::FnOnce<(), Output = ()> + core[6883ba1bc0fe4ed1]::marker::Send> as core[6883ba1bc0fe4ed1]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/alloc/src/boxed.rs:2319:9
[INFO] [stdout]   47:     0x57398fd96b4f - <std[73adb7dc35730857]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/6b3fa26749ab40e159b2dd5cf577acaaf5902772/library/std/src/sys/thread/unix.rs:123:17
[INFO] [stdout]   48:     0x75212eac8aa4 - <unknown>
[INFO] [stdout]   49:     0x75212eb55a64 - clone
[INFO] [stdout]   50:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     insert_sort_test
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin sorting-visualisation`
[INFO] running `Command { std: "docker" "inspect" "a5c36bf2944777bcd8ae4f0a5e310026570f5a2f9109199ab6ed1add62ce34c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5c36bf2944777bcd8ae4f0a5e310026570f5a2f9109199ab6ed1add62ce34c2", kill_on_drop: false }`
[INFO] [stdout] a5c36bf2944777bcd8ae4f0a5e310026570f5a2f9109199ab6ed1add62ce34c2
