This means that your inf file refers itself (driver.inf) in CopyFiles section.
This is not allowed. You need to use CopyINF. See remarks in https://learn.microsoft.com/en-us/windows-hardware/drivers/install/inf-copyfiles-directive
Usually you do not need to copy INF file: https://learn.microsoft.com/en-us/windows-hardware/drivers/install/inf-copyinf-directive
Try to move inf file into CopyINF section or remove it.