3-alarm fire rips through warehouse