Build #1768037 2025-02-17 07:34:36
# rustc version
rustc 1.87.0-nightly (5bc623145 2025-02-16)# docs.rs version
docsrs 0.6.0 (35977596 2025-02-09)# 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: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\", \"-20250216-1.87.0-nightly-5bc623145\", \"--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] [stdout] 769081586f7d2aee15b5792500cdd11e8cec0665b22ad0b413b9c728f0878d88
[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" "769081586f7d2aee15b5792500cdd11e8cec0665b22ad0b413b9c728f0878d88", 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 is discouraged
[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 is discouraged
[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 is discouraged
[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 is discouraged
[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 is discouraged
[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 is discouraged
[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 is discouraged
[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.57s
[INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/byte_buffer/index.html
[INFO] running `Command { std: "docker" "inspect" "769081586f7d2aee15b5792500cdd11e8cec0665b22ad0b413b9c728f0878d88", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "769081586f7d2aee15b5792500cdd11e8cec0665b22ad0b413b9c728f0878d88", kill_on_drop: false }`
[INFO] [stdout] 769081586f7d2aee15b5792500cdd11e8cec0665b22ad0b413b9c728f0878d88