Rescue workers inspect the derailed train