In future, please specify what line in what file is generating the error.
However, the error message is explicitly telling you what the problem is -- you cannot use a subset of an internal bus as an input (ie: a=sum0[0] is not permitted).
You will have to redesign your chips to avoid this limitation.
Please refer to the book appendixes for more details on the format and limitations of NAND2Tetris HDL.