My best guess is that the hole was there before the mushroom grew. It is hard to find a biological species that need so much iron in their metabolism to the point it evolved something that can dissolve pure metal in a matter of 1-2 months. Irons are often used in enzymes and usually the ratio is around a few iron atoms bounded in a structure of thousands or tens of thousands of carbons and hydrogen atoms. To use so much iron implied that mushroom is literally chock full of special enzymes and I doubt it actually is.
More likely, something broke a hole there and the mushroom grew on it and capitalized on the broken edges to scavenge some extra irons but it did not punch that hole by itself.
I dont know what metal that was but there was a grey coat of paint on it. Sometimes they coat the metal to prevent rusting or whatever, but the rusting happens under the coating anyway. So maybe possible the underlying metal was rusting and the fungus was feasting on the coating. It was quite a humid space.
More likely, something broke a hole there and the mushroom grew on it and capitalized on the broken edges to scavenge some extra irons but it did not punch that hole by itself.