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 3 Nov 2024 16:00:44 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
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/29795] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.20s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.6.2 (0.73s)
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.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/jrsaruo/Firework.git
[1/588] Fetching firework
Fetched https://github.com/jrsaruo/Firework.git from cache (0.78s)
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.67s)
Computing version for https://github.com/Alamofire/Alamofire.git
warning: 'alamofire': /Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v12),
Computed https://github.com/Alamofire/Alamofire.git at 5.10.1 (0.55s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.1
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)
warning: 'alamofire': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire/Package.swift:28:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
26 | import PackageDescription
27 |
28 | let package = Package(name: "Alamofire",
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v12),
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
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/37] Compiling Alamofire MultipartUpload.swift
[5/37] Compiling Alamofire NetworkReachabilityManager.swift
[6/37] Compiling Alamofire Notifications.swift
[7/37] Compiling Alamofire OperationQueue+Alamofire.swift
[8/37] Emitting module Alamofire
[9/37] Compiling Alamofire StringEncoding+Alamofire.swift
[10/37] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[11/37] Compiling Alamofire URLEncodedFormEncoder.swift
[12/40] Compiling Alamofire ParameterEncoder.swift
[13/40] Compiling Alamofire ParameterEncoding.swift
[14/40] Compiling Alamofire Protected.swift
[15/40] Compiling Alamofire RedirectHandler.swift
[16/40] Compiling Alamofire AFError.swift
[17/40] Compiling Alamofire Alamofire.swift
[18/40] Compiling Alamofire AlamofireExtended.swift
[19/40] Compiling Alamofire AuthenticationInterceptor.swift
[20/40] Compiling Alamofire CachedResponseHandler.swift
[21/40] Compiling Alamofire Combine.swift
[22/40] Compiling Alamofire Concurrency.swift
[23/40] Compiling Alamofire DispatchQueue+Alamofire.swift
[24/40] Compiling Alamofire Request.swift
[25/40] Compiling Alamofire RequestInterceptor.swift
[26/40] Compiling Alamofire RequestTaskMap.swift
[27/40] Compiling Alamofire Response.swift
[28/40] Compiling Alamofire EventMonitor.swift
[29/40] Compiling Alamofire HTTPHeaders.swift
[30/40] Compiling Alamofire HTTPMethod.swift
[31/40] Compiling Alamofire MultipartFormData.swift
[32/40] Compiling Alamofire ResponseSerialization.swift
[33/40] Compiling Alamofire Result+Alamofire.swift
[34/40] Compiling Alamofire RetryPolicy.swift
[35/40] Compiling Alamofire ServerTrustEvaluation.swift
[36/40] Compiling Alamofire Session.swift
[37/40] Compiling Alamofire SessionDelegate.swift
[38/40] Compiling Alamofire URLRequest+Alamofire.swift
[39/40] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[40/40] Compiling Alamofire Validation.swift
[41/44] Compiling Firework HTTPRequest.swift
[42/44] Compiling Firework Endpoint.swift
[43/44] Emitting module Firework
[44/44] Compiling Firework HTTPClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/Firework/HTTPClient.swift:78:70: warning: converting a value of type '(sending AFDataResponse<Data?>) -> ()' (aka '(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 '(sending AFDataResponse<Data?>) -> ()' (aka '(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 '(sending AFDataResponse<Request.Response>) -> ()' (aka '(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 '(sending AFDataResponse<Request.Response>) -> ()' (aka '(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 |     }
Build complete! (19.16s)
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.