The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftDownloadManager with Swift 5.9 for macOS (SPM).

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vberihuete/swift-download-manager.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/vberihuete/swift-download-manager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 98d8f5d Create CONTRIBUTING.md
Cloned https://github.com/vberihuete/swift-download-manager.git
Revision (git rev-parse @):
98d8f5d2012ed6ff615490fa7a4d68b260f5e84d
SUCCESS checkout https://github.com/vberihuete/swift-download-manager.git at main
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/mattgallagher/CwlCatchException.git from cache
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git from cache
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.28s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.28s)
Fetching https://github.com/Quick/Quick.git from cache
Fetched https://github.com/Quick/Nimble.git (0.28s)
Fetched https://github.com/Quick/Quick.git (0.23s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.04s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.04s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.04s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.03s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swift-download-manager",
      "name": "SwiftDownloadManager",
      "url": "https://github.com/vberihuete/swift-download-manager.git",
      "version": "unspecified",
      "path": "/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-download-manager",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/vberihuete/swift-download-manager.git
[1/124] Fetching swift-download-manager
Fetched https://github.com/vberihuete/swift-download-manager.git (0.25s)
Creating working copy for https://github.com/vberihuete/swift-download-manager.git
Working copy of https://github.com/vberihuete/swift-download-manager.git resolved at main
warning: '.resolve-product-dependencies': dependency 'swift-download-manager' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/15] Compiling swift_download_manager DownloadStorageService.swift
[2/15] Compiling swift_download_manager DownloadError.swift
[3/16] Compiling swift_download_manager DownloadProgress.swift
[4/16] Compiling swift_download_manager InterruptedDownload.swift
[5/16] Compiling swift_download_manager CompletedDownload.swift
[6/16] Compiling swift_download_manager Download.swift
[7/16] Compiling swift_download_manager URLSessionService.swift
[8/16] Compiling swift_download_manager DownloadRepository.swift
[9/16] Compiling swift_download_manager ImageDownloaderInteractor.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:26:54: error: cannot find type 'UIImage' in scope
    public func getImage(with identifier: String) -> UIImage? {
                                                     ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:32:86: error: cannot find type 'UIImage' in scope
    public func getOrDownloadImage(remoteUrl url: URL, completion: @escaping (Result<UIImage, DownloadError>) -> Void) {
                                                                                     ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:34:25: error: cannot infer contextual base in reference to member 'success'
            completion(.success(image))
                       ~^~~~~~~
[10/16] Compiling swift_download_manager DownloadInteractor.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:26:54: error: cannot find type 'UIImage' in scope
    public func getImage(with identifier: String) -> UIImage? {
                                                     ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:32:86: error: cannot find type 'UIImage' in scope
    public func getOrDownloadImage(remoteUrl url: URL, completion: @escaping (Result<UIImage, DownloadError>) -> Void) {
                                                                                     ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:34:25: error: cannot infer contextual base in reference to member 'success'
            completion(.success(image))
                       ~^~~~~~~
[11/16] Compiling swift_download_manager IgnoreEquatable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/16] Compiling swift_download_manager FileManagerInteractor.swift
[13/16] Compiling swift_download_manager ObservableURLDownloadTaskInteractor.swift
[14/16] Emitting module swift_download_manager
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:27:39: error: 'ModelEntity' is only available in macOS 10.15 or newer
        completion: @escaping (Result<ModelEntity, DownloadError>) -> Void
                                      ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:25:17: note: add @available attribute to enclosing instance method
    public func getOrDownloadEntity(
                ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:69: error: 'ModelEntity' is only available in macOS 10.15 or newer
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                                                                    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:18: note: add @available attribute to enclosing instance method
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:26:54: error: cannot find type 'UIImage' in scope
    public func getImage(with identifier: String) -> UIImage? {
                                                     ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:32:86: error: cannot find type 'UIImage' in scope
    public func getOrDownloadImage(remoteUrl url: URL, completion: @escaping (Result<UIImage, DownloadError>) -> Void) {
                                                                                     ^~~~~~~
[15/16] Compiling swift_download_manager DefaultDownloadInteractor.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:27:39: error: 'ModelEntity' is only available in macOS 10.15 or newer
        completion: @escaping (Result<ModelEntity, DownloadError>) -> Void
                                      ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:25:17: note: add @available attribute to enclosing instance method
    public func getOrDownloadEntity(
                ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:69: error: 'ModelEntity' is only available in macOS 10.15 or newer
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                                                                    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:18: note: add @available attribute to enclosing instance method
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:51:41: error: 'ModelEntity' is only available in macOS 10.15 or newer
                try completion(.success(ModelEntity.loadModel(contentsOf: url)))
                                        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:51:41: note: add 'if #available' version check
                try completion(.success(ModelEntity.loadModel(contentsOf: url)))
                                        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:18: note: add @available attribute to enclosing instance method
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:51:53: error: 'loadModel(contentsOf:withName:)' is only available in macOS 10.15 or newer
                try completion(.success(ModelEntity.loadModel(contentsOf: url)))
                                                    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:51:53: note: add 'if #available' version check
                try completion(.success(ModelEntity.loadModel(contentsOf: url)))
                                                    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:18: note: add @available attribute to enclosing instance method
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
[16/16] Compiling swift_download_manager EntityDownloadInteractor.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:27:39: error: 'ModelEntity' is only available in macOS 10.15 or newer
        completion: @escaping (Result<ModelEntity, DownloadError>) -> Void
                                      ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:25:17: note: add @available attribute to enclosing instance method
    public func getOrDownloadEntity(
                ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:69: error: 'ModelEntity' is only available in macOS 10.15 or newer
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                                                                    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:18: note: add @available attribute to enclosing instance method
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:51:41: error: 'ModelEntity' is only available in macOS 10.15 or newer
                try completion(.success(ModelEntity.loadModel(contentsOf: url)))
                                        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:51:41: note: add 'if #available' version check
                try completion(.success(ModelEntity.loadModel(contentsOf: url)))
                                        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:18: note: add @available attribute to enclosing instance method
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:51:53: error: 'loadModel(contentsOf:withName:)' is only available in macOS 10.15 or newer
                try completion(.success(ModelEntity.loadModel(contentsOf: url)))
                                                    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:51:53: note: add 'if #available' version check
                try completion(.success(ModelEntity.loadModel(contentsOf: url)))
                                                    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:18: note: add @available attribute to enclosing instance method
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/5] Compiling swift_download_manager DefaultDownloadInteractor.swift
[2/5] Emitting module swift_download_manager
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:27:39: error: 'ModelEntity' is only available in macOS 10.15 or newer
        completion: @escaping (Result<ModelEntity, DownloadError>) -> Void
                                      ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:25:17: note: add @available attribute to enclosing instance method
    public func getOrDownloadEntity(
                ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:69: error: 'ModelEntity' is only available in macOS 10.15 or newer
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                                                                    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:18: note: add @available attribute to enclosing instance method
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:26:54: error: cannot find type 'UIImage' in scope
    public func getImage(with identifier: String) -> UIImage? {
                                                     ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:32:86: error: cannot find type 'UIImage' in scope
    public func getOrDownloadImage(remoteUrl url: URL, completion: @escaping (Result<UIImage, DownloadError>) -> Void) {
                                                                                     ^~~~~~~
[3/5] Compiling swift_download_manager DownloadInteractor.swift
[4/5] Compiling swift_download_manager EntityDownloadInteractor.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:27:39: error: 'ModelEntity' is only available in macOS 10.15 or newer
        completion: @escaping (Result<ModelEntity, DownloadError>) -> Void
                                      ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:25:17: note: add @available attribute to enclosing instance method
    public func getOrDownloadEntity(
                ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:69: error: 'ModelEntity' is only available in macOS 10.15 or newer
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                                                                    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:18: note: add @available attribute to enclosing instance method
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:51:41: error: 'ModelEntity' is only available in macOS 10.15 or newer
                try completion(.success(ModelEntity.loadModel(contentsOf: url)))
                                        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:51:41: note: add 'if #available' version check
                try completion(.success(ModelEntity.loadModel(contentsOf: url)))
                                        ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:18: note: add @available attribute to enclosing instance method
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:51:53: error: 'loadModel(contentsOf:withName:)' is only available in macOS 10.15 or newer
                try completion(.success(ModelEntity.loadModel(contentsOf: url)))
                                                    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:51:53: note: add 'if #available' version check
                try completion(.success(ModelEntity.loadModel(contentsOf: url)))
                                                    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:48:18: note: add @available attribute to enclosing instance method
    private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:12:20: note: add @available attribute to enclosing class
public final class EntityDownloadInteractor {
                   ^
[5/5] Compiling swift_download_manager ImageDownloaderInteractor.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:26:54: error: cannot find type 'UIImage' in scope
    public func getImage(with identifier: String) -> UIImage? {
                                                     ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:32:86: error: cannot find type 'UIImage' in scope
    public func getOrDownloadImage(remoteUrl url: URL, completion: @escaping (Result<UIImage, DownloadError>) -> Void) {
                                                                                     ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:34:25: error: cannot infer contextual base in reference to member 'success'
            completion(.success(image))
                       ~^~~~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm