The first problems in the log are:
Modules/objc/helpers-vector.m:13660:5: error: unknown type name 'MPSAxisAlignedBoundingBox'; did you mean 'MDLAxisAlignedBoundingBox'?
MPSAxisAlignedBoundingBox rv;
^~~~~~~~~~~~~~~~~~~~~~~~~
MDLAxisAlignedBoundingBox
/System/Library/Frameworks/ModelIO.framework/Headers/MDLTypes.h:95:3: note: 'MDLAxisAlignedBoundingBox' declared here
} MDLAxisAlignedBoundingBox;
^
Modules/objc/helpers-vector.m:13679:24: warning: implicit declaration of function 'MPSAxisAlignedBoundingBox' is invalid in C99 [-Wimplicit-function-declaration]
rv = ((MPSAxisAlignedBoundingBox(*)(id, SEL))(PyObjCIMP_GetIMP(method)))(
^
Modules/objc/helpers-vector.m:13679:24: warning: this function declaration is not a prototype [-Wstrict-prototypes]
Modules/objc/helpers-vector.m:13679:51: error: expected expression
rv = ((MPSAxisAlignedBoundingBox(*)(id, SEL))(PyObjCIMP_GetIMP(method)))(
^
Modules/objc/helpers-vector.m:13679:53: error: unexpected type name 'id': expected expression
rv = ((MPSAxisAlignedBoundingBox(*)(id, SEL))(PyObjCIMP_GetIMP(method)))(
^
Modules/objc/helpers-vector.m:13679:57: error: unexpected type name 'SEL': expected expression
rv = ((MPSAxisAlignedBoundingBox(*)(id, SEL))(PyObjCIMP_GetIMP(method)))(
^
Modules/objc/helpers-vector.m:13687:24: warning: implicit declaration of function 'MPSAxisAlignedBoundingBox' is invalid in C99 [-Wimplicit-function-declaration]
rv = ((MPSAxisAlignedBoundingBox(*)(struct objc_super*,
^
Modules/objc/helpers-vector.m:13687:51: error: expected expression
rv = ((MPSAxisAlignedBoundingBox(*)(struct objc_super*,
^
Modules/objc/helpers-vector.m:13687:53: error: expected expression
rv = ((MPSAxisAlignedBoundingBox(*)(struct objc_super*,
^
Modules/objc/helpers-vector.m:13688:53: error: unexpected type name 'SEL': expected expression
SEL))objc_msgSendSuper_stret)(
^