The key is in?the last lines:
Sketch uses 17544 bytes (57%) of program storage space. Maximum is 30720 bytes.
Global variables use 1455 bytes (71%) of dynamic memory, leaving 593 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "/dev/cu.usbmodem1461": No such file or directory
An error occurred while uploading the sketch
Everything compiled fine, but you got a whole bunch of warnings. Warnings are not errors, and in most cases you cannot even do?anything about them - unless you want to rewrite the libraries the code uses.?
What is wrong however is that the compiled sketch cannot be uploaded to the Arduino. The error message is in bold in the few lines I quoted.?
Did you set?the correct port in the Arduino "Tools>Port" menu? You should see somehting like this:

If there is no checkmark in front of the serial port you?want to use, it was not selected. On all the Arduino Nano's I've used with my Macs, they never advertised their serial port as "usbmodem", it's always "cu.wchusbserialNNNN", so I would suspect that you did not select?the correct serial port.?
--
Karl Heinz - K5KHK