rust-gpu-tools 0.7.2

Rust OpenCL tools
Documentation
Build #2576316 2025-10-11 06:25:46
# rustc version
rustc 1.92.0-nightly (9725c4baa 2025-10-09)# docs.rs version
docsrs 0.6.0 (f42173de 2025-09-12)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/rust-gpu-tools-0.7.2/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/rust-gpu-tools-0.7.2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20251009-1.92.0-nightly-9725c4baa\", \"--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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] a2a3de8deb86d8ff435e2fd93ee646c2083051793930d6792fa8e4712953abb3
[INFO] running `Command { std: "docker" "start" "-a" "a2a3de8deb86d8ff435e2fd93ee646c2083051793930d6792fa8e4712953abb3", kill_on_drop: false }`
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/cuda/utils.rs:14:32
[INFO] [stderr]    |
[INFO] [stderr] 14 | pub(crate) struct CudaContexts(Vec<rustacuda::context::Context>);
[INFO] [stderr]    |                   ------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |                   |
[INFO] [stderr]    |                   field in this struct
[INFO] [stderr]    |
[INFO] [stderr]    = help: consider removing this field
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/cuda/mod.rs:228:26
[INFO] [stderr]     |
[INFO] [stderr] 228 |     pub fn create_kernel(&self, name: &str, gws: usize, lws: usize) -> GPUResult<Kernel> {
[INFO] [stderr]     |                          ^^^^^ the lifetime is elided here                       ^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 228 |     pub fn create_kernel(&self, name: &str, gws: usize, lws: usize) -> GPUResult<Kernel<'_>> {
[INFO] [stderr]     |                                                                                        ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/opencl/mod.rs:286:9
[INFO] [stderr]     |
[INFO] [stderr] 286 |         &self,
[INFO] [stderr]     |         ^^^^^ the lifetime is elided here
[INFO] [stderr] ...
[INFO] [stderr] 290 |     ) -> GPUResult<Kernel> {
[INFO] [stderr]     |                    ^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 290 |     ) -> GPUResult<Kernel<'_>> {
[INFO] [stderr]     |                          ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-gpu-tools` (lib) generated 3 warnings (run `cargo fix --lib -p rust-gpu-tools` to apply 2 suggestions)
[INFO] [stderr]     Scraping rust-gpu-tools v0.7.2 (/opt/rustwide/workdir)
[INFO] [stderr]  Documenting rust-gpu-tools v0.7.2 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unresolved link to `program_closures`
[INFO] [stderr]   --> src/program.rs:26:81
[INFO] [stderr]    |
[INFO] [stderr] 26 |     /// corresponding program type as parameter. For convenience there is the [`program_closures`]
[INFO] [stderr]    |                                                                                 ^^^^^^^^^^^^^^^^ no item named `program_closures` in scope
[INFO] [stderr]    |
[INFO] [stderr]    = note: `macro_rules` named `program_closures` exists in this crate, but it is not in scope at this link's location
[INFO] [stderr]    = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `rust-gpu-tools` (lib doc) generated 1 warning
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.86s
[INFO] [stderr]    Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/rust_gpu_tools/index.html
[INFO] running `Command { std: "docker" "inspect" "a2a3de8deb86d8ff435e2fd93ee646c2083051793930d6792fa8e4712953abb3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a2a3de8deb86d8ff435e2fd93ee646c2083051793930d6792fa8e4712953abb3", kill_on_drop: false }`
[INFO] [stdout] a2a3de8deb86d8ff435e2fd93ee646c2083051793930d6792fa8e4712953abb3