I noticed this issue, and thought it might be useful to point out that this is
clearly a new compiler bug.
From the first fatal error in the full log:
NSGraphicsContext.m: In function ‘+[NSGraphicsContext(Private)
_initializeMethodTable]’:
NSGraphicsContext.m:532:42: error: expected ‘)’ before ‘::’ token
532 | GET_IMP(@selector(DPScurrentcmykcolor::::));
| ~ ^~
We can see that the compiler has 'recognised' a '::' token, but inside
@selector(...) each colon mark the point at which an argument would be inserted
into a method call, so the compiler cannot legally tokenise pairs of colons as
a single token in that context.