Due to rainy weather, gravel was washed into the safety brake system of the hoist causing a mechanical failure around 3:30 a.m. on 1-1-2019. MSHA was notified at this time. The safeties were cleaned thoroughly and tested multiple times to verify proper function. The hoist was released to run and MSHA was contacted.