the shacks grew sparse , the people sparser , and then they were at the end , in the pits , with mining carts spewing rotten ore on their sides , and throngs of red legionaires , standing at attention in front of the entrances , as if expecting assault from the darkness at any moment .