I caught a cold and my voice went hoarse.

Literal

Cold [object-を] caught-and voice [subject-が] hoarse became.

声がかれてしまった — かれる means 'to become hoarse.' ~てしまった adds the nuance of regret or undesirable completion: 'it went and became hoarse.'