Arduino R4 wifi sketch is not compiling

I've tried multiple times now, using both the OTA and the connect by cable methods.
I get the same error message as d2v5d, when using OTA, or a very similar one when using a cable: