hudhook 0.8.0

A graphics API hook with dear imgui render loop. Supports DirectX 9, 11, 12, and OpenGL 3.
Build #1499709 2024-11-06T07:46:09.345658+00:00
# rustc version
rustc 1.84.0-nightly (bc5cf994d 2024-11-05)# docs.rs version
docsrs 0.6.0 (fd0fad95 2024-11-04)# build log
[INFO] adding target x86_64-pc-windows-gnu for toolchain nightly
[INFO] running `Command { std: CARGO_HOME="/home/cratesfyi/workspace/cargo-home" RUSTUP_HOME="/home/cratesfyi/workspace/rustup-home" "/home/cratesfyi/workspace/cargo-home/bin/rustup" "target" "add" "--toolchain" "nightly" "x86_64-pc-windows-gnu", kill_on_drop: false }`
[INFO] [stderr] info: component 'rust-std' for target 'x86_64-pc-windows-gnu' is up to date
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/hudhook-0.8.0/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/hudhook-0.8.0/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\", \"-20241105-1.84.0-nightly-bc5cf994d\", \"--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-pc-windows-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-pc-windows-gnu", kill_on_drop: false }`
[INFO] [stdout] 9386868fca554c4fc78140141d0e04982a941fc1d5cfc6aa9eb152e0b08ec48d
[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" "9386868fca554c4fc78140141d0e04982a941fc1d5cfc6aa9eb152e0b08ec48d", kill_on_drop: false }`
[INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: demo_hook_dx11, demo_hook_dx12, demo_hook_dx9, demo_hook_opengl3, hook_with_image, injector, simple_hook
[INFO] [stderr]     If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true`
[INFO] [stderr]     to the [[example]] target configuration of at least one example.
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling imgui-sys v0.12.0
[INFO] [stderr]    Compiling hudhook v0.8.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: hudhook@0.8.0: Compiler family detection failed due to error: ToolNotFound: Failed to find tool. Is `x86_64-w64-mingw32-gcc` installed?
[INFO] [stderr] error: failed to run custom build command for `hudhook v0.8.0 (/opt/rustwide/workdir)`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/hudhook-1947e61e56ad6f63/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-pc-windows-gnu/debug/build/hudhook-0d2f96ea1a7f5b0c/out)
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   TARGET = Some(x86_64-pc-windows-gnu)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-pc-windows-gnu
[INFO] [stderr]   CC_x86_64-pc-windows-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_pc_windows_gnu
[INFO] [stderr]   CC_x86_64_pc_windows_gnu = 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]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:warning=Compiler family detection failed due to error: ToolNotFound: Failed to find tool. Is `x86_64-w64-mingw32-gcc` installed?
[INFO] [stderr]   RUSTC_WRAPPER = 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(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-gnu
[INFO] [stderr]   CFLAGS_x86_64-pc-windows-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_gnu
[INFO] [stderr]   CFLAGS_x86_64_pc_windows_gnu = 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] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Failed to find tool. Is `x86_64-w64-mingw32-gcc` installed?
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] warning: imgui-sys@0.12.0: Compiler family detection failed due to error: ToolNotFound: Failed to find tool. Is `x86_64-w64-mingw32-g++` installed?
[INFO] [stderr] warning: imgui-sys@0.12.0: Compiler family detection failed due to error: ToolNotFound: Failed to find tool. Is `x86_64-w64-mingw32-g++` installed?
[INFO] [stderr] warning: imgui-sys@0.12.0: Compiler family detection failed due to error: ToolNotFound: Failed to find tool. Is `x86_64-w64-mingw32-g++` installed?
[INFO] [stderr] warning: imgui-sys@0.12.0: Compiler family detection failed due to error: ToolNotFound: Failed to find tool. Is `x86_64-w64-mingw32-g++` installed?
[INFO] [stderr] error: failed to run custom build command for `imgui-sys v0.12.0`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/imgui-sys-fd88342ee67c80e6/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:THIRD_PARTY=/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-sys-0.12.0/third-party
[INFO] [stderr]   cargo:DEFINE_IMGUI_USE_WCHAR32=
[INFO] [stderr]   cargo:DEFINE_CIMGUI_NO_EXPORT=
[INFO] [stderr]   cargo:DEFINE_IMGUI_DISABLE_WIN32_FUNCTIONS=
[INFO] [stderr]   cargo:DEFINE_IMGUI_DISABLE_OSX_FUNCTIONS=
[INFO] [stderr]   cargo:THIRD_PARTY=/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/imgui-sys-0.12.0/third-party/imgui-master
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-pc-windows-gnu/debug/build/imgui-sys-e542de037a28e088/out)
[INFO] [stderr]   TARGET = Some(x86_64-pc-windows-gnu)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CXX_x86_64-pc-windows-gnu
[INFO] [stderr]   CXX_x86_64-pc-windows-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXX_x86_64_pc_windows_gnu
[INFO] [stderr]   CXX_x86_64_pc_windows_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CXX
[INFO] [stderr]   TARGET_CXX = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXX
[INFO] [stderr]   CXX = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:warning=Compiler family detection failed due to error: ToolNotFound: Failed to find tool. Is `x86_64-w64-mingw32-g++` installed?
[INFO] [stderr]   RUSTC_WRAPPER = 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(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS_x86_64-pc-windows-gnu
[INFO] [stderr]   CXXFLAGS_x86_64-pc-windows-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS_x86_64_pc_windows_gnu
[INFO] [stderr]   CXXFLAGS_x86_64_pc_windows_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CXXFLAGS
[INFO] [stderr]   TARGET_CXXFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS
[INFO] [stderr]   CXXFLAGS = None
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-pc-windows-gnu/debug/build/imgui-sys-e542de037a28e088/out)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:warning=Compiler family detection failed due to error: ToolNotFound: Failed to find tool. Is `x86_64-w64-mingw32-g++` installed?
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   TARGET = Some(x86_64-pc-windows-gnu)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS_x86_64-pc-windows-gnu
[INFO] [stderr]   CXXFLAGS_x86_64-pc-windows-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS_x86_64_pc_windows_gnu
[INFO] [stderr]   CXXFLAGS_x86_64_pc_windows_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CXXFLAGS
[INFO] [stderr]   TARGET_CXXFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS
[INFO] [stderr]   CXXFLAGS = None
[INFO] [stderr]   cargo:warning=Compiler family detection failed due to error: ToolNotFound: Failed to find tool. Is `x86_64-w64-mingw32-g++` installed?
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-pc-windows-gnu/debug/build/imgui-sys-e542de037a28e088/out)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:warning=Compiler family detection failed due to error: ToolNotFound: Failed to find tool. Is `x86_64-w64-mingw32-g++` installed?
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   TARGET = Some(x86_64-pc-windows-gnu)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS_x86_64-pc-windows-gnu
[INFO] [stderr]   CXXFLAGS_x86_64-pc-windows-gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS_x86_64_pc_windows_gnu
[INFO] [stderr]   CXXFLAGS_x86_64_pc_windows_gnu = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CXXFLAGS
[INFO] [stderr]   TARGET_CXXFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CXXFLAGS
[INFO] [stderr]   CXXFLAGS = None
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Failed to find tool. Is `x86_64-w64-mingw32-g++` installed?
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] running `Command { std: "docker" "inspect" "9386868fca554c4fc78140141d0e04982a941fc1d5cfc6aa9eb152e0b08ec48d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9386868fca554c4fc78140141d0e04982a941fc1d5cfc6aa9eb152e0b08ec48d", kill_on_drop: false }`
[INFO] [stdout] 9386868fca554c4fc78140141d0e04982a941fc1d5cfc6aa9eb152e0b08ec48d