Upload to arduino shows weird errors

In the attachment are you can see the image. The error happens occasionally, once I click on upload again, it works but still sometimes it just appears

Please copy and paste the full error messages here in code tags rather than a screenshot

There is a "Copy error messages" button bottom/right of the IDE screen