I'm not seeing any error message, the device just restarts.
I've tried to use the following code instead (without calling lcd.font):
While it doesn't cause restart the font isn't working (I've tried to search the generated files and compileFont doesn't seem to produce any .fon file, which shouldn't be the case)
Side Note: my input .c file is less than 100 KB in size, as larger files caused crashes according to the comments in previous posts.