Sorry, I didn’t have this issue so I’ve assumed the build was working.
From what I’ve seen online, this error is related to some sort of Unicode handling. According to this StackOverflow answer, the issue could be resolved by setting the DOTNET_SYSTEM_GLOBALIZATION_INVARIANT environment variable to 1.
Could you check whether this works, if possible?
Thank you for reporting this!