soroban-env-host 20.2.1

Soroban contract host environment.
Documentation
Build #1116312 2024-02-06T00:10:21.274754+00:00
# rustc version
rustc 1.78.0-nightly (b11fbfbf3 2024-02-03)# docs.rs version
docsrs 0.6.0 (7667f348 2024-01-17)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/soroban-env-host-20.2.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/soroban-env-host-20.2.1/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\", \"-20240203-1.78.0-nightly-b11fbfbf3\", \"--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] 8d79ccb96c699a0a7fc97d42c94bbc23f6d78a91afc333332b4f982edd38d7e3
[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" "8d79ccb96c699a0a7fc97d42c94bbc23f6d78a91afc333332b4f982edd38d7e3", 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.2.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `CostType`
[INFO] [stderr]    --> src/budget.rs:713:68
[INFO] [stderr]     |
[INFO] [stderr] 713 |     /// 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:716:11
[INFO] [stderr]     |
[INFO] [stderr] 716 |     /// [`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:717:69
[INFO] [stderr]     |
[INFO] [stderr] 717 |     /// 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:718:26
[INFO] [stderr]     |
[INFO] [stderr] 718 |     /// 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:730:50
[INFO] [stderr]     |
[INFO] [stderr] 730 |     /// 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:731:51
[INFO] [stderr]     |
[INFO] [stderr] 731 |     /// 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: public documentation for `with_test_contract_frame` links to private item `Frame`
[INFO] [stderr]    --> src/host/frame.rs:595:34
[INFO] [stderr]     |
[INFO] [stderr] 595 |     /// 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:325:11
[INFO] [stderr]     |
[INFO] [stderr] 325 |     /// [`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:582:22
[INFO] [stderr]     |
[INFO] [stderr] 582 |     /// 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:51:37
[INFO] [stderr]    |
[INFO] [stderr] 51 | /// 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:538:54
[INFO] [stderr]     |
[INFO] [stderr] 538 | /// 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:541:10
[INFO] [stderr]     |
[INFO] [stderr] 541 | /// 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 21 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 24.74s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/soroban_env_host/index.html
[INFO] running `Command { std: "docker" "inspect" "8d79ccb96c699a0a7fc97d42c94bbc23f6d78a91afc333332b4f982edd38d7e3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d79ccb96c699a0a7fc97d42c94bbc23f6d78a91afc333332b4f982edd38d7e3", kill_on_drop: false }`
[INFO] [stdout] 8d79ccb96c699a0a7fc97d42c94bbc23f6d78a91afc333332b4f982edd38d7e3