binread 2.2.0

A Rust crate for helping read structs from binary data using ✨macro magic✨
Documentation
Build #1543744 2024-11-16T02:16:04.336285+00:00
# rustc version
rustc 1.84.0-nightly (917a50a03 2024-11-15)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/binread-2.2.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/binread-2.2.0/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20241115-1.84.0-nightly-917a50a03\", \"--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}/i686-pc-windows-msvc\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-pc-windows-msvc", kill_on_drop: false }`
[INFO] [stdout] eb077bf0cbc3f8d67100824e5701e280c99cc2756ee6cc3a05ac442db73f7463
[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" "eb077bf0cbc3f8d67100824e5701e280c99cc2756ee6cc3a05ac442db73f7463", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting binread v2.2.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:28:49
[INFO] [stderr]    |
[INFO] [stderr] 28 | //! At the core of `binread` is the [`BinRead`](BinRead) trait. It defines how to read
[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] 28 | //! At the core of `binread` is the [`BinRead`] trait. It defines how to read
[INFO] [stderr]    |                                     ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:42:91
[INFO] [stderr]    |
[INFO] [stderr] 42 | //! So, as a balance between ergonomics and configurability you have the [`BinReaderExt`](BinReaderExt)
[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] 42 | //! So, as a balance between ergonomics and configurability you have the [`BinReaderExt`]
[INFO] [stderr]    |                                                                          ~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:60:27
[INFO] [stderr]    |
[INFO] [stderr] 60 | //! implement [`BinRead`](BinRead) for your own types. This allows you to replace repetitive
[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] 60 | //! implement [`BinRead`] for your own types. This allows you to replace repetitive
[INFO] [stderr]    |               ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/lib.rs:96:52
[INFO] [stderr]    |
[INFO] [stderr] 96 | //! For a list of attributes see the [`attribute`](attribute) 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] 96 | //! For a list of attributes see the [`attribute`] module
[INFO] [stderr]    |                                      ~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]   --> src/attribute.rs:40:61
[INFO] [stderr]    |
[INFO] [stderr] 40 | //! | [`try`](#try) | field | Reads data into an [`Option`](core::option::Option), but stores `None` if parsing fails instead of returnin...
[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 | //! | [`try`](#try) | field | Reads data into an [`Option`], but stores `None` if parsing fails instead of returning an error.
[INFO] [stderr]    |                                                  ~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/attribute.rs:326:24
[INFO] [stderr]     |
[INFO] [stderr] 326 | //! to its [`Default`](core::default::Default) instead of reading data from the
[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] 326 | //! to its [`Default`] instead of reading data from the
[INFO] [stderr]     |            ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/file_ptr.rs:132:34
[INFO] [stderr]     |
[INFO] [stderr] 132 |     /// that reads a [`FilePtr`](FilePtr) then immediately dereferences it into an owned value
[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] 132 |     /// that reads a [`FilePtr`] then immediately dereferences it into an owned value
[INFO] [stderr]     |                      ~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/file_ptr.rs:155:85
[INFO] [stderr]     |
[INFO] [stderr] 155 | /// Used to allow any convert any type castable to i64 into a [`SeekFrom::Current`](io::SeekFrom::Current)
[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] 155 | /// Used to allow any convert any type castable to i64 into a [`SeekFrom::Current`]
[INFO] [stderr]     |                                                               ~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]  --> src/io/mod.rs:1:38
[INFO] [stderr]   |
[INFO] [stderr] 1 | //! A swappable version of [std::io](std::io) that works in `no_std + alloc` environments.
[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] 1 | //! A swappable version of [std::io] that works in `no_std + alloc` environments.
[INFO] [stderr]   |                            ~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:181:93
[INFO] [stderr]     |
[INFO] [stderr] 181 | /// A `BinRead` trait allows reading a structure from anything that implements [`io::Read`](io::Read) and [`io::Seek`](io::Seek)
[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] 181 | /// A `BinRead` trait allows reading a structure from anything that implements [`io::Read`] and [`io::Seek`](io::Seek)
[INFO] [stderr]     |                                                                                ~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:181:120
[INFO] [stderr]     |
[INFO] [stderr] 181 | /// A `BinRead` trait allows reading a structure from anything that implements [`io::Read`](io::Read) and [`io::Seek`](io::Seek)
[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] 181 | /// A `BinRead` trait allows reading a structure from anything that implements [`io::Read`](io::Read) and [`io::Seek`]
[INFO] [stderr]     |                                                                                                           ~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:236:41
[INFO] [stderr]     |
[INFO] [stderr] 236 | /// An extension trait for [`io::Read`](io::Read) to provide methods for reading a value directly
[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] 236 | /// An extension trait for [`io::Read`] to provide methods for reading a value directly
[INFO] [stderr]     |                            ~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/file_ptr.rs:175:84
[INFO] [stderr]     |
[INFO] [stderr] 175 | /// Will panic if the FilePtr has not been read yet using [`BinRead::after_parse`](BinRead::after_parse)
[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] 175 | /// Will panic if the FilePtr has not been read yet using [`BinRead::after_parse`]
[INFO] [stderr]     |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/file_ptr.rs:190:84
[INFO] [stderr]     |
[INFO] [stderr] 190 | /// Will panic if the FilePtr has not been read yet using [`BinRead::after_parse`](BinRead::after_parse)
[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] 190 | /// Will panic if the FilePtr has not been read yet using [`BinRead::after_parse`]
[INFO] [stderr]     |                                                           ~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `binread` (lib doc) generated 14 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-pc-windows-msvc/doc/binread/index.html
[INFO] running `Command { std: "docker" "inspect" "eb077bf0cbc3f8d67100824e5701e280c99cc2756ee6cc3a05ac442db73f7463", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb077bf0cbc3f8d67100824e5701e280c99cc2756ee6cc3a05ac442db73f7463", kill_on_drop: false }`
[INFO] [stdout] eb077bf0cbc3f8d67100824e5701e280c99cc2756ee6cc3a05ac442db73f7463