Build #2185055 2025-06-02 07:16:42
# rustc version
rustc 1.89.0-nightly (99e7c15e8 2025-06-01)# docs.rs version
docsrs 0.6.0 (d2911047 2025-05-28)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/byte_buffer-0.1.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/byte_buffer-0.1.3/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250601-1.89.0-nightly-99e7c15e8\", \"--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" "--config" "build.rustdocflags=[\"-Zmetrics-dir=/opt/rustwide/target/metrics\"]", 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] 8b1cf83109fa431c8dc6e231ce2096c731b6f26c376594a4f44e62c109494404
[INFO] running `Command { std: "docker" "start" "-a" "8b1cf83109fa431c8dc6e231ce2096c731b6f26c376594a4f44e62c109494404", kill_on_drop: false }`
[INFO] [stderr] warning: use of deprecated function `std::sync::atomic::spin_loop_hint`: use hint::spin_loop instead
[INFO] [stderr] --> src/lock.rs:34:17
[INFO] [stderr] |
[INFO] [stderr] 34 | atomic::spin_loop_hint()
[INFO] [stderr] | ^^^^^^^^^^^^^^
[INFO] [stderr] |
[INFO] [stderr] = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr] --> src/buffer.rs:46:30
[INFO] [stderr] |
[INFO] [stderr] 46 | if store.len() > SIZE_CAP.load(Ordering::SeqCst) {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default
[INFO] [stderr]
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr] --> src/buffer.rs:47:17
[INFO] [stderr] |
[INFO] [stderr] 47 | SIZE_CAP.store(store.len(), Ordering::SeqCst);
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr] --> src/buffer.rs:50:13
[INFO] [stderr] |
[INFO] [stderr] 50 | / BUFFER.replace(BufferPool {
[INFO] [stderr] 51 | | store,
[INFO] [stderr] 52 | | // pool,
[INFO] [stderr] 53 | | slice_capacity,
[INFO] [stderr] ... |
[INFO] [stderr] 57 | | visitors: AtomicUsize::new(0),
[INFO] [stderr] 58 | | });
[INFO] [stderr] | |______________^ mutable reference to mutable static
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr] --> src/buffer.rs:124:51
[INFO] [stderr] |
[INFO] [stderr] 124 | if buf.store.len() < unsafe { SIZE_CAP.load(Ordering::SeqCst) } {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr] --> src/buffer.rs:192:13
[INFO] [stderr] |
[INFO] [stderr] 192 | SIZE_CAP.store(limit, Ordering::SeqCst);
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr] --> src/buffer.rs:281:14
[INFO] [stderr] |
[INFO] [stderr] 281 | unsafe { BUFFER.as_ref() }
[INFO] [stderr] | ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stderr]
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr] --> src/buffer.rs:286:14
[INFO] [stderr] |
[INFO] [stderr] 286 | unsafe { BUFFER.as_mut() }
[INFO] [stderr] | ^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr] |
[INFO] [stderr] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]
[INFO] [stderr] warning: `byte_buffer` (lib) generated 8 warnings
[INFO] [stderr] Scraping byte_buffer v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr] Documenting byte_buffer v0.1.3 (/opt/rustwide/workdir)
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s
[INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/byte_buffer/index.html
[INFO] running `Command { std: "docker" "inspect" "8b1cf83109fa431c8dc6e231ce2096c731b6f26c376594a4f44e62c109494404", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b1cf83109fa431c8dc6e231ce2096c731b6f26c376594a4f44e62c109494404", kill_on_drop: false }`
[INFO] [stdout] 8b1cf83109fa431c8dc6e231ce2096c731b6f26c376594a4f44e62c109494404