@Override
    public void finished(boolean aborted, int errors, int warnings, @NotNull CompileContext compileContext) {
      if (finished.compareAndSet(false, true)) {
        myCollector.appendJpsBuildResult(aborted, errors, compileContext, this);
        mySpan.complete();
      } else {
        // can be invoked by CompileDriver for rerun action
        LOG.debug("Multiple invocation of the same CompileStatusNotification.");
      }
    }
@Override
    public void finished(boolean aborted, int errors, int warnings, @NotNull CompileContext compileContext)