Sweep is not compiling for Microservo SG99

I suspect there is a problem with your installation of the Arduino IDE. In the best of IT traditions, delete it and reinstall it.

...R