Kicad 5 DRC Router Error

Define the top pad as smd pad in this case. (but remove the paste layer from it)
As inspiration look at the section about thermal vias in the how to make a footprint tutorial.