It is quite possible that there is nothing wrong with the 'failed' drive. External factors such as cabling, power supply etc are much more common causes of problems that the physical drives failing. After a successful rebuild you can test the 'failed' drive to see if it appears to be OK in which case you can keep it as a spare.