[INFO] cloning repository https://github.com/chriswininger/rust-wasm-dla
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chriswininger/rust-wasm-dla" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriswininger%2Frust-wasm-dla", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriswininger%2Frust-wasm-dla'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 462f6b814b29d16114b7fb589c60a99070631811
[INFO] checking chriswininger/rust-wasm-dla against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriswininger%2Frust-wasm-dla" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/chriswininger/rust-wasm-dla on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/chriswininger/rust-wasm-dla
[INFO] finished tweaking git repo https://github.com/chriswininger/rust-wasm-dla
[INFO] tweaked toml for git repo https://github.com/chriswininger/rust-wasm-dla written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/chriswininger/rust-wasm-dla 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wee_alloc v0.4.5
[INFO] [stderr]   Downloaded serde v1.0.110
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.62
[INFO] [stderr]   Downloaded wasm-bindgen-test-macro v0.2.50
[INFO] [stderr]   Downloaded serde_derive v1.0.110
[INFO] [stderr]   Downloaded wasm-bindgen-test v0.2.50
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.3.27
[INFO] [stderr]   Downloaded proc-macro2 v1.0.13
[INFO] [stderr]   Downloaded js-sys v0.3.39
[INFO] [stderr]   Downloaded futures v0.1.29
[INFO] [stderr]   Downloaded syn v1.0.22
[INFO] [stderr]   Downloaded web-sys v0.3.39
[INFO] [stderr]   Downloaded libc v0.2.70
[INFO] [stderr]   Downloaded console_error_panic_hook v0.1.6
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.62
[INFO] [stderr]   Downloaded bumpalo v3.3.0
[INFO] [stderr]   Downloaded serde_json v1.0.53
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.62
[INFO] [stderr]   Downloaded quote v1.0.6
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.62
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.62
[INFO] [stderr]   Downloaded memory_units v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 30f96f09dae2850e3d34111800f792a0d7347238094a7099f76a9cdab4152e85
[INFO] running `Command { std: "docker" "start" "-a" "30f96f09dae2850e3d34111800f792a0d7347238094a7099f76a9cdab4152e85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "30f96f09dae2850e3d34111800f792a0d7347238094a7099f76a9cdab4152e85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "30f96f09dae2850e3d34111800f792a0d7347238094a7099f76a9cdab4152e85", kill_on_drop: false }`
[INFO] [stdout] 30f96f09dae2850e3d34111800f792a0d7347238094a7099f76a9cdab4152e85
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d204fdb81e32c1b369d3a6e88f9ed2edf200be16911b2ede4bb015bd0e3e7903
[INFO] running `Command { std: "docker" "start" "-a" "d204fdb81e32c1b369d3a6e88f9ed2edf200be16911b2ede4bb015bd0e3e7903", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.13
[INFO] [stderr]    Compiling syn v1.0.22
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.62
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling serde v1.0.110
[INFO] [stderr]    Compiling bumpalo v3.3.0
[INFO] [stderr]    Compiling ryu v1.0.4
[INFO] [stderr]    Compiling wasm-bindgen v0.2.62
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking futures v0.1.29
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.2.50
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.62
[INFO] [stderr]    Compiling serde_derive v1.0.110
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.62
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.62
[INFO] [stderr]     Checking serde_json v1.0.53
[INFO] [stderr]     Checking js-sys v0.3.39
[INFO] [stderr]     Checking console_error_panic_hook v0.1.6
[INFO] [stderr]     Checking wasm-bindgen-futures v0.3.27
[INFO] [stderr]     Checking web-sys v0.3.39
[INFO] [stderr]     Checking wasm-bindgen-test v0.2.50
[INFO] [stderr]     Checking wasm-rust-dla v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]  --> src/field_position.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use wasm_bindgen::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArrayIter`
[INFO] [stdout]   --> src/lib.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use js_sys::{Math, Array, ArrayIter};
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromWasmAbi`, `WasmAbi`
[INFO] [stdout]   --> src/lib.rs:14:29
[INFO] [stdout]    |
[INFO] [stdout] 14 | use wasm_bindgen::convert::{FromWasmAbi, WasmAbi};
[INFO] [stdout]    |                             ^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use wasm_bindgen::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:479:21
[INFO] [stdout]     |
[INFO] [stdout] 479 |             let y = (ndx % width);
[INFO] [stdout]     |                     ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 479 -             let y = (ndx % width);
[INFO] [stdout] 479 +             let y = ndx % width;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:480:21
[INFO] [stdout]     |
[INFO] [stdout] 480 |             let x = (ndx / height);
[INFO] [stdout]     |                     ^            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 480 -             let x = (ndx / height);
[INFO] [stdout] 480 +             let x = ndx / height;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]  --> src/field_position.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use wasm_bindgen::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArrayIter`
[INFO] [stdout]   --> src/lib.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use js_sys::{Math, Array, ArrayIter};
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromWasmAbi`, `WasmAbi`
[INFO] [stdout]   --> src/lib.rs:14:29
[INFO] [stdout]    |
[INFO] [stdout] 14 | use wasm_bindgen::convert::{FromWasmAbi, WasmAbi};
[INFO] [stdout]    |                             ^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use wasm_bindgen::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:479:21
[INFO] [stdout]     |
[INFO] [stdout] 479 |             let y = (ndx % width);
[INFO] [stdout]     |                     ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 479 -             let y = (ndx % width);
[INFO] [stdout] 479 +             let y = ndx % width;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:480:21
[INFO] [stdout]     |
[INFO] [stdout] 480 |             let x = (ndx / height);
[INFO] [stdout]     |                     ^            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 480 -             let x = (ndx / height);
[INFO] [stdout] 480 +             let x = ndx / height;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:314:25
[INFO] [stdout]     |
[INFO] [stdout] 314 |                            return match agent.sticky_neighbor {
[INFO] [stdout]     |   _________________________^______-
[INFO] [stdout]     |  |_________________________|
[INFO] [stdout]     | ||
[INFO] [stdout] 315 | ||                             None => return (true, None), // already stuck, no neighbor
[INFO] [stdout] 316 | ||                             Some(position) => {
[INFO] [stdout] 317 | ||                                 // already stuck pass along it's stuck neighbor if applicable
[INFO] [stdout] 318 | ||                                 return (true, Some((position.x, position.y)))
[INFO] [stdout] 319 | ||                             }
[INFO] [stdout] 320 | ||                         }
[INFO] [stdout]     | ||                         ^
[INFO] [stdout]     | ||_________________________|
[INFO] [stdout]     |  |_________________________unreachable expression
[INFO] [stdout]     |                            any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:314:25
[INFO] [stdout]     |
[INFO] [stdout] 314 |                            return match agent.sticky_neighbor {
[INFO] [stdout]     |   _________________________^______-
[INFO] [stdout]     |  |_________________________|
[INFO] [stdout]     | ||
[INFO] [stdout] 315 | ||                             None => return (true, None), // already stuck, no neighbor
[INFO] [stdout] 316 | ||                             Some(position) => {
[INFO] [stdout] 317 | ||                                 // already stuck pass along it's stuck neighbor if applicable
[INFO] [stdout] 318 | ||                                 return (true, Some((position.x, position.y)))
[INFO] [stdout] 319 | ||                             }
[INFO] [stdout] 320 | ||                         }
[INFO] [stdout]     | ||                         ^
[INFO] [stdout]     | ||_________________________|
[INFO] [stdout]     |  |_________________________unreachable expression
[INFO] [stdout]     |                            any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/lib.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         for i in 0..num_agents {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ndx`
[INFO] [stdout]   --> src/lib.rs:84:34
[INFO] [stdout]    |
[INFO] [stdout] 84 |         (0..width * height).map(|ndx| {
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ndx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cntStuck`
[INFO] [stdout]    --> src/lib.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut cntStuck = 0;
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cntStuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut cntStuck = 0;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_agent_ndx`
[INFO] [stdout]    --> src/lib.rs:280:9
[INFO] [stdout]     |
[INFO] [stdout] 280 |         new_agent_ndx: usize
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_agent_ndx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/lib.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         for i in 0..num_agents {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_agent_at_borrow`, `find_agent_at_coordinate`, `agent_iterator`, and `isEmpty` are never used
[INFO] [stdout]    --> src/lib.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl DLAField {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn get_agent_at_borrow(&mut self, ndx: usize) -> &mut ColorizedPoint {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 228 |     fn find_agent_at_coordinate(&self, x: usize, y: usize) -> Option<&ColorizedPoint> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     fn agent_iterator(&self) -> std::slice::Iter<ColorizedPoint> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 400 |     fn isEmpty(&self, x: u32, y: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_panic_hook` is never used
[INFO] [stdout]  --> src/utils.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn set_panic_hook() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generateEmptyPositionHash` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn generateEmptyPositionHash(width: usize, height: usize) -> Vec<FieldPosition> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_empty_position_hash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isPositionOccupied` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn isPositionOccupied(positionHash: &Vec<FieldPosition>, x: usize, y: usize, width: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_position_occupied`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `positionHash` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:89:27
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn isPositionOccupied(positionHash: &Vec<FieldPosition>, x: usize, y: usize, width: usize) -> bool {
[INFO] [stdout]    |                           ^^^^^^^^^^^^ help: convert the identifier to snake case: `position_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `castMin` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let castMin = min as f64;
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `cast_min`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `castMax` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let castMax = max as f64;
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `cast_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cntStuck` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut cntStuck = 0;
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `cnt_stuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `findNextPosition` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn findNextPosition(&self, x: usize, y: usize) -> (usize, usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_next_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newX` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut newX = if  DLAField::gen_bool(0.5) { x + 1 } else { x - 1 };
[INFO] [stdout]     |                 ^^^^ help: convert the identifier to snake case: `new_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newY` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let mut newY = if  DLAField::gen_bool(0.75) { y + 1 } else { y - 1 };
[INFO] [stdout]     |                 ^^^^ help: convert the identifier to snake case: `new_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `attemptCount` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let mut attemptCount = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: convert the identifier to snake case: `attempt_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isEmpty` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:400:8
[INFO] [stdout]     |
[INFO] [stdout] 400 |     fn isEmpty(&self, x: u32, y: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `is_empty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getOccpupiedCount` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:410:12
[INFO] [stdout]     |
[INFO] [stdout] 410 |     pub fn getOccpupiedCount(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_occpupied_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getStuckCount` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:433:12
[INFO] [stdout]     |
[INFO] [stdout] 433 |     pub fn getStuckCount(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_stuck_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stuckSize` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:458:13
[INFO] [stdout]     |
[INFO] [stdout] 458 |         let stuckSize = 1.0;
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `stuck_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ndx`
[INFO] [stdout]   --> src/lib.rs:84:34
[INFO] [stdout]    |
[INFO] [stdout] 84 |         (0..width * height).map(|ndx| {
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ndx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `seedSize` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:459:13
[INFO] [stdout]     |
[INFO] [stdout] 459 |         let seedSize = 1.0;
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case: `seed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cntStuck`
[INFO] [stdout]    --> src/lib.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut cntStuck = 0;
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cntStuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut cntStuck = 0;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_agent_ndx`
[INFO] [stdout]    --> src/lib.rs:280:9
[INFO] [stdout]     |
[INFO] [stdout] 280 |         new_agent_ndx: usize
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_agent_ndx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_agent_at_borrow`, `find_agent_at_coordinate`, `agent_iterator`, and `isEmpty` are never used
[INFO] [stdout]    --> src/lib.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl DLAField {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn get_agent_at_borrow(&mut self, ndx: usize) -> &mut ColorizedPoint {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 228 |     fn find_agent_at_coordinate(&self, x: usize, y: usize) -> Option<&ColorizedPoint> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     fn agent_iterator(&self) -> std::slice::Iter<ColorizedPoint> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 400 |     fn isEmpty(&self, x: u32, y: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_panic_hook` is never used
[INFO] [stdout]  --> src/utils.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn set_panic_hook() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generateEmptyPositionHash` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn generateEmptyPositionHash(width: usize, height: usize) -> Vec<FieldPosition> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_empty_position_hash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isPositionOccupied` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn isPositionOccupied(positionHash: &Vec<FieldPosition>, x: usize, y: usize, width: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_position_occupied`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `positionHash` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:89:27
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn isPositionOccupied(positionHash: &Vec<FieldPosition>, x: usize, y: usize, width: usize) -> bool {
[INFO] [stdout]    |                           ^^^^^^^^^^^^ help: convert the identifier to snake case: `position_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `castMin` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let castMin = min as f64;
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `cast_min`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `castMax` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let castMax = max as f64;
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `cast_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cntStuck` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut cntStuck = 0;
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `cnt_stuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `findNextPosition` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn findNextPosition(&self, x: usize, y: usize) -> (usize, usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_next_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newX` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut newX = if  DLAField::gen_bool(0.5) { x + 1 } else { x - 1 };
[INFO] [stdout]     |                 ^^^^ help: convert the identifier to snake case: `new_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newY` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let mut newY = if  DLAField::gen_bool(0.75) { y + 1 } else { y - 1 };
[INFO] [stdout]     |                 ^^^^ help: convert the identifier to snake case: `new_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `attemptCount` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let mut attemptCount = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: convert the identifier to snake case: `attempt_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isEmpty` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:400:8
[INFO] [stdout]     |
[INFO] [stdout] 400 |     fn isEmpty(&self, x: u32, y: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `is_empty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getOccpupiedCount` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:410:12
[INFO] [stdout]     |
[INFO] [stdout] 410 |     pub fn getOccpupiedCount(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_occpupied_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getStuckCount` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:433:12
[INFO] [stdout]     |
[INFO] [stdout] 433 |     pub fn getStuckCount(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_stuck_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stuckSize` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:458:13
[INFO] [stdout]     |
[INFO] [stdout] 458 |         let stuckSize = 1.0;
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `stuck_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `seedSize` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:459:13
[INFO] [stdout]     |
[INFO] [stdout] 459 |         let seedSize = 1.0;
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case: `seed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 12.39s
[INFO] running `Command { std: "docker" "inspect" "d204fdb81e32c1b369d3a6e88f9ed2edf200be16911b2ede4bb015bd0e3e7903", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d204fdb81e32c1b369d3a6e88f9ed2edf200be16911b2ede4bb015bd0e3e7903", kill_on_drop: false }`
[INFO] [stdout] d204fdb81e32c1b369d3a6e88f9ed2edf200be16911b2ede4bb015bd0e3e7903
[INFO] checking chriswininger/rust-wasm-dla against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriswininger%2Frust-wasm-dla" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/chriswininger/rust-wasm-dla on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/chriswininger/rust-wasm-dla
[INFO] finished tweaking git repo https://github.com/chriswininger/rust-wasm-dla
[INFO] tweaked toml for git repo https://github.com/chriswininger/rust-wasm-dla written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/chriswininger/rust-wasm-dla 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f9b5df271c04480b81ff6a730d0b6aebb252510df48b311e7c18f52f3cf57f9f
[INFO] running `Command { std: "docker" "start" "-a" "f9b5df271c04480b81ff6a730d0b6aebb252510df48b311e7c18f52f3cf57f9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f9b5df271c04480b81ff6a730d0b6aebb252510df48b311e7c18f52f3cf57f9f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9b5df271c04480b81ff6a730d0b6aebb252510df48b311e7c18f52f3cf57f9f", kill_on_drop: false }`
[INFO] [stdout] f9b5df271c04480b81ff6a730d0b6aebb252510df48b311e7c18f52f3cf57f9f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 70dcc4a44fcdedbd698a157b4ee06138bed7afd9b8378735640262fd691a88e0
[INFO] running `Command { std: "docker" "start" "-a" "70dcc4a44fcdedbd698a157b4ee06138bed7afd9b8378735640262fd691a88e0", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.13
[INFO] [stderr]    Compiling syn v1.0.22
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.62
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling bumpalo v3.3.0
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling serde v1.0.110
[INFO] [stderr]    Compiling ryu v1.0.4
[INFO] [stderr]    Compiling wasm-bindgen v0.2.62
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]     Checking futures v0.1.29
[INFO] [stderr]     Checking scoped-tls v1.0.0
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling quote v1.0.6
[INFO] [stderr]    Compiling wasm-bindgen-test-macro v0.2.50
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.62
[INFO] [stderr]    Compiling serde_derive v1.0.110
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.62
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.62
[INFO] [stderr]     Checking serde_json v1.0.53
[INFO] [stderr]     Checking js-sys v0.3.39
[INFO] [stderr]     Checking console_error_panic_hook v0.1.6
[INFO] [stderr]     Checking web-sys v0.3.39
[INFO] [stderr]     Checking wasm-bindgen-futures v0.3.27
[INFO] [stderr]     Checking wasm-bindgen-test v0.2.50
[INFO] [stderr]     Checking wasm-rust-dla v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]  --> src/field_position.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use wasm_bindgen::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]  --> src/field_position.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use wasm_bindgen::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArrayIter`
[INFO] [stdout]   --> src/lib.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use js_sys::{Math, Array, ArrayIter};
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromWasmAbi`, `WasmAbi`
[INFO] [stdout]   --> src/lib.rs:14:29
[INFO] [stdout]    |
[INFO] [stdout] 14 | use wasm_bindgen::convert::{FromWasmAbi, WasmAbi};
[INFO] [stdout]    |                             ^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use wasm_bindgen::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ArrayIter`
[INFO] [stdout]   --> src/lib.rs:12:27
[INFO] [stdout]    |
[INFO] [stdout] 12 | use js_sys::{Math, Array, ArrayIter};
[INFO] [stdout]    |                           ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `FromWasmAbi`, `WasmAbi`
[INFO] [stdout]   --> src/lib.rs:14:29
[INFO] [stdout]    |
[INFO] [stdout] 14 | use wasm_bindgen::convert::{FromWasmAbi, WasmAbi};
[INFO] [stdout]    |                             ^^^^^^^^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `wasm_bindgen::prelude::*`
[INFO] [stdout]   --> src/lib.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use wasm_bindgen::prelude::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:479:21
[INFO] [stdout]     |
[INFO] [stdout] 479 |             let y = (ndx % width);
[INFO] [stdout]     |                     ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 479 -             let y = (ndx % width);
[INFO] [stdout] 479 +             let y = ndx % width;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:479:21
[INFO] [stdout]     |
[INFO] [stdout] 479 |             let y = (ndx % width);
[INFO] [stdout]     |                     ^           ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 479 -             let y = (ndx % width);
[INFO] [stdout] 479 +             let y = ndx % width;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:480:21
[INFO] [stdout]     |
[INFO] [stdout] 480 |             let x = (ndx / height);
[INFO] [stdout]     |                     ^            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 480 -             let x = (ndx / height);
[INFO] [stdout] 480 +             let x = ndx / height;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/lib.rs:480:21
[INFO] [stdout]     |
[INFO] [stdout] 480 |             let x = (ndx / height);
[INFO] [stdout]     |                     ^            ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 480 -             let x = (ndx / height);
[INFO] [stdout] 480 +             let x = ndx / height;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:314:25
[INFO] [stdout]     |
[INFO] [stdout] 314 |                            return match agent.sticky_neighbor {
[INFO] [stdout]     |   _________________________^______-
[INFO] [stdout]     |  |_________________________|
[INFO] [stdout]     | ||
[INFO] [stdout] 315 | ||                             None => return (true, None), // already stuck, no neighbor
[INFO] [stdout] 316 | ||                             Some(position) => {
[INFO] [stdout] 317 | ||                                 // already stuck pass along it's stuck neighbor if applicable
[INFO] [stdout] 318 | ||                                 return (true, Some((position.x, position.y)))
[INFO] [stdout] 319 | ||                             }
[INFO] [stdout] 320 | ||                         }
[INFO] [stdout]     | ||                         ^
[INFO] [stdout]     | ||_________________________|
[INFO] [stdout]     |  |_________________________unreachable expression
[INFO] [stdout]     |                            any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/lib.rs:314:25
[INFO] [stdout]     |
[INFO] [stdout] 314 |                            return match agent.sticky_neighbor {
[INFO] [stdout]     |   _________________________^______-
[INFO] [stdout]     |  |_________________________|
[INFO] [stdout]     | ||
[INFO] [stdout] 315 | ||                             None => return (true, None), // already stuck, no neighbor
[INFO] [stdout] 316 | ||                             Some(position) => {
[INFO] [stdout] 317 | ||                                 // already stuck pass along it's stuck neighbor if applicable
[INFO] [stdout] 318 | ||                                 return (true, Some((position.x, position.y)))
[INFO] [stdout] 319 | ||                             }
[INFO] [stdout] 320 | ||                         }
[INFO] [stdout]     | ||                         ^
[INFO] [stdout]     | ||_________________________|
[INFO] [stdout]     |  |_________________________unreachable expression
[INFO] [stdout]     |                            any code following this `match` expression is unreachable, as all arms diverge
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/lib.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         for i in 0..num_agents {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ndx`
[INFO] [stdout]   --> src/lib.rs:84:34
[INFO] [stdout]    |
[INFO] [stdout] 84 |         (0..width * height).map(|ndx| {
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ndx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cntStuck`
[INFO] [stdout]    --> src/lib.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut cntStuck = 0;
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cntStuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut cntStuck = 0;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> src/lib.rs:51:13
[INFO] [stdout]    |
[INFO] [stdout] 51 |         for i in 0..num_agents {
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_agent_ndx`
[INFO] [stdout]    --> src/lib.rs:280:9
[INFO] [stdout]     |
[INFO] [stdout] 280 |         new_agent_ndx: usize
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_agent_ndx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ndx`
[INFO] [stdout]   --> src/lib.rs:84:34
[INFO] [stdout]    |
[INFO] [stdout] 84 |         (0..width * height).map(|ndx| {
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_ndx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cntStuck`
[INFO] [stdout]    --> src/lib.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut cntStuck = 0;
[INFO] [stdout]     |                 ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cntStuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/lib.rs:155:13
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut cntStuck = 0;
[INFO] [stdout]     |             ----^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_agent_at_borrow`, `find_agent_at_coordinate`, `agent_iterator`, and `isEmpty` are never used
[INFO] [stdout]    --> src/lib.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl DLAField {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn get_agent_at_borrow(&mut self, ndx: usize) -> &mut ColorizedPoint {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 228 |     fn find_agent_at_coordinate(&self, x: usize, y: usize) -> Option<&ColorizedPoint> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     fn agent_iterator(&self) -> std::slice::Iter<ColorizedPoint> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 400 |     fn isEmpty(&self, x: u32, y: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_panic_hook` is never used
[INFO] [stdout]  --> src/utils.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn set_panic_hook() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `new_agent_ndx`
[INFO] [stdout]    --> src/lib.rs:280:9
[INFO] [stdout]     |
[INFO] [stdout] 280 |         new_agent_ndx: usize
[INFO] [stdout]     |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_agent_ndx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generateEmptyPositionHash` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn generateEmptyPositionHash(width: usize, height: usize) -> Vec<FieldPosition> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_empty_position_hash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isPositionOccupied` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn isPositionOccupied(positionHash: &Vec<FieldPosition>, x: usize, y: usize, width: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_position_occupied`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `positionHash` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:89:27
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn isPositionOccupied(positionHash: &Vec<FieldPosition>, x: usize, y: usize, width: usize) -> bool {
[INFO] [stdout]    |                           ^^^^^^^^^^^^ help: convert the identifier to snake case: `position_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `castMin` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let castMin = min as f64;
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `cast_min`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `castMax` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let castMax = max as f64;
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `cast_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cntStuck` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut cntStuck = 0;
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `cnt_stuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `findNextPosition` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn findNextPosition(&self, x: usize, y: usize) -> (usize, usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_next_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newX` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut newX = if  DLAField::gen_bool(0.5) { x + 1 } else { x - 1 };
[INFO] [stdout]     |                 ^^^^ help: convert the identifier to snake case: `new_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newY` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let mut newY = if  DLAField::gen_bool(0.75) { y + 1 } else { y - 1 };
[INFO] [stdout]     |                 ^^^^ help: convert the identifier to snake case: `new_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `attemptCount` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let mut attemptCount = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: convert the identifier to snake case: `attempt_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isEmpty` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:400:8
[INFO] [stdout]     |
[INFO] [stdout] 400 |     fn isEmpty(&self, x: u32, y: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `is_empty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getOccpupiedCount` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:410:12
[INFO] [stdout]     |
[INFO] [stdout] 410 |     pub fn getOccpupiedCount(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_occpupied_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getStuckCount` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:433:12
[INFO] [stdout]     |
[INFO] [stdout] 433 |     pub fn getStuckCount(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_stuck_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stuckSize` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:458:13
[INFO] [stdout]     |
[INFO] [stdout] 458 |         let stuckSize = 1.0;
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `stuck_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `seedSize` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:459:13
[INFO] [stdout]     |
[INFO] [stdout] 459 |         let seedSize = 1.0;
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case: `seed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/colorized_point.rs:4:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]   |                                             ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_StickyNeighbor`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/colorized_point.rs:4:56
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]   |                                                        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_StickyNeighbor`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/colorized_point.rs:19:45
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_AgentState`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/colorized_point.rs:19:56
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]    |                                                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_AgentState`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/colorized_point.rs:26:45
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Color`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/colorized_point.rs:26:56
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]    |                                                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Color`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/colorized_point.rs:60:45
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ColorizedPoint`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/colorized_point.rs:60:56
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]    |                                                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ColorizedPoint`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_agent_at_borrow`, `find_agent_at_coordinate`, `agent_iterator`, and `isEmpty` are never used
[INFO] [stdout]    --> src/lib.rs:147:8
[INFO] [stdout]     |
[INFO] [stdout] 130 | impl DLAField {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 147 |     fn get_agent_at_borrow(&mut self, ndx: usize) -> &mut ColorizedPoint {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 228 |     fn find_agent_at_coordinate(&self, x: usize, y: usize) -> Option<&ColorizedPoint> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     fn agent_iterator(&self) -> std::slice::Iter<ColorizedPoint> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 400 |     fn isEmpty(&self, x: u32, y: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_panic_hook` is never used
[INFO] [stdout]  --> src/utils.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn set_panic_hook() {
[INFO] [stdout]   |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `generateEmptyPositionHash` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:83:8
[INFO] [stdout]    |
[INFO] [stdout] 83 |     fn generateEmptyPositionHash(width: usize, height: usize) -> Vec<FieldPosition> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `generate_empty_position_hash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isPositionOccupied` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:89:8
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn isPositionOccupied(positionHash: &Vec<FieldPosition>, x: usize, y: usize, width: usize) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `is_position_occupied`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `positionHash` should have a snake case name
[INFO] [stdout]   --> src/lib.rs:89:27
[INFO] [stdout]    |
[INFO] [stdout] 89 |     fn isPositionOccupied(positionHash: &Vec<FieldPosition>, x: usize, y: usize, width: usize) -> bool {
[INFO] [stdout]    |                           ^^^^^^^^^^^^ help: convert the identifier to snake case: `position_hash`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `castMin` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:101:13
[INFO] [stdout]     |
[INFO] [stdout] 101 |         let castMin = min as f64;
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `cast_min`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `castMax` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:102:13
[INFO] [stdout]     |
[INFO] [stdout] 102 |         let castMax = max as f64;
[INFO] [stdout]     |             ^^^^^^^ help: convert the identifier to snake case: `cast_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `cntStuck` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:155:17
[INFO] [stdout]     |
[INFO] [stdout] 155 |         let mut cntStuck = 0;
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case: `cnt_stuck`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `findNextPosition` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:233:8
[INFO] [stdout]     |
[INFO] [stdout] 233 |     fn findNextPosition(&self, x: usize, y: usize) -> (usize, usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_next_position`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newX` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:239:17
[INFO] [stdout]     |
[INFO] [stdout] 239 |         let mut newX = if  DLAField::gen_bool(0.5) { x + 1 } else { x - 1 };
[INFO] [stdout]     |                 ^^^^ help: convert the identifier to snake case: `new_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `newY` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:240:17
[INFO] [stdout]     |
[INFO] [stdout] 240 |         let mut newY = if  DLAField::gen_bool(0.75) { y + 1 } else { y - 1 };
[INFO] [stdout]     |                 ^^^^ help: convert the identifier to snake case: `new_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `attemptCount` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:252:17
[INFO] [stdout]     |
[INFO] [stdout] 252 |         let mut attemptCount = 0;
[INFO] [stdout]     |                 ^^^^^^^^^^^^ help: convert the identifier to snake case: `attempt_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `isEmpty` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:400:8
[INFO] [stdout]     |
[INFO] [stdout] 400 |     fn isEmpty(&self, x: u32, y: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^ help: convert the identifier to snake case: `is_empty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getOccpupiedCount` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:410:12
[INFO] [stdout]     |
[INFO] [stdout] 410 |     pub fn getOccpupiedCount(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_occpupied_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `getStuckCount` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:433:12
[INFO] [stdout]     |
[INFO] [stdout] 433 |     pub fn getStuckCount(&self) -> u32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_stuck_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `stuckSize` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:458:13
[INFO] [stdout]     |
[INFO] [stdout] 458 |         let stuckSize = 1.0;
[INFO] [stdout]     |             ^^^^^^^^^ help: convert the identifier to snake case: `stuck_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `seedSize` should have a snake case name
[INFO] [stdout]    --> src/lib.rs:459:13
[INFO] [stdout]     |
[INFO] [stdout] 459 |         let seedSize = 1.0;
[INFO] [stdout]     |             ^^^^^^^^ help: convert the identifier to snake case: `seed_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/colorized_point.rs:4:45
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]   |                                             ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_StickyNeighbor`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/colorized_point.rs:4:56
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]   |                                                        ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_StickyNeighbor`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/colorized_point.rs:19:45
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_AgentState`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/colorized_point.rs:19:56
[INFO] [stdout]    |
[INFO] [stdout] 19 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]    |                                                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_AgentState`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/colorized_point.rs:26:45
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_Color`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/colorized_point.rs:26:56
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]    |                                                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_Color`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/colorized_point.rs:60:45
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]    |                                             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_SERIALIZE_FOR_ColorizedPoint`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/colorized_point.rs:60:56
[INFO] [stdout]    |
[INFO] [stdout] 60 | #[derive(Clone, Copy, Debug, PartialEq, Eq, Serialize, Deserialize)]
[INFO] [stdout]    |                                                        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_DESERIALIZE_FOR_ColorizedPoint`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wasm-rust-dla` (lib test) due to 9 previous errors; 29 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 8 previous errors; 29 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wasm-rust-dla` (lib) due to 9 previous errors; 29 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "70dcc4a44fcdedbd698a157b4ee06138bed7afd9b8378735640262fd691a88e0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70dcc4a44fcdedbd698a157b4ee06138bed7afd9b8378735640262fd691a88e0", kill_on_drop: false }`
[INFO] [stdout] 70dcc4a44fcdedbd698a157b4ee06138bed7afd9b8378735640262fd691a88e0
