E0583 paths() lists an address 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
Each address of a route is written once. Two entries that give the same address would write the same file twice, and which one won would depend on order.
How to fix it
Return each address once, for example by removing duplicates before returning.
In a terminal
duolith explain E0583