3-alarm blaze rips through warehouse