[INFO] fetching crate cytogon 0.1.0... [INFO] linting cytogon-0.1.0 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate cytogon 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate cytogon 0.1.0 [INFO] finished tweaking crates.io crate cytogon 0.1.0 [INFO] tweaked toml for crates.io crate cytogon 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cytogon 0.1.0 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding glam v0.29.3 (available: v0.32.1) [INFO] [stderr] Adding rand v0.8.5 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16bc99b81350b5a8e797635d76903487923b24f9ee363aa28cf0253708e20eb9 [INFO] running `Command { std: "docker" "start" "-a" "16bc99b81350b5a8e797635d76903487923b24f9ee363aa28cf0253708e20eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16bc99b81350b5a8e797635d76903487923b24f9ee363aa28cf0253708e20eb9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16bc99b81350b5a8e797635d76903487923b24f9ee363aa28cf0253708e20eb9", kill_on_drop: false }` [INFO] [stdout] 16bc99b81350b5a8e797635d76903487923b24f9ee363aa28cf0253708e20eb9 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33d6d0e717f618fd0c28efdc4711511ed16486cae83dea2b02adf8028fff3188 [INFO] running `Command { std: "docker" "start" "-a" "33d6d0e717f618fd0c28efdc4711511ed16486cae83dea2b02adf8028fff3188", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking bytemuck v1.25.0 [INFO] [stderr] Checking glam v0.29.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking cytogon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/avx2.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn count_neighbors(size: UVec3, data: &[u64], default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc0` [INFO] [stdout] --> src/avx2.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let acc0 = _mm256_adds_epu8(acc0, a_xp0); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_acc0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc1` [INFO] [stdout] --> src/avx2.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let acc1 = _mm256_adds_epu8(acc1, a_xp0); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_acc1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/lib.rs:473:51 [INFO] [stdout] | [INFO] [stdout] 473 | pub(crate) fn count_neighbors_popcnt_m(&self, default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xm` [INFO] [stdout] --> src/lib.rs:490:17 [INFO] [stdout] | [INFO] [stdout] 490 | let xm = if bpos.x > 0 { self.data[ib - 1] } else { 0u64 }; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xp` [INFO] [stdout] --> src/lib.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | let xp = if bpos.x + 1 < block_count.x { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ym` [INFO] [stdout] --> src/lib.rs:496:17 [INFO] [stdout] | [INFO] [stdout] 496 | let ym = if bpos.y > 0 { self.data[ib - dy] } else { 0u64 }; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yp` [INFO] [stdout] --> src/lib.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | let yp = if bpos.y + 1 < block_count.y { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zm` [INFO] [stdout] --> src/lib.rs:502:17 [INFO] [stdout] | [INFO] [stdout] 502 | let zm = if bpos.z > 0 { self.data[ib - dz] } else { 0u64 }; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zp` [INFO] [stdout] --> src/lib.rs:503:17 [INFO] [stdout] | [INFO] [stdout] 503 | let zp = if bpos.z + 1 < block_count.z { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/lib.rs:799:54 [INFO] [stdout] | [INFO] [stdout] 799 | pub(crate) fn count_neighbors_separable_m(&self, default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/lib.rs:828:55 [INFO] [stdout] | [INFO] [stdout] 828 | pub(crate) fn count_neighbors_separable_vn(&self, default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/lib.rs:897:21 [INFO] [stdout] | [INFO] [stdout] 897 | for j in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_neighbors_popcnt_m`, `count_neighbors_separable_vn`, `count_neighbors_ref`, and `count_neighbors_single` are never used [INFO] [stdout] --> src/lib.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 276 | impl Grid3 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 473 | pub(crate) fn count_neighbors_popcnt_m(&self, default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | pub(crate) fn count_neighbors_separable_vn(&self, default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 924 | fn count_neighbors_ref(&self, default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 949 | fn count_neighbors_single(&self, pos: IVec3, default: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_b2b_32` is never used [INFO] [stdout] --> src/avx2.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn expand_b2b_32( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_neighbors` is never used [INFO] [stdout] --> src/avx2.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn count_neighbors(size: UVec3, data: &[u64], default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: slow zero-filling initialization [INFO] [stdout] --> src/avx2.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let mut counts = Vec::with_capacity(capacity); [INFO] [stdout] | ______________________^ [INFO] [stdout] 33 | | counts.resize(capacity, 0u8); [INFO] [stdout] | |________________________________^ help: consider replacing this with: `vec![0; capacity]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization [INFO] [stdout] = note: `#[warn(clippy::slow_vector_initialization)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting integer literal to `u64` is unnecessary [INFO] [stdout] --> src/lib.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let i1 = (1u64 as u64) << (index & 0x3F); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `1_u64` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 441 | / let y = (x & 0x8000_0000_0000_0000u64) >> 7 [INFO] [stdout] 442 | | | (x & 0x0040_0000_0000_0000u64) >> 6 [INFO] [stdout] 443 | | | (x & 0x0000_2000_0000_0000u64) >> 5 [INFO] [stdout] 444 | | | (x & 0x0000_0010_0000_0000u64) >> 4 [INFO] [stdout] ... | [INFO] [stdout] 447 | | | (x & 0x0000_0000_0000_0200u64) >> 1 [INFO] [stdout] 448 | | | (x & 0x0000_0000_0000_0001u64); [INFO] [stdout] | |_____________________________________________- unnecessary `let` binding [INFO] [stdout] 449 | y [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 441 ~ [INFO] [stdout] 442 ~ (x & 0x8000_0000_0000_0000u64) >> 7 [INFO] [stdout] 443 + | (x & 0x0040_0000_0000_0000u64) >> 6 [INFO] [stdout] 444 + | (x & 0x0000_2000_0000_0000u64) >> 5 [INFO] [stdout] 445 + | (x & 0x0000_0010_0000_0000u64) >> 4 [INFO] [stdout] 446 + | (x & 0x0000_0000_0800_0000u64) >> 3 [INFO] [stdout] 447 + | (x & 0x0000_0000_0004_0000u64) >> 2 [INFO] [stdout] 448 + | (x & 0x0000_0000_0000_0200u64) >> 1 [INFO] [stdout] 449 + | (x & 0x0000_0000_0000_0001u64) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: slow zero-filling initialization [INFO] [stdout] --> src/lib.rs:479:26 [INFO] [stdout] | [INFO] [stdout] 479 | let mut counts = Vec::with_capacity(capacity); [INFO] [stdout] | __________________________^ [INFO] [stdout] 480 | | counts.resize(capacity, 0); [INFO] [stdout] | |__________________________________^ help: consider replacing this with: `vec![0; capacity]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/lib.rs:676:58 [INFO] [stdout] | [INFO] [stdout] 676 | let prev: &[[u64; 8]] = bytemuck::cast_slice(&src[..]); [INFO] [stdout] | ^^^^^^^^ help: use the original value instead: `src` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] = note: `#[warn(clippy::redundant_slicing)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/lib.rs:745:58 [INFO] [stdout] | [INFO] [stdout] 745 | let prev: &[[u64; 8]] = bytemuck::cast_slice(&src[..]); [INFO] [stdout] | ^^^^^^^^ help: use the original value instead: `src` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/lib.rs:764:36 [INFO] [stdout] | [INFO] [stdout] 764 | let zm = prev[ib - dz as usize]; [INFO] [stdout] | ^^^^^^^^^^^ help: try: `dz` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/lib.rs:775:36 [INFO] [stdout] | [INFO] [stdout] 775 | let zp = prev[ib + dz as usize]; [INFO] [stdout] | ^^^^^^^^^^^ help: try: `dz` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: slow zero-filling initialization [INFO] [stdout] --> src/lib.rs:805:26 [INFO] [stdout] | [INFO] [stdout] 805 | let mut counts = Vec::with_capacity(capacity); [INFO] [stdout] | __________________________^ [INFO] [stdout] 806 | | counts.resize(capacity, 0); [INFO] [stdout] | |__________________________________^ help: consider replacing this with: `vec![0; capacity]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: slow zero-filling initialization [INFO] [stdout] --> src/lib.rs:834:26 [INFO] [stdout] | [INFO] [stdout] 834 | let mut counts = Vec::with_capacity(capacity); [INFO] [stdout] | __________________________^ [INFO] [stdout] 835 | | counts.resize(capacity, 0); [INFO] [stdout] | |__________________________________^ help: consider replacing this with: `vec![0; capacity]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/avx2.rs:30:58 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn count_neighbors(size: UVec3, data: &[u64], default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is used to index `acc` [INFO] [stdout] --> src/lib.rs:887:22 [INFO] [stdout] | [INFO] [stdout] 887 | for i in 0..8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] = note: `#[warn(clippy::needless_range_loop)]` on by default [INFO] [stdout] help: consider using an iterator and enumerate() [INFO] [stdout] | [INFO] [stdout] 887 - for i in 0..8 { [INFO] [stdout] 887 + for (i, ) in acc.iter_mut().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> src/lib.rs:898:28 [INFO] [stdout] | [INFO] [stdout] 898 | counts[ic + 0] = (acc[i] & 0xFFu64) as u8; [INFO] [stdout] | ^^^^^^ help: consider reducing it to: `ic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] = note: `#[warn(clippy::identity_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: slow zero-filling initialization [INFO] [stdout] --> src/lib.rs:926:26 [INFO] [stdout] | [INFO] [stdout] 926 | let mut counts = Vec::with_capacity(capacity); [INFO] [stdout] | __________________________^ [INFO] [stdout] 927 | | counts.resize(capacity, 0); [INFO] [stdout] | |__________________________________^ help: consider replacing this with: `vec![0; capacity]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/lib.rs:934:25 [INFO] [stdout] | [INFO] [stdout] 934 | pos.y = j as i32; [INFO] [stdout] | ^^^^^^^^ help: try: `j` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/lib.rs:937:29 [INFO] [stdout] | [INFO] [stdout] 937 | pos.x = i as i32; [INFO] [stdout] | ^^^^^^^^ help: try: `i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc0` [INFO] [stdout] --> src/avx2.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | let acc0 = _mm256_adds_epu8(acc0, a_xp0); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_acc0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acc1` [INFO] [stdout] --> src/avx2.rs:142:17 [INFO] [stdout] | [INFO] [stdout] 142 | let acc1 = _mm256_adds_epu8(acc1, a_xp0); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_acc1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/lib.rs:473:51 [INFO] [stdout] | [INFO] [stdout] 473 | pub(crate) fn count_neighbors_popcnt_m(&self, default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xm` [INFO] [stdout] --> src/lib.rs:490:17 [INFO] [stdout] | [INFO] [stdout] 490 | let xm = if bpos.x > 0 { self.data[ib - 1] } else { 0u64 }; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xp` [INFO] [stdout] --> src/lib.rs:491:17 [INFO] [stdout] | [INFO] [stdout] 491 | let xp = if bpos.x + 1 < block_count.x { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_xp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ym` [INFO] [stdout] --> src/lib.rs:496:17 [INFO] [stdout] | [INFO] [stdout] 496 | let ym = if bpos.y > 0 { self.data[ib - dy] } else { 0u64 }; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ym` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yp` [INFO] [stdout] --> src/lib.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | let yp = if bpos.y + 1 < block_count.y { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_yp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zm` [INFO] [stdout] --> src/lib.rs:502:17 [INFO] [stdout] | [INFO] [stdout] 502 | let zm = if bpos.z > 0 { self.data[ib - dz] } else { 0u64 }; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `zp` [INFO] [stdout] --> src/lib.rs:503:17 [INFO] [stdout] | [INFO] [stdout] 503 | let zp = if bpos.z + 1 < block_count.z { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_zp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/lib.rs:799:54 [INFO] [stdout] | [INFO] [stdout] 799 | pub(crate) fn count_neighbors_separable_m(&self, default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `default` [INFO] [stdout] --> src/lib.rs:828:55 [INFO] [stdout] | [INFO] [stdout] 828 | pub(crate) fn count_neighbors_separable_vn(&self, default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_default` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/lib.rs:897:21 [INFO] [stdout] | [INFO] [stdout] 897 | for j in 0..8 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `count_neighbors_popcnt_m`, `count_neighbors_separable_vn`, `count_neighbors_ref`, and `count_neighbors_single` are never used [INFO] [stdout] --> src/lib.rs:473:19 [INFO] [stdout] | [INFO] [stdout] 276 | impl Grid3 { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 473 | pub(crate) fn count_neighbors_popcnt_m(&self, default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 828 | pub(crate) fn count_neighbors_separable_vn(&self, default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 924 | fn count_neighbors_ref(&self, default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 949 | fn count_neighbors_single(&self, pos: IVec3, default: bool) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_b2b_32` is never used [INFO] [stdout] --> src/avx2.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe fn expand_b2b_32( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `count_neighbors` is never used [INFO] [stdout] --> src/avx2.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | pub unsafe fn count_neighbors(size: UVec3, data: &[u64], default: bool) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: slow zero-filling initialization [INFO] [stdout] --> src/avx2.rs:32:22 [INFO] [stdout] | [INFO] [stdout] 32 | let mut counts = Vec::with_capacity(capacity); [INFO] [stdout] | ______________________^ [INFO] [stdout] 33 | | counts.resize(capacity, 0u8); [INFO] [stdout] | |________________________________^ help: consider replacing this with: `vec![0; capacity]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization [INFO] [stdout] = note: `#[warn(clippy::slow_vector_initialization)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting integer literal to `u64` is unnecessary [INFO] [stdout] --> src/lib.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let i1 = (1u64 as u64) << (index & 0x3F); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `1_u64` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] = note: `#[warn(clippy::unnecessary_cast)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: returning the result of a `let` binding from a block [INFO] [stdout] --> src/lib.rs:449:9 [INFO] [stdout] | [INFO] [stdout] 441 | / let y = (x & 0x8000_0000_0000_0000u64) >> 7 [INFO] [stdout] 442 | | | (x & 0x0040_0000_0000_0000u64) >> 6 [INFO] [stdout] 443 | | | (x & 0x0000_2000_0000_0000u64) >> 5 [INFO] [stdout] 444 | | | (x & 0x0000_0010_0000_0000u64) >> 4 [INFO] [stdout] ... | [INFO] [stdout] 447 | | | (x & 0x0000_0000_0000_0200u64) >> 1 [INFO] [stdout] 448 | | | (x & 0x0000_0000_0000_0001u64); [INFO] [stdout] | |_____________________________________________- unnecessary `let` binding [INFO] [stdout] 449 | y [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return [INFO] [stdout] = note: `#[warn(clippy::let_and_return)]` on by default [INFO] [stdout] help: return the expression directly [INFO] [stdout] | [INFO] [stdout] 441 ~ [INFO] [stdout] 442 ~ (x & 0x8000_0000_0000_0000u64) >> 7 [INFO] [stdout] 443 + | (x & 0x0040_0000_0000_0000u64) >> 6 [INFO] [stdout] 444 + | (x & 0x0000_2000_0000_0000u64) >> 5 [INFO] [stdout] 445 + | (x & 0x0000_0010_0000_0000u64) >> 4 [INFO] [stdout] 446 + | (x & 0x0000_0000_0800_0000u64) >> 3 [INFO] [stdout] 447 + | (x & 0x0000_0000_0004_0000u64) >> 2 [INFO] [stdout] 448 + | (x & 0x0000_0000_0000_0200u64) >> 1 [INFO] [stdout] 449 + | (x & 0x0000_0000_0000_0001u64) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: slow zero-filling initialization [INFO] [stdout] --> src/lib.rs:479:26 [INFO] [stdout] | [INFO] [stdout] 479 | let mut counts = Vec::with_capacity(capacity); [INFO] [stdout] | __________________________^ [INFO] [stdout] 480 | | counts.resize(capacity, 0); [INFO] [stdout] | |__________________________________^ help: consider replacing this with: `vec![0; capacity]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/lib.rs:676:58 [INFO] [stdout] | [INFO] [stdout] 676 | let prev: &[[u64; 8]] = bytemuck::cast_slice(&src[..]); [INFO] [stdout] | ^^^^^^^^ help: use the original value instead: `src` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] = note: `#[warn(clippy::redundant_slicing)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: redundant slicing of the whole range [INFO] [stdout] --> src/lib.rs:745:58 [INFO] [stdout] | [INFO] [stdout] 745 | let prev: &[[u64; 8]] = bytemuck::cast_slice(&src[..]); [INFO] [stdout] | ^^^^^^^^ help: use the original value instead: `src` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_slicing [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/lib.rs:764:36 [INFO] [stdout] | [INFO] [stdout] 764 | let zm = prev[ib - dz as usize]; [INFO] [stdout] | ^^^^^^^^^^^ help: try: `dz` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`usize` -> `usize`) [INFO] [stdout] --> src/lib.rs:775:36 [INFO] [stdout] | [INFO] [stdout] 775 | let zp = prev[ib + dz as usize]; [INFO] [stdout] | ^^^^^^^^^^^ help: try: `dz` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: slow zero-filling initialization [INFO] [stdout] --> src/lib.rs:805:26 [INFO] [stdout] | [INFO] [stdout] 805 | let mut counts = Vec::with_capacity(capacity); [INFO] [stdout] | __________________________^ [INFO] [stdout] 806 | | counts.resize(capacity, 0); [INFO] [stdout] | |__________________________________^ help: consider replacing this with: `vec![0; capacity]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: slow zero-filling initialization [INFO] [stdout] --> src/lib.rs:834:26 [INFO] [stdout] | [INFO] [stdout] 834 | let mut counts = Vec::with_capacity(capacity); [INFO] [stdout] | __________________________^ [INFO] [stdout] 835 | | counts.resize(capacity, 0); [INFO] [stdout] | |__________________________________^ help: consider replacing this with: `vec![0; capacity]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is used to index `acc` [INFO] [stdout] --> src/lib.rs:887:22 [INFO] [stdout] | [INFO] [stdout] 887 | for i in 0..8 { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] = note: `#[warn(clippy::needless_range_loop)]` on by default [INFO] [stdout] help: consider using an iterator and enumerate() [INFO] [stdout] | [INFO] [stdout] 887 - for i in 0..8 { [INFO] [stdout] 887 + for (i, ) in acc.iter_mut().enumerate() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> src/lib.rs:898:28 [INFO] [stdout] | [INFO] [stdout] 898 | counts[ic + 0] = (acc[i] & 0xFFu64) as u8; [INFO] [stdout] | ^^^^^^ help: consider reducing it to: `ic` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] = note: `#[warn(clippy::identity_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: slow zero-filling initialization [INFO] [stdout] --> src/lib.rs:926:26 [INFO] [stdout] | [INFO] [stdout] 926 | let mut counts = Vec::with_capacity(capacity); [INFO] [stdout] | __________________________^ [INFO] [stdout] 927 | | counts.resize(capacity, 0); [INFO] [stdout] | |__________________________________^ help: consider replacing this with: `vec![0; capacity]` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#slow_vector_initialization [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/lib.rs:934:25 [INFO] [stdout] | [INFO] [stdout] 934 | pos.y = j as i32; [INFO] [stdout] | ^^^^^^^^ help: try: `j` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/lib.rs:937:29 [INFO] [stdout] | [INFO] [stdout] 937 | pos.x = i as i32; [INFO] [stdout] | ^^^^^^^^ help: try: `i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is only used to index `counts` [INFO] [stdout] --> src/lib.rs:1073:22 [INFO] [stdout] | [INFO] [stdout] 1073 | for i in 22..512 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] help: consider using an iterator [INFO] [stdout] | [INFO] [stdout] 1073 - for i in 22..512 { [INFO] [stdout] 1073 + for in counts.iter().take(512).skip(22) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is only used to index `counts` [INFO] [stdout] --> src/lib.rs:1105:22 [INFO] [stdout] | [INFO] [stdout] 1105 | for i in 43..512 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] help: consider using an iterator [INFO] [stdout] | [INFO] [stdout] 1105 - for i in 43..512 { [INFO] [stdout] 1105 + for in counts.iter().take(512).skip(43) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is used to index `counts` [INFO] [stdout] --> src/lib.rs:1146:22 [INFO] [stdout] | [INFO] [stdout] 1146 | for i in 0..448 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] help: consider using an iterator and enumerate() [INFO] [stdout] | [INFO] [stdout] 1146 - for i in 0..448 { [INFO] [stdout] 1146 + for (i, ) in counts.iter().enumerate().take(448) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the loop variable `i` is only used to index `counts` [INFO] [stdout] --> src/lib.rs:1149:22 [INFO] [stdout] | [INFO] [stdout] 1149 | for i in 449..512 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_range_loop [INFO] [stdout] help: consider using an iterator [INFO] [stdout] | [INFO] [stdout] 1149 - for i in 449..512 { [INFO] [stdout] 1149 + for in counts.iter().take(512).skip(449) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:1219:24 [INFO] [stdout] | [INFO] [stdout] 1219 | if (x_border && y_border) || (y_border && z_border) || (z_border && x_border) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 1219 - if (x_border && y_border) || (y_border && z_border) || (z_border && x_border) { [INFO] [stdout] 1219 + if !(!y_border || !x_border && !z_border) || (z_border && x_border) { [INFO] [stdout] | [INFO] [stdout] 1219 - if (x_border && y_border) || (y_border && z_border) || (z_border && x_border) { [INFO] [stdout] 1219 + if (z_border || x_border) && y_border || (z_border && x_border) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/lib.rs:1215:54 [INFO] [stdout] | [INFO] [stdout] 1215 | let value = grid.cell(IVec3::new(i as i32, j as i32, k as i32)).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: try: `i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/lib.rs:1215:64 [INFO] [stdout] | [INFO] [stdout] 1215 | let value = grid.cell(IVec3::new(i as i32, j as i32, k as i32)).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: try: `j` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/lib.rs:1215:74 [INFO] [stdout] | [INFO] [stdout] 1215 | let value = grid.cell(IVec3::new(i as i32, j as i32, k as i32)).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: try: `k` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/lib.rs:1256:24 [INFO] [stdout] | [INFO] [stdout] 1256 | if (x_border && y_border) || (y_border && z_border) || (z_border && x_border) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 1256 - if (x_border && y_border) || (y_border && z_border) || (z_border && x_border) { [INFO] [stdout] 1256 + if !(!y_border || !x_border && !z_border) || (z_border && x_border) { [INFO] [stdout] | [INFO] [stdout] 1256 - if (x_border && y_border) || (y_border && z_border) || (z_border && x_border) { [INFO] [stdout] 1256 + if (z_border || x_border) && y_border || (z_border && x_border) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/lib.rs:1252:54 [INFO] [stdout] | [INFO] [stdout] 1252 | let value = grid.cell(IVec3::new(i as i32, j as i32, k as i32)).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: try: `i` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/lib.rs:1252:64 [INFO] [stdout] | [INFO] [stdout] 1252 | let value = grid.cell(IVec3::new(i as i32, j as i32, k as i32)).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: try: `j` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: casting to the same type is unnecessary (`i32` -> `i32`) [INFO] [stdout] --> src/lib.rs:1252:74 [INFO] [stdout] | [INFO] [stdout] 1252 | let value = grid.cell(IVec3::new(i as i32, j as i32, k as i32)).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: try: `k` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.94s [INFO] running `Command { std: "docker" "inspect" "33d6d0e717f618fd0c28efdc4711511ed16486cae83dea2b02adf8028fff3188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33d6d0e717f618fd0c28efdc4711511ed16486cae83dea2b02adf8028fff3188", kill_on_drop: false }` [INFO] [stdout] 33d6d0e717f618fd0c28efdc4711511ed16486cae83dea2b02adf8028fff3188