TheButlah / ovr_overlay

Rust OpenVR bindings using an up-to-date OpenVR and autocxx
https://docs.rs/ovr_overlay
Other
7 stars 8 forks source link

Build failing on Windows: "Not able to resolve vector element?: Continue" #24

Open Raphiiko opened 1 year ago

Raphiiko commented 1 year ago

Hi! For a while now I've been using (a slightly modified version of) this library in OyasumiVR. I'm running into an issue with building this package that I'm getting rather stuck on, and I'm hoping someone might know why.

The issue

Between now and roughly two days ago, I can no longer seem to build this library in GitHub's Windows runners. I don't have a clue if this is because of an issue with ovr_overlay itself, autocxx, or something completely different, but I am really hoping you might have some idea about what might be going on.

This is the main error that recently started occurring when building this library on one of GitHub's Windows runners:

thread 'main' panicked at 'Not able to resolve vector element?: Continue', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\autocxx-bindgen-0.59.16\src\ir\ty.rs:1147:22

I'm personally not too experienced with lower level development and languages like rust/c++, so I've got some difficulty figuring out how to start tackling this issue.

What I've tried

Building it locally I don't seem to have a problem, so I'm assuming something changed on GitHub's side.

In an attempt to reproduce it locally, I've verified that I'm building with the exact same Rust version (1.70.0 stable), as well as the same version of clang (16.0.6, target: x86_64-pc-windows-msvc). From what I can tell the referenced version of the openvr submodule is pinned, so I figured that can't be where the issue stems from. I've cleared my target folders, nuked my rust caches, but none of that seems to help to reproduce the issue locally.

On GitHub's runners, I've tried reproducing the issue with the non-modified version of this library (the one on this repository's main branch), and with that I run into the same problem.

As this library is still on autocxx 0.21.x, I've attempted upgrading it to autocxx 0.26.x in the hopes that it might fix my issue. However even just going up to autocxx 0.22.0, I run into build errors that I'm not sure how to solve: For some reason autocxx >0.22 no longer generates Copy and Debug derives on enums, and it does not look like they currently support adding these back?

How to reproduce

In a fork of this repository, I've updated the main-ci.yaml workflow to build on Windows instead of Ubuntu, as follows: https://github.com/Raphiiko/ovr_overlay_oyasumi/blob/build-testing/.github/workflows/main-ci.yml

If you have GitHub run this workflow, as of two days ago, the build will fail. Logs from this build run can be found here: https://github.com/Raphiiko/ovr_overlay_oyasumi/actions/runs/6121221520/job/16614579309

Details & Logs

Error (No backtrace) ``` error: failed to run custom build command for `ovr_overlay_sys v0.0.0 (D:\a\ovr_overlay_oyasumi\ovr_overlay_oyasumi\sys)` Error: failed to run custom build command for `ovr_overlay_sys v0.0.0 (D:\a\ovr_overlay_oyasumi\ovr_overlay_oyasumi\sys)` Caused by: process didn't exit successfully: `D:\a\ovr_overlay_oyasumi\ovr_overlay_oyasumi\target\debug\build\ovr_overlay_sys-45f63e34f5a7330e\build-script-build` (exit code: 101) --- stdout cargo:rerun-if-changed=D:\a\ovr_overlay_oyasumi\ovr_overlay_oyasumi\sys\openvr\headers\openvr.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\stdint.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\stdint.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\sal.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\concurrencysal.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\vadefs.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vadefs.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\string cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\yvals_core.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xstring cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\iosfwd cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\yvals.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\crtdbg.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime_new_debug.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime_new.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\crtdefs.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\use_ansi.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstdio cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\stdio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wstdio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_stdio_config.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstring cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\string.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_memory.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_memcpy_s.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\errno.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime_string.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wstring.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cwchar cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\wchar.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wconio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wctype.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wdirect.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_share.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wprocess.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wstdlib.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wtime.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\sys/stat.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\sys/types.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xtr1common cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xmemory cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstdint cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstdlib cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\math.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_math.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\stdlib.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_malloc.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_search.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\stddef.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include/__stddef_max_align_t.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\limits.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\limits.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\limits cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cfloat cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\float.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\float.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\climits cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\isa_availability.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\intrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\x86intrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\ia32intrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\immintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\x86gprintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\mmintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\xmmintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\mm_malloc.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\malloc.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\emmintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\bmiintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\fxsrintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\xsaveintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\adxintrin.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\setjmp.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\new cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\exception cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\type_traits cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstddef cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime_exception.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\eh.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_terminate.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xatomic.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xutility cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\__msvc_iter_core.hpp cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\utility cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\initializer_list cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\__msvc_sanitizer_annotate_container.hpp cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cctype cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\ctype.h --- stderr thread 'main' panicked at 'Not able to resolve vector element?: Continue', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\autocxx-bindgen-0.59.16\src\ir\ty.rs:1147:22 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace Error: The process 'C:\Users\runneradmin\.cargo\bin\cargo.exe' failed with exit code 101 ```
Error (Enabled Backtrace) ``` error: failed to run custom build command for `ovr_overlay_sys v0.0.0 (D:\a\ovr_overlay_oyasumi\ovr_overlay_oyasumi\sys)` Error: note: To improve backtraces for build dependencies, set the CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. Caused by: process didn't exit successfully: `D:\a\ovr_overlay_oyasumi\ovr_overlay_oyasumi\target\debug\build\ovr_overlay_sys-45f63e34f5a7330e\build-script-build` (exit code: 101) --- stdout cargo:rerun-if-changed=D:\a\ovr_overlay_oyasumi\ovr_overlay_oyasumi\sys\openvr\headers\openvr.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\stdint.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\stdint.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\sal.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\concurrencysal.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\vadefs.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vadefs.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\string cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\yvals_core.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xstring cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\iosfwd cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\yvals.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\crtdbg.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime_new_debug.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime_new.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\crtdefs.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\use_ansi.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstdio cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\stdio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wstdio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_stdio_config.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstring cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\string.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_memory.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_memcpy_s.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\errno.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime_string.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wstring.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cwchar cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\wchar.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wconio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wctype.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wdirect.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_share.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wprocess.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wstdlib.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wtime.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\sys/stat.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\sys/types.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xtr1common cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xmemory cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstdint cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstdlib cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\math.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_math.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\stdlib.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_malloc.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_search.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\stddef.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include/__stddef_max_align_t.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\limits.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\limits.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\limits cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cfloat cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\float.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\float.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\climits cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\isa_availability.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\intrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\x86intrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\ia32intrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\immintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\x86gprintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\mmintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\xmmintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\mm_malloc.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\malloc.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\emmintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\bmiintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\fxsrintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\xsaveintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\adxintrin.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\setjmp.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\new cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\exception cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\type_traits cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstddef cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime_exception.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\eh.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_terminate.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xatomic.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xutility cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\__msvc_iter_core.hpp cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\utility cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\initializer_list cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\__msvc_sanitizer_annotate_container.hpp cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cctype cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\ctype.h --- stderr thread 'main' panicked at 'Not able to resolve vector element?: Continue', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\autocxx-bindgen-0.59.16\src\ir\ty.rs:1147:22 stack backtrace: 0: std::panicking::begin_panic_handler at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\panicking.rs:593 1: core::panicking::panic_fmt at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\core\src\panicking.rs:67 2: core::result::unwrap_failed at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\core\src\result.rs:1651 3: core::result::Result::expect 4: autocxx_bindgen::ir::ty::Type::from_clang_ty 5: ::from_ty_with_id 6: ::from_ty 7: autocxx_bindgen::ir::context::BindgenContext::collected_typerefs 8: autocxx_bindgen::ir::context::BindgenContext::gen 9: ::codegen::{{closure}} 10: ::default 11: autocxx_bindgen::Builder::generate 12: autocxx_engine::IncludeCppEngine::generate 13: autocxx_engine::parse_file::ParsedFile::resolve_all 14: autocxx_engine::builder::build_autocxx_inc::{{closure}} 15: autocxx_engine::builder::Builder::build 16: core::alloc::layout::Layout::array::inner 17: core::ops::function::FnOnce::call_once note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace. ```
Error (Full backtrace) ``` error: failed to run custom build command for `ovr_overlay_sys v0.0.0 (D:\a\ovr_overlay_oyasumi\ovr_overlay_oyasumi\sys)` Error: note: To improve backtraces for build dependencies, set the CARGO_PROFILE_TEST_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. Caused by: process didn't exit successfully: `D:\a\ovr_overlay_oyasumi\ovr_overlay_oyasumi\target\debug\build\ovr_overlay_sys-45f63e34f5a7330e\build-script-build` (exit code: 101) --- stdout cargo:rerun-if-changed=D:\a\ovr_overlay_oyasumi\ovr_overlay_oyasumi\sys\openvr\headers\openvr.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\stdint.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\stdint.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\sal.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\concurrencysal.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\vadefs.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vadefs.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\string cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\yvals_core.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xstring cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\iosfwd cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\yvals.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\crtdbg.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime_new_debug.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime_new.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\crtdefs.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\use_ansi.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstdio cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\stdio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wstdio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_stdio_config.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstring cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\string.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_memory.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_memcpy_s.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\errno.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime_string.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wstring.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cwchar cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\wchar.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wconio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wctype.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wdirect.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wio.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_share.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wprocess.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wstdlib.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_wtime.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\sys/stat.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\sys/types.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xtr1common cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xmemory cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstdint cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstdlib cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\math.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_math.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\stdlib.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_malloc.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_search.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\stddef.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include/__stddef_max_align_t.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\limits.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\limits.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\limits cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cfloat cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\float.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\float.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\climits cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\isa_availability.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\intrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\x86intrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\ia32intrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\immintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\x86gprintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\mmintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\xmmintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\mm_malloc.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\malloc.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\emmintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\bmiintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\fxsrintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\xsaveintrin.h cargo:rerun-if-changed=C:\Program Files\LLVM\lib\clang\16\include\adxintrin.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\setjmp.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\new cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\exception cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\type_traits cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cstddef cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\vcruntime_exception.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\eh.h cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt_terminate.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xatomic.h cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\xutility cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\__msvc_iter_core.hpp cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\utility cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\initializer_list cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\__msvc_sanitizer_annotate_container.hpp cargo:rerun-if-changed=C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.37.32822\include\cctype cargo:rerun-if-changed=C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt\ctype.h --- stderr thread 'main' panicked at 'Not able to resolve vector element?: Continue', C:\Users\runneradmin\.cargo\registry\src\index.crates.io-6f17d22bba15001f\autocxx-bindgen-0.59.16\src\ir\ty.rs:1147:22 stack backtrace: 0: 0x7ff6737d7f0c - std::sys_common::backtrace::_print::impl$0::fmt at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\sys_common\backtrace.rs:44 1: 0x7ff6737fb1db - core::fmt::rt::Argument::fmt at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\core\src\fmt\rt.rs:138 2: 0x7ff6737fb1db - core::fmt::write at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\core\src\fmt\mod.rs:1094 3: 0x7ff6737d1e19 - std::io::Write::write_fmt at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\io\mod.rs:1713 4: 0x7ff6737d7cbb - std::sys_common::backtrace::_print at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\sys_common\backtrace.rs:47 5: 0x7ff6737d7cbb - std::sys_common::backtrace::print at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\sys_common\backtrace.rs:34 6: 0x7ff6737da959 - std::panicking::default_hook::closure$1 at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\panicking.rs:269 7: 0x7ff6737da60f - std::panicking::default_hook at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\panicking.rs:288 8: 0x7ff6737dae5e - std::panicking::rust_panic_with_hook at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\panicking.rs:705 9: 0x7ff6737dad4d - std::panicking::begin_panic_handler::closure$0 at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\panicking.rs:597 10: 0x7ff6737d8b39 - std::sys_common::backtrace::__rust_end_short_backtrace at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\sys_common\backtrace.rs:151 11: 0x7ff6737daa50 - std::panicking::begin_panic_handler at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\panicking.rs:593 12: 0x7ff673805c45 - core::panicking::panic_fmt at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\core\src\panicking.rs:67 13: 0x7ff673806253 - core::result::unwrap_failed at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\core\src\result.rs:1651 14: 0x7ff6731ed2fa - core::result::Result::expect::hde884dd1ec0caf14 15: 0x7ff6732937b6 - autocxx_bindgen::ir::ty::Type::from_clang_ty::h416e7857d42b1f10 16: 0x7ff6731f94ff - ::from_ty_with_id::h475e0821a7d09781 17: 0x7ff6731f88b3 - ::from_ty::hfb258a3a01dff960 18: 0x7ff6732d06e6 - autocxx_bindgen::ir::context::BindgenContext::collected_typerefs::h4afa7fa3e0198dc2 19: 0x7ff6732d2288 - autocxx_bindgen::ir::context::BindgenContext::gen::h6ceb476e72f8738b 20: 0x7ff67323daa1 - ::codegen::{{closure}}::h3e3defe99332db1f 21: 0x7ff673245574 - ::default::haf6a5ca6ebde6d46 22: 0x7ff67324284e - autocxx_bindgen::Builder::generate::h2aade28de8eaff75 23: 0x7ff672e30a1e - autocxx_engine::IncludeCppEngine::generate::hd8cee6ff3445f94c 24: 0x7ff672e1a1dc - autocxx_engine::parse_file::ParsedFile::resolve_all::had892592d6a8e5ec 25: 0x7ff672dbc3a3 - autocxx_engine::builder::build_autocxx_inc::{{closure}}::h4396379a14db6eac 26: 0x7ff672dbdd8b - autocxx_engine::builder::Builder::build::h4c101959cce87b62 27: 0x7ff672db984d - core::alloc::layout::Layout::array::inner::h9a8ac6bc8b865857 28: 0x7ff672db57b6 - core::ops::function::FnOnce::call_once::hf016acc1879a8d76 29: 0x7ff672db6809 - std::sys_common::backtrace::__rust_begin_short_backtrace::h146c77b9cfe571c7 30: 0x7ff672db922c - std::rt::lang_start::{{closure}}::h7a1382b6c5151bf0 31: 0x7ff6737cbb98 - std::rt::lang_start_internal::closure$2 at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\rt.rs:148 32: 0x7ff6737cbb98 - std::panicking::try::do_call at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\panicking.rs:500 33: 0x7ff6737cbb98 - std::panicking::try at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\panicking.rs:464 34: 0x7ff6737cbb98 - std::panic::catch_unwind at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\panic.rs:142 35: 0x7ff6737cbb98 - std::rt::lang_start_internal at /rustc/eb26296b556cef10fb713a38f3d16b9886080f26/library\std\src\rt.rs:148 36: 0x7ff672db9207 - std::rt::lang_start::h4deecf70e4bf3e2b 37: 0x7ff672dba049 - main 38: 0x7ff6738032c0 - invoke_main at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78 39: 0x7ff6738032c0 - __scrt_common_main_seh at D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 40: 0x7ffeb1ad4de0 - BaseThreadInitThunk 41: 0x7ffeb303ec4b - RtlUserThreadStart Error: The process 'C:\Users\runneradmin\.cargo\bin\cargo.exe' failed with exit code 101 ```

Are there other things I could check for? Other versions of installed tools I might have missed, other dependencies that might have not been as pinned as I thought they were?

If you have any clues for me or any assistance, I'd be very grateful! My thanks in advance.

Raphiiko commented 1 year ago

I've made a very quick & dirty attempt at upgrading to autocxx 0.26: https://github.com/Raphiiko/ovr_overlay_oyasumi/commit/15f874e3b7e447c84990a1af6935892a79812cd4 Although I'm aware this is as far as it can be from how it's supposed be done, I think I can at the very least confirm it seems to fix the issue. I'll check later if I can get OyasumiVR to build again with these changes as well.

If someone who's more knowledgeable at Rust could have a look at upgrading this project to autocxx 0.26.0 properly, that would be fantastic.

TheButlah commented 1 year ago

Thank you for the detailed report! We have been seeing similar issues in discord.

If upgrading to a newer autocxx fixes the issue, I'll try that.

TheButlah commented 1 year ago

Note BTW that autocxx is likely willing to support Debug and Copy impls for some basic types like enums: https://github.com/google/autocxx/issues/1322

Raphiiko commented 1 year ago

Note BTW that autocxx is likely willing to support Debug and Copy impls for some basic types like enums: google/autocxx#1322

Oh that's great news! That in particular seemed to be the main blocker for being able to upgrade more easily.

We have been seeing similar issues in discord.

Is there a public (OpenVR-related) Discord server that I'm not aware of, or did you just mean Discord in general?

I can by now confirm that upgrading autocxx allows me to make new OyasumiVR builds again.

TheButlah commented 1 year ago

Discord here being the SlimeVR discord server, as that was the main user of the library

ShayBox commented 1 year ago

I reported this on Discord but I found using LLVM/Clang 17 pre-releases work fine, I don't know why as I don't know much about C/C++ and bindings. That at-least allows you to dev build, but I don't know how to get that version in an action workflow.

EDIT: I don't know whether the issue is with autocxx by google, or the autocxx-bindgen dependency of autocxx which is based on a fork of rust-bindgen and not by google https://github.com/adetaylor/rust-bindgen and issues seem to be reported upstream to rust-bindgen

ShayBox commented 1 year ago

I made a fork similar to Raphiiko's but without the OyasumiVR changes and manual Debug impl to still support thiserror https://github.com/Shays-Forks/ovr_overlay It works for me and compiles on actions :+1: