buffer_util 0.1.0

A crate meant to expand and improve upon the ByteBuffer crate
Documentation
Build #1580113 2024-12-09 15:36:38
# rustc version
rustc 1.84.0-nightly (3fee0f12e 2024-11-20)# docs.rs version
docsrs 0.6.0 (29635694 2024-12-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/buffer_util-0.1.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/buffer_util-0.1.0/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-11-21" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241120-1.84.0-nightly-3fee0f12e\", \"--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] 14e243a4a17b5133ff6604cff4d26e39c463cba7079a0cd43a2f796fd5ca8656
[INFO] running `Command { std: "docker" "start" "-a" "14e243a4a17b5133ff6604cff4d26e39c463cba7079a0cd43a2f796fd5ca8656", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting buffer_util v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]   --> src/lib.rs:24:33
[INFO] [stderr]    |
[INFO] [stderr] 24 |         let next_write_pos = if (wpos + data.len() > self.0.get_wpos()) {
[INFO] [stderr]    |                                 ^                                     ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 24 -         let next_write_pos = if (wpos + data.len() > self.0.get_wpos()) {
[INFO] [stderr] 24 +         let next_write_pos = if wpos + data.len() > self.0.get_wpos() {
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: `buffer_util` (lib doc) generated 1 warning (run `cargo fix --lib -p buffer_util` to apply 1 suggestion)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/buffer_util/index.html
[INFO] running `Command { std: "docker" "inspect" "14e243a4a17b5133ff6604cff4d26e39c463cba7079a0cd43a2f796fd5ca8656", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14e243a4a17b5133ff6604cff4d26e39c463cba7079a0cd43a2f796fd5ca8656", kill_on_drop: false }`
[INFO] [stdout] 14e243a4a17b5133ff6604cff4d26e39c463cba7079a0cd43a2f796fd5ca8656