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 main (98d8f5), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 10:37:04 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: main
Initialized empty Git repository in /Users/admin/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
========================================
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 InterruptedDownload.swift
[4/17] Compiling swift_download_manager DownloadProgress.swift
[5/17] Compiling swift_download_manager FileManagerInteractor.swift
[6/17] Compiling swift_download_manager ObservableURLDownloadTaskInteractor.swift
[7/17] Compiling swift_download_manager DownloadStorageService.swift
[8/17] Compiling swift_download_manager CompletedDownload.swift
[9/17] Compiling swift_download_manager Download.swift
[10/17] Compiling swift_download_manager URLSessionService.swift
[11/17] Compiling swift_download_manager DownloadRepository.swift
[12/17] Compiling swift_download_manager DownloadError.swift
[13/17] 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/17] 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/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/19584] Fetching nimble
[393/34343] Fetching nimble, quick
Fetched https://github.com/Quick/Nimble.git from cache (1.83s)
Fetched https://github.com/Quick/Quick.git from cache (1.83s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (2.36s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.50s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.83s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.35s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.66s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.16s)
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
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
BUILD FAILURE 6.2 macosSpm