@NotNull
    private static String clearProgressCarriageReturns(@NotNull String line) {
      int i = line.lastIndexOf("\r");
      if (i == -1) return line;
      return line.substring(i + 1);
    }
@NotNull
    private static String clearProgressCarriageReturns(@NotNull String line)