soroban-env-common 22.1.3

Soroban contract environment common types and functionality.
Documentation
Build #1610707 2025-01-06T22:32:34.778210+00:00
# rustc version
rustc 1.86.0-nightly (b3b368a18 2025-01-05)# docs.rs version
docsrs 0.6.0 (a9496dd3 2024-12-22)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/soroban-env-common-22.1.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/soroban-env-common-22.1.3/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20250105-1.86.0-nightly-b3b368a18\", \"--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] a1dd722a949b1959bf16f920d947f40c97b33dda7662c6c62c728d672cb7293b
[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" "a1dd722a949b1959bf16f920d947f40c97b33dda7662c6c62c728d672cb7293b", 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 v22.1.3 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `lo,hi`
[INFO] [stderr]    --> src/env.rs:324:1
[INFO] [stderr]     |
[INFO] [stderr] 324 | generate_call_macro_with_all_host_functions!("env.json");
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 406 | 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:13:46
[INFO] [stderr]    |
[INFO] [stderr] 13 | /// 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:9:70
[INFO] [stderr]   |
[INFO] [stderr] 9 | /// 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/env.rs:324:1
[INFO] [stderr]     |
[INFO] [stderr] 324 | generate_call_macro_with_all_host_functions!("env.json");
[INFO] [stderr]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]    ::: src/vmcaller_env.rs:158:1
[INFO] [stderr]     |
[INFO] [stderr] 158 | 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` profile [unoptimized + debuginfo] target(s) in 10.71s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/soroban_env_common/index.html
[INFO] running `Command { std: "docker" "inspect" "a1dd722a949b1959bf16f920d947f40c97b33dda7662c6c62c728d672cb7293b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a1dd722a949b1959bf16f920d947f40c97b33dda7662c6c62c728d672cb7293b", kill_on_drop: false }`
[INFO] [stdout] a1dd722a949b1959bf16f920d947f40c97b33dda7662c6c62c728d672cb7293b