A train clattered along the track beside a pile of houses.