https://gitlab.haskell.org/ghc/ghc/-/issues/18550#note_309996
I hit this in trying to include a windows code path in my ci matrix. It looks like an update is needed on your side?
I initially thought it was a library issue RyanGlScott/code-page#4 (comment) but it seems more foundational