I see these warnings, but my interpretation is that they are purely coincidental. I don't think they should cause any problem for the download, but that C:\Users\jgoodall\Documents\Arduino\hardware\esp8266com folder is also not doing you any good so you might as well delete it. Then we can be sure it's not causing problems.
Unfortunately, I don't have a clear interpretation of the more significant parts of that output. I'll go ahead and try to put the blame on my standard bugbear when I have no clue what the problem is:
This sort of error could be caused by your antivirus software. Try TEMPORARILY disabling your antivirus for a single compilation to see if the problem goes away, then turn the antivirus back on.
If the problem doesn't occur with the antivirus off you will need to adjust the settings of your antivirus to put the appropriate file, folder, or process on the "allow list" so it doesn't interfere with compilation.
Please be cautious about working without an antivirus. This is only about temporarily disabling it for a quick test. If you don't feel comfortable doing that, fine. You can try going straight to configuring the antivirus to not interfere with the Arduino software.