You defined a rule for target using the :: operator, and then followed this with another rule for target using the : operator.
Either modify the second rule to use :: or remove it.