These days, Cygwin's packages are quite old. There is no recent Clang, for example. With Windows 11, I had to switch to MSYS2 because Cygwin's make stopped working for no obvious reason... - https://www.msys2.org/wiki/History/
MSYS2 works like a charm. We also use it in our GitHub Actions.