Build Information
Failed to build SwiftDownloadManager with Swift 5.10 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-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: 5.10
Building package at path: $workDir
https://github.com/vberihuete/swift-download-manager.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/17] Compiling swift_download_manager CompletedDownload.swift
[4/17] Compiling swift_download_manager Download.swift
[5/17] Compiling swift_download_manager URLSessionService.swift
[6/17] Compiling swift_download_manager DownloadRepository.swift
[7/17] Compiling swift_download_manager DownloadProgress.swift
[8/17] Compiling swift_download_manager InterruptedDownload.swift
[9/17] Compiling swift_download_manager DownloadStorageService.swift
[10/17] Compiling swift_download_manager DownloadError.swift
[11/18] Compiling swift_download_manager IgnoreEquatable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/18] Compiling swift_download_manager FileManagerInteractor.swift
[13/18] Compiling swift_download_manager ObservableURLDownloadTaskInteractor.swift
[14/18] Emitting module swift_download_manager
/Users/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/18] Compiling swift_download_manager DefaultDownloadInteractor.swift
/Users/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/18] Compiling swift_download_manager EntityDownloadInteractor.swift
/Users/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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 {
^
[17/18] Compiling swift_download_manager ImageDownloaderInteractor.swift
/Users/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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))
~^~~~~~~
[18/18] Compiling swift_download_manager DownloadInteractor.swift
/Users/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git from cache
Fetching https://github.com/Quick/Quick.git from cache
Fetching https://github.com/Quick/Nimble.git from cache
Fetching https://github.com/mattgallagher/CwlCatchException.git from cache
Fetched https://github.com/Quick/Nimble.git from cache (0.22s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.23s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.23s)
Fetched https://github.com/Quick/Quick.git from cache (0.23s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.03s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.03s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.02s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.02s)
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/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/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
warning: /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/Nimble-80770dfe is not valid git repository for 'https://github.com/Quick/Nimble.git', will fetch again.
Fetching https://github.com/Quick/Nimble.git from cache
Fetched https://github.com/Quick/Nimble.git from cache (0.01s)
warning: /Users/builder/builds/UKfvDsi8u/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/repositories/Nimble-80770dfe is not valid git repository for 'https://github.com/Quick/Nimble.git', will fetch again.
Fetching https://github.com/Quick/Nimble.git from cache
Fetched https://github.com/Quick/Nimble.git from cache (0.00s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Compiling swift_download_manager DownloadInteractor.swift
[3/6] Compiling swift_download_manager DefaultDownloadInteractor.swift
[4/6] Emitting module swift_download_manager
/Users/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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) {
^~~~~~~
[5/6] Compiling swift_download_manager ImageDownloaderInteractor.swift
/Users/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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))
~^~~~~~~
[6/6] Compiling swift_download_manager EntityDownloadInteractor.swift
/Users/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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/builder/builds/UKfvDsi8u/3/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
BUILD FAILURE 5.10 macosSpm