solders-transaction 0.21.0

Solders transaction crate.
Documentation
Build #1686733 2025-01-29T11:42:16.236113+00:00
# rustc version
rustc 1.86.0-nightly (bf1b174e7 2025-01-28)# docs.rs version
docsrs 0.6.0 (29a0e81b 2025-01-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/solders-transaction-0.21.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/solders-transaction-0.21.0/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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250128-1.86.0-nightly-bf1b174e7\", \"--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] dce45478629bc504e5bc6095696e160b6528b050ed09dc9f7744f1aafdb019f0
[INFO] running `Command { std: "docker" "start" "-a" "dce45478629bc504e5bc6095696e160b6528b050ed09dc9f7744f1aafdb019f0", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting solders-transaction v0.21.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `1`
[INFO] [stderr]    --> src/lib.rs:177:1
[INFO] [stderr]     |
[INFO] [stderr] 177 | / /// An atomically-commited sequence of instructions.
[INFO] [stderr] 178 | | ///
[INFO] [stderr] 179 | | /// While :class:`~solders.instruction.Instruction`\s are the basic unit of computation in Solana,
[INFO] [stderr] 180 | | /// they are submitted by clients in :class:`~solders.transaction.Transaction`\s containing one or
[INFO] [stderr] ...   |
[INFO] [stderr] 216 | | ///     >>> tx = Transaction([payer], message, blockhash)
[INFO] [stderr] 217 | | ///
[INFO] [stderr]     | |___^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]                 >>> arbitrary_instruction_data = bytes([1])
[INFO] [stderr]                                                         ^
[INFO] [stderr]     = note: no item named `1` 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 `instruction`
[INFO] [stderr]    --> src/lib.rs:177:1
[INFO] [stderr]     |
[INFO] [stderr] 177 | / /// An atomically-commited sequence of instructions.
[INFO] [stderr] 178 | | ///
[INFO] [stderr] 179 | | /// While :class:`~solders.instruction.Instruction`\s are the basic unit of computation in Solana,
[INFO] [stderr] 180 | | /// they are submitted by clients in :class:`~solders.transaction.Transaction`\s containing one or
[INFO] [stderr] ...   |
[INFO] [stderr] 216 | | ///     >>> tx = Transaction([payer], message, blockhash)
[INFO] [stderr] 217 | | ///
[INFO] [stderr]     | |___^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]                 >>> message = Message([instruction], payer.pubkey())
[INFO] [stderr]                                        ^^^^^^^^^^^
[INFO] [stderr]     = note: no item named `instruction` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `payer`
[INFO] [stderr]    --> src/lib.rs:177:1
[INFO] [stderr]     |
[INFO] [stderr] 177 | / /// An atomically-commited sequence of instructions.
[INFO] [stderr] 178 | | ///
[INFO] [stderr] 179 | | /// While :class:`~solders.instruction.Instruction`\s are the basic unit of computation in Solana,
[INFO] [stderr] 180 | | /// they are submitted by clients in :class:`~solders.transaction.Transaction`\s containing one or
[INFO] [stderr] ...   |
[INFO] [stderr] 216 | | ///     >>> tx = Transaction([payer], message, blockhash)
[INFO] [stderr] 217 | | ///
[INFO] [stderr]     | |___^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]                 >>> tx = Transaction([payer], message, blockhash)
[INFO] [stderr]                                       ^^^^^
[INFO] [stderr]     = note: no item named `payer` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `1`
[INFO] [stderr]    --> src/lib.rs:259:5
[INFO] [stderr]     |
[INFO] [stderr] 259 | /     /// Create an unsigned transaction from a :class:`~solders.message.Message`.
[INFO] [stderr] 260 | |     ///
[INFO] [stderr] 261 | |     /// Args:
[INFO] [stderr] 262 | |     ///     message (Message): The transaction's message.
[INFO] [stderr] ...   |
[INFO] [stderr] 283 | |     ///     >>> tx.sign([payer], tx.message.recent_blockhash)
[INFO] [stderr] 284 | |     ///
[INFO] [stderr]     | |_______^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]                 >>> arbitrary_instruction_data = bytes([1])
[INFO] [stderr]                                                         ^
[INFO] [stderr]     = note: no item named `1` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `AccountMeta`
[INFO] [stderr]    --> src/lib.rs:259:5
[INFO] [stderr]     |
[INFO] [stderr] 259 | /     /// Create an unsigned transaction from a :class:`~solders.message.Message`.
[INFO] [stderr] 260 | |     ///
[INFO] [stderr] 261 | |     /// Args:
[INFO] [stderr] 262 | |     ///     message (Message): The transaction's message.
[INFO] [stderr] ...   |
[INFO] [stderr] 283 | |     ///     >>> tx.sign([payer], tx.message.recent_blockhash)
[INFO] [stderr] 284 | |     ///
[INFO] [stderr]     | |_______^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]                 >>> accounts: List[AccountMeta] = []
[INFO] [stderr]                                    ^^^^^^^^^^^
[INFO] [stderr]     = note: no item named `AccountMeta` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `instruction`
[INFO] [stderr]    --> src/lib.rs:259:5
[INFO] [stderr]     |
[INFO] [stderr] 259 | /     /// Create an unsigned transaction from a :class:`~solders.message.Message`.
[INFO] [stderr] 260 | |     ///
[INFO] [stderr] 261 | |     /// Args:
[INFO] [stderr] 262 | |     ///     message (Message): The transaction's message.
[INFO] [stderr] ...   |
[INFO] [stderr] 283 | |     ///     >>> tx.sign([payer], tx.message.recent_blockhash)
[INFO] [stderr] 284 | |     ///
[INFO] [stderr]     | |_______^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]                 >>> message = Message.new_with_blockhash([instruction], payer.pubkey(), blockhash)
[INFO] [stderr]                                                           ^^^^^^^^^^^
[INFO] [stderr]     = note: no item named `instruction` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `payer`
[INFO] [stderr]    --> src/lib.rs:259:5
[INFO] [stderr]     |
[INFO] [stderr] 259 | /     /// Create an unsigned transaction from a :class:`~solders.message.Message`.
[INFO] [stderr] 260 | |     ///
[INFO] [stderr] 261 | |     /// Args:
[INFO] [stderr] 262 | |     ///     message (Message): The transaction's message.
[INFO] [stderr] ...   |
[INFO] [stderr] 283 | |     ///     >>> tx.sign([payer], tx.message.recent_blockhash)
[INFO] [stderr] 284 | |     ///
[INFO] [stderr]     | |_______^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]                 >>> tx.sign([payer], tx.message.recent_blockhash)
[INFO] [stderr]                              ^^^^^
[INFO] [stderr]     = note: no item named `payer` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `1`
[INFO] [stderr]    --> src/lib.rs:290:5
[INFO] [stderr]     |
[INFO] [stderr] 290 | /     /// Create an unsigned transaction from a list of :class:`~solders.instruction.Instruction`\s.
[INFO] [stderr] 291 | |     ///
[INFO] [stderr] 292 | |     /// Args:
[INFO] [stderr] 293 | |     ///    instructions (Sequence[Instruction]): The instructions to include in the transaction message.
[INFO] [stderr] ...   |
[INFO] [stderr] 309 | |     ///     >>> tx = Transaction.new_with_payer([instruction], payer.pubkey())
[INFO] [stderr] 310 | |     ///
[INFO] [stderr]     | |_______^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]                 >>> arbitrary_instruction_data = bytes([1])
[INFO] [stderr]                                                         ^
[INFO] [stderr]     = note: no item named `1` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `instruction`
[INFO] [stderr]    --> src/lib.rs:290:5
[INFO] [stderr]     |
[INFO] [stderr] 290 | /     /// Create an unsigned transaction from a list of :class:`~solders.instruction.Instruction`\s.
[INFO] [stderr] 291 | |     ///
[INFO] [stderr] 292 | |     /// Args:
[INFO] [stderr] 293 | |     ///    instructions (Sequence[Instruction]): The instructions to include in the transaction message.
[INFO] [stderr] ...   |
[INFO] [stderr] 309 | |     ///     >>> tx = Transaction.new_with_payer([instruction], payer.pubkey())
[INFO] [stderr] 310 | |     ///
[INFO] [stderr]     | |_______^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]                 >>> tx = Transaction.new_with_payer([instruction], payer.pubkey())
[INFO] [stderr]                                                      ^^^^^^^^^^^
[INFO] [stderr]     = note: no item named `instruction` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `1`
[INFO] [stderr]    --> src/lib.rs:320:5
[INFO] [stderr]     |
[INFO] [stderr] 320 | /     /// Create a fully-signed transaction from a list of :class:`~solders.instruction.Instruction`\s.
[INFO] [stderr] 321 | |     ///
[INFO] [stderr] 322 | |     /// Args:
[INFO] [stderr] 323 | |     ///    instructions (Sequence[Instruction]): The instructions to include in the transaction message.
[INFO] [stderr] ...   |
[INFO] [stderr] 343 | |     ///     >>> tx = Transaction.new_signed_with_payer([instruction], payer.pubkey(), [payer], blockhash);
[INFO] [stderr] 344 | |     ///
[INFO] [stderr]     | |_______^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]                 >>> arbitrary_instruction_data = bytes([1])
[INFO] [stderr]                                                         ^
[INFO] [stderr]     = note: no item named `1` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `instruction`
[INFO] [stderr]    --> src/lib.rs:320:5
[INFO] [stderr]     |
[INFO] [stderr] 320 | /     /// Create a fully-signed transaction from a list of :class:`~solders.instruction.Instruction`\s.
[INFO] [stderr] 321 | |     ///
[INFO] [stderr] 322 | |     /// Args:
[INFO] [stderr] 323 | |     ///    instructions (Sequence[Instruction]): The instructions to include in the transaction message.
[INFO] [stderr] ...   |
[INFO] [stderr] 343 | |     ///     >>> tx = Transaction.new_signed_with_payer([instruction], payer.pubkey(), [payer], blockhash);
[INFO] [stderr] 344 | |     ///
[INFO] [stderr]     | |_______^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]                 >>> tx = Transaction.new_signed_with_payer([instruction], payer.pubkey(), [payer], blockhash);
[INFO] [stderr]                                                             ^^^^^^^^^^^
[INFO] [stderr]     = note: no item named `instruction` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `payer`
[INFO] [stderr]    --> src/lib.rs:320:5
[INFO] [stderr]     |
[INFO] [stderr] 320 | /     /// Create a fully-signed transaction from a list of :class:`~solders.instruction.Instruction`\s.
[INFO] [stderr] 321 | |     ///
[INFO] [stderr] 322 | |     /// Args:
[INFO] [stderr] 323 | |     ///    instructions (Sequence[Instruction]): The instructions to include in the transaction message.
[INFO] [stderr] ...   |
[INFO] [stderr] 343 | |     ///     >>> tx = Transaction.new_signed_with_payer([instruction], payer.pubkey(), [payer], blockhash);
[INFO] [stderr] 344 | |     ///
[INFO] [stderr]     | |_______^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]                 >>> tx = Transaction.new_signed_with_payer([instruction], payer.pubkey(), [payer], blockhash);
[INFO] [stderr]                                                                                            ^^^^^
[INFO] [stderr]     = note: no item named `payer` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `signatures`
[INFO] [stderr]    --> src/lib.rs:468:5
[INFO] [stderr]     |
[INFO] [stderr] 468 | /     /// Get the :class:`~solders.pubkey.Pubkey` of a signing account required by one of the
[INFO] [stderr] 469 | |     /// instructions in the transaction.
[INFO] [stderr] 470 | |     ///
[INFO] [stderr] 471 | |     /// The transaction does not need to be signed for this function to return a
[INFO] [stderr] ...   |
[INFO] [stderr] 488 | |     ///     Optional[Pubkey]: The account key.
[INFO] [stderr] 489 | |     ///
[INFO] [stderr]     | |_______^
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             transaction. Returns ``None`` if the [`signatures`] field does not contain
[INFO] [stderr]                                                   ^^^^^^^^^^^^
[INFO] [stderr]     = note: no item named `signatures` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]    --> src/lib.rs:651:5
[INFO] [stderr]     |
[INFO] [stderr] 651 |     /// See https://docs.rs/solana-sdk/latest/solana_sdk/transaction/fn.uses_durable_nonce.html
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]     = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] help: use an automatic link instead
[INFO] [stderr]     |
[INFO] [stderr] 651 |     </// See https://docs.rs/solana-sdk/latest/solana_sdk/transaction/fn.uses_durable_nonce.html>
[INFO] [stderr]     |     +                                                                                           +
[INFO] [stderr] 
[INFO] [stderr] warning: `solders-transaction` (lib doc) generated 14 warnings (run `cargo fix --lib -p solders-transaction` to apply 1 suggestion)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.05s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/solders_transaction/index.html
[INFO] running `Command { std: "docker" "inspect" "dce45478629bc504e5bc6095696e160b6528b050ed09dc9f7744f1aafdb019f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dce45478629bc504e5bc6095696e160b6528b050ed09dc9f7744f1aafdb019f0", kill_on_drop: false }`
[INFO] [stdout] dce45478629bc504e5bc6095696e160b6528b050ed09dc9f7744f1aafdb019f0