The national mining βagency had warned weeks earlier that a buildup of gases at the mine could become dangerous.