This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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

Successful build of FTAPIKit with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/futuredapp/FTAPIKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.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 non-isolated 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 non-isolated 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: annotate 'unhandled' with '@MainActor' if property should only be accessed from the main actor
   |                       `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |             `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |                        `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |             `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |                        `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |             `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |                        `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |             `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |                        `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |             `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |                        `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |             `- 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; this is an error in the Swift 6 language mode
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; this is an error in the Swift 6 language mode
   |                        `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
52 |         }
53 |         task.resume()
[6/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 non-isolated 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 non-isolated 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: annotate 'unhandled' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
[7/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 non-isolated 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 non-isolated 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: annotate 'unhandled' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
[8/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 non-isolated 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 non-isolated 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: annotate 'unhandled' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
[9/25] Compiling FTAPIKit Coding.swift
[10/25] Compiling FTAPIKit EndpointPublisher.swift
[11/25] Compiling FTAPIKit EndpointSubscription.swift
[12/25] Compiling FTAPIKit URLServer+Call.swift
[13/25] Compiling FTAPIKit URLServer+Download.swift
[14/25] Compiling FTAPIKit URLServer+Combine.swift
[15/25] Compiling FTAPIKit Endpoint.swift
[16/25] Compiling FTAPIKit Server.swift
[17/25] Compiling FTAPIKit URL+MIME.swift
[18/25] Compiling FTAPIKit HTTPMethod.swift
[19/25] Compiling FTAPIKit MultipartBodyPart.swift
[20/25] Compiling FTAPIKit URLRequestBuilder.swift
[21/25] Compiling FTAPIKit URLServer+Async.swift
[22/25] Compiling FTAPIKit MultipartFormData.swift
[23/25] Compiling FTAPIKit OutputStream+Write.swift
[24/25] Compiling FTAPIKit URL+Query.swift
[25/25] Compiling FTAPIKit URLQuery.swift
Build complete! (25.67s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.