holochain_types 0.2.7

Holochain common types
Documentation
Build #1184689 2024-04-09T14:07:09.582352+00:00
# rustc version
rustc 1.79.0-nightly (ab5bda1aa 2024-04-08)
# docs.rs version
docsrs 0.6.0 (42f2c842 2024-04-05)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/holochain_types-0.2.7/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/holochain_types-0.2.7/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" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240408-1.79.0-nightly-ab5bda1aa\", \"--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] 7276af3c779b891c409ba51d96e09aecc8443b6d583fe2026653f6cd4d3a3457
[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" "7276af3c779b891c409ba51d96e09aecc8443b6d583fe2026653f6cd4d3a3457", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting holochain_types v0.2.7 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `ChcError::OutOfSync`
[INFO] [stderr]   --> src/chc.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 | /     /// Request that the CHC append these records to its chain.
[INFO] [stderr] 21 | |     ///
[INFO] [stderr] 22 | |     /// Whenever Holochain is about to commit something, this function will first be called.
[INFO] [stderr] 23 | |     /// The CHC will do some integrity checks, which may fail.
[INFO] [stderr] 24 | |     /// All signatures and hashes need to line up properly.
[INFO] [stderr] 25 | |     /// If the records added would result in a fork, then a [`ChcError::OutOfSync`] will be returned
[INFO] [stderr] 26 | |     /// along with the current
[INFO] [stderr]    | |______________________________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: the link appears in this line:
[INFO] [stderr]            
[INFO] [stderr]            If the records added would result in a fork, then a [`ChcError::OutOfSync`] will be returned
[INFO] [stderr]                                                                 ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    = note: the enum `ChcError` has no variant or associated item named `OutOfSync`
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/chain.rs:116:46
[INFO] [stderr]     |
[INFO] [stderr] 116 | /// - Stop at (including) the [`ActionHash`](holo_hash::ActionHash) in [`until`]. But not if this hash is not in the chain.
[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] 116 | /// - Stop at (including) the [`ActionHash`] in [`until`]. But not if this hash is not in the chain.
[INFO] [stderr]     |                               ~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: unclosed HTML tag `AddRecordPayload`
[INFO] [stderr]    --> src/chc.rs:265:14
[INFO] [stderr]     |
[INFO] [stderr] 265 |     /// - Vec<AddRecordPayload> must be sorted by `seq_number`
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(rustdoc::invalid_html_tags)]` on by default
[INFO] [stderr] help: try marking as source code
[INFO] [stderr]     |
[INFO] [stderr] 265 |     /// - `Vec<AddRecordPayload>` must be sorted by `seq_number`
[INFO] [stderr]     |           +                     +
[INFO] [stderr] 
[INFO] [stderr] warning: this URL is not a hyperlink
[INFO] [stderr]  --> src/wasmer_types.rs:4:46
[INFO] [stderr]   |
[INFO] [stderr] 4 | ...eprecated. Use https://github.com/holochain/holochain-wasmer/blob/develop/crates/host/src/module.rs#L135-L185 instead.
[INFO] [stderr]   |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use an automatic link instead: `<https://github.com/holochain/holochain-wasmer/blob/develop/crates/host/src/module.rs#L135-L185>`
[INFO] [stderr]   |
[INFO] [stderr]   = note: bare URLs are not automatically turned into clickable links
[INFO] [stderr]   = note: `#[warn(rustdoc::bare_urls)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/zome_types.rs:37:33
[INFO] [stderr]    |
[INFO] [stderr] 37 |     /// For example [`HashMap`](std::collections::HashMap) does not produce
[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] 37 |     /// For example [`HashMap`] does not produce
[INFO] [stderr]    |                     ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `holochain_types` (lib doc) generated 5 warnings (run `cargo fix --lib -p holochain_types` to apply 1 suggestion)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.30s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nalgebra v0.27.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/holochain_types/index.html
[INFO] running `Command { std: "docker" "inspect" "7276af3c779b891c409ba51d96e09aecc8443b6d583fe2026653f6cd4d3a3457", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7276af3c779b891c409ba51d96e09aecc8443b6d583fe2026653f6cd4d3a3457", kill_on_drop: false }`
[INFO] [stdout] 7276af3c779b891c409ba51d96e09aecc8443b6d583fe2026653f6cd4d3a3457