ic-utils 0.13.0

Collection of utilities for Rust, on top of ic-agent, to communicate with the Internet Computer, following the Public Specification.
Documentation
Build #521606 2022-03-08T01:28:56.312369+00:00
# rustc version
rustc 1.61.0-nightly (03918badd 2022-03-07)
# docs.rs version
docsrs 0.6.0 (5188c7e 2022-03-04)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/ic-utils-0.13.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/ic-utils-0.13.0/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" "3221225472" "--cpus" "3" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1ede1414886370302e694df474b9877c02906499f04c196936ce0973d30c5eaa" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20220307-1.61.0-nightly-03918badd\", \"--static-root-path\", \"/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\"]" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-j3" "--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] 5ebadd4055452145c62efe4eed2cc71535e253881aa933a22dcab477a1055dbe
[INFO] running `Command { std: "docker" "start" "-a" "5ebadd4055452145c62efe4eed2cc71535e253881aa933a22dcab477a1055dbe", kill_on_drop: false }`
[INFO] [stderr]  Documenting ic-utils v0.13.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `O`
[INFO] [stderr]   --> src/call.rs:41:5
[INFO] [stderr]    |
[INFO] [stderr] 41 | /     /// Execute the call, but returns the RequestId. Waiting on the request Id must be
[INFO] [stderr] 42 | |     /// managed by the caller using the Agent directly.
[INFO] [stderr] 43 | |     ///
[INFO] [stderr] 44 | |     /// Since the return type is encoded in the trait itself, this can lead to types
[INFO] [stderr] ...  |
[INFO] [stderr] 48 | |     /// Rust type system, but in this case it will be checked at runtime (as Request
[INFO] [stderr] 49 | |     /// Id does not have a type associated with it).
[INFO] [stderr]    | |____________________________________________________^
[INFO] [stderr]    |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]   --> src/lib.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr] 7  |     rustdoc::broken_intra_doc_links,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: the link appears in this line:
[INFO] [stderr]            
[INFO] [stderr]            that are not compatible to [O] when getting the result from the Request Id.
[INFO] [stderr]                                        ^
[INFO] [stderr]    = note: no item named `O` in scope
[INFO] [stderr]    = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `Argument` links to private item `ArgumentType`
[INFO] [stderr]    --> src/canister.rs:199:77
[INFO] [stderr]     |
[INFO] [stderr] 199 | /// A builder for a canister argument, allowing you to append elements to [`ArgumentType`] with chaining syntax.
[INFO] [stderr]     |                                                                             ^^^^^^^^^^^^ this item is private
[INFO] [stderr]     |
[INFO] [stderr] note: the lint level is defined here
[INFO] [stderr]    --> src/lib.rs:8:5
[INFO] [stderr]     |
[INFO] [stderr] 8   |     rustdoc::private_intra_doc_links
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `with_arg_raw`
[INFO] [stderr]    --> src/canister.rs:301:45
[INFO] [stderr]     |
[INFO] [stderr] 301 |     /// there is a raw argument set (using [with_arg_raw]), this will fail.
[INFO] [stderr]     |                                             ^^^^^^^^^^^^ no item named `with_arg_raw` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `with_arg_raw`
[INFO] [stderr]    --> src/canister.rs:314:45
[INFO] [stderr]     |
[INFO] [stderr] 314 |     /// there is a raw argument set (using [with_arg_raw]), this will fail.
[INFO] [stderr]     |                                             ^^^^^^^^^^^^ no item named `with_arg_raw` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `with_arg_raw`
[INFO] [stderr]    --> src/canister.rs:386:45
[INFO] [stderr]     |
[INFO] [stderr] 386 |     /// there is a raw argument set (using [with_arg_raw]), this will fail.
[INFO] [stderr]     |                                             ^^^^^^^^^^^^ no item named `with_arg_raw` in scope
[INFO] [stderr]     |
[INFO] [stderr]     = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `with_arg_raw`
[INFO] [stderr]   --> src/interfaces/wallet.rs:56:45
[INFO] [stderr]    |
[INFO] [stderr] 56 |     /// there is a raw argument set (using [with_arg_raw]), this will fail.
[INFO] [stderr]    |                                             ^^^^^^^^^^^^ no item named `with_arg_raw` in scope
[INFO] [stderr]    |
[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/canister.rs:315:44
[INFO] [stderr]     |
[INFO] [stderr] 315 |     /// TODO: make this method unnecessary https://github.com/dfinity/agent-rs/issues/132
[INFO] [stderr]     |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/dfinity/agent-rs/issues/132>`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr]     = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr] 
[INFO] [stderr] warning: `ic-utils` (lib doc) generated 7 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 4.39s
[INFO] running `Command { std: "docker" "inspect" "5ebadd4055452145c62efe4eed2cc71535e253881aa933a22dcab477a1055dbe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ebadd4055452145c62efe4eed2cc71535e253881aa933a22dcab477a1055dbe", kill_on_drop: false }`
[INFO] [stdout] 5ebadd4055452145c62efe4eed2cc71535e253881aa933a22dcab477a1055dbe