E0128 Piece given twice
Words in italics are filled in when the compiler reports it, such as the element's name or the list of known ones.
Why
A component shows each named slot once, so two <piece> elements with the same name would lose one of them.
How to fix it
Put everything for that slot in one <piece name="...">.
In a terminal
duolith explain E0128