The building collapsed as construction workers carried out repairs on the first floor .