rust-gpu-tools 0.7.2

Rust OpenCL tools
Documentation

Build #3436330 2026-05-31 00:29:35

# rustc version rustc 1.98.0-nightly (6368fd52c 2026-05-29)

# docs.rs version docsrs 0.0.0 (f16e33f3e6ac9fc9e4413728c5dd1b2ba1c6b799 2026-05-23 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "377df447d9dd4642eba6baed8cef24c22ab5ddf6e6f822061d7ba017f8b9be30" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260529-1.98.0-nightly-6368fd52c\", \"--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: 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 1.07s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/rust_gpu_tools/index.html [INFO] running `Command { std: "docker" "inspect" "377df447d9dd4642eba6baed8cef24c22ab5ddf6e6f822061d7ba017f8b9be30", kill_on_drop: false }`