I didn't think maggots just decide to go crawling about out in the open? In my experience they stay in seething masses on whatever they are eating, close to where they hatched, until ready to turn into flies.
I'd guess that someone upended the bin and tipped them out.
|