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 SkavokNetworking, reference main (5a0db5), with Swift 5.9 for macOS (SPM) on 18 Sep 2024 10:06:04 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/SkavokNetworking.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Livsy90/SkavokNetworking
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/Livsy90/SkavokNetworking.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/8] Emitting module SkavokNetworking
[2/8] Compiling SkavokNetworking Response.swift
[3/8] Compiling SkavokNetworking APIClientProtocol.swift
[4/8] 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 {
     ^
[5/8] Compiling SkavokNetworking APIConfiguration.swift
[6/8] Compiling SkavokNetworking APIClientDelegate.swift
[7/8] Compiling SkavokNetworking Request.swift
[8/8] Compiling SkavokNetworking APIClient.swift
error: fatalError
BUILD FAILURE 5.9 macosSpm