The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftPresso, reference main (51394b), with Swift 5.9 for macOS (SPM) on 18 Sep 2024 10:24:57 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.2.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/SwiftPresso.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Livsy90/SwiftPresso
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 51394bd Update README.md
Cloned https://github.com/Livsy90/SwiftPresso.git
Revision (git rev-parse @):
51394bd90f619479b9162fbafa71ae96f4595eda
SUCCESS checkout https://github.com/Livsy90/SwiftPresso.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/Livsy90/SwiftPresso.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/11] Emitting module SkavokNetworking
[2/11] Compiling SkavokNetworking APIConfiguration.swift
[3/11] Compiling SkavokNetworking Response.swift
[4/11] Compiling SkavokNetworking Request.swift
[5/11] Compiling SkavokNetworking APIClientDelegate.swift
[6/11] Compiling SkavokNetworking APIClient.swift
[7/11] Compiling SkavokNetworking APIClientProtocol.swift
[8/11] Compiling SkavokNetworking DataLoader.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:25:19: note: add 'if #available' version check
        try await withTaskCancellationHandler(operation: {
                  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:26:23: note: add 'if #available' version check
            try await withUnsafeThrowingContinuation { continuation in
                      ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:28:51: note: add 'if #available' version check
                handler.completion = continuation.resume(with:)
                                                  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:39:19: note: add 'if #available' version check
        try await withTaskCancellationHandler(operation: {
                  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:40:23: note: add 'if #available' version check
            try await withUnsafeThrowingContinuation { continuation in
                      ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:42:51: note: add 'if #available' version check
                handler.completion = continuation.resume(with:)
                                                  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:53:19: note: add 'if #available' version check
        try await withTaskCancellationHandler(operation: {
                  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:54:23: note: add 'if #available' version check
            try await withUnsafeThrowingContinuation { continuation in
                      ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:56:51: note: add 'if #available' version check
                handler.completion = continuation.resume(with:)
                                                  ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:255:26: note: add 'if #available' version check
        return try await Task.detached {
                         ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:255:31: note: add 'if #available' version check
        return try await Task.detached {
                              ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:257:11: error: 'value' is only available in macOS 10.15 or newer
        }.value
          ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:257:11: note: add 'if #available' version check
        }.value
          ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:272:26: note: add 'if #available' version check
        return try await Task.detached {
                         ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:272:31: note: add 'if #available' version check
        return try await Task.detached {
                              ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:274:11: error: 'value' is only available in macOS 10.15 or newer
        }.value
          ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/Sources/SkavokNetworking/DataLoader.swift:274:11: note: add 'if #available' version check
        }.value
          ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SkavokNetworking/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 {
     ^
error: fatalError
Fetching https://github.com/Livsy90/SkavokNetworking.git
Fetching https://github.com/Livsy90/ApricotNavigation.git
[1/25] Fetching apricotnavigation
[22/71] Fetching apricotnavigation, skavoknetworking
Fetched https://github.com/Livsy90/SkavokNetworking.git (1.31s)
Fetched https://github.com/Livsy90/ApricotNavigation.git (1.31s)
Computing version for https://github.com/Livsy90/ApricotNavigation.git
Computed https://github.com/Livsy90/ApricotNavigation.git at 1.0.0 (0.45s)
Computing version for https://github.com/Livsy90/SkavokNetworking.git
Computed https://github.com/Livsy90/SkavokNetworking.git at 1.0.2 (0.42s)
Creating working copy for https://github.com/Livsy90/ApricotNavigation.git
Working copy of https://github.com/Livsy90/ApricotNavigation.git resolved at 1.0.0
Creating working copy for https://github.com/Livsy90/SkavokNetworking.git
Working copy of https://github.com/Livsy90/SkavokNetworking.git resolved at 1.0.2
BUILD FAILURE 5.9 macosSpm