What would be the temperature inside if the outside temperature is 40C?
Would those miners survive?
Higher than 40C - that's the thing with outside air cooling

You could use some evap cooling on the intake - however you need water supply and have added complexity. Where do you intend to mine?