The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of FTAPIKit, reference main (46528a), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 18:32:50 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/futuredapp/FTAPIKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/futuredapp/FTAPIKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 46528ab Merge pull request #100 from futuredapp/dependabot/bundler/cocoapods-downloader-1.6.3
Cloned https://github.com/futuredapp/FTAPIKit.git
Revision (git rev-parse @):
46528ab76ca3ead8bdc32fb96f8591f7bf6d2748
SUCCESS checkout https://github.com/futuredapp/FTAPIKit.git at main
========================================
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": "ftapikit",
      "name": "FTAPIKit",
      "url": "https://github.com/futuredapp/FTAPIKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FTAPIKit",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/futuredapp/FTAPIKit.git
[1/2485] Fetching ftapikit
Fetched https://github.com/futuredapp/FTAPIKit.git from cache (1.04s)
Creating working copy for https://github.com/futuredapp/FTAPIKit.git
Working copy of https://github.com/futuredapp/FTAPIKit.git resolved at main (46528ab)
warning: '.resolve-product-dependencies': dependency 'ftapikit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/futuredapp/FTAPIKit.git
https://github.com/futuredapp/FTAPIKit.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FTAPIKit",
  "name" : "FTAPIKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "FTAPIKit",
      "targets" : [
        "FTAPIKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FTAPIKitTests",
      "module_type" : "SwiftTarget",
      "name" : "FTAPIKitTests",
      "path" : "Tests/FTAPIKitTests",
      "sources" : [
        "AsyncTests.swift",
        "CombineTests.swift",
        "Mockups/Endpoints.swift",
        "Mockups/Errors.swift",
        "Mockups/Models.swift",
        "Mockups/Servers.swift",
        "ResponseTests.swift",
        "URLQueryTests.swift"
      ],
      "target_dependencies" : [
        "FTAPIKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FTAPIKit",
      "module_type" : "SwiftTarget",
      "name" : "FTAPIKit",
      "path" : "Sources/FTAPIKit",
      "product_memberships" : [
        "FTAPIKit"
      ],
      "sources" : [
        "APIError+Standard.swift",
        "APIError.swift",
        "CharacterSet+URLQuery.swift",
        "Coding.swift",
        "Combine/EndpointPublisher.swift",
        "Combine/EndpointSubscription.swift",
        "Combine/URLServer+Combine.swift",
        "Endpoint.swift",
        "HTTPMethod.swift",
        "MultipartBodyPart.swift",
        "MultipartFormData.swift",
        "OutputStream+Write.swift",
        "Server.swift",
        "URL+MIME.swift",
        "URL+Query.swift",
        "URLQuery.swift",
        "URLRequestBuilder.swift",
        "URLServer+Async.swift",
        "URLServer+Call.swift",
        "URLServer+Download.swift",
        "URLServer+Task.swift",
        "URLServer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/23] Emitting module FTAPIKit
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:44:23: warning: static property 'unhandled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |     }
43 |
44 |     public static var unhandled: Standard = .unhandled(data: nil, response: nil, error: nil)
   |                       |- warning: static property 'unhandled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'unhandled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'unhandled' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
[4/25] Compiling FTAPIKit URLServer+Task.swift
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Task.swift:26:13: warning: capture of 'completion' with non-sendable type '(Result<R, Self.ErrorType>) -> Void' in a '@Sendable' closure
24 |     ) -> URLSessionDataTask? {
25 |         let task = urlSession.dataTask(with: request) { data, response, error in
26 |             completion(process(data, response, error))
   |             |- warning: capture of 'completion' with non-sendable type '(Result<R, Self.ErrorType>) -> Void' in a '@Sendable' closure
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
27 |         }
28 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Task.swift:26:24: warning: capture of 'process' with non-sendable type '(Data?, URLResponse?, (any Error)?) -> Result<R, Self.ErrorType>' in a '@Sendable' closure
24 |     ) -> URLSessionDataTask? {
25 |         let task = urlSession.dataTask(with: request) { data, response, error in
26 |             completion(process(data, response, error))
   |                        |- warning: capture of 'process' with non-sendable type '(Data?, URLResponse?, (any Error)?) -> Result<R, Self.ErrorType>' in a '@Sendable' closure
   |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
27 |         }
28 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Task.swift:39:13: warning: capture of 'completion' with non-sendable type '(Result<R, Self.ErrorType>) -> Void' in a '@Sendable' closure
37 |     ) -> URLSessionUploadTask? {
38 |         let task = urlSession.uploadTask(with: request, fromFile: file) { data, response, error in
39 |             completion(process(data, response, error))
   |             |- warning: capture of 'completion' with non-sendable type '(Result<R, Self.ErrorType>) -> Void' in a '@Sendable' closure
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 |         }
41 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Task.swift:39:24: warning: capture of 'process' with non-sendable type '(Data?, URLResponse?, (any Error)?) -> Result<R, Self.ErrorType>' in a '@Sendable' closure
37 |     ) -> URLSessionUploadTask? {
38 |         let task = urlSession.uploadTask(with: request, fromFile: file) { data, response, error in
39 |             completion(process(data, response, error))
   |                        |- warning: capture of 'process' with non-sendable type '(Data?, URLResponse?, (any Error)?) -> Result<R, Self.ErrorType>' in a '@Sendable' closure
   |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 |         }
41 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Task.swift:51:13: warning: capture of 'completion' with non-sendable type '(Result<URL, Self.ErrorType>) -> Void' in a '@Sendable' closure
49 |     ) -> URLSessionDownloadTask? {
50 |         let task = urlSession.downloadTask(with: request) { url, response, error in
51 |             completion(process(url, response, error))
   |             |- warning: capture of 'completion' with non-sendable type '(Result<URL, Self.ErrorType>) -> Void' in a '@Sendable' closure
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |         }
53 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Task.swift:51:24: warning: capture of 'process' with non-sendable type '(URL?, URLResponse?, (any Error)?) -> Result<URL, Self.ErrorType>' in a '@Sendable' closure
49 |     ) -> URLSessionDownloadTask? {
50 |         let task = urlSession.downloadTask(with: request) { url, response, error in
51 |             completion(process(url, response, error))
   |                        |- warning: capture of 'process' with non-sendable type '(URL?, URLResponse?, (any Error)?) -> Result<URL, Self.ErrorType>' in a '@Sendable' closure
   |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |         }
53 |         task.resume()
[5/25] Compiling FTAPIKit URLServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Task.swift:26:13: warning: capture of 'completion' with non-sendable type '(Result<R, Self.ErrorType>) -> Void' in a '@Sendable' closure
24 |     ) -> URLSessionDataTask? {
25 |         let task = urlSession.dataTask(with: request) { data, response, error in
26 |             completion(process(data, response, error))
   |             |- warning: capture of 'completion' with non-sendable type '(Result<R, Self.ErrorType>) -> Void' in a '@Sendable' closure
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
27 |         }
28 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Task.swift:26:24: warning: capture of 'process' with non-sendable type '(Data?, URLResponse?, (any Error)?) -> Result<R, Self.ErrorType>' in a '@Sendable' closure
24 |     ) -> URLSessionDataTask? {
25 |         let task = urlSession.dataTask(with: request) { data, response, error in
26 |             completion(process(data, response, error))
   |                        |- warning: capture of 'process' with non-sendable type '(Data?, URLResponse?, (any Error)?) -> Result<R, Self.ErrorType>' in a '@Sendable' closure
   |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
27 |         }
28 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Task.swift:39:13: warning: capture of 'completion' with non-sendable type '(Result<R, Self.ErrorType>) -> Void' in a '@Sendable' closure
37 |     ) -> URLSessionUploadTask? {
38 |         let task = urlSession.uploadTask(with: request, fromFile: file) { data, response, error in
39 |             completion(process(data, response, error))
   |             |- warning: capture of 'completion' with non-sendable type '(Result<R, Self.ErrorType>) -> Void' in a '@Sendable' closure
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 |         }
41 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Task.swift:39:24: warning: capture of 'process' with non-sendable type '(Data?, URLResponse?, (any Error)?) -> Result<R, Self.ErrorType>' in a '@Sendable' closure
37 |     ) -> URLSessionUploadTask? {
38 |         let task = urlSession.uploadTask(with: request, fromFile: file) { data, response, error in
39 |             completion(process(data, response, error))
   |                        |- warning: capture of 'process' with non-sendable type '(Data?, URLResponse?, (any Error)?) -> Result<R, Self.ErrorType>' in a '@Sendable' closure
   |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
40 |         }
41 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Task.swift:51:13: warning: capture of 'completion' with non-sendable type '(Result<URL, Self.ErrorType>) -> Void' in a '@Sendable' closure
49 |     ) -> URLSessionDownloadTask? {
50 |         let task = urlSession.downloadTask(with: request) { url, response, error in
51 |             completion(process(url, response, error))
   |             |- warning: capture of 'completion' with non-sendable type '(Result<URL, Self.ErrorType>) -> Void' in a '@Sendable' closure
   |             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |         }
53 |         task.resume()
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Task.swift:51:24: warning: capture of 'process' with non-sendable type '(URL?, URLResponse?, (any Error)?) -> Result<URL, Self.ErrorType>' in a '@Sendable' closure
49 |     ) -> URLSessionDownloadTask? {
50 |         let task = urlSession.downloadTask(with: request) { url, response, error in
51 |             completion(process(url, response, error))
   |                        |- warning: capture of 'process' with non-sendable type '(URL?, URLResponse?, (any Error)?) -> Result<URL, Self.ErrorType>' in a '@Sendable' closure
   |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |         }
53 |         task.resume()
[6/25] Compiling FTAPIKit Server.swift
[7/25] Compiling FTAPIKit URL+MIME.swift
[8/25] Compiling FTAPIKit URLRequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:74:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
72 |                     switch result {
73 |                     case .success(let response):
74 |                         continuation.resume(returning: response)
   |                                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
75 |                     case .failure(let error):
76 |                         continuation.resume(throwing: error)
[9/25] Compiling FTAPIKit URLServer+Async.swift
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/URLServer+Async.swift:74:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
72 |                     switch result {
73 |                     case .success(let response):
74 |                         continuation.resume(returning: response)
   |                                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
   |                                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
75 |                     case .failure(let error):
76 |                         continuation.resume(throwing: error)
[10/25] Compiling FTAPIKit URL+Query.swift
[11/25] Compiling FTAPIKit URLQuery.swift
[12/25] Compiling FTAPIKit HTTPMethod.swift
[13/25] Compiling FTAPIKit MultipartBodyPart.swift
[14/25] Compiling FTAPIKit URLServer+Call.swift
[15/25] Compiling FTAPIKit URLServer+Download.swift
[16/25] Compiling FTAPIKit URLServer+Combine.swift
[17/25] Compiling FTAPIKit Endpoint.swift
[18/25] Compiling FTAPIKit APIError+Standard.swift
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:44:23: warning: static property 'unhandled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |     }
43 |
44 |     public static var unhandled: Standard = .unhandled(data: nil, response: nil, error: nil)
   |                       |- warning: static property 'unhandled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'unhandled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'unhandled' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
[19/25] Compiling FTAPIKit APIError.swift
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:44:23: warning: static property 'unhandled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |     }
43 |
44 |     public static var unhandled: Standard = .unhandled(data: nil, response: nil, error: nil)
   |                       |- warning: static property 'unhandled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'unhandled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'unhandled' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
[20/25] Compiling FTAPIKit CharacterSet+URLQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/FTAPIKit/APIError+Standard.swift:44:23: warning: static property 'unhandled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 |     }
43 |
44 |     public static var unhandled: Standard = .unhandled(data: nil, response: nil, error: nil)
   |                       |- warning: static property 'unhandled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'unhandled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'unhandled' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
[21/25] Compiling FTAPIKit Coding.swift
[22/25] Compiling FTAPIKit EndpointPublisher.swift
[23/25] Compiling FTAPIKit EndpointSubscription.swift
[24/25] Compiling FTAPIKit MultipartFormData.swift
[25/25] Compiling FTAPIKit OutputStream+Write.swift
Build complete! (6.47s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FTAPIKit",
  "name" : "FTAPIKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.10"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "FTAPIKit",
      "targets" : [
        "FTAPIKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FTAPIKitTests",
      "module_type" : "SwiftTarget",
      "name" : "FTAPIKitTests",
      "path" : "Tests/FTAPIKitTests",
      "sources" : [
        "AsyncTests.swift",
        "CombineTests.swift",
        "Mockups/Endpoints.swift",
        "Mockups/Errors.swift",
        "Mockups/Models.swift",
        "Mockups/Servers.swift",
        "ResponseTests.swift",
        "URLQueryTests.swift"
      ],
      "target_dependencies" : [
        "FTAPIKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FTAPIKit",
      "module_type" : "SwiftTarget",
      "name" : "FTAPIKit",
      "path" : "Sources/FTAPIKit",
      "product_memberships" : [
        "FTAPIKit"
      ],
      "sources" : [
        "APIError+Standard.swift",
        "APIError.swift",
        "CharacterSet+URLQuery.swift",
        "Coding.swift",
        "Combine/EndpointPublisher.swift",
        "Combine/EndpointSubscription.swift",
        "Combine/URLServer+Combine.swift",
        "Endpoint.swift",
        "HTTPMethod.swift",
        "MultipartBodyPart.swift",
        "MultipartFormData.swift",
        "OutputStream+Write.swift",
        "Server.swift",
        "URL+MIME.swift",
        "URL+Query.swift",
        "URLQuery.swift",
        "URLRequestBuilder.swift",
        "URLServer+Async.swift",
        "URLServer+Call.swift",
        "URLServer+Download.swift",
        "URLServer+Task.swift",
        "URLServer.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.