see details and solution in MSYS2 community. template isntantation failed
https://github.com/msys2/MINGW-packages/issues/17334