[INFO] cloning repository https://github.com/Zatom1/ElectricVectorField
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Zatom1/ElectricVectorField" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZatom1%2FElectricVectorField", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZatom1%2FElectricVectorField'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dbc1a3ec548ca18b00fbe6da63e421e6587c6ec8
[INFO] testing Zatom1/ElectricVectorField against try#28f95933dc0727396c07b48d0a8cb5211b7fb472 for pr-154065-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZatom1%2FElectricVectorField" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Zatom1/ElectricVectorField
[INFO] finished tweaking git repo https://github.com/Zatom1/ElectricVectorField
[INFO] tweaked toml for git repo https://github.com/Zatom1/ElectricVectorField written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Zatom1/ElectricVectorField on toolchain 28f95933dc0727396c07b48d0a8cb5211b7fb472
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Zatom1/ElectricVectorField 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" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ce33525637fd0d44c994fc15bd87568096a9ffbc0fee31d8d1f87829447850b2
[INFO] running `Command { std: "docker" "start" "-a" "ce33525637fd0d44c994fc15bd87568096a9ffbc0fee31d8d1f87829447850b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ce33525637fd0d44c994fc15bd87568096a9ffbc0fee31d8d1f87829447850b2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ce33525637fd0d44c994fc15bd87568096a9ffbc0fee31d8d1f87829447850b2", kill_on_drop: false }`
[INFO] [stdout] ce33525637fd0d44c994fc15bd87568096a9ffbc0fee31d8d1f87829447850b2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5b21192f090fa583fea59af3409d8c921383d3d715d8d668a95973cc79c36dbd
[INFO] running `Command { std: "docker" "start" "-a" "5b21192f090fa583fea59af3409d8c921383d3d715d8d668a95973cc79c36dbd", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.12
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling xml-rs v0.8.21
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling libloading v0.8.5
[INFO] [stderr]    Compiling log v0.4.22
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling dlib v0.5.2
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling bytemuck v1.17.1
[INFO] [stderr]    Compiling arrayvec v0.7.6
[INFO] [stderr]    Compiling libloading v0.7.4
[INFO] [stderr]    Compiling khronos-egl v4.1.0
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling slotmap v1.0.7
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling miniz_oxide v0.4.4
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling scoped-tls v1.0.1
[INFO] [stderr]    Compiling adler2 v2.0.0
[INFO] [stderr]    Compiling wayland-sys v0.29.5
[INFO] [stderr]    Compiling ash v0.37.3+1.3.251
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling termcolor v1.4.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling adler32 v1.2.0
[INFO] [stderr]    Compiling simd-adler32 v0.3.7
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling downcast-rs v1.2.1
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling memoffset v0.5.6
[INFO] [stderr]    Compiling num-rational v0.3.2
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]    Compiling gpu-alloc-types v0.3.0
[INFO] [stderr]    Compiling gpu-descriptor-types v0.1.2
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling unicode-xid v0.2.5
[INFO] [stderr]    Compiling pin-project-lite v0.2.14
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling futures-sink v0.3.30
[INFO] [stderr]    Compiling hexf-parse v0.2.1
[INFO] [stderr]    Compiling raw-window-handle v0.5.2
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]    Compiling futures-core v0.3.30
[INFO] [stderr]    Compiling gpu-alloc v0.6.0
[INFO] [stderr]    Compiling syn v2.0.76
[INFO] [stderr]    Compiling wayland-scanner v0.29.5
[INFO] [stderr]    Compiling crossbeam-deque v0.8.5
[INFO] [stderr]    Compiling flate2 v1.0.33
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling euclid v0.22.11
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling spirv v0.2.0+1.5.4
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling fdeflate v0.3.4
[INFO] [stderr]    Compiling miniz_oxide v0.3.7
[INFO] [stderr]    Compiling deflate v0.8.6
[INFO] [stderr]    Compiling nix v0.24.3
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling wayland-client v0.29.5
[INFO] [stderr]    Compiling wayland-protocols v0.29.5
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling lyon_geom v0.17.7
[INFO] [stderr]    Compiling nix v0.25.1
[INFO] [stderr]    Compiling smithay-client-toolkit v0.16.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.2
[INFO] [stderr]    Compiling wgpu-types v0.17.0
[INFO] [stderr]    Compiling color_quant v1.1.0
[INFO] [stderr]    Compiling wayland-commons v0.29.5
[INFO] [stderr]    Compiling futures-task v0.3.30
[INFO] [stderr]    Compiling glow v0.12.3
[INFO] [stderr]    Compiling ttf-parser v0.24.1
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling strict-num v0.1.1
[INFO] [stderr]    Compiling xcursor v0.3.8
[INFO] [stderr]    Compiling renderdoc-sys v1.1.0
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling arrayref v0.3.8
[INFO] [stderr]    Compiling palette v0.5.0
[INFO] [stderr]    Compiling profiling v1.0.15
[INFO] [stderr]    Compiling tiny-skia-path v0.8.4
[INFO] [stderr]    Compiling gif v0.11.4
[INFO] [stderr]    Compiling lyon_path v0.17.7
[INFO] [stderr]    Compiling png v0.17.13
[INFO] [stderr]    Compiling png v0.16.8
[INFO] [stderr]    Compiling jpeg-decoder v0.1.22
[INFO] [stderr]    Compiling memmap2 v0.5.10
[INFO] [stderr]    Compiling num-iter v0.1.45
[INFO] [stderr]    Compiling palette_derive v0.5.0
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]    Compiling scoped_threadpool v0.1.9
[INFO] [stderr]    Compiling cfg_aliases v0.1.1
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.8
[INFO] [stderr]    Compiling winit v0.28.7
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling tiff v0.6.1
[INFO] [stderr]    Compiling tiny-skia v0.8.4
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling float_next_after v0.1.5
[INFO] [stderr]    Compiling sid v0.6.1
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling image v0.23.14
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling serde_json v1.0.127
[INFO] [stderr]    Compiling lyon_algorithms v0.17.7
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling serde_derive v1.0.209
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling owned_ttf_parser v0.24.0
[INFO] [stderr]    Compiling wayland-cursor v0.29.5
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling ab_glyph v0.2.28
[INFO] [stderr]    Compiling lyon_tessellation v0.17.10
[INFO] [stderr]    Compiling crossbeam-deque v0.7.4
[INFO] [stderr]    Compiling rand_xorshift v0.2.0
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling ordered-float v1.1.1
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tokio v1.39.3
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling ryu v1.0.18
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling naga v0.13.0
[INFO] [stderr]    Compiling calloop v0.10.6
[INFO] [stderr]    Compiling itoa v1.0.11
[INFO] [stderr]    Compiling rusttype v0.8.3
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling lyon v0.17.10
[INFO] [stderr]    Compiling pennereq v0.3.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling notosans v0.1.0
[INFO] [stderr]    Compiling find_folder v0.3.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling gpu-descriptor v0.2.4
[INFO] [stderr]    Compiling noise v0.7.0
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling glam v0.17.3
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling wgpu-hal v0.17.2
[INFO] [stderr]    Compiling nannou_core v0.19.0
[INFO] [stderr]    Compiling nannou_mesh v0.19.0
[INFO] [stderr]    Compiling wgpu-core v0.17.1
[INFO] [stderr]    Compiling wgpu v0.17.2
[INFO] [stderr]    Compiling sctk-adwaita v0.5.4
[INFO] [stderr]    Compiling nannou_wgpu v0.19.0
[INFO] [stderr]    Compiling nannou v0.19.0
[INFO] [stderr]    Compiling ElectricVectorField v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `event::ElementState`
[INFO] [stdout]  --> src/main.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nannou::{event::ElementState, prelude::*};
[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: `rand::prelude::*`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 | /             (
[INFO] [stdout] 193 | |                 mouse.x as f32 + 
[INFO] [stdout]     | |________________^
[INFO] [stdout] ...
[INFO] [stdout] 197 |                       &point_charges)[0]*150.0
[INFO] [stdout]     |  _____________________________________________^
[INFO] [stdout] 198 | |                 ) , 
[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] 192 ~             mouse.x as f32 + 
[INFO] [stdout] 193 |                 field_simulate(
[INFO] [stdout] 194 |                     mouse.x, 
[INFO] [stdout] 195 |                     mouse.y, 
[INFO] [stdout] 196 ~                     &point_charges)[0]*150.0  , 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:199:13
[INFO] [stdout]     |
[INFO] [stdout] 199 | /             (
[INFO] [stdout] 200 | |                 mouse.y as f32 + 
[INFO] [stdout]     | |________________^
[INFO] [stdout] ...
[INFO] [stdout] 204 |                       &point_charges)[1]*150.0
[INFO] [stdout]     |  _____________________________________________^
[INFO] [stdout] 205 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 199 ~             mouse.y as f32 + 
[INFO] [stdout] 200 |                 field_simulate(
[INFO] [stdout] 201 |                     mouse.x, 
[INFO] [stdout] 202 |                     mouse.y, 
[INFO] [stdout] 203 ~                     &point_charges)[1]*150.0 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]  --> src/main.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{sync::{Once, ONCE_INIT}, vec};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/main.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 | static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 12 - static INIT: Once = ONCE_INIT;
[INFO] [stdout] 12 + static INIT: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `real::Real`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use real::Real;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:152:21
[INFO] [stdout]     |
[INFO] [stdout] 152 |                 let mut arrow_end: Vec2 = pt2(x2, y2);
[INFO] [stdout]     |                     ----^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/main.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let t = app.time;
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `K`
[INFO] [stdout]    |
[INFO] [stdout] 63 -     let t = app.time;
[INFO] [stdout] 63 +     let field_simulate::K = app.time;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let _t = app.time;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ratio` is never read
[INFO] [stdout]    --> src/main.rs:130:42
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     let mut ratio: f32 = 0.0;
[INFO] [stdout]     |                                          ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 138 |                         ratio = (y_cast - point_charges[biggest_influence][1]) / abs(vec_y);
[INFO] [stdout]     |                         ------------------------------------------------------------------- `ratio` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `half`
[INFO] [stdout]    --> src/main.rs:275:9
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let half: f32 = 0.5;
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_half`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_start`
[INFO] [stdout]    --> src/main.rs:363:13
[INFO] [stdout]     |
[INFO] [stdout] 363 |         let line_start = pt2(particle_x, particle_y);
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_end`
[INFO] [stdout]    --> src/main.rs:364:13
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let line_end= pt2(particle_x-x_velo, particle_y-y_velo);
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `N_PARTICLES` is never used
[INFO] [stdout]  --> src/main.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const N_PARTICLES: usize = 10;
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `fluids_init` is never used
[INFO] [stdout]   --> src/main.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | static mut fluids_init: Option<Vec<Vec<f32>>> = None;
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fluid_simulate` is never used
[INFO] [stdout]    --> src/main.rs:325:4
[INFO] [stdout]     |
[INFO] [stdout] 325 | fn fluid_simulate(w: f32, h: f32, charges: &Vec<Vec<f32>>, mut fluids_array: Vec<Vec<f32>>){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `point_charges_init` should have an upper case name
[INFO] [stdout]   --> src/main.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | static mut point_charges_init: Option<Vec<Vec<f32>>> = None;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 13 - static mut point_charges_init: Option<Vec<Vec<f32>>> = None;
[INFO] [stdout] 13 + static mut POINT_CHARGES_INIT: Option<Vec<Vec<f32>>> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `fluids_init` should have an upper case name
[INFO] [stdout]   --> src/main.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | static mut fluids_init: Option<Vec<Vec<f32>>> = None;
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper case: `FLUIDS_INIT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         point_charges_init.clone().unwrap() // Access the initialized variable
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.14s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: noise v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "5b21192f090fa583fea59af3409d8c921383d3d715d8d668a95973cc79c36dbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5b21192f090fa583fea59af3409d8c921383d3d715d8d668a95973cc79c36dbd", kill_on_drop: false }`
[INFO] [stdout] 5b21192f090fa583fea59af3409d8c921383d3d715d8d668a95973cc79c36dbd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 154df805162c0dbd5ea617aaf385d9e68ab8d2837d2b0bc5169240529af0fff9
[INFO] running `Command { std: "docker" "start" "-a" "154df805162c0dbd5ea617aaf385d9e68ab8d2837d2b0bc5169240529af0fff9", kill_on_drop: false }`
[INFO] [stderr]    Compiling ElectricVectorField v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `event::ElementState`
[INFO] [stdout]  --> src/main.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use nannou::{event::ElementState, prelude::*};
[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: `rand::prelude::*`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:192:13
[INFO] [stdout]     |
[INFO] [stdout] 192 | /             (
[INFO] [stdout] 193 | |                 mouse.x as f32 + 
[INFO] [stdout]     | |________________^
[INFO] [stdout] ...
[INFO] [stdout] 197 |                       &point_charges)[0]*150.0
[INFO] [stdout]     |  _____________________________________________^
[INFO] [stdout] 198 | |                 ) , 
[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] 192 ~             mouse.x as f32 + 
[INFO] [stdout] 193 |                 field_simulate(
[INFO] [stdout] 194 |                     mouse.x, 
[INFO] [stdout] 195 |                     mouse.y, 
[INFO] [stdout] 196 ~                     &point_charges)[0]*150.0  , 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:199:13
[INFO] [stdout]     |
[INFO] [stdout] 199 | /             (
[INFO] [stdout] 200 | |                 mouse.y as f32 + 
[INFO] [stdout]     | |________________^
[INFO] [stdout] ...
[INFO] [stdout] 204 |                       &point_charges)[1]*150.0
[INFO] [stdout]     |  _____________________________________________^
[INFO] [stdout] 205 | |                 )
[INFO] [stdout]     | |_________________^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 199 ~             mouse.y as f32 + 
[INFO] [stdout] 200 |                 field_simulate(
[INFO] [stdout] 201 |                     mouse.x, 
[INFO] [stdout] 202 |                     mouse.y, 
[INFO] [stdout] 203 ~                     &point_charges)[1]*150.0 
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]  --> src/main.rs:4:24
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::{sync::{Once, ONCE_INIT}, vec};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stdout]   --> src/main.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 | static INIT: Once = ONCE_INIT;
[INFO] [stdout]    |                     ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: replace the use of the deprecated constant
[INFO] [stdout]    |
[INFO] [stdout] 12 - static INIT: Once = ONCE_INIT;
[INFO] [stdout] 12 + static INIT: Once = Once::new();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `real::Real`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use real::Real;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:152:21
[INFO] [stdout]     |
[INFO] [stdout] 152 |                 let mut arrow_end: Vec2 = pt2(x2, y2);
[INFO] [stdout]     |                     ----^^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t`
[INFO] [stdout]   --> src/main.rs:63:9
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let t = app.time;
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `K`
[INFO] [stdout]    |
[INFO] [stdout] 63 -     let t = app.time;
[INFO] [stdout] 63 +     let field_simulate::K = app.time;
[INFO] [stdout]    |
[INFO] [stdout] help: if this is intentional, prefix it with an underscore
[INFO] [stdout]    |
[INFO] [stdout] 63 |     let _t = app.time;
[INFO] [stdout]    |         +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ratio` is never read
[INFO] [stdout]    --> src/main.rs:130:42
[INFO] [stdout]     |
[INFO] [stdout] 130 |                     let mut ratio: f32 = 0.0;
[INFO] [stdout]     |                                          ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 138 |                         ratio = (y_cast - point_charges[biggest_influence][1]) / abs(vec_y);
[INFO] [stdout]     |                         ------------------------------------------------------------------- `ratio` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `half`
[INFO] [stdout]    --> src/main.rs:275:9
[INFO] [stdout]     |
[INFO] [stdout] 275 |     let half: f32 = 0.5;
[INFO] [stdout]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_half`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_start`
[INFO] [stdout]    --> src/main.rs:363:13
[INFO] [stdout]     |
[INFO] [stdout] 363 |         let line_start = pt2(particle_x, particle_y);
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_start`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `line_end`
[INFO] [stdout]    --> src/main.rs:364:13
[INFO] [stdout]     |
[INFO] [stdout] 364 |         let line_end= pt2(particle_x-x_velo, particle_y-y_velo);
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_end`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `N_PARTICLES` is never used
[INFO] [stdout]  --> src/main.rs:6:7
[INFO] [stdout]   |
[INFO] [stdout] 6 | const N_PARTICLES: usize = 10;
[INFO] [stdout]   |       ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `fluids_init` is never used
[INFO] [stdout]   --> src/main.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | static mut fluids_init: Option<Vec<Vec<f32>>> = None;
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `fluid_simulate` is never used
[INFO] [stdout]    --> src/main.rs:325:4
[INFO] [stdout]     |
[INFO] [stdout] 325 | fn fluid_simulate(w: f32, h: f32, charges: &Vec<Vec<f32>>, mut fluids_array: Vec<Vec<f32>>){
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `point_charges_init` should have an upper case name
[INFO] [stdout]   --> src/main.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | static mut point_charges_init: Option<Vec<Vec<f32>>> = None;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 13 - static mut point_charges_init: Option<Vec<Vec<f32>>> = None;
[INFO] [stdout] 13 + static mut POINT_CHARGES_INIT: Option<Vec<Vec<f32>>> = None;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static variable `fluids_init` should have an upper case name
[INFO] [stdout]   --> src/main.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | static mut fluids_init: Option<Vec<Vec<f32>>> = None;
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to upper case: `FLUIDS_INIT`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/main.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 29 |         point_charges_init.clone().unwrap() // Access the initialized variable
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.10s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: noise v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "154df805162c0dbd5ea617aaf385d9e68ab8d2837d2b0bc5169240529af0fff9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "154df805162c0dbd5ea617aaf385d9e68ab8d2837d2b0bc5169240529af0fff9", kill_on_drop: false }`
[INFO] [stdout] 154df805162c0dbd5ea617aaf385d9e68ab8d2837d2b0bc5169240529af0fff9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+28f95933dc0727396c07b48d0a8cb5211b7fb472" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 77e44a615c7457c541fdb9b02af293ffd5fc1496490009e00a2e6025ea39f241
[INFO] running `Command { std: "docker" "start" "-a" "77e44a615c7457c541fdb9b02af293ffd5fc1496490009e00a2e6025ea39f241", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `event::ElementState`
[INFO] [stderr]  --> src/main.rs:1:14
[INFO] [stderr]   |
[INFO] [stderr] 1 | use nannou::{event::ElementState, prelude::*};
[INFO] [stderr]   |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `rand::prelude::*`
[INFO] [stderr]  --> src/main.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use rand::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]    --> src/main.rs:192:13
[INFO] [stderr]     |
[INFO] [stderr] 192 | /             (
[INFO] [stderr] 193 | |                 mouse.x as f32 + 
[INFO] [stderr]     | |________________^
[INFO] [stderr] ...
[INFO] [stderr] 197 |                       &point_charges)[0]*150.0
[INFO] [stderr]     |  _____________________________________________^
[INFO] [stderr] 198 | |                 ) , 
[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] 192 ~             mouse.x as f32 + 
[INFO] [stderr] 193 |                 field_simulate(
[INFO] [stderr] 194 |                     mouse.x, 
[INFO] [stderr] 195 |                     mouse.y, 
[INFO] [stderr] 196 ~                     &point_charges)[0]*150.0  , 
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around function argument
[INFO] [stderr]    --> src/main.rs:199:13
[INFO] [stderr]     |
[INFO] [stderr] 199 | /             (
[INFO] [stderr] 200 | |                 mouse.y as f32 + 
[INFO] [stderr]     | |________________^
[INFO] [stderr] ...
[INFO] [stderr] 204 |                       &point_charges)[1]*150.0
[INFO] [stderr]     |  _____________________________________________^
[INFO] [stderr] 205 | |                 )
[INFO] [stderr]     | |_________________^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 199 ~             mouse.y as f32 + 
[INFO] [stderr] 200 |                 field_simulate(
[INFO] [stderr] 201 |                     mouse.x, 
[INFO] [stderr] 202 |                     mouse.y, 
[INFO] [stderr] 203 ~                     &point_charges)[1]*150.0 
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]  --> src/main.rs:4:24
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::{sync::{Once, ONCE_INIT}, vec};
[INFO] [stderr]   |                        ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred
[INFO] [stderr]   --> src/main.rs:12:21
[INFO] [stderr]    |
[INFO] [stderr] 12 | static INIT: Once = ONCE_INIT;
[INFO] [stderr]    |                     ^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] help: replace the use of the deprecated constant
[INFO] [stderr]    |
[INFO] [stderr] 12 - static INIT: Once = ONCE_INIT;
[INFO] [stderr] 12 + static INIT: Once = Once::new();
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `real::Real`
[INFO] [stderr]  --> src/main.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 | use real::Real;
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/main.rs:152:21
[INFO] [stderr]     |
[INFO] [stderr] 152 |                 let mut arrow_end: Vec2 = pt2(x2, y2);
[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: unused variable: `t`
[INFO] [stderr]   --> src/main.rs:63:9
[INFO] [stderr]    |
[INFO] [stderr] 63 |     let t = app.time;
[INFO] [stderr]    |         ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `K`
[INFO] [stderr]    |
[INFO] [stderr] 63 -     let t = app.time;
[INFO] [stderr] 63 +     let field_simulate::K = app.time;
[INFO] [stderr]    |
[INFO] [stderr] help: if this is intentional, prefix it with an underscore
[INFO] [stderr]    |
[INFO] [stderr] 63 |     let _t = app.time;
[INFO] [stderr]    |         +
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `ratio` is never read
[INFO] [stderr]    --> src/main.rs:130:42
[INFO] [stderr]     |
[INFO] [stderr] 130 |                     let mut ratio: f32 = 0.0;
[INFO] [stderr]     |                                          ^^^ this value is reassigned later and never used
[INFO] [stderr] ...
[INFO] [stderr] 138 |                         ratio = (y_cast - point_charges[biggest_influence][1]) / abs(vec_y);
[INFO] [stderr]     |                         ------------------------------------------------------------------- `ratio` is overwritten here before the previous value is read
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `half`
[INFO] [stderr]    --> src/main.rs:275:9
[INFO] [stderr]     |
[INFO] [stderr] 275 |     let half: f32 = 0.5;
[INFO] [stderr]     |         ^^^^ help: if this is intentional, prefix it with an underscore: `_half`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line_start`
[INFO] [stderr]    --> src/main.rs:363:13
[INFO] [stderr]     |
[INFO] [stderr] 363 |         let line_start = pt2(particle_x, particle_y);
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_start`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `line_end`
[INFO] [stderr]    --> src/main.rs:364:13
[INFO] [stderr]     |
[INFO] [stderr] 364 |         let line_end= pt2(particle_x-x_velo, particle_y-y_velo);
[INFO] [stderr]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_end`
[INFO] [stderr] 
[INFO] [stderr] warning: constant `N_PARTICLES` is never used
[INFO] [stderr]  --> src/main.rs:6:7
[INFO] [stderr]   |
[INFO] [stderr] 6 | const N_PARTICLES: usize = 10;
[INFO] [stderr]   |       ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: static `fluids_init` is never used
[INFO] [stderr]   --> src/main.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | static mut fluids_init: Option<Vec<Vec<f32>>> = None;
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `fluid_simulate` is never used
[INFO] [stderr]    --> src/main.rs:325:4
[INFO] [stderr]     |
[INFO] [stderr] 325 | fn fluid_simulate(w: f32, h: f32, charges: &Vec<Vec<f32>>, mut fluids_array: Vec<Vec<f32>>){
[INFO] [stderr]     |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `point_charges_init` should have an upper case name
[INFO] [stderr]   --> src/main.rs:13:12
[INFO] [stderr]    |
[INFO] [stderr] 13 | static mut point_charges_init: Option<Vec<Vec<f32>>> = None;
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] help: convert the identifier to upper case
[INFO] [stderr]    |
[INFO] [stderr] 13 - static mut point_charges_init: Option<Vec<Vec<f32>>> = None;
[INFO] [stderr] 13 + static mut POINT_CHARGES_INIT: Option<Vec<Vec<f32>>> = None;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: static variable `fluids_init` should have an upper case name
[INFO] [stderr]   --> src/main.rs:14:12
[INFO] [stderr]    |
[INFO] [stderr] 14 | static mut fluids_init: Option<Vec<Vec<f32>>> = None;
[INFO] [stderr]    |            ^^^^^^^^^^^ help: convert the identifier to upper case: `FLUIDS_INIT`
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/main.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 29 |         point_charges_init.clone().unwrap() // Access the initialized variable
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `ElectricVectorField` (bin "ElectricVectorField" test) generated 19 warnings (run `cargo fix --bin "ElectricVectorField" -p ElectricVectorField --tests` to apply 12 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: noise v0.7.0
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ElectricVectorField-82e7c6f73858ec70)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "77e44a615c7457c541fdb9b02af293ffd5fc1496490009e00a2e6025ea39f241", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77e44a615c7457c541fdb9b02af293ffd5fc1496490009e00a2e6025ea39f241", kill_on_drop: false }`
[INFO] [stdout] 77e44a615c7457c541fdb9b02af293ffd5fc1496490009e00a2e6025ea39f241
