A warning sounded and a male worker stood by the side of the road waiting for the train to pass.