Unable to upload firmware

Hello,
I am working on the first program following the guide.
uploading process works well before writing “subscribe messages” part. Compiling succeed.
Maybe relates to bootloader?
Thanks!
Here is what happened.