# rustc version rustc 1.98.0-nightly (096694416 2026-06-29)
# docs.rs version docsrs 0.0.0 (886bc7a22b1adc4b387ce1343447fe3af98d9ce5 2026-06-14 )
# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "b635454a097e899d67f27b54a94db3102adfaff05542c37ea4a93c470b1d3c6c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260629-1.98.0-nightly-096694416\", \"--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: 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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html> [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stderr] | [INFO] [stderr] 14 - static mut SIZE_CAP: AtomicUsize = AtomicUsize::new(512); [INFO] [stderr] 14 + static SIZE_CAP: AtomicUsize = AtomicUsize::new(512); [INFO] [stderr] | [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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html> [INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stderr] | [INFO] [stderr] 14 - static mut SIZE_CAP: AtomicUsize = AtomicUsize::new(512); [INFO] [stderr] 14 + static SIZE_CAP: AtomicUsize = AtomicUsize::new(512); [INFO] [stderr] | [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: 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] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html> [INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stderr] | [INFO] [stderr] 13 - static mut BUFFER: Option<BufferPool> = None; [INFO] [stderr] 13 + static BUFFER: Option<BufferPool> = None; [INFO] [stderr] | [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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html> [INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stderr] | [INFO] [stderr] 14 - static mut SIZE_CAP: AtomicUsize = AtomicUsize::new(512); [INFO] [stderr] 14 + static SIZE_CAP: AtomicUsize = AtomicUsize::new(512); [INFO] [stderr] | [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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html> [INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stderr] | [INFO] [stderr] 14 - static mut SIZE_CAP: AtomicUsize = AtomicUsize::new(512); [INFO] [stderr] 14 + static SIZE_CAP: AtomicUsize = AtomicUsize::new(512); [INFO] [stderr] | [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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html> [INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stderr] | [INFO] [stderr] 13 - static mut BUFFER: Option<BufferPool> = None; [INFO] [stderr] 13 + static BUFFER: Option<BufferPool> = None; [INFO] [stderr] | [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: 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] = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html> [INFO] [stderr] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable [INFO] [stderr] | [INFO] [stderr] 13 - static mut BUFFER: Option<BufferPool> = None; [INFO] [stderr] 13 + static BUFFER: Option<BufferPool> = None; [INFO] [stderr] | [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.81s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/byte_buffer/index.html [INFO] running `Command { std: "docker" "inspect" "b635454a097e899d67f27b54a94db3102adfaff05542c37ea4a93c470b1d3c6c", kill_on_drop: false }`