solana-program 1.18.12

Solana Program
Documentation
Build #1202134 2024-04-26T05:07:07.007495+00:00
# rustc version
rustc 1.79.0-nightly (3a36386dc 2024-04-25)# docs.rs version
docsrs 0.6.0 (bc86a4d3 2024-04-17)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/solana-program-1.18.12/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/solana-program-1.18.12/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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240425-1.79.0-nightly-3a36386dc\", \"--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] 941edc1ec3eb79a395ffd3dacba5eae7cc66c9188b6b82f42dd9bdb255ecc957
[INFO] running `Command { std: "docker" "start" "-a" "941edc1ec3eb79a395ffd3dacba5eae7cc66c9188b6b82f42dd9bdb255ecc957", 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.18.12 (/opt/rustwide/workdir)
[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: this compiler was built on 2024-04-25; consider upgrading it if it is out of date
[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: this compiler was built on 2024-04-25; consider upgrading it if it is out of date
[INFO] [stderr]     = note: found these custom classes: class=should_panic
[INFO] [stderr] 
[INFO] [stderr] warning: `solana-program` (lib doc) generated 3 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.45s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/solana_program/index.html
[INFO] running `Command { std: "docker" "inspect" "941edc1ec3eb79a395ffd3dacba5eae7cc66c9188b6b82f42dd9bdb255ecc957", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "941edc1ec3eb79a395ffd3dacba5eae7cc66c9188b6b82f42dd9bdb255ecc957", kill_on_drop: false }`
[INFO] [stdout] 941edc1ec3eb79a395ffd3dacba5eae7cc66c9188b6b82f42dd9bdb255ecc957