soroban-env-common 20.2.1

Soroban contract environment common types and functionality.
Documentation
Build #1116310 2024-02-06T00:08:39.317421+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-common-20.2.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/soroban-env-common-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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 966dcebbcc090ca6a5a4cfe144faa8669a4b735604be15c81593f5af3e4891a9
[INFO] running `Command { std: "docker" "start" "-a" "966dcebbcc090ca6a5a4cfe144faa8669a4b735604be15c81593f5af3e4891a9", kill_on_drop: false }`
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]  Documenting soroban-env-common v20.2.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `lo,hi`
[INFO] [stderr]    --> src/env.rs:336:11
[INFO] [stderr]     |
[INFO] [stderr] 336 |         $(#[$attr])*
[INFO] [stderr]     |           ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 398 | call_macro_with_all_host_functions! { generate_env_trait }
[INFO] [stderr]     | ---------------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             Return a u64 uniformly sampled from the inclusive range [lo,hi] by the frame-local PRNG.
[INFO] [stderr]                                                                      ^^^^^
[INFO] [stderr]     = note: no item named `lo,hi` 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]     = note: this warning originates in the macro `host_function_helper` which comes from the expansion of the macro `call_macro_with_all_host_functions` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Tag::Error`
[INFO] [stderr]   --> src/error.rs:14:46
[INFO] [stderr]    |
[INFO] [stderr] 14 | /// Wrapper for a [Val] that is tagged with [Tag::Error], interpreting the
[INFO] [stderr]    |                                              ^^^^^^^^^^ no item named `Tag` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `Val`
[INFO] [stderr]  --> src/storage_type.rs:8:70
[INFO] [stderr]   |
[INFO] [stderr] 8 | /// an argument to storage functions. It doesn't correspond to any [`Val`] types,
[INFO] [stderr]   |                                                                      ^^^ no item named `Val` in scope
[INFO] [stderr]   |
[INFO] [stderr]   = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `lo,hi`
[INFO] [stderr]    --> src/vmcaller_env.rs:86:11
[INFO] [stderr]     |
[INFO] [stderr] 86  |         $(#[$attr])*
[INFO] [stderr]     |           ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 157 | call_macro_with_all_host_functions! { generate_vmcaller_checked_env_trait }
[INFO] [stderr]     | --------------------------------------------------------------------------- in this macro invocation
[INFO] [stderr]     |
[INFO] [stderr]     = note: the link appears in this line:
[INFO] [stderr]             
[INFO] [stderr]             Return a u64 uniformly sampled from the inclusive range [lo,hi] by the frame-local PRNG.
[INFO] [stderr]                                                                      ^^^^^
[INFO] [stderr]     = note: no item named `lo,hi` in scope
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr]     = note: this warning originates in the macro `host_function_helper` which comes from the expansion of the macro `call_macro_with_all_host_functions` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `soroban-env-common` (lib doc) generated 4 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 10.22s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/soroban_env_common/index.html
[INFO] running `Command { std: "docker" "inspect" "966dcebbcc090ca6a5a4cfe144faa8669a4b735604be15c81593f5af3e4891a9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "966dcebbcc090ca6a5a4cfe144faa8669a4b735604be15c81593f5af3e4891a9", kill_on_drop: false }`
[INFO] [stdout] 966dcebbcc090ca6a5a4cfe144faa8669a4b735604be15c81593f5af3e4891a9