Photo examples of aborted pinheads and mushroom aborts. Usually, such shrooms and pins stop growing, and mushroom caps turn black or dark-blue. Caused by stress, poor environmental conditions, genetic issues. It's not a contamination!
If you find your mushrooms have stopped growing and their caps turned black
May 2021