I'm not really sure if this is an issue with the code or with Vivado itself. I'm not that experienced with Vivado.
I created a new project in Vivado 2020.2 and added your source files. I added the FIFO generator from the IP Catalog.
However, I still see this

I'm not sure what it represents or how to get rid of it. Has anyone else encountered this?