[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchriswininger%2Frust-wasm-dla" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chriswininger/rust-wasm-dla on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-9/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.62 [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.2.50 [INFO] [stderr] Downloaded wasm-bindgen v0.2.62 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.62 [INFO] [stderr] Downloaded bumpalo v3.3.0 [INFO] [stderr] Downloaded wasm-bindgen-test v0.2.50 [INFO] [stderr] Downloaded wee_alloc v0.4.5 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.62 [INFO] [stderr] Downloaded wasm-bindgen-macro 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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d88840ad275a62611bffef3be568eef2046f5c101e2314decf6cd567812d5d50 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d88840ad275a62611bffef3be568eef2046f5c101e2314decf6cd567812d5d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d88840ad275a62611bffef3be568eef2046f5c101e2314decf6cd567812d5d50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d88840ad275a62611bffef3be568eef2046f5c101e2314decf6cd567812d5d50", kill_on_drop: false }` [INFO] [stdout] d88840ad275a62611bffef3be568eef2046f5c101e2314decf6cd567812d5d50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c62b41f1d608b1510ff88d1a9477bebb647f24b4a92a2dc6a792ec2310c4acf1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c62b41f1d608b1510ff88d1a9477bebb647f24b4a92a2dc6a792ec2310c4acf1", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.22 [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] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling quote v0.6.13 [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 v1.0.110 [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 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] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^ help: remove these parentheses [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] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [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] | ^^^^^^^^^^^^^^ help: remove these parentheses [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:13 [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: 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: 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: `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:13 [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: 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: 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: function is never used: `set_panic_hook` [INFO] [stdout] --> src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_agent_at_borrow` [INFO] [stdout] --> src/lib.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn get_agent_at_borrow(&mut self, ndx: usize) -> &mut ColorizedPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_agent_at_coordinate` [INFO] [stdout] --> src/lib.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | fn find_agent_at_coordinate(&self, x: usize, y: usize) -> Option<&ColorizedPoint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `agent_iterator` [INFO] [stdout] --> src/lib.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 271 | fn agent_iterator(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `isEmpty` [INFO] [stdout] --> src/lib.rs:400:8 [INFO] [stdout] | [INFO] [stdout] 400 | fn isEmpty(&self, x: u32, y: u32) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_panic_hook` [INFO] [stdout] --> src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_agent_at_borrow` [INFO] [stdout] --> src/lib.rs:147:8 [INFO] [stdout] | [INFO] [stdout] 147 | fn get_agent_at_borrow(&mut self, ndx: usize) -> &mut ColorizedPoint { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_agent_at_coordinate` [INFO] [stdout] --> src/lib.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | fn find_agent_at_coordinate(&self, x: usize, y: usize) -> Option<&ColorizedPoint> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `agent_iterator` [INFO] [stdout] --> src/lib.rs:271:8 [INFO] [stdout] | [INFO] [stdout] 271 | fn agent_iterator(&self) -> std::slice::Iter { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `isEmpty` [INFO] [stdout] --> src/lib.rs:400:8 [INFO] [stdout] | [INFO] [stdout] 400 | fn isEmpty(&self, x: u32, y: u32) -> bool { [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 { [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, 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, 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: 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 { [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, 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, 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: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 04s [INFO] running `Command { std: "docker" "inspect" "c62b41f1d608b1510ff88d1a9477bebb647f24b4a92a2dc6a792ec2310c4acf1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c62b41f1d608b1510ff88d1a9477bebb647f24b4a92a2dc6a792ec2310c4acf1", kill_on_drop: false }` [INFO] [stdout] c62b41f1d608b1510ff88d1a9477bebb647f24b4a92a2dc6a792ec2310c4acf1