soroban-env-host 20.0.2

Soroban contract host environment.
Documentation
Build #1067236 2023-12-20T03:05:07.692730+00:00
# rustc version
rustc 1.76.0-nightly (f704f3b93 2023-12-19)# docs.rs version
docsrs 0.6.0 (7ef5327a 2023-12-17)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/soroban-env-host-20.0.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/soroban-env-host-20.0.2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20231219-1.76.0-nightly-f704f3b93\", \"--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] d5aa560a1492f6b04bbda536836e580fada606030571c9c0335da18c3eccc7d7
[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" "d5aa560a1492f6b04bbda536836e580fada606030571c9c0335da18c3eccc7d7", kill_on_drop: false }`
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]  Documenting soroban-env-host v20.0.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `CostType`
[INFO] [stderr]    --> src/budget.rs:663:68
[INFO] [stderr]     |
[INFO] [stderr] 663 |     /// Performs a bulk charge to the budget under the specified [`CostType`].
[INFO] [stderr]     |                                                                    ^^^^^^^^ no item named `CostType` 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 `CostType`
[INFO] [stderr]    --> src/budget.rs:666:11
[INFO] [stderr]     |
[INFO] [stderr] 666 |     /// [`CostType`] and `input`)
[INFO] [stderr]     |           ^^^^^^^^ no item named `CostType` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `CostModel`
[INFO] [stderr]    --> src/budget.rs:667:69
[INFO] [stderr]     |
[INFO] [stderr] 667 |     /// 2. The input passed in (Some/None) is consistent with the [`CostModel`]
[INFO] [stderr]     |                                                                     ^^^^^^^^^ no item named `CostModel` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `CostType`
[INFO] [stderr]    --> src/budget.rs:668:26
[INFO] [stderr]     |
[INFO] [stderr] 668 |     /// underneath the [`CostType`] (linear/constant).
[INFO] [stderr]     |                          ^^^^^^^^ no item named `CostType` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `CostType`
[INFO] [stderr]    --> src/budget.rs:680:50
[INFO] [stderr]     |
[INFO] [stderr] 680 |     /// Charges the budget under the specified [`CostType`]. The actual amount
[INFO] [stderr]     |                                                  ^^^^^^^^ no item named `CostType` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `CostModel`
[INFO] [stderr]    --> src/budget.rs:681:51
[INFO] [stderr]     |
[INFO] [stderr] 681 |     /// charged is determined by the underlying [`CostModel`] and may depend on
[INFO] [stderr]     |                                                   ^^^^^^^^^ no item named `CostModel` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `ContractID`
[INFO] [stderr]    --> src/host/conversion.rs:128:11
[INFO] [stderr]     |
[INFO] [stderr] 128 |     /// [`ContractID`] to produce a [`Key`], that can be used to access ledger [`Storage`].
[INFO] [stderr]     |           ^^^^^^^^^^ no item named `ContractID` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Key`
[INFO] [stderr]    --> src/host/conversion.rs:128:39
[INFO] [stderr]     |
[INFO] [stderr] 128 |     /// [`ContractID`] to produce a [`Key`], that can be used to access ledger [`Storage`].
[INFO] [stderr]     |                                       ^^^ no item named `Key` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Storage`
[INFO] [stderr]    --> src/host/conversion.rs:128:82
[INFO] [stderr]     |
[INFO] [stderr] 128 |     /// [`ContractID`] to produce a [`Key`], that can be used to access ledger [`Storage`].
[INFO] [stderr]     |                                                                                  ^^^^^^^ no item named `Storage` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `with_test_contract_frame` links to private item `Frame`
[INFO] [stderr]    --> src/host/frame.rs:580:34
[INFO] [stderr]     |
[INFO] [stderr] 580 |     /// Pushes a test contract [`Frame`], runs a closure, and then pops the
[INFO] [stderr]     |                                  ^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr]     = note: `#[warn(rustdoc::private_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Env::get_contract_data`
[INFO] [stderr]    --> src/host.rs:301:11
[INFO] [stderr]     |
[INFO] [stderr] 301 |     /// [`Env::get_contract_data`].
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^^^^^^^ no item named `Env` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `try_finish` links to private item `HostImpl`
[INFO] [stderr]    --> src/host.rs:540:22
[INFO] [stderr]     |
[INFO] [stderr] 540 |     /// underlying [`HostImpl`], returning its finalized components containing
[INFO] [stderr]     |                      ^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `ScVal`
[INFO] [stderr]  --> src/vm.rs:6:18
[INFO] [stderr]   |
[INFO] [stderr] 6 | //! in terms of [ScVal] and [Val] arguments.
[INFO] [stderr]   |                  ^^^^^ no item named `ScVal` in scope
[INFO] [stderr]   |
[INFO] [stderr]   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `wasmi::ImportResolver`
[INFO] [stderr]   --> src/vm.rs:49:37
[INFO] [stderr]    |
[INFO] [stderr] 49 | /// Specifically [Host] implements [wasmi::ImportResolver] by resolving all and
[INFO] [stderr]    |                                     ^^^^^^^^^^^^^^^^^^^^^ no item named `ImportResolver` in module `soroban_wasmi`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `2`
[INFO] [stderr]   --> src/cost_runner/runner.rs:30:30
[INFO] [stderr]    |
[INFO] [stderr] 30 |     /// (`Overhead_b` in eq.[2], see [`HostCostMeasurement`]).
[INFO] [stderr]    |                              ^ no item named `2` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `HostCostMeasurement`
[INFO] [stderr]   --> src/cost_runner/runner.rs:30:40
[INFO] [stderr]    |
[INFO] [stderr] 30 |     /// (`Overhead_b` in eq.[2], see [`HostCostMeasurement`]).
[INFO] [stderr]    |                                        ^^^^^^^^^^^^^^^^^^^ no item named `HostCostMeasurement` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `TryIntoVal`
[INFO] [stderr]    --> src/host/error.rs:529:54
[INFO] [stderr]     |
[INFO] [stderr] 529 | /// All arguments must be convertible to [Val] with [TryIntoVal]. This is
[INFO] [stderr]     |                                                      ^^^^^^^^^^ no item named `TryIntoVal` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `err` links to private item `Host::error`
[INFO] [stderr]    --> src/host/error.rs:532:10
[INFO] [stderr]     |
[INFO] [stderr] 532 | /// the [Host::error] function directly.
[INFO] [stderr]     |          ^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/storage.rs:2:24
[INFO] [stderr]   |
[INFO] [stderr] 2 | //! provide the [Host](crate::Host) with access to durable ledger entries.
[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] 2 | //! provide the [Host] with access to durable ledger entries.
[INFO] [stderr]   |                 ~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/storage.rs:4:37
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! For more details, see the [Env](crate::Env) data access functions:
[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] help: remove explicit link target
[INFO] [stderr]   |
[INFO] [stderr] 4 | //! For more details, see the [Env] data access functions:
[INFO] [stderr]   |                               ~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/storage.rs:5:34
[INFO] [stderr]   |
[INFO] [stderr] 5 | //!   - [Env::has_contract_data](crate::Env::has_contract_data)
[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] help: remove explicit link target
[INFO] [stderr]   |
[INFO] [stderr] 5 | //!   - [Env::has_contract_data]
[INFO] [stderr]   |         ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/storage.rs:6:34
[INFO] [stderr]   |
[INFO] [stderr] 6 | //!   - [Env::get_contract_data](crate::Env::get_contract_data)
[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] help: remove explicit link target
[INFO] [stderr]   |
[INFO] [stderr] 6 | //!   - [Env::get_contract_data]
[INFO] [stderr]   |         ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/storage.rs:7:34
[INFO] [stderr]   |
[INFO] [stderr] 7 | //!   - [Env::put_contract_data](crate::Env::put_contract_data)
[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] help: remove explicit link target
[INFO] [stderr]   |
[INFO] [stderr] 7 | //!   - [Env::put_contract_data]
[INFO] [stderr]   |         ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/storage.rs:8:34
[INFO] [stderr]   |
[INFO] [stderr] 8 | //!   - [Env::del_contract_data](crate::Env::del_contract_data)
[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] help: remove explicit link target
[INFO] [stderr]   |
[INFO] [stderr] 8 | //!   - [Env::del_contract_data]
[INFO] [stderr]   |         ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `soroban-env-host` (lib doc) generated 24 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 26.58s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/soroban_env_host/index.html
[INFO] running `Command { std: "docker" "inspect" "d5aa560a1492f6b04bbda536836e580fada606030571c9c0335da18c3eccc7d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d5aa560a1492f6b04bbda536836e580fada606030571c9c0335da18c3eccc7d7", kill_on_drop: false }`
[INFO] [stdout] d5aa560a1492f6b04bbda536836e580fada606030571c9c0335da18c3eccc7d7