shiftnanigans 0.3.5

This library contains different iteration data structures for either iterating or for shifting iteratively forward and backward.
Documentation

Build #1793803 2025-02-22 18:20:07

# rustc version rustc 1.87.0-nightly (794c12416 2025-02-21)

# docs.rs version docsrs 0.6.0 (35977596 2025-02-09)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/shiftnanigans-0.3.5/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/shiftnanigans-0.3.5/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250221-1.87.0-nightly-794c12416\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 4fd3f016fc7a0b9966dbffd24b065379796f61320b40b1eac1f948a1d0cf39d7 [INFO] running `Command { std: "docker" "start" "-a" "4fd3f016fc7a0b9966dbffd24b065379796f61320b40b1eac1f948a1d0cf39d7", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: jumpy [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting shiftnanigans v0.3.5 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/pixel_board/pixel_board_randomizer.rs:957:75 [INFO] [stderr] | [INFO] [stderr] 957 | ... let rightmost_cell_group_location_x = (rightmost_x - cell_group_width); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 957 - let rightmost_cell_group_location_x = (rightmost_x - cell_group_width); [INFO] [stderr] 957 + let rightmost_cell_group_location_x = rightmost_x - cell_group_width; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/pixel_board/pixel_board_randomizer.rs:958:76 [INFO] [stderr] | [INFO] [stderr] 958 | ... let bottommost_cell_group_location_y = (bottommost_y - cell_group_height); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 958 - let bottommost_cell_group_location_y = (bottommost_y - cell_group_height); [INFO] [stderr] 958 + let bottommost_cell_group_location_y = bottommost_y - cell_group_height; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/pixel_board/pixel_board_randomizer.rs:1675:83 [INFO] [stderr] | [INFO] [stderr] 1675 | ... let original_pixel_board_index_x: usize = (cell.0 as usize + pixel_board_coordinate.0); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1675 - let original_pixel_board_index_x: usize = (cell.0 as usize + pixel_board_coordinate.0); [INFO] [stderr] 1675 + let original_pixel_board_index_x: usize = cell.0 as usize + pixel_board_coordinate.0; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/pixel_board/pixel_board_randomizer.rs:1676:83 [INFO] [stderr] | [INFO] [stderr] 1676 | ... let original_pixel_board_index_y: usize = (cell.1 as usize + pixel_board_coordinate.1); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1676 - let original_pixel_board_index_y: usize = (cell.1 as usize + pixel_board_coordinate.1); [INFO] [stderr] 1676 + let original_pixel_board_index_y: usize = cell.1 as usize + pixel_board_coordinate.1; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `shiftnanigans` (lib doc) generated 4 warnings (run `cargo fix --lib -p shiftnanigans` to apply 4 suggestions) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.65s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/shiftnanigans/index.html [INFO] running `Command { std: "docker" "inspect" "4fd3f016fc7a0b9966dbffd24b065379796f61320b40b1eac1f948a1d0cf39d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd3f016fc7a0b9966dbffd24b065379796f61320b40b1eac1f948a1d0cf39d7", kill_on_drop: false }` [INFO] [stdout] 4fd3f016fc7a0b9966dbffd24b065379796f61320b40b1eac1f948a1d0cf39d7