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.10 for macOS (SPM) on 18 Sep 2024 10:24:52 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/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
Fetching https://github.com/Livsy90/SkavokNetworking.git
Fetching https://github.com/Livsy90/ApricotNavigation.git
[1/46] Fetching skavoknetworking
[38/71] Fetching skavoknetworking, apricotnavigation
Fetched https://github.com/Livsy90/SkavokNetworking.git from cache (1.16s)
Fetched https://github.com/Livsy90/ApricotNavigation.git from cache (1.16s)
Computing version for https://github.com/Livsy90/ApricotNavigation.git
Computed https://github.com/Livsy90/ApricotNavigation.git at 1.0.0 (0.46s)
Computing version for https://github.com/Livsy90/SkavokNetworking.git
Computed https://github.com/Livsy90/SkavokNetworking.git at 1.0.2 (0.46s)
Creating working copy for https://github.com/Livsy90/SkavokNetworking.git
Working copy of https://github.com/Livsy90/SkavokNetworking.git resolved at 1.0.2
Creating working copy for https://github.com/Livsy90/ApricotNavigation.git
Working copy of https://github.com/Livsy90/ApricotNavigation.git resolved at 1.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",
  "dependencies": [
    {
      "identity": "swiftpresso",
      "name": "SwiftPresso",
      "url": "https://github.com/Livsy90/SwiftPresso.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftPresso",
      "dependencies": [
        {
          "identity": "skavoknetworking",
          "name": "SkavokNetworking",
          "url": "https://github.com/Livsy90/SkavokNetworking.git",
          "version": "1.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SkavokNetworking",
          "dependencies": [
          ]
        },
        {
          "identity": "apricotnavigation",
          "name": "ApricotNavigation",
          "url": "https://github.com/Livsy90/ApricotNavigation.git",
          "version": "1.0.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ApricotNavigation",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Livsy90/SwiftPresso.git
[1/2417] Fetching swiftpresso
Fetched https://github.com/Livsy90/SwiftPresso.git from cache (0.97s)
Fetching https://github.com/Livsy90/SkavokNetworking.git from cache
Fetching https://github.com/Livsy90/ApricotNavigation.git from cache
Fetched https://github.com/Livsy90/SkavokNetworking.git from cache (0.50s)
Fetched https://github.com/Livsy90/ApricotNavigation.git from cache (0.50s)
Computing version for https://github.com/Livsy90/ApricotNavigation.git
Computed https://github.com/Livsy90/ApricotNavigation.git at 1.0.0 (0.03s)
Computing version for https://github.com/Livsy90/SkavokNetworking.git
Computed https://github.com/Livsy90/SkavokNetworking.git at 1.0.2 (0.03s)
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
Creating working copy for https://github.com/Livsy90/SwiftPresso.git
Working copy of https://github.com/Livsy90/SwiftPresso.git resolved at main (51394bd)
warning: '.resolve-product-dependencies': dependency 'swiftpresso' is not used by any target
Found 2 product dependencies
  - SkavokNetworking
  - ApricotNavigation
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Livsy90/SwiftPresso.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-33747A42983211AE.txt
[5/15] Emitting module SkavokNetworking
[6/15] Compiling SkavokNetworking Response.swift
[7/15] 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 {
     ^
[8/15] Compiling SkavokNetworking APIClientProtocol.swift
[9/15] Compiling SkavokNetworking Request.swift
[10/15] Compiling SkavokNetworking APIClientDelegate.swift
[11/15] Compiling SkavokNetworking APIConfiguration.swift
[12/15] Compiling SkavokNetworking APIClient.swift
error: fatalError
BUILD FAILURE 5.10 macosSpm