private static @NotNull com.intellij.build.events.Failure convertFailure(@NotNull Failure failure) {
    var causes = ContainerUtil.map(failure.getCauses(), it -> convertFailure(it));
    return new FailureImpl(failure.getMessage(), failure.getDescription(), causes);
  }
private static @NotNull com.intellij.build.events.Failure convertFailure(@NotNull Failure failure)