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 RestBird, reference master (db51dc), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 11:54:32 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/halcyonmobile/RestBird.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/halcyonmobile/RestBird
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at db51dc7 Update podspec
Cloned https://github.com/halcyonmobile/RestBird.git
Revision (git rev-parse @):
db51dc723cf29fbae3d237205e911fdc4debbd9d
SUCCESS checkout https://github.com/halcyonmobile/RestBird.git at master
Fetching https://github.com/Alamofire/Alamofire.git
[1/29789] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.76s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.4.1 (0.64s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.4.1
========================================
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": "restbird",
      "name": "RestBird",
      "url": "https://github.com/halcyonmobile/RestBird.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RestBird",
      "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/halcyonmobile/RestBird.git
[1/1200] Fetching restbird
Fetched https://github.com/halcyonmobile/RestBird.git from cache (3.20s)
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.49s)
Creating working copy for https://github.com/halcyonmobile/RestBird.git
Working copy of https://github.com/halcyonmobile/RestBird.git resolved at master (db51dc7)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.1
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 'restbird' 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/halcyonmobile/RestBird.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/36] Emitting module Alamofire
[5/39] Compiling Alamofire URLRequest+Alamofire.swift
[6/39] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[7/39] Compiling Alamofire Validation.swift
[8/39] Compiling Alamofire StringEncoding+Alamofire.swift
[9/39] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[10/39] Compiling Alamofire URLEncodedFormEncoder.swift
[11/39] Compiling Alamofire NetworkReachabilityManager.swift
[12/39] Compiling Alamofire Notifications.swift
[13/39] Compiling Alamofire OperationQueue+Alamofire.swift
[14/39] Compiling Alamofire ParameterEncoder.swift
[15/39] Compiling Alamofire ResponseSerialization.swift
[16/39] Compiling Alamofire Result+Alamofire.swift
[17/39] Compiling Alamofire RetryPolicy.swift
[18/39] Compiling Alamofire RequestInterceptor.swift
[19/39] Compiling Alamofire RequestTaskMap.swift
[20/39] Compiling Alamofire Response.swift
[21/39] Compiling Alamofire AFError.swift
[22/39] Compiling Alamofire Alamofire.swift
[23/39] Compiling Alamofire AlamofireExtended.swift
[24/39] Compiling Alamofire AuthenticationInterceptor.swift
[25/39] Compiling Alamofire HTTPHeaders.swift
[26/39] Compiling Alamofire HTTPMethod.swift
[27/39] Compiling Alamofire MultipartFormData.swift
[28/39] Compiling Alamofire MultipartUpload.swift
[29/39] Compiling Alamofire ParameterEncoding.swift
[30/39] Compiling Alamofire Protected.swift
[31/39] Compiling Alamofire RedirectHandler.swift
[32/39] Compiling Alamofire Request.swift
[33/39] Compiling Alamofire ServerTrustEvaluation.swift
[34/39] Compiling Alamofire Session.swift
[35/39] Compiling Alamofire SessionDelegate.swift
[36/39] Compiling Alamofire CachedResponseHandler.swift
[37/39] Compiling Alamofire Combine.swift
[38/39] Compiling Alamofire DispatchQueue+Alamofire.swift
[39/39] Compiling Alamofire EventMonitor.swift
[40/52] Compiling RestBird SessionManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Session/SessionManager.swift:11:41: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 9 | import Foundation
10 |
11 | public protocol SessionManagerDelegate: class {
   |                                         `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 |     /// Informs delegate that a URLRequest is about to be executed.
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Session/SessionManager.swift:33:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |
32 | /// URL session interface
33 | public protocol SessionManager: class {
   |                                 `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
34 |
35 |     var config: NetworkClientConfiguration { get }
[41/53] Compiling RestBird MultipartRequest.swift
[42/53] Compiling RestBird ParameterEncoding.swift
[43/53] Compiling RestBird RestBird.swift
[44/53] Compiling RestBird Request.swift
[45/53] Compiling RestBird EmptyResponse.swift
[46/53] Compiling RestBird Middleware.swift
[47/53] Compiling RestBird DataRequest.swift
[48/53] Compiling RestBird NetworkClient.swift
[49/53] Compiling RestBird HTTPMethod.swift
[50/53] Compiling RestBird Data+Codable.swift
[51/53] Emitting module RestBird
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Session/SessionManager.swift:11:41: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
 9 | import Foundation
10 |
11 | public protocol SessionManagerDelegate: class {
   |                                         `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
12 |
13 |     /// Informs delegate that a URLRequest is about to be executed.
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Session/SessionManager.swift:33:33: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
31 |
32 | /// URL session interface
33 | public protocol SessionManager: class {
   |                                 `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead
34 |
35 |     var config: NetworkClientConfiguration { get }
[52/53] Compiling RestBird AlamofireSessionManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Alamofire/AlamofireSessionManager.swift:125:22: warning: We should do this using Alamofire.
123 |             }
124 |
125 |             #warning("We should do this using Alamofire.")
    |                      `- warning: We should do this using Alamofire.
126 |             try? request.afParameters(using: self.config.jsonEncoder)?.forEach { (param) in
127 |                 if let value = param.value as? String {
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Alamofire/AlamofireSessionManager.swift:81:13: warning: variable 'uploadRequest' was never mutated; consider changing to 'let' constant
 79 |     ) where Request : MultipartRequest, T : Decodable {
 80 |         // We need to observe when `uploadRequest` gets set as in case of `.multipart` this will be set later, in `encodingCompletion` and we can't call these methods right after `sessionManager.upload` as `uploadRequest` will be nil at that point.
 81 |         var uploadRequest: Alamofire.UploadRequest? {
    |             `- warning: variable 'uploadRequest' was never mutated; consider changing to 'let' constant
 82 |             didSet {
 83 |                 // We don't need to treat the case where `uploadRequest` is nil as that would be a failure and `completion(.failure(error))` would be called in `encodingCompletion`.
[53/53] Compiling RestBird Request+Alamofire.swift
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Alamofire/AlamofireSessionManager.swift:125:22: warning: We should do this using Alamofire.
123 |             }
124 |
125 |             #warning("We should do this using Alamofire.")
    |                      `- warning: We should do this using Alamofire.
126 |             try? request.afParameters(using: self.config.jsonEncoder)?.forEach { (param) in
127 |                 if let value = param.value as? String {
/Users/admin/builder/spi-builder-workspace/Sources/RestBird/Alamofire/AlamofireSessionManager.swift:81:13: warning: variable 'uploadRequest' was never mutated; consider changing to 'let' constant
 79 |     ) where Request : MultipartRequest, T : Decodable {
 80 |         // We need to observe when `uploadRequest` gets set as in case of `.multipart` this will be set later, in `encodingCompletion` and we can't call these methods right after `sessionManager.upload` as `uploadRequest` will be nil at that point.
 81 |         var uploadRequest: Alamofire.UploadRequest? {
    |             `- warning: variable 'uploadRequest' was never mutated; consider changing to 'let' constant
 82 |             didSet {
 83 |                 // We don't need to treat the case where `uploadRequest` is nil as that would be a failure and `completion(.failure(error))` would be called in `encodingCompletion`.
Build complete! (23.14s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.4.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    }
  ],
  "manifest_display_name" : "RestBird",
  "name" : "RestBird",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "RestBird",
      "targets" : [
        "RestBird"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RestBirdTests",
      "module_type" : "SwiftTarget",
      "name" : "RestBirdTests",
      "path" : "Tests/RestBirdTests",
      "sources" : [
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "RestBird"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RestBird",
      "module_type" : "SwiftTarget",
      "name" : "RestBird",
      "path" : "Sources/RestBird",
      "product_dependencies" : [
        "Alamofire"
      ],
      "product_memberships" : [
        "RestBird"
      ],
      "sources" : [
        "Alamofire/AlamofireSessionManager.swift",
        "Alamofire/Request+Alamofire.swift",
        "Client/NetworkClient.swift",
        "HTTPMethod.swift",
        "Middleware.swift",
        "Request/DataRequest.swift",
        "Request/EmptyResponse.swift",
        "Request/MultipartRequest.swift",
        "Request/ParameterEncoding.swift",
        "Request/Request.swift",
        "RestBird.swift",
        "Session/SessionManager.swift",
        "Utility/Data+Codable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.