# rustc version rustc 1.76.0-nightly (dd430bc8c 2023-11-14)
# docs.rs version docsrs 0.6.0 (a7020daf 2023-11-09)
# build log [INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/solana-program-1.14.29/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/solana-program-1.14.29/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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20231114-1.76.0-nightly-dd430bc8c\", \"--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] 9cace76c0f9d0467653add3ac729a70f6365e36fd92602c9529454c3c5ed22fb [INFO] running `Command { std: "docker" "start" "-a" "9cace76c0f9d0467653add3ac729a70f6365e36fd92602c9529454c3c5ed22fb", kill_on_drop: false }` [INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op [INFO] [stderr] Documenting solana-program v1.14.29 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `msg` [INFO] [stderr] --> src/log.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | //! [`msg!`]: msg [INFO] [stderr] | ^^^ no item named `msg` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `msg` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `entrypoint` [INFO] [stderr] --> src/program.rs:22:55 [INFO] [stderr] | [INFO] [stderr] 22 | /// them from the runtime at the [program entrypoint][entrypoint!], any account [INFO] [stderr] | ^^^^^^^^^^^ no item named `entrypoint` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `entrypoint` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `custom_heap_default` [INFO] [stderr] --> src/entrypoint.rs:49:7 [INFO] [stderr] | [INFO] [stderr] 49 | /// [`custom_heap_default`] and [`custom_panic_default`] macros. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no item named `custom_heap_default` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `custom_heap_default` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `custom_panic_default` [INFO] [stderr] --> src/entrypoint.rs:49:35 [INFO] [stderr] | [INFO] [stderr] 49 | /// [`custom_heap_default`] and [`custom_panic_default`] macros. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no item named `custom_panic_default` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `custom_panic_default` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `custom_heap_default` [INFO] [stderr] --> src/entrypoint.rs:81:46 [INFO] [stderr] | [INFO] [stderr] 81 | /// allocator. See documentation for the [`custom_heap_default`] macro for [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no item named `custom_heap_default` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `custom_heap_default` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `custom_panic_default` [INFO] [stderr] --> src/entrypoint.rs:86:44 [INFO] [stderr] | [INFO] [stderr] 86 | /// handler. See documentation for the [`custom_panic_default`] macro for [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ no item named `custom_panic_default` in scope [INFO] [stderr] | [INFO] [stderr] = note: `macro_rules` named `custom_panic_default` exists in this crate, but it is not in scope at this link's location [INFO] [stderr] [INFO] [stderr] warning: redundant explicit link target [INFO] [stderr] --> src/program_option.rs:883:35 [INFO] [stderr] | [INFO] [stderr] 883 | /// Returns [`COption::None`][COption::None]. [INFO] [stderr] | --------------- ^^^^^^^^^^^^^ explicit target is redundant [INFO] [stderr] | | [INFO] [stderr] | because label contains path that resolves to same destination [INFO] [stderr] | [INFO] [stderr] = note: when a link's destination is not specified, [INFO] [stderr] the label is used to resolve intra-doc links [INFO] [stderr] = note: `#[warn(rustdoc::redundant_explicit_links)]` on by default [INFO] [stderr] help: remove explicit link target [INFO] [stderr] | [INFO] [stderr] 883 | /// Returns [`COption::None`]. [INFO] [stderr] | ~~~~~~~~~~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: custom classes in code blocks will change behaviour [INFO] [stderr] --> src/program_option.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | / /// Unwraps an option, yielding the content of a [`COption::Some`]. [INFO] [stderr] 158 | | /// [INFO] [stderr] 159 | | /// # Panics [INFO] [stderr] 160 | | /// [INFO] [stderr] ... | [INFO] [stderr] 176 | | /// x.expect("the world is ending"); // panics with `the world is ending` [INFO] [stderr] 177 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #79483 <https://github.com/rust-lang/rust/issues/79483> for more information [INFO] [stderr] = help: add `#![feature(custom_code_classes_in_docs)]` to the crate attributes to enable [INFO] [stderr] = note: found these custom classes: class=should_panic [INFO] [stderr] [INFO] [stderr] warning: custom classes in code blocks will change behaviour [INFO] [stderr] --> src/program_option.rs:186:5 [INFO] [stderr] | [INFO] [stderr] 186 | / /// Moves the value `v` out of the `COption<T>` if it is [`COption::Some(v)`]. [INFO] [stderr] 187 | | /// [INFO] [stderr] 188 | | /// In general, because this function may panic, its use is discouraged. [INFO] [stderr] 189 | | /// Instead, prefer to use pattern matching and handle the [`COption::None`] [INFO] [stderr] ... | [INFO] [stderr] 208 | | /// assert_eq!(x.unwrap(), "air"); // fails [INFO] [stderr] 209 | | /// ``` [INFO] [stderr] | |___________^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #79483 <https://github.com/rust-lang/rust/issues/79483> for more information [INFO] [stderr] = help: add `#![feature(custom_code_classes_in_docs)]` to the crate attributes to enable [INFO] [stderr] = note: found these custom classes: class=should_panic [INFO] [stderr] [INFO] [stderr] warning: `solana-program` (lib doc) generated 9 warnings [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.86s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/solana_program/index.html [INFO] running `Command { std: "docker" "inspect" "9cace76c0f9d0467653add3ac729a70f6365e36fd92602c9529454c3c5ed22fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cace76c0f9d0467653add3ac729a70f6365e36fd92602c9529454c3c5ed22fb", kill_on_drop: false }` [INFO] [stdout] 9cace76c0f9d0467653add3ac729a70f6365e36fd92602c9529454c3c5ed22fb