def split_artifact_filename(s):
    """
    split_artifact_filename('artifact::filename') -> ('artifact', 'filename')

    Raises ValueError if "::" is not found.
    """
    index = s.index("::")
    return (s[:index], s[index+2:])