external-memory 0.0.1

Generic external memory structures used by gfx-rs backends
Documentation
Build #1540584 2024-11-15T10:50:05.299175+00:00
# rustc version
rustc 1.84.0-nightly (90ab8eaed 2024-11-14)# docs.rs version
docsrs 0.6.0 (36c721fb 2024-11-06)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/external-memory-0.0.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/external-memory-0.0.1/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: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\", \"-20241114-1.84.0-nightly-90ab8eaed\", \"--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-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "i686-unknown-linux-gnu", kill_on_drop: false }`
[INFO] [stdout] 5f5d058589ee5a9a6e914ae36d47d83251470cce29a3f5c97d59597d8d650792
[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" "5f5d058589ee5a9a6e914ae36d47d83251470cce29a3f5c97d59597d8d650792", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]  Documenting external-memory v0.0.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unexpected `cfg` condition name: `docs`
[INFO] [stderr]   --> src/lib.rs:98:16
[INFO] [stderr]    |
[INFO] [stderr] 98 | #[cfg(any(unix,docs))]
[INFO] [stderr]    |                ^^^^ help: there is a config with a similar name: `doc`
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider using a Cargo feature instead
[INFO] [stderr]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stderr]             [lints.rust]
[INFO] [stderr]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs)'] }
[INFO] [stderr]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs)");` to the top of the `build.rs`
[INFO] [stderr]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `serde`
[INFO] [stderr]    --> src/lib.rs:667:12
[INFO] [stderr]     |
[INFO] [stderr] 667 | #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `serde` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `serde`
[INFO] [stderr]    --> src/lib.rs:130:16
[INFO] [stderr]     |
[INFO] [stderr] 130 |     #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^ help: remove the condition
[INFO] [stderr]     |
[INFO] [stderr]     = note: no expected values for `feature`
[INFO] [stderr]     = help: consider adding `serde` as a feature in `Cargo.toml`
[INFO] [stderr]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:320:111
[INFO] [stderr]     |
[INFO] [stderr] 320 |     /// Same as [ExternalMemoryTypeFlags::OPAQUE_FD][ExternalMemoryTypeFlags::OPAQUE_FD] while holding a [Fd][Fd].
[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] 320 |     /// Same as [ExternalMemoryTypeFlags::OPAQUE_FD][ExternalMemoryTypeFlags::OPAQUE_FD] while holding a [Fd].
[INFO] [stderr]     |                                                                                                          ~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:348:107
[INFO] [stderr]     |
[INFO] [stderr] 348 |     /// Same as [ExternalMemoryTypeFlags::DMA_BUF][ExternalMemoryTypeFlags::DMA_BUF] while holding a [Fd][Fd].
[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] 348 |     /// Same as [ExternalMemoryTypeFlags::DMA_BUF][ExternalMemoryTypeFlags::DMA_BUF] while holding a [Fd].
[INFO] [stderr]     |                                                                                                      ~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:354:124
[INFO] [stderr]     |
[INFO] [stderr] 354 |     /// Same as [ExternalMemoryTypeFlags::HOST_ALLOCATION][ExternalMemoryTypeFlags::HOST_ALLOCATION] while holding a [Ptr][Ptr].
[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] 354 |     /// Same as [ExternalMemoryTypeFlags::HOST_ALLOCATION][ExternalMemoryTypeFlags::HOST_ALLOCATION] while holding a [Ptr].
[INFO] [stderr]     |                                                                                                                      ~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:356:146
[INFO] [stderr]     |
[INFO] [stderr] 356 | ..._FOREIGN_MEMORY] while holding a [Ptr][Ptr].
[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] 356 |     /// Same as [ExternalMemoryTypeFlags::HOST_MAPPED_FOREIGN_MEMORY][ExternalMemoryTypeFlags::HOST_MAPPED_FOREIGN_MEMORY] while holding a [Ptr].
[INFO] [stderr]     |                                                                                                                                            ~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:360:38
[INFO] [stderr]     |
[INFO] [stderr] 360 |     /// Get the [ExternalMemoryType][ExternalMemoryType] from this enum.
[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] 360 |     /// Get the [ExternalMemoryType] from this enum.
[INFO] [stderr]     |                 ~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:386:38
[INFO] [stderr]     |
[INFO] [stderr] 386 |     /// Get the [PlatformMemoryType][PlatformMemoryType] from this enum.
[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] 386 |     /// Get the [PlatformMemoryType] from this enum.
[INFO] [stderr]     |                 ~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:413:58
[INFO] [stderr]     |
[INFO] [stderr] 413 |     /// Get the associated unix file descriptor as ([Fd][Fd]).
[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] 413 |     /// Get the associated unix file descriptor as ([Fd]).
[INFO] [stderr]     |                                                     ~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:438:51
[INFO] [stderr]     |
[INFO] [stderr] 438 |     /// Get the associated host pointer as ([Ptr][Ptr]).
[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] 438 |     /// Get the associated host pointer as ([Ptr]).
[INFO] [stderr]     |                                             ~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:459:111
[INFO] [stderr]     |
[INFO] [stderr] 459 |     /// Same as [ExternalMemoryTypeFlags::OPAQUE_FD][ExternalMemoryTypeFlags::OPAQUE_FD] while holding a [Fd][Fd].
[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] 459 |     /// Same as [ExternalMemoryTypeFlags::OPAQUE_FD][ExternalMemoryTypeFlags::OPAQUE_FD] while holding a [Fd].
[INFO] [stderr]     |                                                                                                          ~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:487:107
[INFO] [stderr]     |
[INFO] [stderr] 487 |     /// Same as [ExternalMemoryTypeFlags::DMA_BUF][ExternalMemoryTypeFlags::DMA_BUF] while holding a [Fd][Fd].
[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] 487 |     /// Same as [ExternalMemoryTypeFlags::DMA_BUF][ExternalMemoryTypeFlags::DMA_BUF] while holding a [Fd].
[INFO] [stderr]     |                                                                                                      ~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:493:124
[INFO] [stderr]     |
[INFO] [stderr] 493 |     /// Same as [ExternalMemoryTypeFlags::HOST_ALLOCATION][ExternalMemoryTypeFlags::HOST_ALLOCATION] while holding a [Ptr][Ptr].
[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] 493 |     /// Same as [ExternalMemoryTypeFlags::HOST_ALLOCATION][ExternalMemoryTypeFlags::HOST_ALLOCATION] while holding a [Ptr].
[INFO] [stderr]     |                                                                                                                      ~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:495:146
[INFO] [stderr]     |
[INFO] [stderr] 495 | ..._FOREIGN_MEMORY] while holding a [Ptr][Ptr].
[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] 495 |     /// Same as [ExternalMemoryTypeFlags::HOST_MAPPED_FOREIGN_MEMORY][ExternalMemoryTypeFlags::HOST_MAPPED_FOREIGN_MEMORY] while holding a [Ptr].
[INFO] [stderr]     |                                                                                                                                            ~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:499:38
[INFO] [stderr]     |
[INFO] [stderr] 499 |     /// Get the [ExternalMemoryType][ExternalMemoryType] from this enum.
[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] 499 |     /// Get the [ExternalMemoryType] from this enum.
[INFO] [stderr]     |                 ~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:525:38
[INFO] [stderr]     |
[INFO] [stderr] 525 |     /// Get the [PlatformMemoryType][PlatformMemoryType] from this enum.
[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] 525 |     /// Get the [PlatformMemoryType] from this enum.
[INFO] [stderr]     |                 ~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:552:58
[INFO] [stderr]     |
[INFO] [stderr] 552 |     /// Get the associated unix file descriptor as ([Fd][Fd]).
[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] 552 |     /// Get the associated unix file descriptor as ([Fd]).
[INFO] [stderr]     |                                                     ~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:578:51
[INFO] [stderr]     |
[INFO] [stderr] 578 |     /// Get the associated host pointer as ([Ptr][Ptr]).
[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] 578 |     /// Get the associated host pointer as ([Ptr]).
[INFO] [stderr]     |                                             ~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: redundant explicit link target
[INFO] [stderr]    --> src/lib.rs:636:38
[INFO] [stderr]     |
[INFO] [stderr] 636 |     /// Get the [ExternalMemoryType][ExternalMemoryType] from this enum.
[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] 636 |     /// Get the [ExternalMemoryType] from this enum.
[INFO] [stderr]     |                 ~~~~~~~~~~~~~~~~~~~~
[INFO] [stderr] 
[INFO] [stderr] warning: `external-memory` (lib doc) generated 20 warnings
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s
[INFO] [stderr]    Generated /opt/rustwide/target/i686-unknown-linux-gnu/doc/external_memory/index.html
[INFO] running `Command { std: "docker" "inspect" "5f5d058589ee5a9a6e914ae36d47d83251470cce29a3f5c97d59597d8d650792", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f5d058589ee5a9a6e914ae36d47d83251470cce29a3f5c97d59597d8d650792", kill_on_drop: false }`
[INFO] [stdout] 5f5d058589ee5a9a6e914ae36d47d83251470cce29a3f5c97d59597d8d650792