import re


def get_unyielding_tcids(log_str):
    """Extract the set of tcids for which no statements were created."""
    tcid_strs = re.findall('INFO: \[.*?\].*? - Got no statements for (\d+).*',
                           log_str)
    return {int(tcid_str) for tcid_str in tcid_strs}