code: def stdout_pathcolonline(completed_process, filenames):
      """
      given a completed process which may have reported some files as problematic
      by printing the path name followed by ':' then a line number, examine
      stdout and return the set of actually reported file names
      """
      returncode, stdout, stderr = completed_process
      bfilenames = set()
      for filename in filenames:
          bfilenames.add(filename.encode("utf-8") + b":")
      problem_files = set()
      for line in stdout.splitlines():
          for filename in bfilenames:
              if line.startswith(filename):
                  problem_files.add(filename.decode("utf-8"))
                  bfilenames.remove(filename)
                  break
      return problem_files, stdout
  
file_path: arrow/cpp/build-support/lintutils.py
imports: import multiprocessing
  import os
  from fnmatch import fnmatch
  from subprocess import Popen
label_desc: Use image node_id 5 for calling a global function with example usage: stdout_pathcolonline(completed_process, filenames) and returns: problem_files,  stdout