Hey folks, getting this error when attempting to compile a project on Windows using GitLab's new beta CI runners:
Compiling gdnative-bindings v0.8.0 memory allocation of 32374784 bytes failed error: could not compile `gdnative-bindings`. Caused by: process didn't exit successfully: `rustc --crate-name gdnative_bindings --edition=2018 C:\Users\gitlab_runner\.cargo\registry\src\github.com-1ecc6299db9ec823\gdnative-bindings-0.8.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C metadata=46cbf32cf0256a74 -C extra-filename=-46cbf32cf0256a74 --out-dir C:\GitLab-Runner\builds\lightsoutgames\godot-tts\target\x86_64-pc-windows-msvc\release\deps --target x86_64-pc-windows-msvc -L dependency=C:\GitLab-Runner\builds\lightsoutgames\godot-tts\target\x86_64-pc-windows-msvc\release\deps -L dependency=C:\GitLab-Runner\builds\lightsoutgames\godot-tts\target\release\deps --extern bitflags=C:\GitLab-Runner\builds\lightsoutgames\godot-tts\target\x86_64-pc-windows-msvc\release\deps\libbitflags-90ecca2af791642d.rmeta --extern gdnative_core=C:\GitLab-Runner\builds\lightsoutgames\godot-tts\target\x86_64-pc-windows-msvc\release\deps\libgdnative_core-a6d75391be0ce9e4.rmeta --extern gdnative_sys=C:\GitLab-Runner\builds\lightsoutgames\godot-tts\target\x86_64-pc-windows-msvc\release\deps\libgdnative_sys-ce7daf82d70ee84c.rmeta --extern libc=C:\GitLab-Runner\builds\lightsoutgames\godot-tts\target\x86_64-pc-windows-msvc\release\deps\liblibc-10b8e6738dc5aeab.rmeta --cap-lints allow` (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN) ERROR: Job failed: exit status 1
What does that error mean? I thought maybe I was out of RAM, but it seems like the GitLab Windows runners include 8G, and
systeminfo shows only a fraction in use. I have a Windows VM on my desktop with 8G, and successfully ran the compilation there. Further, I'd previously built this on my own VM running gitlab-runner and it worked. I'm leaning toward something breaking on GitLab's end since this is a beta, but if I file an issue, I'd like to have a bit more information on what this error means.
Another difference is that I install LLVM via chocolatey on GitLab's VMs, whereas before I'd installed it manually. Maybe the choco-packaged LLVM versions have issues, even though they're both current? I used to install Rust via Choco too, but switched to using rustup-init.exe manually and the error still persists.
Thanks for any help.