spl-token-2022 3.0.5

Solana Program Library Token 2022
Documentation
Build #1579985 2024-12-09T13:35:55.594222+00:00
# rustc version
rustc 1.84.0-nightly (3fee0f12e 2024-11-20)# docs.rs version
docsrs 0.6.0 (29635694 2024-12-09)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/spl-token-2022-3.0.5/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/spl-token-2022-3.0.5/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-11-21" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241120-1.84.0-nightly-3fee0f12e\", \"--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] 828a002a21a24e54b8fa881c0e9c4d7db6235d36c76701399cdaf15b00617fe3
[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" "828a002a21a24e54b8fa881c0e9c4d7db6235d36c76701399cdaf15b00617fe3", 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 v3.0.5 (/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`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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:1855:11
[INFO] [stderr]      |
[INFO] [stderr] 1855 | #[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`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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:1865:7
[INFO] [stderr]      |
[INFO] [stderr] 1865 | #[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`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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: `custom-heap`
[INFO] [stderr]   --> src/entrypoint.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | solana_program::entrypoint!(process_instruction);
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `confidential-hook`, `default`, `no-entrypoint`, `serde-traits`, `test-sbf`, `token-group`, and `zk-ops`
[INFO] [stderr]    = help: consider adding `custom-heap` as a feature in `Cargo.toml`
[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: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the macro `solana_program::entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `solana`
[INFO] [stderr]   --> src/entrypoint.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | solana_program::entrypoint!(process_instruction);
[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`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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: this warning originates in the macro `$crate::custom_heap_default` which comes from the expansion of the macro `solana_program::entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `custom-panic`
[INFO] [stderr]   --> src/entrypoint.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | solana_program::entrypoint!(process_instruction);
[INFO] [stderr]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: expected values for `feature` are: `confidential-hook`, `default`, `no-entrypoint`, `serde-traits`, `test-sbf`, `token-group`, and `zk-ops`
[INFO] [stderr]    = help: consider adding `custom-panic` as a feature in `Cargo.toml`
[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: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the macro `solana_program::entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `solana`
[INFO] [stderr]   --> src/entrypoint.rs:12:1
[INFO] [stderr]    |
[INFO] [stderr] 12 | solana_program::entrypoint!(process_instruction);
[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`, `nuttx`, `openbsd`, `psp`, `psx`, `redox`, `rtems`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, and `vita` and 6 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: this warning originates in the macro `$crate::custom_panic_default` which comes from the expansion of the macro `solana_program::entrypoint` (in Nightly builds, run with -Z macro-backtrace for more info)
[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:519:47
[INFO] [stderr]     |
[INFO] [stderr] 519 | /// 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 23 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.59s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/spl_token_2022/index.html
[INFO] running `Command { std: "docker" "inspect" "828a002a21a24e54b8fa881c0e9c4d7db6235d36c76701399cdaf15b00617fe3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "828a002a21a24e54b8fa881c0e9c4d7db6235d36c76701399cdaf15b00617fe3", kill_on_drop: false }`
[INFO] [stdout] 828a002a21a24e54b8fa881c0e9c4d7db6235d36c76701399cdaf15b00617fe3