borsh 1.0.0-alpha.4

Binary Object Representation Serializer for Hashing
Documentation
Build #903488 2023-09-04T11:37:29.453928+00:00
# rustc version
rustc 1.74.0-nightly (58e967a9c 2023-09-03)
# docs.rs version
docsrs 0.6.0 (d381c37c 2023-09-01)

# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/borsh-1.0.0-alpha.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/borsh-1.0.0-alpha.4/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:f5e78b491441a5b9644e276a59809eedfadf4ee1de96655588122b3a64cb522c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--features" "derive schema" "-Z" "unstable-options" "--config" "build.rustdocflags=[\"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20230903-1.74.0-nightly-58e967a9c\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--disable-per-crate-search\", \"--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] 7b70596fafcebb923c4603a86f90b2d31982c6da678497430c462d1fece1d3a2
[INFO] running `Command { std: "docker" "start" "-a" "7b70596fafcebb923c4603a86f90b2d31982c6da678497430c462d1fece1d3a2", kill_on_drop: false }`
[INFO] [stderr] warning: Target filter specified, but no targets matched. This is a no-op
[INFO] [stderr]  Documenting borsh v1.0.0-alpha.4 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `bytes::Bytes`
[INFO] [stderr]   --> src/lib.rs:41:15
[INFO] [stderr]    |
[INFO] [stderr] 41 |   for [Bytes](bytes::Bytes) and [BytesMut](bytes::BytesMut).
[INFO] [stderr]    |               ^^^^^^^^^^^^ no item named `bytes` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `bytes::BytesMut`
[INFO] [stderr]   --> src/lib.rs:41:44
[INFO] [stderr]    |
[INFO] [stderr] 41 |   for [Bytes](bytes::Bytes) and [BytesMut](bytes::BytesMut).
[INFO] [stderr]    |                                            ^^^^^^^^^^^^^^^ no item named `bytes` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: unresolved link to `bson::oid::ObjectId`
[INFO] [stderr]   --> src/lib.rs:44:18
[INFO] [stderr]    |
[INFO] [stderr] 44 |   for [ObjectId](bson::oid::ObjectId).
[INFO] [stderr]    |                  ^^^^^^^^^^^^^^^^^^^ no item named `bson` in scope
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:15:38
[INFO] [stderr]    |
[INFO] [stderr] 15 |   which are used in [BorshSerialize](crate::ser::BorshSerialize) and [BorshDeserialize](crate::de::BorshDeserialize)
[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] 15 |   which are used in [BorshSerialize] and [BorshDeserialize](crate::de::BorshDeserialize)
[INFO] [stderr]    |                     ~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:15:89
[INFO] [stderr]    |
[INFO] [stderr] 15 |   which are used in [BorshSerialize](crate::ser::BorshSerialize) and [BorshDeserialize](crate::de::BorshDeserialize)
[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] 15 |   which are used in [BorshSerialize](crate::ser::BorshSerialize) and [BorshDeserialize]
[INFO] [stderr]    |                                                                      ~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:26:43
[INFO] [stderr]    |
[INFO] [stderr] 26 |   Gates derive macros of [BorshSerialize](crate::ser::BorshSerialize) and
[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] 26 |   Gates derive macros of [BorshSerialize] and
[INFO] [stderr]    |                          ~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:27:22
[INFO] [stderr]    |
[INFO] [stderr] 27 |   [BorshDeserialize](crate::de::BorshDeserialize) traits.
[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] 27 |   [BorshDeserialize] traits.
[INFO] [stderr]    |   ~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:29:23
[INFO] [stderr]    |
[INFO] [stderr] 29 |   Gates [BorshSchema](crate::schema::BorshSchema) trait and its derive macro.
[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] 29 |   Gates [BorshSchema] trait and its derive macro.
[INFO] [stderr]    |         ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:30:18
[INFO] [stderr]    |
[INFO] [stderr] 30 |   Gates [schema](crate::schema) module.
[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] 30 |   Gates [schema] module.
[INFO] [stderr]    |         ~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:33:44
[INFO] [stderr]    |
[INFO] [stderr] 33 |   Gates implementation of [BorshSerialize](crate::ser::BorshSerialize) and [BorshDeserialize](crate::de::BorshDeserialize)
[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] 33 |   Gates implementation of [BorshSerialize] and [BorshDeserialize](crate::de::BorshDeserialize)
[INFO] [stderr]    |                           ~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:33:95
[INFO] [stderr]    |
[INFO] [stderr] 33 |   Gates implementation of [BorshSerialize](crate::ser::BorshSerialize) and [BorshDeserialize](crate::de::BorshDeserialize)
[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] 33 |   Gates implementation of [BorshSerialize](crate::ser::BorshSerialize) and [BorshDeserialize]
[INFO] [stderr]    |                                                                            ~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:40:44
[INFO] [stderr]    |
[INFO] [stderr] 40 |   Gates implementation of [BorshSerialize](crate::ser::BorshSerialize) and [BorshDeserialize](crate::de::BorshDeserialize)
[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] 40 |   Gates implementation of [BorshSerialize] and [BorshDeserialize](crate::de::BorshDeserialize)
[INFO] [stderr]    |                           ~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:40:95
[INFO] [stderr]    |
[INFO] [stderr] 40 |   Gates implementation of [BorshSerialize](crate::ser::BorshSerialize) and [BorshDeserialize](crate::de::BorshDeserialize)
[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] 40 |   Gates implementation of [BorshSerialize](crate::ser::BorshSerialize) and [BorshDeserialize]
[INFO] [stderr]    |                                                                            ~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:43:44
[INFO] [stderr]    |
[INFO] [stderr] 43 |   Gates implementation of [BorshSerialize](crate::ser::BorshSerialize) and [BorshDeserialize](crate::de::BorshDeserialize)
[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] 43 |   Gates implementation of [BorshSerialize] and [BorshDeserialize](crate::de::BorshDeserialize)
[INFO] [stderr]    |                           ~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:43:95
[INFO] [stderr]    |
[INFO] [stderr] 43 |   Gates implementation of [BorshSerialize](crate::ser::BorshSerialize) and [BorshDeserialize](crate::de::BorshDeserialize)
[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] 43 |   Gates implementation of [BorshSerialize](crate::ser::BorshSerialize) and [BorshDeserialize]
[INFO] [stderr]    |                                                                            ~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:49:67
[INFO] [stderr]    |
[INFO] [stderr] 49 |   are encountered in ascending order with respect to [PartialOrd](core::cmp::PartialOrd) for hash collections,
[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] 49 |   are encountered in ascending order with respect to [PartialOrd] for hash collections,
[INFO] [stderr]    |                                                      ~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:50:13
[INFO] [stderr]    |
[INFO] [stderr] 50 |   and [Ord](core::cmp::Ord) for btree ones. Deserialization emits error otherwise.
[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] 50 |   and [Ord] for btree ones. Deserialization emits error otherwise.
[INFO] [stderr]    |       ~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:58:44
[INFO] [stderr]    |
[INFO] [stderr] 58 |   Gates implementation of [BorshSerialize](crate::ser::BorshSerialize), [BorshDeserialize](crate::de::BorshDeserialize)
[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] 58 |   Gates implementation of [BorshSerialize], [BorshDeserialize](crate::de::BorshDeserialize)
[INFO] [stderr]    |                           ~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:58:92
[INFO] [stderr]    |
[INFO] [stderr] 58 |   Gates implementation of [BorshSerialize](crate::ser::BorshSerialize), [BorshDeserialize](crate::de::BorshDeserialize)
[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] 58 |   Gates implementation of [BorshSerialize](crate::ser::BorshSerialize), [BorshDeserialize]
[INFO] [stderr]    |                                                                         ~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:59:21
[INFO] [stderr]    |
[INFO] [stderr] 59 |   and [BorshSchema](crate::schema::BorshSchema)
[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] 59 |   and [BorshSchema]
[INFO] [stderr]    |       ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/de/mod.rs:479:43
[INFO] [stderr]     |
[INFO] [stderr] 479 |     //! Module defines [BorshDeserialize](crate::de::BorshDeserialize) implementation for  
[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] 479 |     //! Module defines [BorshDeserialize] implementation for  
[INFO] [stderr]     |                        ~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/schema.rs:336:38
[INFO] [stderr]     |
[INFO] [stderr] 336 |     //! Module defines [BorshSchema](crate::schema::BorshSchema) implementation for  
[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] 336 |     //! Module defines [BorshSchema] implementation for  
[INFO] [stderr]     |                        ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/ser/mod.rs:352:41
[INFO] [stderr]     |
[INFO] [stderr] 352 |     //! Module defines [BorshSerialize](crate::ser::BorshSerialize) implementation for  
[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] 352 |     //! Module defines [BorshSerialize] implementation for  
[INFO] [stderr]     |                        ~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `borsh` (lib doc) generated 23 warnings
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.50s
[INFO] running `Command { std: "docker" "inspect" "7b70596fafcebb923c4603a86f90b2d31982c6da678497430c462d1fece1d3a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b70596fafcebb923c4603a86f90b2d31982c6da678497430c462d1fece1d3a2", kill_on_drop: false }`
[INFO] [stdout] 7b70596fafcebb923c4603a86f90b2d31982c6da678497430c462d1fece1d3a2