syntax error, unexpected ':', expecting ']'