I think the ants mean it is to dry. As for the maggots, that must mean you have something dead or decaying in there as I didn't think maggots lived on veggie matter. I wouldn't worry about the ants, water the heap if you can, but the one with the maggots, I would investigate and see what is causing maggots to hatch and try to get rid of it.