spl-token-2022 4.0.0

Solana Program Library Token 2022
Documentation
Build #1274038 2024-06-25T23:34:17.312453+00:00
# rustc version
rustc 1.81.0-nightly (6b0f4b5ec 2024-06-24)# docs.rs version
docsrs 0.6.0 (bb8cd489 2024-06-24)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/spl-token-2022-4.0.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/spl-token-2022-4.0.0/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240624-1.81.0-nightly-6b0f4b5ec\", \"--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] 2886402493c00cb4113e44b0c583402d3c18a1bdfef0871126555157075b75f6
[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" "2886402493c00cb4113e44b0c583402d3c18a1bdfef0871126555157075b75f6", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting spl-token-2022 v4.0.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition value: `solana`
[INFO] [stderr]   --> src/extension/confidential_transfer/mod.rs:39:11
[INFO] [stderr]    |
[INFO] [stderr] 39 | #[cfg(not(target_os = "solana"))]
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `solana`
[INFO] [stderr]   --> src/extension/confidential_transfer/mod.rs:43:11
[INFO] [stderr]    |
[INFO] [stderr] 43 | #[cfg(not(target_os = "solana"))]
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `solana`
[INFO] [stderr]  --> src/extension/confidential_transfer/instruction.rs:1:11
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[cfg(not(target_os = "solana"))]
[INFO] [stderr]   |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `solana`
[INFO] [stderr]   --> src/extension/confidential_transfer_fee/mod.rs:20:11
[INFO] [stderr]    |
[INFO] [stderr] 20 | #[cfg(not(target_os = "solana"))]
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `solana`
[INFO] [stderr]     --> src/processor.rs:1869:11
[INFO] [stderr]      |
[INFO] [stderr] 1869 | #[cfg(not(target_os = "solana"))]
[INFO] [stderr]      |           ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `solana`
[INFO] [stderr]     --> src/processor.rs:1879:7
[INFO] [stderr]      |
[INFO] [stderr] 1879 | #[cfg(target_os = "solana")]
[INFO] [stderr]      |       ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, `watchos`, and `windows` and 2 more
[INFO] [stderr]      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `ConfigureAccount`
[INFO] [stderr]   --> src/extension/confidential_transfer/verify_proof.rs:21:47
[INFO] [stderr]    |
[INFO] [stderr] 21 | /// Verify zero-knowledge proof needed for a [ConfigureAccount] instruction and
[INFO] [stderr]    |                                               ^^^^^^^^^^^^^^^^ no item named `ConfigureAccount` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `EmptyAccount`
[INFO] [stderr]   --> src/extension/confidential_transfer/verify_proof.rs:55:47
[INFO] [stderr]    |
[INFO] [stderr] 55 | /// Verify zero-knowledge proof needed for a [EmptyAccount] instruction and
[INFO] [stderr]    |                                               ^^^^^^^^^^^^ no item named `EmptyAccount` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Withdraw`
[INFO] [stderr]   --> src/extension/confidential_transfer/verify_proof.rs:89:47
[INFO] [stderr]    |
[INFO] [stderr] 89 | /// Verify zero-knowledge proof needed for a [Withdraw] instruction and return
[INFO] [stderr]    |                                               ^^^^^^^^ no item named `Withdraw` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Transfer`
[INFO] [stderr]    --> src/extension/confidential_transfer/verify_proof.rs:122:47
[INFO] [stderr]     |
[INFO] [stderr] 122 | /// Verify zero-knowledge proof needed for a [Transfer] instruction without fee
[INFO] [stderr]     |                                               ^^^^^^^^ no item named `Transfer` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Transfer`
[INFO] [stderr]    --> src/extension/confidential_transfer/verify_proof.rs:272:47
[INFO] [stderr]     |
[INFO] [stderr] 272 | /// Verify zero-knowledge proof needed for a [Transfer] instruction with fee and
[INFO] [stderr]     |                                               ^^^^^^^^ no item named `Transfer` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Transfer`
[INFO] [stderr]    --> src/extension/confidential_transfer/ciphertext_extraction.rs:192:56
[INFO] [stderr]     |
[INFO] [stderr] 192 | /// The proof context information needed to process a [Transfer] instruction.
[INFO] [stderr]     |                                                        ^^^^^^^^ no item named `Transfer` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Transfer`
[INFO] [stderr]    --> src/extension/confidential_transfer/ciphertext_extraction.rs:226:10
[INFO] [stderr]     |
[INFO] [stderr] 226 |     /// [Transfer] instruction from split proof contexts after verifying
[INFO] [stderr]     |          ^^^^^^^^ no item named `Transfer` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Transfer`
[INFO] [stderr]    --> src/extension/confidential_transfer/ciphertext_extraction.rs:350:56
[INFO] [stderr]     |
[INFO] [stderr] 350 | /// The proof context information needed to process a [Transfer] instruction
[INFO] [stderr]     |                                                        ^^^^^^^^ no item named `Transfer` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Transfer`
[INFO] [stderr]    --> src/extension/confidential_transfer/ciphertext_extraction.rs:396:10
[INFO] [stderr]     |
[INFO] [stderr] 396 |     /// [Transfer] instruction from split proof contexts after verifying
[INFO] [stderr]     |          ^^^^^^^^ no item named `Transfer` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Mint`
[INFO] [stderr]   --> src/pod.rs:22:6
[INFO] [stderr]    |
[INFO] [stderr] 22 | /// [Mint] data stored as a Pod type
[INFO] [stderr]    |      ^^^^ no item named `Mint` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Account`
[INFO] [stderr]   --> src/pod.rs:61:6
[INFO] [stderr]    |
[INFO] [stderr] 61 | /// [Account] data stored as a Pod type
[INFO] [stderr]    |      ^^^^^^^ no item named `Account` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Multisig`
[INFO] [stderr]    --> src/pod.rs:126:6
[INFO] [stderr]     |
[INFO] [stderr] 126 | /// [Multisig] data stored as a Pod type
[INFO] [stderr]     |      ^^^^^^^^ no item named `Multisig` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `T`
[INFO] [stderr]    --> src/pod.rs:159:12
[INFO] [stderr]     |
[INFO] [stderr] 159 | /// COption<T> stored as a Pod type
[INFO] [stderr]     |            ^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]     |
[INFO] [stderr] 159 | /// `COption<T>` stored as a Pod type
[INFO] [stderr]     |     +          +
[INFO] [stderr] 
[INFO] [stderr] warning: `spl-token-2022` (lib doc) generated 19 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.82s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/spl_token_2022/index.html
[INFO] running `Command { std: "docker" "inspect" "2886402493c00cb4113e44b0c583402d3c18a1bdfef0871126555157075b75f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2886402493c00cb4113e44b0c583402d3c18a1bdfef0871126555157075b75f6", kill_on_drop: false }`
[INFO] [stdout] 2886402493c00cb4113e44b0c583402d3c18a1bdfef0871126555157075b75f6