blkar 2.0.1

Enhanced implementation of SeqBox in Rust
Documentation
Build #6857542022-11-26T19:09:24.190929+00:00
# rustc version
rustc 1.67.0-nightly (b3bc6bf31 2022-11-24)# docs.rs version
docsrs 0.6.0 (d4bc110c 2022-11-25)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/blkar-2.0.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/blkar-2.0.1/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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:bb5b0feb4f87116a4ea905b7ff5bf5b85913db05e9f0fbc1abdd3168928d9075" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20221124-1.67.0-nightly-b3bc6bf31\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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\"" "-j3" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] fdaec2a11c00fa99798d4070e15798cc5239b1e4194e73e05ff148b5dbbe7490
[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" "fdaec2a11c00fa99798d4070e15798cc5239b1e4194e73e05ff148b5dbbe7490", kill_on_drop: false }`
[INFO] [stderr]  Documenting blkar v2.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]   --> src/file_utils.rs:74:9
[INFO] [stderr]    |
[INFO] [stderr] 74 |         ((size + (block_size - 1)) / block_size)
[INFO] [stderr]    |         ^                                      ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 74 -         ((size + (block_size - 1)) / block_size)
[INFO] [stderr] 74 +         (size + (block_size - 1)) / block_size
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]   --> src/file_utils.rs:85:9
[INFO] [stderr]    |
[INFO] [stderr] 85 |         ((size + (data_size - 1)) / data_size)
[INFO] [stderr]    |         ^                                    ^
[INFO] [stderr]    |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 85 -         ((size + (data_size - 1)) / data_size)
[INFO] [stderr] 85 +         (size + (data_size - 1)) / data_size
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]    --> src/sbx_block/mod.rs:209:9
[INFO] [stderr]     |
[INFO] [stderr] 209 |         (data_shards as u32 <= index_in_set)
[INFO] [stderr]     |         ^                                  ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 209 -         (data_shards as u32 <= index_in_set)
[INFO] [stderr] 209 +         data_shards as u32 <= index_in_set
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/misc_macros.rs:345:19
[INFO] [stderr]     |
[INFO] [stderr] 345 |           $($expr;)*;
[INFO] [stderr]     |                     ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/repair_core.rs:210:9
[INFO] [stderr]     |
[INFO] [stderr] 210 | /         print_if!(verbose => param, reporter =>
[INFO] [stderr] 211 | |                   "{}", repair_stats;);
[INFO] [stderr]     | |______________________________________- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr]     = note: this warning originates in the macro `pause_reporter` which comes from the expansion of the macro `print_if` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/misc_macros.rs:345:19
[INFO] [stderr]     |
[INFO] [stderr] 345 |           $($expr;)*;
[INFO] [stderr]     |                     ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/repair_core.rs:329:25
[INFO] [stderr]     |
[INFO] [stderr] 329 | /                         print_if!(verbose => param, reporter =>
[INFO] [stderr] 330 | |                                   "Replaced invalid metadata block at {} (0x{:X}) with reference block", p, p;);
[INFO] [stderr]     | |_______________________________________________________________________________________________________________- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `pause_reporter` which comes from the expansion of the macro `print_if` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/misc_macros.rs:345:19
[INFO] [stderr]     |
[INFO] [stderr] 345 |           $($expr;)*;
[INFO] [stderr]     |                     ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/check_core.rs:207:25
[INFO] [stderr]     |
[INFO] [stderr] 207 | /                         print_if!(verbose => param, reporter =>
[INFO] [stderr] 208 | |                                   "Block failed check, version : {}, block size : {}, at byte {} (0x{:X})",
[INFO] [stderr] 209 | |                                   ver_usize,
[INFO] [stderr] 210 | |                                   block_size,
[INFO] [stderr] 211 | |                                   block_pos,
[INFO] [stderr] 212 | |                                   block_pos;);
[INFO] [stderr]     | |_____________________________________________- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `pause_reporter` which comes from the expansion of the macro `print_if` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]    --> src/misc_macros.rs:345:19
[INFO] [stderr]     |
[INFO] [stderr] 345 |         $($expr;)*;
[INFO] [stderr]     |                   ^ help: remove this semicolon
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/check_core.rs:226:9
[INFO] [stderr]     |
[INFO] [stderr] 226 |         print_if!(verbose not_json => param, reporter, json_printer => "";);
[INFO] [stderr]     |         ------------------------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: this warning originates in the macro `pause_reporter` which comes from the expansion of the macro `print_if` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `blkar` (lib doc) generated 7 warnings (run `cargo fix --lib -p blkar` to apply 3 suggestions)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.31s
[INFO] running `Command { std: "docker" "inspect" "fdaec2a11c00fa99798d4070e15798cc5239b1e4194e73e05ff148b5dbbe7490", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fdaec2a11c00fa99798d4070e15798cc5239b1e4194e73e05ff148b5dbbe7490", kill_on_drop: false }`
[INFO] [stdout] fdaec2a11c00fa99798d4070e15798cc5239b1e4194e73e05ff148b5dbbe7490