[INFO] cloning repository https://github.com/KertulPL/rust_learning_primes
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KertulPL/rust_learning_primes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKertulPL%2Frust_learning_primes", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKertulPL%2Frust_learning_primes'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ee25c32cb6f237627ae692e95e61e4425a3d4718
[INFO] checking KertulPL/rust_learning_primes against e5e97e3ef0ee95d34bea49cdac051ed1bbac01df for pr-158759-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKertulPL%2Frust_learning_primes" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/KertulPL/rust_learning_primes
[INFO] finished tweaking git repo https://github.com/KertulPL/rust_learning_primes
[INFO] tweaked toml for git repo https://github.com/KertulPL/rust_learning_primes written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/KertulPL/rust_learning_primes on toolchain e5e97e3ef0ee95d34bea49cdac051ed1bbac01df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/KertulPL/rust_learning_primes 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" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 650a58889da2519f94bb86610f2fcdd88401ee6f3bc529376bcaf6f8ebaf53c4
[INFO] running `Command { std: "docker" "start" "650a58889da2519f94bb86610f2fcdd88401ee6f3bc529376bcaf6f8ebaf53c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "650a58889da2519f94bb86610f2fcdd88401ee6f3bc529376bcaf6f8ebaf53c4", 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" "650a58889da2519f94bb86610f2fcdd88401ee6f3bc529376bcaf6f8ebaf53c4" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "650a58889da2519f94bb86610f2fcdd88401ee6f3bc529376bcaf6f8ebaf53c4", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "650a58889da2519f94bb86610f2fcdd88401ee6f3bc529376bcaf6f8ebaf53c4" "/opt/rustwide/cargo-home/bin/cargo" "+e5e97e3ef0ee95d34bea49cdac051ed1bbac01df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]     Checking bitflags v2.9.1
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]     Checking smallvec v1.15.1
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]     Checking downcast-rs v1.2.1
[INFO] [stderr]     Checking libloading v0.8.8
[INFO] [stderr]     Checking scoped-tls v1.0.1
[INFO] [stderr]    Compiling wayland-client v0.31.11
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking dlib v0.5.2
[INFO] [stderr]    Compiling cc v1.2.31
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]     Checking bytemuck v1.23.1
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]     Checking arrayvec v0.7.6
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]     Checking hashbrown v0.15.4
[INFO] [stderr]    Compiling quick-xml v0.37.5
[INFO] [stderr]    Compiling khronos-egl v6.0.0
[INFO] [stderr]     Checking bit-vec v0.6.3
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]    Compiling wayland-sys v0.31.7
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking bit-set v0.5.3
[INFO] [stderr]     Checking codespan-reporting v0.11.1
[INFO] [stderr]     Checking gpu-alloc-types v0.3.0
[INFO] [stderr]     Checking spirv v0.3.0+sdk-1.3.268.0
[INFO] [stderr]     Checking gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling wgpu-hal v0.19.5
[INFO] [stderr]     Checking libloading v0.7.4
[INFO] [stderr]     Checking slab v0.4.10
[INFO] [stderr]     Checking unicode-xid v0.2.6
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]     Checking raw-window-handle v0.6.2
[INFO] [stderr]     Checking hexf-parse v0.2.1
[INFO] [stderr]     Checking parking_lot v0.12.4
[INFO] [stderr]     Checking gpu-alloc v0.6.0
[INFO] [stderr]     Checking wgpu-types v0.19.2
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]    Compiling wgpu-core v0.19.4
[INFO] [stderr]     Checking xcursor v0.3.10
[INFO] [stderr]     Checking ttf-parser v0.25.1
[INFO] [stderr]     Checking profiling v1.0.17
[INFO] [stderr]     Checking xkeysym v0.2.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]     Checking glow v0.13.1
[INFO] [stderr]     Checking renderdoc-sys v1.1.0
[INFO] [stderr]     Checking strict-num v0.1.1
[INFO] [stderr]     Checking arrayref v0.3.9
[INFO] [stderr]     Checking cursor-icon v1.2.0
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking memmap2 v0.9.7
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling wayland-scanner v0.31.7
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking safe_arch v0.7.4
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling wgpu v0.19.4
[INFO] [stderr]     Checking ab_glyph_rasterizer v0.1.9
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling winit v0.30.12
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking wide v0.7.33
[INFO] [stderr]    Compiling wayland-backend v0.3.11
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking as-raw-xcb-connection v1.0.1
[INFO] [stderr]     Checking x11rb-protocol v0.13.1
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking owned_ttf_parser v0.25.1
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]     Checking gpu-descriptor v0.2.4
[INFO] [stderr]     Checking pollster v0.3.0
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking humantime v2.2.0
[INFO] [stderr]     Checking ab_glyph v0.2.31
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]     Checking dpi v0.1.2
[INFO] [stderr]     Checking raw-window-handle v0.5.2
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking smol_str v0.2.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking naga v0.19.2
[INFO] [stderr]     Checking ultraviolet v0.9.2
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking polling v3.10.0
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]     Checking wayland-protocols v0.32.9
[INFO] [stderr]     Checking wayland-cursor v0.31.11
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.9
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.9
[INFO] [stderr]     Checking x11rb v0.13.1
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking pixels v0.15.0
[INFO] [stderr]     Checking look_for_primes v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]  --> src/main.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use parking_lot::{Mutex};//, Once};
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/prime_calc/primes.rs:126:16
[INFO] [stdout]     |
[INFO] [stdout] 126 |             if (suspect%n == 0) {
[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] 126 -             if (suspect%n == 0) {
[INFO] [stdout] 126 +             if suspect%n == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `winit::error::EventLoopError`
[INFO] [stdout]  --> src/primes_display/main_display_setup.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winit::error::EventLoopError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use pixels::{Error, Pixels, SurfaceTexture};
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::primes_display::main_display_setup`
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::primes_display::main_display_setup;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/primes_display/main_display_setup.rs:222:20
[INFO] [stdout]     |
[INFO] [stdout] 222 |                 if ( self.cursor.state == ElementState::Pressed ){
[INFO] [stdout]     |                    ^^                                          ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 222 -                 if ( self.cursor.state == ElementState::Pressed ){
[INFO] [stdout] 222 +                 if self.cursor.state == ElementState::Pressed {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `winit::raw_window_handle::HasDisplayHandle`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winit::raw_window_handle::HasDisplayHandle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wgpu`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use wgpu;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> src/main.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use pixels::{Error, Pixels, SurfaceTexture};
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:229:20
[INFO] [stdout]     |
[INFO] [stdout] 229 |                 if ( self.cursor.state == ElementState::Pressed ){
[INFO] [stdout]     |                    ^^                                          ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 229 -                 if ( self.cursor.state == ElementState::Pressed ){
[INFO] [stdout] 229 +                 if self.cursor.state == ElementState::Pressed {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Mutex`
[INFO] [stdout]  --> src/main.rs:3:19
[INFO] [stdout]   |
[INFO] [stdout] 3 | use parking_lot::{Mutex};//, Once};
[INFO] [stdout]   |                   ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/prime_calc/primes.rs:126:16
[INFO] [stdout]     |
[INFO] [stdout] 126 |             if (suspect%n == 0) {
[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] 126 -             if (suspect%n == 0) {
[INFO] [stdout] 126 +             if suspect%n == 0 {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `winit::error::EventLoopError`
[INFO] [stdout]  --> src/primes_display/main_display_setup.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winit::error::EventLoopError;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use pixels::{Error, Pixels, SurfaceTexture};
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::primes_display::main_display_setup`
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::primes_display::main_display_setup;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/primes_display/main_display_setup.rs:222:20
[INFO] [stdout]     |
[INFO] [stdout] 222 |                 if ( self.cursor.state == ElementState::Pressed ){
[INFO] [stdout]     |                    ^^                                          ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 222 -                 if ( self.cursor.state == ElementState::Pressed ){
[INFO] [stdout] 222 +                 if self.cursor.state == ElementState::Pressed {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `winit::raw_window_handle::HasDisplayHandle`
[INFO] [stdout]   --> src/main.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winit::raw_window_handle::HasDisplayHandle;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wgpu`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use wgpu;
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Error`
[INFO] [stdout]   --> src/main.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | use pixels::{Error, Pixels, SurfaceTexture};
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/main.rs:229:20
[INFO] [stdout]     |
[INFO] [stdout] 229 |                 if ( self.cursor.state == ElementState::Pressed ){
[INFO] [stdout]     |                    ^^                                          ^^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 229 -                 if ( self.cursor.state == ElementState::Pressed ){
[INFO] [stdout] 229 +                 if self.cursor.state == ElementState::Pressed {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `single_line`
[INFO] [stdout]    --> src/prime_calc/primes.rs:136:35
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn build_line_for_writer( single_line: PrimeResult ) -> String {
[INFO] [stdout]     |                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_single_line`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         for i in 0..DEFOULT_W_H.0*DEFOULT_W_H.1{
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         for i in 0..DEFOULT_W_H.0*DEFOULT_W_H.1{
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `window` is never read
[INFO] [stdout]   --> src/main.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct WindowState {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] 47 |     window: Arc<Window>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `logical_position` is never read
[INFO] [stdout]   --> src/main.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct CursorState {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] 54 |     physical_position: PhysicalPosition<f64>,
[INFO] [stdout] 55 |     logical_position: LogicalPosition<f64>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrimesCalcSettings` is never constructed
[INFO] [stdout]  --> src/prime_calc/primes.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct PrimesCalcSettings{
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrimeResult` is never constructed
[INFO] [stdout]   --> src/prime_calc/primes.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct PrimeResult{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `is_prime` and `init` are never used
[INFO] [stdout]   --> src/prime_calc/primes.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl PrimeResult{
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn is_prime(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn init( the_suspect: u32, dividers: Vec<u32>) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrimesResults` is never constructed
[INFO] [stdout]   --> src/prime_calc/primes.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct PrimesResults{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init`, `add`, `add_all`, and `calculate_distances` are never used
[INFO] [stdout]   --> src/prime_calc/primes.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl PrimesResults{
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 37 |     pub fn init() -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn add( &mut self, single_result: PrimeResult ) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn add_all( &mut self, all_result:&mut Vec<PrimeResult> ) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn calculate_distances(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Distance` is never constructed
[INFO] [stdout]   --> src/prime_calc/primes.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct Distance{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init`, `start_calc`, `check_primes_in_range`, `check_if_prime`, and `build_line_for_writer` are never used
[INFO] [stdout]    --> src/prime_calc/primes.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | impl PrimesCalcSettings{
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout]  74 |     pub fn init(RANGE_LIMIT_BOTTOM: u32, RANGE_LIMIT_TOP: u32, THREAD_RECORDS_LIMIT: u32) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     pub fn start_calc(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     fn check_primes_in_range( start : u32, end : u32, ) -> Vec<PrimeResult> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn check_if_prime( suspect: u32) -> PrimeResult { //(bool, usize, Vec<u32>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn build_line_for_writer( single_line: PrimeResult ) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFOULT_W_H` is never used
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const DEFOULT_W_H: (u32,u32) = (1920,1080);
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INITIAL_COLOR` is never used
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const INITIAL_COLOR: [u8;4] = [0,0,0,255];
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHANGE_COLOR` is never used
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CHANGE_COLOR: [u8;4] = [255,255,255,255];
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BufferState` is never constructed
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct BufferState {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WindowState` is never constructed
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct WindowState {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CursorState` is never constructed
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct CursorState {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MouseInWindow` is never used
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 68 | enum MouseInWindow {
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MainApp` is never constructed
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | struct MainApp {//, W: wgpu::WindowHandle> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create_window` and `set_color` are never used
[INFO] [stdout]    --> src/primes_display/main_display_setup.rs:80:8
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl MainApp{
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  80 |     fn create_window(&mut self, el: &ActiveEventLoop, title: &str, buffer_state: BufferState) -> WindowId {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn set_color( buffer: &Vec<u8>, index: usize, color: (u8,u8,u8,u8) ) -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_display_init` is never used
[INFO] [stdout]    --> src/primes_display/main_display_setup.rs:236:8
[INFO] [stdout]     |
[INFO] [stdout] 236 | pub fn main_display_init() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/main.rs:256:5
[INFO] [stdout]     |
[INFO] [stdout] 256 |     event_loop.run_app(&mut single_app);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let _ = event_loop.run_app(&mut single_app);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RANGE_LIMIT_BOTTOM` should have a snake case name
[INFO] [stdout]  --> src/prime_calc/primes.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub RANGE_LIMIT_BOTTOM: u32,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `range_limit_bottom`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RANGE_LIMIT_TOP` should have a snake case name
[INFO] [stdout]  --> src/prime_calc/primes.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub RANGE_LIMIT_TOP: u32,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `range_limit_top`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `THREAD_RECORDS_LIMIT` should have a snake case name
[INFO] [stdout]  --> src/prime_calc/primes.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub THREAD_RECORDS_LIMIT: u32,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_records_limit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RANGE_LIMIT_BOTTOM` should have a snake case name
[INFO] [stdout]   --> src/prime_calc/primes.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn init(RANGE_LIMIT_BOTTOM: u32, RANGE_LIMIT_TOP: u32, THREAD_RECORDS_LIMIT: u32) -> Self {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `range_limit_bottom`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RANGE_LIMIT_TOP` should have a snake case name
[INFO] [stdout]   --> src/prime_calc/primes.rs:74:42
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn init(RANGE_LIMIT_BOTTOM: u32, RANGE_LIMIT_TOP: u32, THREAD_RECORDS_LIMIT: u32) -> Self {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `range_limit_top`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `THREAD_RECORDS_LIMIT` should have a snake case name
[INFO] [stdout]   --> src/prime_calc/primes.rs:74:64
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn init(RANGE_LIMIT_BOTTOM: u32, RANGE_LIMIT_TOP: u32, THREAD_RECORDS_LIMIT: u32) -> Self {
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_records_limit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/primes_display/main_display_setup.rs:243:5
[INFO] [stdout]     |
[INFO] [stdout] 243 |     event_loop.run_app(&mut single_app);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 243 |     let _ = event_loop.run_app(&mut single_app);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `single_line`
[INFO] [stdout]    --> src/prime_calc/primes.rs:136:35
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn build_line_for_writer( single_line: PrimeResult ) -> String {
[INFO] [stdout]     |                                   ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_single_line`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         for i in 0..DEFOULT_W_H.0*DEFOULT_W_H.1{
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/main.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |         for i in 0..DEFOULT_W_H.0*DEFOULT_W_H.1{
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `window` is never read
[INFO] [stdout]   --> src/main.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct WindowState {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] 47 |     window: Arc<Window>,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `logical_position` is never read
[INFO] [stdout]   --> src/main.rs:55:5
[INFO] [stdout]    |
[INFO] [stdout] 53 | struct CursorState {
[INFO] [stdout]    |        ----------- field in this struct
[INFO] [stdout] 54 |     physical_position: PhysicalPosition<f64>,
[INFO] [stdout] 55 |     logical_position: LogicalPosition<f64>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrimesCalcSettings` is never constructed
[INFO] [stdout]  --> src/prime_calc/primes.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct PrimesCalcSettings{
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrimeResult` is never constructed
[INFO] [stdout]   --> src/prime_calc/primes.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct PrimeResult{
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `is_prime` and `init` are never used
[INFO] [stdout]   --> src/prime_calc/primes.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl PrimeResult{
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 18 |     pub fn is_prime(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 21 |     pub fn init( the_suspect: u32, dividers: Vec<u32>) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PrimesResults` is never constructed
[INFO] [stdout]   --> src/prime_calc/primes.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 29 | pub struct PrimesResults{
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init`, `add`, `add_all`, and `calculate_distances` are never used
[INFO] [stdout]   --> src/prime_calc/primes.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl PrimesResults{
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 37 |     pub fn init() -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn add( &mut self, single_result: PrimeResult ) {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 46 |     pub fn add_all( &mut self, all_result:&mut Vec<PrimeResult> ) {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub fn calculate_distances(&mut self) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Distance` is never constructed
[INFO] [stdout]   --> src/prime_calc/primes.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | pub struct Distance{
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init`, `start_calc`, `check_primes_in_range`, `check_if_prime`, and `build_line_for_writer` are never used
[INFO] [stdout]    --> src/prime_calc/primes.rs:74:12
[INFO] [stdout]     |
[INFO] [stdout]  73 | impl PrimesCalcSettings{
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout]  74 |     pub fn init(RANGE_LIMIT_BOTTOM: u32, RANGE_LIMIT_TOP: u32, THREAD_RECORDS_LIMIT: u32) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  88 |     pub fn start_calc(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     fn check_primes_in_range( start : u32, end : u32, ) -> Vec<PrimeResult> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 122 |     fn check_if_prime( suspect: u32) -> PrimeResult { //(bool, usize, Vec<u32>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn build_line_for_writer( single_line: PrimeResult ) -> String {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DEFOULT_W_H` is never used
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 | const DEFOULT_W_H: (u32,u32) = (1920,1080);
[INFO] [stdout]    |       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `INITIAL_COLOR` is never used
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:16:7
[INFO] [stdout]    |
[INFO] [stdout] 16 | const INITIAL_COLOR: [u8;4] = [0,0,0,255];
[INFO] [stdout]    |       ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `CHANGE_COLOR` is never used
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const CHANGE_COLOR: [u8;4] = [255,255,255,255];
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BufferState` is never constructed
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 19 | struct BufferState {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WindowState` is never constructed
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct WindowState {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CursorState` is never constructed
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | struct CursorState {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `MouseInWindow` is never used
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:68:6
[INFO] [stdout]    |
[INFO] [stdout] 68 | enum MouseInWindow {
[INFO] [stdout]    |      ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MainApp` is never constructed
[INFO] [stdout]   --> src/primes_display/main_display_setup.rs:73:8
[INFO] [stdout]    |
[INFO] [stdout] 73 | struct MainApp {//, W: wgpu::WindowHandle> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `create_window` and `set_color` are never used
[INFO] [stdout]    --> src/primes_display/main_display_setup.rs:80:8
[INFO] [stdout]     |
[INFO] [stdout]  79 | impl MainApp{
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  80 |     fn create_window(&mut self, el: &ActiveEventLoop, title: &str, buffer_state: BufferState) -> WindowId {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 103 |     fn set_color( buffer: &Vec<u8>, index: usize, color: (u8,u8,u8,u8) ) -> Vec<u8> {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main_display_init` is never used
[INFO] [stdout]    --> src/primes_display/main_display_setup.rs:236:8
[INFO] [stdout]     |
[INFO] [stdout] 236 | pub fn main_display_init() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/main.rs:256:5
[INFO] [stdout]     |
[INFO] [stdout] 256 |     event_loop.run_app(&mut single_app);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 256 |     let _ = event_loop.run_app(&mut single_app);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RANGE_LIMIT_BOTTOM` should have a snake case name
[INFO] [stdout]  --> src/prime_calc/primes.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub RANGE_LIMIT_BOTTOM: u32,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `range_limit_bottom`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `RANGE_LIMIT_TOP` should have a snake case name
[INFO] [stdout]  --> src/prime_calc/primes.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub RANGE_LIMIT_TOP: u32,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `range_limit_top`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `THREAD_RECORDS_LIMIT` should have a snake case name
[INFO] [stdout]  --> src/prime_calc/primes.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub THREAD_RECORDS_LIMIT: u32,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_records_limit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RANGE_LIMIT_BOTTOM` should have a snake case name
[INFO] [stdout]   --> src/prime_calc/primes.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn init(RANGE_LIMIT_BOTTOM: u32, RANGE_LIMIT_TOP: u32, THREAD_RECORDS_LIMIT: u32) -> Self {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `range_limit_bottom`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `RANGE_LIMIT_TOP` should have a snake case name
[INFO] [stdout]   --> src/prime_calc/primes.rs:74:42
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn init(RANGE_LIMIT_BOTTOM: u32, RANGE_LIMIT_TOP: u32, THREAD_RECORDS_LIMIT: u32) -> Self {
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `range_limit_top`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `THREAD_RECORDS_LIMIT` should have a snake case name
[INFO] [stdout]   --> src/prime_calc/primes.rs:74:64
[INFO] [stdout]    |
[INFO] [stdout] 74 |     pub fn init(RANGE_LIMIT_BOTTOM: u32, RANGE_LIMIT_TOP: u32, THREAD_RECORDS_LIMIT: u32) -> Self {
[INFO] [stdout]    |                                                                ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `thread_records_limit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout]    --> src/primes_display/main_display_setup.rs:243:5
[INFO] [stdout]     |
[INFO] [stdout] 243 |     event_loop.run_app(&mut single_app);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 243 |     let _ = event_loop.run_app(&mut single_app);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s
[INFO] running `Command { std: "docker" "inspect" "650a58889da2519f94bb86610f2fcdd88401ee6f3bc529376bcaf6f8ebaf53c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "650a58889da2519f94bb86610f2fcdd88401ee6f3bc529376bcaf6f8ebaf53c4", kill_on_drop: false }`
[INFO] [stdout] 650a58889da2519f94bb86610f2fcdd88401ee6f3bc529376bcaf6f8ebaf53c4
