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 Firework, reference 3.0.2 (a9fd1b), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 01:44:47 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jrsaruo/Firework.git
Reference: 3.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jrsaruo/Firework
 * tag               3.0.2      -> FETCH_HEAD
HEAD is now at a9fd1b4 Merge pull request #42 from jrsaruo/release-3.0.2
Cloned https://github.com/jrsaruo/Firework.git
Revision (git rev-parse @):
a9fd1b49ebe41aa4a5dde44785796d8b258856ef
SUCCESS checkout https://github.com/jrsaruo/Firework.git at 3.0.2
Fetching https://github.com/Alamofire/Alamofire.git
[1/30017] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (24.28s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.6.2 (0.54s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.6.2
========================================
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": "firework",
      "name": "Firework",
      "url": "https://github.com/jrsaruo/Firework.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Firework",
      "dependencies": [
        {
          "identity": "alamofire",
          "name": "Alamofire",
          "url": "https://github.com/Alamofire/Alamofire.git",
          "version": "5.10.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/jrsaruo/Firework.git
[1/594] Fetching firework
Fetched https://github.com/jrsaruo/Firework.git from cache (1.05s)
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.72s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.41s)
Creating working copy for https://github.com/jrsaruo/Firework.git
Working copy of https://github.com/jrsaruo/Firework.git resolved at 3.0.2 (a9fd1b4)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
warning: '.resolve-product-dependencies': dependency 'firework' is not used by any target
Found 1 product dependencies
  - Alamofire
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jrsaruo/Firework.git
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.6.2",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    }
  ],
  "manifest_display_name" : "Firework",
  "name" : "Firework",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "Firework",
      "targets" : [
        "Firework"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FireworkTests",
      "module_type" : "SwiftTarget",
      "name" : "FireworkTests",
      "path" : "Tests/FireworkTests",
      "sources" : [
        "EndpointTests.swift",
        "HTTPClientTests.swift",
        "HTTPRequestTests.swift"
      ],
      "target_dependencies" : [
        "Firework"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Firework",
      "module_type" : "SwiftTarget",
      "name" : "Firework",
      "path" : "Sources/Firework",
      "product_dependencies" : [
        "Alamofire"
      ],
      "product_memberships" : [
        "Firework"
      ],
      "sources" : [
        "Endpoint.swift",
        "HTTPClient.swift",
        "HTTPRequest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/37] Emitting module Alamofire
[5/40] Compiling Alamofire MultipartUpload.swift
[6/40] Compiling Alamofire NetworkReachabilityManager.swift
[7/40] Compiling Alamofire Notifications.swift
[8/40] Compiling Alamofire OperationQueue+Alamofire.swift
[9/40] Compiling Alamofire URLRequest+Alamofire.swift
[10/40] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[11/40] Compiling Alamofire Validation.swift
[12/40] Compiling Alamofire AFError.swift
[13/40] Compiling Alamofire Alamofire.swift
[14/40] Compiling Alamofire AlamofireExtended.swift
[15/40] Compiling Alamofire AuthenticationInterceptor.swift
[16/40] Compiling Alamofire ParameterEncoder.swift
[17/40] Compiling Alamofire ParameterEncoding.swift
[18/40] Compiling Alamofire Protected.swift
[19/40] Compiling Alamofire RedirectHandler.swift
[20/40] Compiling Alamofire ServerTrustEvaluation.swift
[21/40] Compiling Alamofire Session.swift
[22/40] Compiling Alamofire SessionDelegate.swift
[23/40] Compiling Alamofire CachedResponseHandler.swift
[24/40] Compiling Alamofire Combine.swift
[25/40] Compiling Alamofire Concurrency.swift
[26/40] Compiling Alamofire DispatchQueue+Alamofire.swift
[27/40] Compiling Alamofire Request.swift
[28/40] Compiling Alamofire RequestInterceptor.swift
[29/40] Compiling Alamofire RequestTaskMap.swift
[30/40] Compiling Alamofire Response.swift
[31/40] Compiling Alamofire ResponseSerialization.swift
[32/40] Compiling Alamofire Result+Alamofire.swift
[33/40] Compiling Alamofire RetryPolicy.swift
[34/40] Compiling Alamofire StringEncoding+Alamofire.swift
[35/40] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[36/40] Compiling Alamofire URLEncodedFormEncoder.swift
[37/40] Compiling Alamofire EventMonitor.swift
[38/40] Compiling Alamofire HTTPHeaders.swift
[39/40] Compiling Alamofire HTTPMethod.swift
[40/40] Compiling Alamofire MultipartFormData.swift
[41/44] Compiling Firework HTTPRequest.swift
[42/44] Compiling Firework Endpoint.swift
[43/44] Compiling Firework HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Firework/HTTPClient.swift:78:70: warning: converting a value of type '@Sendable (sending AFDataResponse<Data?>) -> ()' (aka '@Sendable (sending DataResponse<Optional<Data>, AFError>) -> ()') to type '(AFDataResponse<Data?>) -> Void' (aka '(DataResponse<Optional<Data>, AFError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
 76 |     public func send(_ request: some HTTPRequest) async -> AFDataResponse<Data?> {
 77 |         await withCheckedContinuation { continuation in
 78 |             send(request, receiveOn: .main, completion: continuation.resume(returning:))
    |                                                                      |- warning: converting a value of type '@Sendable (sending AFDataResponse<Data?>) -> ()' (aka '@Sendable (sending DataResponse<Optional<Data>, AFError>) -> ()') to type '(AFDataResponse<Data?>) -> Void' (aka '(DataResponse<Optional<Data>, AFError>) -> ()') risks causing data races; this is an error in the Swift 6 language mode
    |                                                                      `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
 79 |         }
 80 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Firework/HTTPClient.swift:102:78: warning: converting a value of type '@Sendable (sending AFDataResponse<Request.Response>) -> ()' (aka '@Sendable (sending DataResponse<Request.Response, AFError>) -> ()') to type '(DataResponse<Request.Response, AFError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
100 |     public func send<Request: DecodingRequest>(_ request: Request) async -> AFDataResponse<Request.Response> {
101 |         await withCheckedContinuation { continuation in
102 |             send(request, receiveOn: .main, decodingCompletion: continuation.resume(returning:))
    |                                                                              |- warning: converting a value of type '@Sendable (sending AFDataResponse<Request.Response>) -> ()' (aka '@Sendable (sending DataResponse<Request.Response, AFError>) -> ()') to type '(DataResponse<Request.Response, AFError>) -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                                                                              `- note: converting a function typed value with a sending parameter to one without risks allowing actor-isolated values to escape their isolation domain as an argument to an invocation of value
103 |         }
104 |     }
[44/44] Emitting module Firework
Build complete! (21.00s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.6.2",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    }
  ],
  "manifest_display_name" : "Firework",
  "name" : "Firework",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "tvos",
      "version" : "10.0"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "Firework",
      "targets" : [
        "Firework"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FireworkTests",
      "module_type" : "SwiftTarget",
      "name" : "FireworkTests",
      "path" : "Tests/FireworkTests",
      "sources" : [
        "EndpointTests.swift",
        "HTTPClientTests.swift",
        "HTTPRequestTests.swift"
      ],
      "target_dependencies" : [
        "Firework"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Firework",
      "module_type" : "SwiftTarget",
      "name" : "Firework",
      "path" : "Sources/Firework",
      "product_dependencies" : [
        "Alamofire"
      ],
      "product_memberships" : [
        "Firework"
      ],
      "sources" : [
        "Endpoint.swift",
        "HTTPClient.swift",
        "HTTPRequest.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.