hidapi 2.6.3

Rust-y wrapper around hidapi
Documentation
Build #1315346 2024-08-07T18:20:14.996751+00:00
# rustc version
rustc 1.82.0-nightly (60d146580 2024-08-06)# docs.rs version
docsrs 0.6.0 (a6435f13 2024-08-07)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/hidapi-2.6.3/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/hidapi-2.6.3/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240806-1.82.0-nightly-60d146580\", \"--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] 6908213e7f649cb992800e6dcdfc89e6f56fc0a3964ddf1cfe4d8a73047c653c
[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" "6908213e7f649cb992800e6dcdfc89e6f56fc0a3964ddf1cfe4d8a73047c653c", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling windows_i686_msvc v0.48.5
[INFO] [stderr]     Checking libc v0.2.152
[INFO] [stderr]    Compiling hidapi v2.6.3 (/opt/rustwide/workdir)
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: hidapi@2.6.3: In file included from etc/hidapi/windows/hid.c:33:
[INFO] [stderr] warning: hidapi@2.6.3: etc/hidapi/windows/hidapi_winapi.h:31:10: fatal error: guiddef.h: No such file or directory
[INFO] [stderr] warning: hidapi@2.6.3:    31 | #include <guiddef.h>
[INFO] [stderr] warning: hidapi@2.6.3:       |          ^~~~~~~~~~~
[INFO] [stderr] warning: hidapi@2.6.3: compilation terminated.
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `hidapi v2.6.3 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/hidapi-657265ac78de57d6/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rustc-check-cfg=cfg(hidapi)
[INFO] [stderr]   cargo:rustc-check-cfg=cfg(libusb)
[INFO] [stderr]   TARGET = Some("i686-pc-windows-msvc")
[INFO] [stderr]   OPT_LEVEL = Some("0")
[INFO] [stderr]   HOST = Some("x86_64-unknown-linux-gnu")
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_i686-pc-windows-msvc
[INFO] [stderr]   CC_i686-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_i686_pc_windows_msvc
[INFO] [stderr]   CC_i686_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CC
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC
[INFO] [stderr]   CC = None
[INFO] [stderr]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_i686-pc-windows-msvc
[INFO] [stderr]   CFLAGS_i686-pc-windows-msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_i686_pc_windows_msvc
[INFO] [stderr]   CFLAGS_i686_pc_windows_msvc = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some("true")
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
[INFO] [stderr]   running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m32" "-I" "etc/hidapi/hidapi" "-Wall" "-Wextra" "-Fo/opt/rustwide/target/i686-pc-windows-msvc/debug/build/hidapi-69b1fe127f980020/out/etc/hidapi/windows/hid.o" "-c" "etc/hidapi/windows/hid.c"
[INFO] [stderr]   cargo:warning=In file included from etc/hidapi/windows/hid.c:33:
[INFO] [stderr]   cargo:warning=etc/hidapi/windows/hidapi_winapi.h:31:10: fatal error: guiddef.h: No such file or directory
[INFO] [stderr]   cargo:warning=   31 | #include <guiddef.h>
[INFO] [stderr]   cargo:warning=      |          ^~~~~~~~~~~
[INFO] [stderr]   cargo:warning=compilation terminated.
[INFO] [stderr]   exit status: 1
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-m32" "-I" "etc/hidapi/hidapi" "-Wall" "-Wextra" "-Fo/opt/rustwide/target/i686-pc-windows-msvc/debug/build/hidapi-69b1fe127f980020/out/etc/hidapi/windows/hid.o" "-c" "etc/hidapi/windows/hid.c" with args "cc" did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "6908213e7f649cb992800e6dcdfc89e6f56fc0a3964ddf1cfe4d8a73047c653c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6908213e7f649cb992800e6dcdfc89e6f56fc0a3964ddf1cfe4d8a73047c653c", kill_on_drop: false }`
[INFO] [stdout] 6908213e7f649cb992800e6dcdfc89e6f56fc0a3964ddf1cfe4d8a73047c653c