Build Information
Failed to build SkavokNetworking, reference 1.0.2 (5a0db5
), with Swift 5.10 for macOS (SPM) on 18 Sep 2024 10:06:27 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Livsy90/SkavokNetworking.git
Reference: 1.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Livsy90/SkavokNetworking
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 5a0db5d Typo Fix
Cloned https://github.com/Livsy90/SkavokNetworking.git
Revision (git rev-parse @):
5a0db5d2a40bf6bff38f45f22baae8308224ca32
SUCCESS checkout https://github.com/Livsy90/SkavokNetworking.git at 1.0.2
========================================
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",
"dependencies": [
{
"identity": "skavoknetworking",
"name": "SkavokNetworking",
"url": "https://github.com/Livsy90/SkavokNetworking.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SkavokNetworking",
"dependencies": [
]
}
]
}
Fetching https://github.com/Livsy90/SkavokNetworking.git
[1/46] Fetching skavoknetworking
Fetched https://github.com/Livsy90/SkavokNetworking.git from cache (1.11s)
Creating working copy for https://github.com/Livsy90/SkavokNetworking.git
Working copy of https://github.com/Livsy90/SkavokNetworking.git resolved at 1.0.2 (5a0db5d)
warning: '.resolve-product-dependencies': dependency 'skavoknetworking' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.10
Building package at path: $PWD
https://github.com/Livsy90/SkavokNetworking.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/10] Compiling SkavokNetworking Response.swift
[4/10] Compiling SkavokNetworking APIConfiguration.swift
[5/10] Compiling SkavokNetworking APIClientProtocol.swift
[6/10] Compiling SkavokNetworking APIClientDelegate.swift
[7/10] Compiling SkavokNetworking Request.swift
[8/10] Compiling SkavokNetworking DataLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:25:19: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
try await withTaskCancellationHandler(operation: {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:25:19: note: add 'if #available' version check
try await withTaskCancellationHandler(operation: {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:24:10: note: add @available attribute to enclosing instance method
func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:4:13: note: add @available attribute to enclosing class
final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:26:23: error: 'withUnsafeThrowingContinuation' is only available in macOS 10.15 or newer
try await withUnsafeThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:26:23: note: add 'if #available' version check
try await withUnsafeThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:24:10: note: add @available attribute to enclosing instance method
func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:4:13: note: add @available attribute to enclosing class
final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:28:51: error: 'resume(with:)' is only available in macOS 10.15 or newer
handler.completion = continuation.resume(with:)
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:28:51: note: add 'if #available' version check
handler.completion = continuation.resume(with:)
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:24:10: note: add @available attribute to enclosing instance method
func startDataTask(_ task: URLSessionDataTask, session: URLSession, delegate: URLSessionDataDelegate?) async throws -> Response<Data> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:4:13: note: add @available attribute to enclosing class
final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:39:19: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
try await withTaskCancellationHandler(operation: {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:39:19: note: add 'if #available' version check
try await withTaskCancellationHandler(operation: {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:38:10: note: add @available attribute to enclosing instance method
func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:4:13: note: add @available attribute to enclosing class
final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:40:23: error: 'withUnsafeThrowingContinuation' is only available in macOS 10.15 or newer
try await withUnsafeThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:40:23: note: add 'if #available' version check
try await withUnsafeThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:38:10: note: add @available attribute to enclosing instance method
func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:4:13: note: add @available attribute to enclosing class
final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:42:51: error: 'resume(with:)' is only available in macOS 10.15 or newer
handler.completion = continuation.resume(with:)
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:42:51: note: add 'if #available' version check
handler.completion = continuation.resume(with:)
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:38:10: note: add @available attribute to enclosing instance method
func startDownloadTask(_ task: URLSessionDownloadTask, session: URLSession, delegate: URLSessionDownloadDelegate?) async throws -> Response<URL> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:4:13: note: add @available attribute to enclosing class
final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:53:19: error: 'withTaskCancellationHandler(operation:onCancel:)' is only available in macOS 10.15 or newer
try await withTaskCancellationHandler(operation: {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:53:19: note: add 'if #available' version check
try await withTaskCancellationHandler(operation: {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:52:10: note: add @available attribute to enclosing instance method
func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:4:13: note: add @available attribute to enclosing class
final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:54:23: error: 'withUnsafeThrowingContinuation' is only available in macOS 10.15 or newer
try await withUnsafeThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:54:23: note: add 'if #available' version check
try await withUnsafeThrowingContinuation { continuation in
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:52:10: note: add @available attribute to enclosing instance method
func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:4:13: note: add @available attribute to enclosing class
final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:56:51: error: 'resume(with:)' is only available in macOS 10.15 or newer
handler.completion = continuation.resume(with:)
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:56:51: note: add 'if #available' version check
handler.completion = continuation.resume(with:)
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:52:10: note: add @available attribute to enclosing instance method
func startUploadTask(_ task: URLSessionUploadTask, session: URLSession, delegate: URLSessionTaskDelegate?) async throws -> Response<Data> {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:4:13: note: add @available attribute to enclosing class
final class DataLoader: NSObject, URLSessionDataDelegate, URLSessionDownloadDelegate, @unchecked Sendable {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:255:26: error: 'Task' is only available in macOS 10.15 or newer
return try await Task.detached {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:255:26: note: add 'if #available' version check
return try await Task.detached {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:249:6: note: add @available attribute to enclosing global function
func encode(_ value: Encodable, using encoder: JSONEncoder) async throws -> Data? {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:255:31: error: 'detached(priority:operation:)' is only available in macOS 10.15 or newer
return try await Task.detached {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:255:31: note: add 'if #available' version check
return try await Task.detached {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:249:6: note: add @available attribute to enclosing global function
func encode(_ value: Encodable, using encoder: JSONEncoder) async throws -> Data? {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:257:11: error: 'value' is only available in macOS 10.15 or newer
}.value
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:257:11: note: add 'if #available' version check
}.value
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:249:6: note: add @available attribute to enclosing global function
func encode(_ value: Encodable, using encoder: JSONEncoder) async throws -> Data? {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:272:26: error: 'Task' is only available in macOS 10.15 or newer
return try await Task.detached {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:272:26: note: add 'if #available' version check
return try await Task.detached {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:261:6: note: add @available attribute to enclosing global function
func decode<T: Decodable>(_ data: Data, using decoder: JSONDecoder) async throws -> T {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:272:31: error: 'detached(priority:operation:)' is only available in macOS 10.15 or newer
return try await Task.detached {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:272:31: note: add 'if #available' version check
return try await Task.detached {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:261:6: note: add @available attribute to enclosing global function
func decode<T: Decodable>(_ data: Data, using decoder: JSONDecoder) async throws -> T {
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:274:11: error: 'value' is only available in macOS 10.15 or newer
}.value
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:274:11: note: add 'if #available' version check
}.value
^
/Users/admin/builder/spi-builder-workspace/Sources/SkavokNetworking/DataLoader.swift:261:6: note: add @available attribute to enclosing global function
func decode<T: Decodable>(_ data: Data, using decoder: JSONDecoder) async throws -> T {
^
[9/10] Compiling SkavokNetworking APIClient.swift
[10/10] Emitting module SkavokNetworking
error: fatalError
BUILD FAILURE 5.10 macosSpm