disk 0.1.21

(De)serialize files to/from disk
Documentation
Build #1865870 2025-03-14 09:39:38

Build failed. If you want to re-trigger a documentation build, you can do it here. You can find more information on docs.rs builds documentation on the builds page.

# rustc version rustc 1.87.0-nightly (cbfdf0b01 2025-03-13)

# docs.rs version docsrs 0.6.0 (004a02c4 2025-03-05)

# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/disk-0.1.21/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/disk-0.1.21/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" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustflags=[\"--cfg\", \"docsrs\"]" "-Zhost-config" "-Ztarget-applies-to-host" "--config" "host.rustflags=[\"--cfg\", \"docsrs\"]" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250313-1.87.0-nightly-cbfdf0b01\", \"--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] 9b535702a191a0cc6ebd65bd15be14c2e4098ad0a758f5e7031c7caea2a03c73 [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" "9b535702a191a0cc6ebd65bd15be14c2e4098ad0a758f5e7031c7caea2a03c73", kill_on_drop: false }` [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting disk v0.1.21 (/opt/rustwide/workdir) [INFO] [stderr] warning: lint `private_in_public` has been removed: replaced with another group of lints, see RFC <https://rust-lang.github.io/rfcs/2145-type-privacy.html> for more information [INFO] [stderr] --> src/lib.rs:277:2 [INFO] [stderr] | [INFO] [stderr] 277 | private_in_public, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0107]: missing generics for trait `bincode::Decode` [INFO] [stderr] --> src/bincode2.rs:52:57 [INFO] [stderr] | [INFO] [stderr] 52 | pub unsafe trait Bincode2: bincode2::Encode + bincode2::Decode { [INFO] [stderr] | ^^^^^^ expected 1 generic argument [INFO] [stderr] | [INFO] [stderr] note: trait defined here, with 1 generic parameter: `Context` [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/bincode-2.0.1/src/de/mod.rs:103:11 [INFO] [stderr] | [INFO] [stderr] 103 | pub trait Decode<Context>: Sized { [INFO] [stderr] | ^^^^^^ ------- [INFO] [stderr] help: add missing generic argument [INFO] [stderr] | [INFO] [stderr] 52 | pub unsafe trait Bincode2: bincode2::Encode + bincode2::Decode<Context> { [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0107`. [INFO] [stderr] warning: `disk` (lib doc) generated 1 warning [INFO] [stderr] error: could not document `disk` [INFO] running `Command { std: "docker" "inspect" "9b535702a191a0cc6ebd65bd15be14c2e4098ad0a758f5e7031c7caea2a03c73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b535702a191a0cc6ebd65bd15be14c2e4098ad0a758f5e7031c7caea2a03c73", kill_on_drop: false }` [INFO] [stdout] 9b535702a191a0cc6ebd65bd15be14c2e4098ad0a758f5e7031c7caea2a03c73