arch_program 0.6.7

A Rust library for building programs that run inside the Arch Virtual Machine. Provides core functionality for creating instructions, managing accounts, handling program errors, and interacting with the Arch runtime environment. Includes utilities for logging, transaction handling, and Bitcoin UTXO management.
Documentation

Build #3851690 2026-07-14 13:06:08

# rustc version rustc 1.99.0-nightly (daf2e5e18 2026-07-13)

# docs.rs version docsrs 0.0.0 (964c90a45859fd8f9076e3cbe58470a5a4f4d4f7 2026-07-01 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "952c3b9ff531bb996868163783be883df354a344c471c35373593c1943a73254" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260713-1.99.0-nightly-daf2e5e18\", \"--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: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting arch_program v0.6.7 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `Pack` [INFO] [stderr] | [INFO] [stderr] = note: the link appears in this line: [INFO] [stderr] [INFO] [stderr] The [`Pack`] serialization trait. [INFO] [stderr] ^^^^^^ [INFO] [stderr] = note: no item named `Pack` in scope [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 `Rent::minimum_balance` [INFO] [stderr] --> src/rent.rs:14:57 [INFO] [stderr] | [INFO] [stderr] 14 | /// added to an accounts data length when calculating [`Rent::minimum_balance`]. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no item named `Rent` in scope [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::sysvar::stake_history` [INFO] [stderr] --> src/stake/history.rs:7:32 [INFO] [stderr] | [INFO] [stderr] 7 | //! [`sysvar::stake_history`]: crate::sysvar::stake_history [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `sysvar` in module `arch_program` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `u8;33` [INFO] [stderr] --> src/vote/validator_state.rs:7:76 [INFO] [stderr] | [INFO] [stderr] 7 | /// It would be better to have the bootnode pubkey and whitelist saved as [u8;33] instead of Vec<u8> [INFO] [stderr] | ^^^^^ no item named `u8;33` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] [INFO] [stderr] warning: unclosed HTML tag `u8` [INFO] [stderr] --> src/vote/validator_state.rs:7:97 [INFO] [stderr] | [INFO] [stderr] 7 | /// It would be better to have the bootnode pubkey and whitelist saved as [u8;33] instead of Vec<u8> [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] 7 | /// It would be better to have the bootnode pubkey and whitelist saved as [u8;33] instead of `Vec<u8>` [INFO] [stderr] | + + [INFO] [stderr] [INFO] [stderr] warning: Rust code block is empty [INFO] [stderr] --> src/log.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | / /// Print a message to the log. [INFO] [stderr] 57 | | /// [INFO] [stderr] 58 | | /// Supports simple strings as well as Rust [format strings][fs]. When passed a [INFO] [stderr] 59 | | /// single expression it will be passed directly to [`sol_log`]. The expression [INFO] [stderr] ... | [INFO] [stderr] 82 | | /// ``` [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = help: mark blocks that do not contain Rust code as text: ```text [INFO] [stderr] = note: `#[warn(rustdoc::invalid_rust_codeblocks)]` on by default [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`][COption::None]. [INFO] [stderr] 883 + /// Returns [`COption::None`]. [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `arch_program` (lib doc) generated 7 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.98s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/arch_program/index.html [INFO] running `Command { std: "docker" "inspect" "952c3b9ff531bb996868163783be883df354a344c471c35373593c1943a73254", kill_on_drop: false }`