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.86.0-nightly (942db6782 2025-02-06)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/solana-program-2.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/solana-program-2.2.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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg=docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250206-1.86.0-nightly-942db6782\", \"--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] 017e12c1da06385f0d7468884e5a8032ee8de5694888a2ede843a4db8251e8a7
[INFO] running `Command { std: "docker" "start" "-a" "017e12c1da06385f0d7468884e5a8032ee8de5694888a2ede843a4db8251e8a7", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr] Documenting solana-program v2.2.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0603]: function `serialize_instructions` is private
[INFO] [stderr] --> src/sysvar.rs:22:41
[INFO] [stderr] |
[INFO] [stderr] 22 | pub use solana_instructions_sysvar::serialize_instructions;
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ private function
[INFO] [stderr] |
[INFO] [stderr] note: the function `serialize_instructions` is defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instructions-sysvar-2.2.0/src/lib.rs:99:1
[INFO] [stderr] |
[INFO] [stderr] 99 | fn serialize_instructions(instructions: &[BorrowedInstruction]) -> Vec<u8> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0603]: function `deserialize_instruction` is private
[INFO] [stderr] --> src/sysvar.rs:25:42
[INFO] [stderr] |
[INFO] [stderr] 25 | pub use solana_instructions_sysvar::{deserialize_instruction, load_instruction_at};
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ private function
[INFO] [stderr] |
[INFO] [stderr] note: the function `deserialize_instruction` is defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instructions-sysvar-2.2.0/src/lib.rs:170:1
[INFO] [stderr] |
[INFO] [stderr] 170 | fn deserialize_instruction(index: usize, data: &[u8]) -> Result<Instruction, SanitizeError> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] error[E0603]: function `load_instruction_at` is private
[INFO] [stderr] --> src/sysvar.rs:25:67
[INFO] [stderr] |
[INFO] [stderr] 25 | pub use solana_instructions_sysvar::{deserialize_instruction, load_instruction_at};
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ private function
[INFO] [stderr] |
[INFO] [stderr] note: the function `load_instruction_at` is defined here
[INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/solana-instructions-sysvar-2.2.0/src/lib.rs:222:1
[INFO] [stderr] |
[INFO] [stderr] 222 | fn load_instruction_at(index: usize, data: &[u8]) -> Result<Instruction, SanitizeError> {
[INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]
[INFO] [stderr] For more information about this error, try `rustc --explain E0603`.
[INFO] [stderr] error: could not document `solana-program`
[INFO] running `Command { std: "docker" "inspect" "017e12c1da06385f0d7468884e5a8032ee8de5694888a2ede843a4db8251e8a7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "017e12c1da06385f0d7468884e5a8032ee8de5694888a2ede843a4db8251e8a7", kill_on_drop: false }`
[INFO] [stdout] 017e12c1da06385f0d7468884e5a8032ee8de5694888a2ede843a4db8251e8a7