A similar thing happened not far from here once. Someone who fed the hogs was told they had to stop because it was attracting rats. So I always dread a rat appearing. Like you, luckily, they have made surprisingly few appearances, and have usually given up if life was made difficult for them.
But, I can see why you wanted to use the trap. Someone like you, who has a lot to do with hogs, etc. would no doubt make sure that nothing was in the trap too long, but not everyone is as careful and a lot of people don’t realise hogs can get caught in them too. I borrowed one once, years ago, but I was so worried that a hog might get caught that I only set it during the daytime (that particular rat was sometimes seen during the day). Needless to say, nothing was caught! I’m really pleased it worked out well for you and hope you have no more rat visitors for a while. It would be very sad if you couldn’t feed all those birds and hedgehogs.
Good luck with the new feeding box. Let us know how you get on.