holochain_types 0.2.7-rc.0

Holochain common types
Documentation
Build #1129848 2024-02-16T16:09:58.569841+00:00
# rustc version
rustc 1.78.0-nightly (a4472498d 2024-02-15)
# docs.rs version
docsrs 0.6.0 (a0c5cca6 2024-02-14)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/holochain_types-0.2.7-rc.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/holochain_types-0.2.7-rc.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" "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\", \"-20240215-1.78.0-nightly-a4472498d\", \"--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] 768bd086be703d8e39026b0dd3fb56afdff0fd6650325096b947d6f9065bb89a
[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" "768bd086be703d8e39026b0dd3fb56afdff0fd6650325096b947d6f9065bb89a", 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-rc.0 (/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 9.36s
[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" "768bd086be703d8e39026b0dd3fb56afdff0fd6650325096b947d6f9065bb89a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "768bd086be703d8e39026b0dd3fb56afdff0fd6650325096b947d6f9065bb89a", kill_on_drop: false }`
[INFO] [stdout] 768bd086be703d8e39026b0dd3fb56afdff0fd6650325096b947d6f9065bb89a