Can't complile TimeAlarm library without getting error Alarm out of scope

The Processing sketch creates a list of serial ports that the Arduino might be connected to. You then reference some element in that list. Obviously, that is an invalid element. The list is not that long.

Go back to the last version of Processing that actually works with the Arduino - 1.5.1.