Yep, there were write errors on parity before the rebuild even begun:
Apr 9 15:28:31 NAS1 kernel: md: disk0 write error, sector=1953567832
Apr 9 15:28:31 NAS1 kernel: md: disk0 write error, sector=1953567840
Apr 9 15:28:31 NAS1 kernel: md: disk0 write error, sector=1953567848
So parity got disabled and the rebuild would be 100% corrupt:
Apr 9 15:28:40 NAS1 kernel: md: recovery thread: recon D12 ...
Apr 9 15:28:40 NAS1 kernel: md: recovery thread: multiple disk errors, sector=8
Apr 9 15:28:40 NAS1 kernel: md: recovery thread: multiple disk errors, sector=16
etc
Not clear to me how parity is enable again and disk12 disable in the 1st diags you posted, or are they old diags? If not, what happened after this: