Open kaifastromai opened 1 month ago
STATUS_STACK_BUFFER_OVERRUN
does not mean that a stack overflow has actually occurred, see: https://devblogs.microsoft.com/oldnewthing/20190108-00/?p=100655
The last time someone opened this issue they had run out of heap memory, were running their build inside a Docker container which had a lower memory limit than they expected, and then they ran out of memory.
Hmm this is run directly on my machine, with 64GB of ram. It also returns sometimes STATUS_ACCESS_VIOLATION
Please, at minimum, adjust the power settings in your motherboard BIOS after updating it. You can choose to either follow your motherboard manufacturer's recommendations or listen to Intel.
Several motherboard manufacturers have released BIOS profiles labeled ‘Intel Baseline Profile’. However, these BIOS profiles are not the same as the 'Intel Default Settings' recommendations that Intel has recently shared with its partners regarding the instability issues reported on 13th and 14th gen K SKU processors.
These ‘Intel Baseline Profile’ BIOS settings appear to be based on power delivery guidance previously provided by Intel to manufacturers describing the various power delivery options for 13th and 14th Generation K SKU processors based on motherboard capabilities.
Intel is not recommending motherboard manufacturers to use ‘baseline’ power delivery settings on boards capable of higher values.
Intel’s recommended ‘Intel Default Settings’ are a combination of thermal and power delivery features along with a selection of possible power delivery profiles based on motherboard capabilities.
Intel recommends customers to implement the highest power delivery profile compatible with each individual motherboard design as noted in the table below:
This problem has also been fixed in the past by downclocking the CPU, though that solution is not necessarily one recommended by either the motherboard or the CPU manufacturer, so please understand you undertake that particular solution at your own risk. You can, of course, also attempt to get either Intel, or the motherboard manufacturer, or the vendor that sold you these things, to accept a return of their faulty merchandise.
If you can get a reproducible[^0] error that doesn't rely on using a recent Intel CPU, of course, I'm happy to take a look, there's just been enough similar bug reports that turned out to be hardware issues (either faulty memory or faulty CPUs) that either haven't been reproducible on AMD machines or that mysteriously vanish after BIOS/microcode/OS updates or both.
[^0]: I realize "it only happens now and then" means it's not inherently reproducible-every-time, but "every ten builds of all the dependencies of this Cargo.toml and Cargo.lock" is much more reproducible than "not at all".
Please feel free to use rustbot to relabel this if you determine the same bug happens on non-Intel hardware. If another bug, or a bug you aren't sure if it's the same, happens on different hardware, please open a new issue for it? Thanks.
@rustbot label: -I-ICE +I-crash +I-compilemem -C-bug +C-defective-hardware +S-needs-repro
I used Intel ETU and reduced that performance core ratio and that seems to have resolved the issue for now, however I have been able to repro this issue on an M1 Mac as well
just need a reproducer then!
Hey, I keep on encountering some very odd crashes of the rust compiler. It first started with nightly, but I have since gone back to stable 1.78 and the error continues to happen. I have seen it happen on a mac, a linux and (most frequently) on my main windows machine. I'm not sure if it's due to a specific part of my code, and if so, what part of that code that might be. And the error it emits varies quite a lot.
Meta
rustc --version --verbose
:I have an Intel 13th Gen Core i9 13900K desktop with 64GB of ram and 2TB drive with 400GB free
Error output
When I compile in release mode, I just get this
Note that the specific crate it crashes is nondeterministic. It changes wildly every time I compile.
However in release with backtrace enabled, I get this:
Backtrace
``` error: could not compile `aws-credential-types` (lib) Caused by: process didn't exit successfully: `C:\Users\oshia\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name aws_credential_types --edition=2021 C:\Users\oshia\.cargo\registry\src\index.crates.io-6f17d22bba15001f\aws-credential-types-1.2.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=369 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg "feature=\"test-util\"" -C metadata=c4b3ac11995b0d65 -C extra-filename=-c4b3ac11995b0d65 --out-dir C:\Users\oshia\dev\judaea\target\debug\deps -L dependency=C:\Users\oshia\dev\judaea\target\debug\deps --extern aws_smithy_async=C:\Users\oshia\dev\judaea\target\debug\deps\libaws_smithy_async-24f3a8c1e76ff276.rmeta --extern aws_smithy_runtime_api=C:\Users\oshia\dev\judaea\target\debug\deps\libaws_smithy_runtime_api-9c48c95338e9c828.rmeta --extern aws_smithy_types=C:\Users\oshia\dev\judaea\target\debug\deps\libaws_smithy_types-49f73e444363f3ce.rmeta --extern zeroize=C:\Users\oshia\dev\judaea\target\debug\deps\libzeroize-a32636e3542357d9.rmeta --cap-lints allow --cfg tokio_unstable -L native=C:\Users\oshia\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_msvc-0.48.5\lib -L native=C:\Users\oshia\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_msvc-0.52.5\lib` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION) warning: build failed, waiting for other jobs to finish... error: could not compile `aws-smithy-http` (lib) Caused by: process didn't exit successfully: `C:\Users\oshia\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name aws_smithy_http --edition=2021 C:\Users\oshia\.cargo\registry\src\index.crates.io-6f17d22bba15001f\aws-smithy-http-0.60.8\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=369 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg "feature=\"aws-smithy-eventstream\"" --cfg "feature=\"event-stream\"" -C metadata=ddc1459ecd3d43a1 -C extra-filename=-ddc1459ecd3d43a1 --out-dir C:\Users\oshia\dev\judaea\target\debug\deps -L dependency=C:\Users\oshia\dev\judaea\target\debug\deps --extern aws_smithy_eventstream=C:\Users\oshia\dev\judaea\target\debug\deps\libaws_smithy_eventstream-d02bb576df138462.rmeta --extern aws_smithy_runtime_api=C:\Users\oshia\dev\judaea\target\debug\deps\libaws_smithy_runtime_api-9c48c95338e9c828.rmeta --extern aws_smithy_types=C:\Users\oshia\dev\judaea\target\debug\deps\libaws_smithy_types-49f73e444363f3ce.rmeta --extern bytes=C:\Users\oshia\dev\judaea\target\debug\deps\libbytes-d0bed84e864d6b17.rmeta --extern bytes_utils=C:\Users\oshia\dev\judaea\target\debug\deps\libbytes_utils-f514d8d84103cbe6.rmeta --extern futures_core=C:\Users\oshia\dev\judaea\target\debug\deps\libfutures_core-0ec199408cc0163b.rmeta --extern http=C:\Users\oshia\dev\judaea\target\debug\deps\libhttp-3748bc497fd15f50.rmeta --extern http_body=C:\Users\oshia\dev\judaea\target\debug\deps\libhttp_body-a27ae7944e76e699.rmeta --extern once_cell=C:\Users\oshia\dev\judaea\target\debug\deps\libonce_cell-cdfa8588fc406c03.rmeta --extern percent_encoding=C:\Users\oshia\dev\judaea\target\debug\deps\libpercent_encoding-7babe4ad6b07f39a.rmeta --extern pin_project_lite=C:\Users\oshia\dev\judaea\target\debug\deps\libpin_project_lite-076267bb6e181e91.rmeta --extern pin_utils=C:\Users\oshia\dev\judaea\target\debug\deps\libpin_utils-3c15de027befcf43.rmeta --extern tracing=C:\Users\oshia\dev\judaea\target\debug\deps\libtracing-ba94372e8e3150b4.rmeta --cap-lints allow --cfg tokio_unstable -L native=C:\Users\oshia\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_msvc-0.48.5\lib -L native=C:\Users\oshia\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_msvc-0.52.5\lib` (exit code: 0xc0000374, STATUS_HEAP_CORRUPTION) error: could not compile `image` (lib) Caused by: process didn't exit successfully: `C:\Users\oshia\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name image --edition=2021 C:\Users\oshia\.cargo\registry\src\index.crates.io-6f17d22bba15001f\image-0.24.9\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=369 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg "feature=\"bmp\"" --cfg "feature=\"dds\"" --cfg "feature=\"default\"" --cfg "feature=\"dxt\"" --cfg "feature=\"exr\"" --cfg "feature=\"farbfeld\"" --cfg "feature=\"gif\"" --cfg "feature=\"hdr\"" --cfg "feature=\"ico\"" --cfg "feature=\"jpeg\"" --cfg "feature=\"jpeg_rayon\"" --cfg "feature=\"openexr\"" --cfg "feature=\"png\"" --cfg "feature=\"pnm\"" --cfg "feature=\"qoi\"" --cfg "feature=\"tga\"" --cfg "feature=\"tiff\"" --cfg "feature=\"webp\"" -C metadata=b67c59c2c3577dbd -C extra-filename=-b67c59c2c3577dbd --out-dir C:\Users\oshia\dev\judaea\target\debug\deps -L dependency=C:\Users\oshia\dev\judaea\target\debug\deps --extern bytemuck=C:\Users\oshia\dev\judaea\target\debug\deps\libbytemuck-a28f98f8deaa8ee4.rmeta --extern byteorder=C:\Users\oshia\dev\judaea\target\debug\deps\libbyteorder-9365e5b62a36548e.rmeta --extern color_quant=C:\Users\oshia\dev\judaea\target\debug\deps\libcolor_quant-940e82c413f93d75.rmeta --extern exr=C:\Users\oshia\dev\judaea\target\debug\deps\libexr-25b5febc02d9afbf.rmeta --extern gif=C:\Users\oshia\dev\judaea\target\debug\deps\libgif-53d3d368485f835d.rmeta --extern jpeg=C:\Users\oshia\dev\judaea\target\debug\deps\libjpeg_decoder-739eaddafcc81896.rmeta --extern num_traits=C:\Users\oshia\dev\judaea\target\debug\deps\libnum_traits-4a53925c0f7e797a.rmeta --extern png=C:\Users\oshia\dev\judaea\target\debug\deps\libpng-8b4de6a444668a8b.rmeta --extern qoi=C:\Users\oshia\dev\judaea\target\debug\deps\libqoi-bc0d4a562d8083a2.rmeta --extern tiff=C:\Users\oshia\dev\judaea\target\debug\deps\libtiff-ee4a85b38ab8abbd.rmeta --cap-lints allow --cfg tokio_unstable` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION) error: could not compile `protobuf` (lib) Caused by: process didn't exit successfully: `C:\Users\oshia\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name protobuf --edition=2021 C:\Users\oshia\.cargo\registry\src\index.crates.io-6f17d22bba15001f\protobuf-3.4.0\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=369 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg "feature=\"default\"" -C metadata=f6d1da5f5390d843 -C extra-filename=-f6d1da5f5390d843 --out-dir C:\Users\oshia\dev\judaea\target\debug\deps -L dependency=C:\Users\oshia\dev\judaea\target\debug\deps --extern once_cell=C:\Users\oshia\dev\judaea\target\debug\deps\libonce_cell-cdfa8588fc406c03.rmeta --extern protobuf_support=C:\Users\oshia\dev\judaea\target\debug\deps\libprotobuf_support-0a06827a8da7f03e.rmeta --extern thiserror=C:\Users\oshia\dev\judaea\target\debug\deps\libthiserror-5960c6a85ac3c587.rmeta --cap-lints allow --cfg tokio_unstable` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION) The following warnings were emitted during compilation: warning: libgit2-sys@0.14.2+1.5.1: ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.40.33807\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "C:\\Users\\oshia\\dev\\judaea\\target\\debug\\build\\libgit2-sys-6f8e87eedd26c1b1\\out\\include" "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-I" "C:\\Users\\oshia\\dev\\judaea\\target\\debug\\build\\libssh2-sys-978ec10024e65ba1\\out\\include" "-I" "C:\\Users\\oshia\\dev\\judaea\\target\\debug\\build\\libz-sys-a9b6fe29574f2c44\\out/include" "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" "-DMAX_NAME_COUNT=10000" "-DSTRSAFE_NO_DEPRECATE" "-DWIN32" "-D_WIN32_WINNT=0x0600" "-DSHA1DC_NO_STANDARD_INCLUDES=1" "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-FoC:\\Users\\oshia\\dev\\judaea\\target\\debug\\build\\libgit2-sys-6f8e87eedd26c1b1\\out\\build\\9646caca89e97167-config_parse.o" "-c" "libgit2/src/libgit2\\config_parse.c" with args cl.exe did not execute successfully (status code exit code: 0xe06d5034).httpclient.c error: failed to run custom build command for `libgit2-sys v0.14.2+1.5.1` note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. Caused by: process didn't exit successfully: `C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-93435eb60b34aa84\build-script-build` (exit code: 1) --- stdout cargo:rerun-if-env-changed=LIBGIT2_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=LIBGIT2_STATIC cargo:rerun-if-env-changed=LIBGIT2_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=LIBGIT2_STATIC cargo:rerun-if-env-changed=LIBGIT2_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=LIBGIT2_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=LIBGIT2_STATIC cargo:rerun-if-env-changed=LIBGIT2_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=LIBGIT2_STATIC cargo:rerun-if-env-changed=LIBGIT2_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-pc-windows-msvc cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_pc_windows_msvc cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR cargo:rustc-cfg=libgit2_vendored libgit2/include\git2\annotated_commit.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\annotated_commit.h libgit2/include\git2\apply.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\apply.h libgit2/include\git2\attr.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\attr.h libgit2/include\git2\blame.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\blame.h libgit2/include\git2\blob.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\blob.h libgit2/include\git2\branch.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\branch.h libgit2/include\git2\buffer.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\buffer.h libgit2/include\git2\cert.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\cert.h libgit2/include\git2\checkout.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\checkout.h libgit2/include\git2\cherrypick.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\cherrypick.h libgit2/include\git2\clone.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\clone.h libgit2/include\git2\commit.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\commit.h libgit2/include\git2\common.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\common.h libgit2/include\git2\config.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\config.h libgit2/include\git2\credential.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\credential.h libgit2/include\git2\credential_helpers.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\credential_helpers.h libgit2/include\git2\cred_helpers.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\cred_helpers.h libgit2/include\git2\deprecated.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\deprecated.h libgit2/include\git2\describe.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\describe.h libgit2/include\git2\diff.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\diff.h libgit2/include\git2\email.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\email.h libgit2/include\git2\errors.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\errors.h libgit2/include\git2\filter.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\filter.h libgit2/include\git2\global.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\global.h libgit2/include\git2\graph.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\graph.h libgit2/include\git2\ignore.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\ignore.h libgit2/include\git2\index.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\index.h libgit2/include\git2\indexer.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\indexer.h libgit2/include\git2\mailmap.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\mailmap.h libgit2/include\git2\merge.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\merge.h libgit2/include\git2\message.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\message.h libgit2/include\git2\net.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\net.h libgit2/include\git2\notes.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\notes.h libgit2/include\git2\object.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\object.h libgit2/include\git2\odb.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\odb.h libgit2/include\git2\odb_backend.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\odb_backend.h libgit2/include\git2\oid.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\oid.h libgit2/include\git2\oidarray.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\oidarray.h libgit2/include\git2\pack.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\pack.h libgit2/include\git2\patch.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\patch.h libgit2/include\git2\pathspec.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\pathspec.h libgit2/include\git2\proxy.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\proxy.h libgit2/include\git2\rebase.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\rebase.h libgit2/include\git2\refdb.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\refdb.h libgit2/include\git2\reflog.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\reflog.h libgit2/include\git2\refs.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\refs.h libgit2/include\git2\refspec.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\refspec.h libgit2/include\git2\remote.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\remote.h libgit2/include\git2\repository.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\repository.h libgit2/include\git2\reset.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\reset.h libgit2/include\git2\revert.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\revert.h libgit2/include\git2\revparse.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\revparse.h libgit2/include\git2\revwalk.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\revwalk.h libgit2/include\git2\signature.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\signature.h libgit2/include\git2\stash.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\stash.h libgit2/include\git2\status.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\status.h libgit2/include\git2\stdint.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\stdint.h libgit2/include\git2\strarray.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\strarray.h libgit2/include\git2\submodule.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\submodule.h libgit2/include\git2\sys\alloc.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\alloc.h libgit2/include\git2\sys\commit.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\commit.h libgit2/include\git2\sys\commit_graph.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\commit_graph.h libgit2/include\git2\sys\config.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\config.h libgit2/include\git2\sys\cred.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\cred.h libgit2/include\git2\sys\credential.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\credential.h libgit2/include\git2\sys\diff.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\diff.h libgit2/include\git2\sys\email.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\email.h libgit2/include\git2\sys\filter.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\filter.h libgit2/include\git2\sys\hashsig.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\hashsig.h libgit2/include\git2\sys\index.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\index.h libgit2/include\git2\sys\mempack.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\mempack.h libgit2/include\git2\sys\merge.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\merge.h libgit2/include\git2\sys\midx.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\midx.h libgit2/include\git2\sys\odb_backend.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\odb_backend.h libgit2/include\git2\sys\openssl.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\openssl.h libgit2/include\git2\sys\path.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\path.h libgit2/include\git2\sys\refdb_backend.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\refdb_backend.h libgit2/include\git2\sys\reflog.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\reflog.h libgit2/include\git2\sys\refs.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\refs.h libgit2/include\git2\sys\remote.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\remote.h libgit2/include\git2\sys\repository.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\repository.h libgit2/include\git2\sys\stream.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\stream.h libgit2/include\git2\sys\transport.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\sys\transport.h libgit2/include\git2\tag.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\tag.h libgit2/include\git2\trace.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\trace.h libgit2/include\git2\transaction.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\transaction.h libgit2/include\git2\transport.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\transport.h libgit2/include\git2\tree.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\tree.h libgit2/include\git2\types.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\types.h libgit2/include\git2\version.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\version.h libgit2/include\git2\worktree.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2\worktree.h libgit2/include\git2.h => C:\Users\oshia\dev\judaea\target\debug\build\libgit2-sys-6f8e87eedd26c1b1\out\include\git2.h TARGET = Some("x86_64-pc-windows-msvc") OPT_LEVEL = Some("0") HOST = Some("x86_64-pc-windows-msvc") cargo:rerun-if-env-changed=CC_x86_64-pc-windows-msvc CC_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CC_x86_64_pc_windows_msvc CC_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=HOST_CC HOST_CC = None cargo:rerun-if-env-changed=CC CC = None cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS CRATE_CC_NO_DEFAULTS = None CARGO_CFG_TARGET_FEATURE = Some("cmpxchg16b,fxsr,sse,sse2,sse3") DEBUG = Some("true") cargo:rerun-if-env-changed=CFLAGS_x86_64-pc-windows-msvc CFLAGS_x86_64-pc-windows-msvc = None cargo:rerun-if-env-changed=CFLAGS_x86_64_pc_windows_msvc CFLAGS_x86_64_pc_windows_msvc = None cargo:rerun-if-env-changed=HOST_CFLAGS HOST_CFLAGS = None cargo:rerun-if-env-changed=CFLAGS CFLAGS = None cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT annotated_commit.c apply.c attr.c attr_file.c attrcache.c blame.c blame_git.c blob.c branch.c buf.c cache.c checkout.c cherrypick.c clone.c commit.c commit_graph.c commit_list.c config.c config_cache.c config_entries.c config_mem.c config_file.c config_parse.c config_snapshot.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 crlf.c delta.c describe.c diff.c diff_driver.c diff_file.c diff_generate.c diff_parse.c diff_print.c diff_stats.c diff_tform.c diff_xdiff.c errors.c email.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 fetch.c fetchhead.c filter.c graph.c hashsig.c ident.c idxmap.c ignore.c C:\Users\oshia\.cargo\registry\src\index.crates.io-6f17d22bba15001f\libgit2-sys-0.14.2+1.5.1\libgit2\src\libgit2\config_parse.c(217) : fatal error C1001: Internal compiler error. (compiler file 'D:\a\_work\1\s\src\vctools\Compiler\Utc\src\p2\main.c', line 242) To work around this problem, try simplifying or changing the program near the locations listed above. If possible please provide a repro here: https://developercommunity.visualstudio.com Please choose the Technical Support command on the Visual C++ Help menu, or open the Technical Support help file for more information cl!RaiseException()+0x6c cl!RaiseException()+0x6c cl!InvokeCompilerPassW()+0x9077f cl!InvokeCompilerPassW()+0x107eed cl!InvokeCompilerPassW()+0x1ce9f3 index.c indexer.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 iterator.c libgit2.c mailmap.c merge.c merge_driver.c merge_file.c message.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 midx.c mwindow.c netops.c notes.c object.c object_api.c odb.c odb_loose.c odb_pack.c odb_mempack.c offmap.c oid.c oidarray.c oidmap.c pack-objects.c parse.c pack.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 patch.c patch_generate.c patch_parse.c path.c pathspec.c proxy.c push.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 rebase.c reader.c refdb.c refdb_fs.c reflog.c refs.c refspec.c remote.c repository.c reset.c revert.c revparse.c revwalk.c signature.c stash.c status.c strarray.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 submodule.c sysdir.c tag.c threadstate.c trace.c trailer.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 transaction.c transport.c tree-cache.c tree.c worktree.c alloc.c date.c filebuf.c fs_path.c futils.c hash.c net.c pool.c posix.c pqueue.c rand.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 regexp.c runtime.c sortedcache.c str.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 thread.c tsort.c strmap.c utf8.c util.c varint.c vector.c wildmatch.c zstream.c xdiffi.c xemit.c xhistogram.c xmerge.c xpatience.c xprepare.c xutils.c auth.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 auth_negotiate.c auth_ntlm.c credential.c credential_helpers.c git.c http.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0xe06d5034 cargo:warning=ToolExecError: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.40.33807\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "C:\\Users\\oshia\\dev\\judaea\\target\\debug\\build\\libgit2-sys-6f8e87eedd26c1b1\\out\\include" "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-I" "C:\\Users\\oshia\\dev\\judaea\\target\\debug\\build\\libssh2-sys-978ec10024e65ba1\\out\\include" "-I" "C:\\Users\\oshia\\dev\\judaea\\target\\debug\\build\\libz-sys-a9b6fe29574f2c44\\out/include" "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" "-DMAX_NAME_COUNT=10000" "-DSTRSAFE_NO_DEPRECATE" "-DWIN32" "-D_WIN32_WINNT=0x0600" "-DSHA1DC_NO_STANDARD_INCLUDES=1" "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-FoC:\\Users\\oshia\\dev\\judaea\\target\\debug\\build\\libgit2-sys-6f8e87eedd26c1b1\\out\\build\\9646caca89e97167-config_parse.o" "-c" "libgit2/src/libgit2\\config_parse.c" with args cl.exe did not execute successfully (status code exit code: 0xe06d5034).httpclient.c local.c smart_pkt.c smart.c smart_protocol.c winhttp.c ssh.c openssl.c mbedtls.c openssl_dynamic.c openssl_legacy.c registry.c stransport.c tls.c socket.c http_parser.c pcre_byte_order.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 pcre_chartables.c pcre_compile.c pcre_config.c pcre_dfa_exec.c pcre_exec.c pcre_fullinfo.c pcre_get.c pcre_globals.c pcre_jit_compile.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 pcre_maketables.c pcre_newline.c pcre_ord2utf8.c pcre_printint.c pcre_refcount.c pcre_study.c pcre_string_utils.c pcre_tables.c pcre_ucd.c pcre_valid_utf8.c pcre_xclass.c pcre_version.c pcreposix.c failalloc.c stdalloc.c dir.c error.c findfile.c map.c path_w32.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 posix_w32.c thread.c precompiled.c w32_buffer.c utf-conv.c collisiondetect.c w32_util.c sha1.c ubc_check.c win32.c exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 exit code: 0 --- stderr error occurred: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.40.33807\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "C:\\Users\\oshia\\dev\\judaea\\target\\debug\\build\\libgit2-sys-6f8e87eedd26c1b1\\out\\include" "-I" "libgit2/src/libgit2" "-I" "libgit2/src/util" "-I" "libgit2/deps/http-parser" "-I" "libgit2/deps/pcre" "-I" "C:\\Users\\oshia\\dev\\judaea\\target\\debug\\build\\libssh2-sys-978ec10024e65ba1\\out\\include" "-I" "C:\\Users\\oshia\\dev\\judaea\\target\\debug\\build\\libz-sys-a9b6fe29574f2c44\\out/include" "-DGIT_REGEX_BUILTIN=1" "-DHAVE_STDINT_H=1" "-DHAVE_MEMMOVE=1" "-DNO_RECURSE=1" "-DNEWLINE=10" "-DPOSIX_MALLOC_THRESHOLD=10" "-DLINK_SIZE=2" "-DPARENS_NEST_LIMIT=250" "-DMATCH_LIMIT=10000000" "-DMATCH_LIMIT_RECURSION=MATCH_LIMIT" "-DMAX_NAME_SIZE=32" "-DMAX_NAME_COUNT=10000" "-DSTRSAFE_NO_DEPRECATE" "-DWIN32" "-D_WIN32_WINNT=0x0600" "-DSHA1DC_NO_STANDARD_INCLUDES=1" "-DSHA1DC_CUSTOM_INCLUDE_SHA1_C=\"common.h\"" "-DSHA1DC_CUSTOM_INCLUDE_UBC_CHECK_C=\"common.h\"" "-FoC:\\Users\\oshia\\dev\\judaea\\target\\debug\\build\\libgit2-sys-6f8e87eedd26c1b1\\out\\build\\9646caca89e97167-config_parse.o" "-c" "libgit2/src/libgit2\\config_parse.c" with args cl.exe did not execute successfully (status code exit code: 0xe06d5034). LLVM ERROR: out of memory Allocation failed error: could not compile `mongodb` (lib) Caused by: process didn't exit successfully: `C:\Users\oshia\.rustup\toolchains\stable-x86_64-pc-windows-msvc\bin\rustc.exe --crate-name mongodb --edition=2021 C:\Users\oshia\.cargo\registry\src\index.crates.io-6f17d22bba15001f\mongodb-2.8.2\src\lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --diagnostic-width=369 --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 --cfg "feature=\"default\"" --cfg "feature=\"log\"" --cfg "feature=\"serde_bytes\"" --cfg "feature=\"tokio-runtime\"" --cfg "feature=\"tracing\"" --cfg "feature=\"tracing-unstable\"" -C metadata=23701eb2b709eb37 -C extra-filename=-23701eb2b709eb37 --out-dir C:\Users\oshia\dev\judaea\target\debug\deps -L dependency=C:\Users\oshia\dev\judaea\target\debug\deps --extern async_trait=C:\Users\oshia\dev\judaea\target\debug\deps\async_trait-4cf48595e074984a.dll --extern base64=C:\Users\oshia\dev\judaea\target\debug\deps\libbase64-8683d46357eb30ff.rmeta --extern bitflags=C:\Users\oshia\dev\judaea\target\debug\deps\libbitflags-f20d14ba37e76d62.rmeta --extern bson=C:\Users\oshia\dev\judaea\target\debug\deps\libbson-7b6e41fc0f2bfa64.rmeta --extern chrono=C:\Users\oshia\dev\judaea\target\debug\deps\libchrono-c378bbf00550d9e7.rmeta --extern derivative=C:\Users\oshia\dev\judaea\target\debug\deps\derivative-1cd8addc4eacd8b8.dll --extern derive_more=C:\Users\oshia\dev\judaea\target\debug\deps\derive_more-26faf1273e339eb4.dll --extern futures_core=C:\Users\oshia\dev\judaea\target\debug\deps\libfutures_core-0ec199408cc0163b.rmeta --extern futures_executor=C:\Users\oshia\dev\judaea\target\debug\deps\libfutures_executor-b7ab9e3a0fa36f11.rmeta --extern futures_io=C:\Users\oshia\dev\judaea\target\debug\deps\libfutures_io-557e9ebce8599bb4.rmeta --extern futures_util=C:\Users\oshia\dev\judaea\target\debug\deps\libfutures_util-efc28a0385f8e065.rmeta --extern hex=C:\Users\oshia\dev\judaea\target\debug\deps\libhex-23d82fe02cfd2f0a.rmeta --extern hmac=C:\Users\oshia\dev\judaea\target\debug\deps\libhmac-437df89da06c6579.rmeta --extern lazy_static=C:\Users\oshia\dev\judaea\target\debug\deps\liblazy_static-0a6af96c52296807.rmeta --extern log=C:\Users\oshia\dev\judaea\target\debug\deps\liblog-f3a5f9f964d58f6f.rmeta --extern md5=C:\Users\oshia\dev\judaea\target\debug\deps\libmd5-b8527618dbea0163.rmeta --extern pbkdf2=C:\Users\oshia\dev\judaea\target\debug\deps\libpbkdf2-cf01bdbe6c274f0e.rmeta --extern percent_encoding=C:\Users\oshia\dev\judaea\target\debug\deps\libpercent_encoding-7babe4ad6b07f39a.rmeta --extern rand=C:\Users\oshia\dev\judaea\target\debug\deps\librand-feef60a061a107c6.rmeta --extern rustc_version_runtime=C:\Users\oshia\dev\judaea\target\debug\deps\librustc_version_runtime-07f5529d4c1d11f0.rmeta --extern rustls=C:\Users\oshia\dev\judaea\target\debug\deps\librustls-55486456c18bcf0c.rmeta --extern rustls_pemfile=C:\Users\oshia\dev\judaea\target\debug\deps\librustls_pemfile-9c1e53a5bac1d4f6.rmeta --extern serde=C:\Users\oshia\dev\judaea\target\debug\deps\libserde-6d15f613667eb5bd.rmeta --extern serde_bytes=C:\Users\oshia\dev\judaea\target\debug\deps\libserde_bytes-058516768a96fa1a.rmeta --extern serde_with=C:\Users\oshia\dev\judaea\target\debug\deps\libserde_with-71bb22f395323595.rmeta --extern sha1=C:\Users\oshia\dev\judaea\target\debug\deps\libsha1-da0e5591993d4c56.rmeta --extern sha2=C:\Users\oshia\dev\judaea\target\debug\deps\libsha2-ac245a3241cbeb67.rmeta --extern socket2=C:\Users\oshia\dev\judaea\target\debug\deps\libsocket2-eef6b69d6f97a8fe.rmeta --extern stringprep=C:\Users\oshia\dev\judaea\target\debug\deps\libstringprep-6dc274be597e0074.rmeta --extern strsim=C:\Users\oshia\dev\judaea\target\debug\deps\libstrsim-32fe6e09fc99dc31.rmeta --extern take_mut=C:\Users\oshia\dev\judaea\target\debug\deps\libtake_mut-295c4095042865c8.rmeta --extern thiserror=C:\Users\oshia\dev\judaea\target\debug\deps\libthiserror-5960c6a85ac3c587.rmeta --extern tokio=C:\Users\oshia\dev\judaea\target\debug\deps\libtokio-5c58118f3de456dc.rmeta --extern tokio_rustls=C:\Users\oshia\dev\judaea\target\debug\deps\libtokio_rustls-8f3f0712fb80da89.rmeta --extern tokio_util=C:\Users\oshia\dev\judaea\target\debug\deps\libtokio_util-7bae131deff0de91.rmeta --extern tracing=C:\Users\oshia\dev\judaea\target\debug\deps\libtracing-ba94372e8e3150b4.rmeta --extern trust_dns_proto=C:\Users\oshia\dev\judaea\target\debug\deps\libtrust_dns_proto-1dc2880137433aea.rmeta --extern trust_dns_resolver=C:\Users\oshia\dev\judaea\target\debug\deps\libtrust_dns_resolver-6616ffc1ba63ce16.rmeta --extern typed_builder=C:\Users\oshia\dev\judaea\target\debug\deps\typed_builder-f935d830c965b491.dll --extern uuid=C:\Users\oshia\dev\judaea\target\debug\deps\libuuid-2f9e412493f57f34.rmeta --extern webpki_roots=C:\Users\oshia\dev\judaea\target\debug\deps\libwebpki_roots-7ca8687ca61ca467.rmeta --cap-lints allow --cfg tokio_unstable -L native=C:\Users\oshia\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_msvc-0.52.5\lib -L native=C:\Users\oshia\dev\judaea\target\debug\build\ring-b566fe24af9b3478\out -L native=C:\Users\oshia\.cargo\registry\src\index.crates.io-6f17d22bba15001f\windows_x86_64_msvc-0.48.5\lib` (exit code: 0xc0000409, STATUS_STACK_BUFFER_OVERRUN) ``` It seems to be related to rustc blowing the stack. What confuses me, is that it started happening rather out of the blue, and there are other machines on which the same repo compiles without issue. I ran the windows memory diagnostic tool because of prior research, but that reported no problems and the issue persists.