The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftDownloadManager, reference v1.0.1 (726241), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 10:36:49 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vberihuete/swift-download-manager.git
Reference: v1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vberihuete/swift-download-manager
 * tag               v1.0.1     -> FETCH_HEAD
HEAD is now at 7262416 Update README.md
Cloned https://github.com/vberihuete/swift-download-manager.git
Revision (git rev-parse @):
7262416973bb1f4b26b6367d0f199d11bd6d4cce
SUCCESS checkout https://github.com/vberihuete/swift-download-manager.git at v1.0.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/vberihuete/swift-download-manager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/17] Compiling swift_download_manager DownloadError.swift
[4/18] Compiling swift_download_manager InterruptedDownload.swift
[5/18] Compiling swift_download_manager URLSessionService.swift
[6/18] Compiling swift_download_manager DownloadRepository.swift
[7/18] Compiling swift_download_manager DownloadProgress.swift
[8/18] Compiling swift_download_manager CompletedDownload.swift
[9/18] Compiling swift_download_manager Download.swift
[10/18] Compiling swift_download_manager FileManagerInteractor.swift
[11/18] Compiling swift_download_manager ObservableURLDownloadTaskInteractor.swift
[12/18] Compiling swift_download_manager DownloadStorageService.swift
[13/18] Compiling swift_download_manager ImageDownloaderInteractor.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:26:54: error: cannot find type 'UIImage' in scope
24 |     }
25 |
26 |     public func getImage(with identifier: String) -> UIImage? {
   |                                                      `- error: cannot find type 'UIImage' in scope
27 |         downloadInteractor.getDownloadedData(with: identifier).flatMap {
28 |             UIImage(data: $0)
/Users/admin/builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:32:86: error: cannot find type 'UIImage' in scope
30 |     }
31 |
32 |     public func getOrDownloadImage(remoteUrl url: URL, completion: @escaping (Result<UIImage, DownloadError>) -> Void) {
   |                                                                                      `- error: cannot find type 'UIImage' in scope
33 |         if let image = getImage(with: url.absoluteString) {
34 |             completion(.success(image))
/Users/admin/builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:34:25: error: cannot infer contextual base in reference to member 'success'
32 |     public func getOrDownloadImage(remoteUrl url: URL, completion: @escaping (Result<UIImage, DownloadError>) -> Void) {
33 |         if let image = getImage(with: url.absoluteString) {
34 |             completion(.success(image))
   |                         `- error: cannot infer contextual base in reference to member 'success'
35 |         } else {
36 |             let download = Download(identifier: url.absoluteString, url: url)
[14/18] Compiling swift_download_manager DownloadInteractor.swift
/Users/admin/builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:26:54: error: cannot find type 'UIImage' in scope
24 |     }
25 |
26 |     public func getImage(with identifier: String) -> UIImage? {
   |                                                      `- error: cannot find type 'UIImage' in scope
27 |         downloadInteractor.getDownloadedData(with: identifier).flatMap {
28 |             UIImage(data: $0)
/Users/admin/builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:32:86: error: cannot find type 'UIImage' in scope
30 |     }
31 |
32 |     public func getOrDownloadImage(remoteUrl url: URL, completion: @escaping (Result<UIImage, DownloadError>) -> Void) {
   |                                                                                      `- error: cannot find type 'UIImage' in scope
33 |         if let image = getImage(with: url.absoluteString) {
34 |             completion(.success(image))
/Users/admin/builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:34:25: error: cannot infer contextual base in reference to member 'success'
32 |     public func getOrDownloadImage(remoteUrl url: URL, completion: @escaping (Result<UIImage, DownloadError>) -> Void) {
33 |         if let image = getImage(with: url.absoluteString) {
34 |             completion(.success(image))
   |                         `- error: cannot infer contextual base in reference to member 'success'
35 |         } else {
36 |             let download = Download(identifier: url.absoluteString, url: url)
[15/18] Compiling swift_download_manager IgnoreEquatable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/18] Emitting module swift_download_manager
/Users/admin/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
10 |
11 | @available(iOS 13, *)
12 | public final class EntityDownloadInteractor {
   |                    `- note: add @available attribute to enclosing class
13 |     private let downloadInteractor: DownloadInteractorProtocol
14 |
   :
23 |     }
24 |
25 |     public func getOrDownloadEntity(
   |                 `- note: add @available attribute to enclosing instance method
26 |         remoteUrl url: URL,
27 |         completion: @escaping (Result<ModelEntity, DownloadError>) -> Void
   |                                       `- error: 'ModelEntity' is only available in macOS 10.15 or newer
28 |     ) {
29 |         if let localUrl = downloadInteractor.getDownloadDataUrl(with: url.absoluteString) {
/Users/admin/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
10 |
11 | @available(iOS 13, *)
12 | public final class EntityDownloadInteractor {
   |                    `- note: add @available attribute to enclosing class
13 |     private let downloadInteractor: DownloadInteractorProtocol
14 |
   :
46 |     }
47 |
48 |     private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
   |                  |                                                  `- error: 'ModelEntity' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
49 |         DispatchQueue.main.async {
50 |             do {
/Users/admin/builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:26:54: error: cannot find type 'UIImage' in scope
24 |     }
25 |
26 |     public func getImage(with identifier: String) -> UIImage? {
   |                                                      `- error: cannot find type 'UIImage' in scope
27 |         downloadInteractor.getDownloadedData(with: identifier).flatMap {
28 |             UIImage(data: $0)
/Users/admin/builder/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/ImageDownloaderInteractor.swift:32:86: error: cannot find type 'UIImage' in scope
30 |     }
31 |
32 |     public func getOrDownloadImage(remoteUrl url: URL, completion: @escaping (Result<UIImage, DownloadError>) -> Void) {
   |                                                                                      `- error: cannot find type 'UIImage' in scope
33 |         if let image = getImage(with: url.absoluteString) {
34 |             completion(.success(image))
[17/18] Compiling swift_download_manager DefaultDownloadInteractor.swift
/Users/admin/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
10 |
11 | @available(iOS 13, *)
12 | public final class EntityDownloadInteractor {
   |                    `- note: add @available attribute to enclosing class
13 |     private let downloadInteractor: DownloadInteractorProtocol
14 |
   :
23 |     }
24 |
25 |     public func getOrDownloadEntity(
   |                 `- note: add @available attribute to enclosing instance method
26 |         remoteUrl url: URL,
27 |         completion: @escaping (Result<ModelEntity, DownloadError>) -> Void
   |                                       `- error: 'ModelEntity' is only available in macOS 10.15 or newer
28 |     ) {
29 |         if let localUrl = downloadInteractor.getDownloadDataUrl(with: url.absoluteString) {
/Users/admin/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
10 |
11 | @available(iOS 13, *)
12 | public final class EntityDownloadInteractor {
   |                    `- note: add @available attribute to enclosing class
13 |     private let downloadInteractor: DownloadInteractorProtocol
14 |
   :
46 |     }
47 |
48 |     private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
   |                  |                                                  `- error: 'ModelEntity' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
49 |         DispatchQueue.main.async {
50 |             do {
/Users/admin/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
10 |
11 | @available(iOS 13, *)
12 | public final class EntityDownloadInteractor {
   |                    `- note: add @available attribute to enclosing class
13 |     private let downloadInteractor: DownloadInteractorProtocol
14 |
   :
46 |     }
47 |
48 |     private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
   |                  `- note: add @available attribute to enclosing instance method
49 |         DispatchQueue.main.async {
50 |             do {
51 |                 try completion(.success(ModelEntity.loadModel(contentsOf: url)))
   |                                         |- error: 'ModelEntity' is only available in macOS 10.15 or newer
   |                                         `- note: add 'if #available' version check
52 |             } catch {
53 |                 completion(.failure(.loadEntity))
/Users/admin/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
10 |
11 | @available(iOS 13, *)
12 | public final class EntityDownloadInteractor {
   |                    `- note: add @available attribute to enclosing class
13 |     private let downloadInteractor: DownloadInteractorProtocol
14 |
   :
46 |     }
47 |
48 |     private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
   |                  `- note: add @available attribute to enclosing instance method
49 |         DispatchQueue.main.async {
50 |             do {
51 |                 try completion(.success(ModelEntity.loadModel(contentsOf: url)))
   |                                                     |- error: 'loadModel(contentsOf:withName:)' is only available in macOS 10.15 or newer
   |                                                     `- note: add 'if #available' version check
52 |             } catch {
53 |                 completion(.failure(.loadEntity))
[18/18] Compiling swift_download_manager EntityDownloadInteractor.swift
/Users/admin/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
10 |
11 | @available(iOS 13, *)
12 | public final class EntityDownloadInteractor {
   |                    `- note: add @available attribute to enclosing class
13 |     private let downloadInteractor: DownloadInteractorProtocol
14 |
   :
23 |     }
24 |
25 |     public func getOrDownloadEntity(
   |                 `- note: add @available attribute to enclosing instance method
26 |         remoteUrl url: URL,
27 |         completion: @escaping (Result<ModelEntity, DownloadError>) -> Void
   |                                       `- error: 'ModelEntity' is only available in macOS 10.15 or newer
28 |     ) {
29 |         if let localUrl = downloadInteractor.getDownloadDataUrl(with: url.absoluteString) {
/Users/admin/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
10 |
11 | @available(iOS 13, *)
12 | public final class EntityDownloadInteractor {
   |                    `- note: add @available attribute to enclosing class
13 |     private let downloadInteractor: DownloadInteractorProtocol
14 |
   :
46 |     }
47 |
48 |     private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
   |                  |                                                  `- error: 'ModelEntity' is only available in macOS 10.15 or newer
   |                  `- note: add @available attribute to enclosing instance method
49 |         DispatchQueue.main.async {
50 |             do {
/Users/admin/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
10 |
11 | @available(iOS 13, *)
12 | public final class EntityDownloadInteractor {
   |                    `- note: add @available attribute to enclosing class
13 |     private let downloadInteractor: DownloadInteractorProtocol
14 |
   :
46 |     }
47 |
48 |     private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
   |                  `- note: add @available attribute to enclosing instance method
49 |         DispatchQueue.main.async {
50 |             do {
51 |                 try completion(.success(ModelEntity.loadModel(contentsOf: url)))
   |                                         |- error: 'ModelEntity' is only available in macOS 10.15 or newer
   |                                         `- note: add 'if #available' version check
52 |             } catch {
53 |                 completion(.failure(.loadEntity))
/Users/admin/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
10 |
11 | @available(iOS 13, *)
12 | public final class EntityDownloadInteractor {
   |                    `- note: add @available attribute to enclosing class
13 |     private let downloadInteractor: DownloadInteractorProtocol
14 |
   :
46 |     }
47 |
48 |     private func loadEntity(url: URL, completion: @escaping (Result<ModelEntity, DownloadError>) -> Void) {
   |                  `- note: add @available attribute to enclosing instance method
49 |         DispatchQueue.main.async {
50 |             do {
51 |                 try completion(.success(ModelEntity.loadModel(contentsOf: url)))
   |                                                     |- error: 'loadModel(contentsOf:withName:)' is only available in macOS 10.15 or newer
   |                                                     `- note: add 'if #available' version check
52 |             } catch {
53 |                 completion(.failure(.loadEntity))
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/19584] Fetching nimble
[2/34343] Fetching nimble, quick
Fetched https://github.com/Quick/Quick.git from cache (1.40s)
[13905/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (1.80s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (2.37s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.54s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.82s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.37s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.70s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.24s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
BUILD FAILURE 6.2 macosSpm