Build Information
Failed to build SwiftDownloadManager, reference v1.0.1 (726241), with Swift 6.3 for macOS (SPM) on 12 Apr 2026 22:26:49 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.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
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/1257] Fetching cwlpreconditiontesting
[39/1717] Fetching cwlpreconditiontesting, cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.86s)
[1/19817] Fetching nimble
[2/34713] Fetching nimble, quick
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.53s)
Fetched https://github.com/Quick/Quick.git from cache (1.53s)
[2180/19817] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (2.21s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (2.92s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.80s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.71s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.80s)
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/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/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/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-download-manager",
"name": "SwiftDownloadManager",
"url": "https://github.com/vberihuete/swift-download-manager.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-download-manager",
"traits": [
"default"
],
"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 from cache (0.68s)
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 v1.0.1 (7262416)
warning: '.resolve-product-dependencies': dependency 'swift-download-manager' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/vberihuete/swift-download-manager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/17] Compiling swift_download_manager DownloadError.swift
[4/17] Compiling swift_download_manager CompletedDownload.swift
[5/17] Compiling swift_download_manager Download.swift
[6/17] Compiling swift_download_manager DownloadProgress.swift
[7/17] Compiling swift_download_manager InterruptedDownload.swift
[8/17] Compiling swift_download_manager URLSessionService.swift
[9/17] Compiling swift_download_manager DownloadRepository.swift
[10/17] Compiling swift_download_manager DownloadStorageService.swift
[11/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:28:13: error: cannot find 'UIImage' in scope
26 | public func getImage(with identifier: String) -> UIImage? {
27 | downloadInteractor.getDownloadedData(with: identifier).flatMap {
28 | UIImage(data: $0)
| `- error: cannot find 'UIImage' in scope
29 | }
30 | }
/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)
[12/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:28:13: error: cannot find 'UIImage' in scope
26 | public func getImage(with identifier: String) -> UIImage? {
27 | downloadInteractor.getDownloadedData(with: identifier).flatMap {
28 | UIImage(data: $0)
| `- error: cannot find 'UIImage' in scope
29 | }
30 | }
/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)
[13/18] Compiling swift_download_manager IgnoreEquatable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/18] Compiling swift_download_manager FileManagerInteractor.swift
[15/18] Compiling swift_download_manager ObservableURLDownloadTaskInteractor.swift
[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))
BUILD FAILURE 6.3 macosSpm