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 APIWrapper, reference 1.2.4 (b8a6bd), with Swift 6.1 for Linux on 28 Apr 2025 17:20:31 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RakuyoKit/RaAPIWrapper.git
Reference: 1.2.4
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/RakuyoKit/RaAPIWrapper
 * tag               1.2.4      -> FETCH_HEAD
HEAD is now at b8a6bd7 [Release] version: 1.2.4
Cloned https://github.com/RakuyoKit/RaAPIWrapper.git
Revision (git rev-parse @):
b8a6bd738bb5f70f4d9bbd2de858b57650a6287a
SUCCESS checkout https://github.com/RakuyoKit/RaAPIWrapper.git at 1.2.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/RakuyoKit/RaAPIWrapper.git
https://github.com/RakuyoKit/RaAPIWrapper.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.9.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    },
    {
      "identity" : "swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RakuyoKit/swift.git"
    }
  ],
  "manifest_display_name" : "APIWrapper",
  "name" : "APIWrapper",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "APIWrapper",
      "targets" : [
        "APIWrapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AFAPIWrapper",
      "targets" : [
        "AFAPIWrapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "APIWrapperTests",
      "module_type" : "SwiftTarget",
      "name" : "APIWrapperTests",
      "path" : "Tests",
      "sources" : [
        "AvailabilityTest.swift",
        "ExtensibilityTest.swift",
        "TestEnum.swift"
      ],
      "target_dependencies" : [
        "APIWrapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "APIWrapper",
      "module_type" : "SwiftTarget",
      "name" : "APIWrapper",
      "path" : "Sources/Core",
      "product_memberships" : [
        "APIWrapper",
        "AFAPIWrapper"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Core/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "RequestInfo/APIHTTPMethod.swift",
        "RequestInfo/APIHeaders.swift",
        "RequestInfo/APIParameter.swift",
        "RequestInfo/APIRequestInfo.swift",
        "RequestInfo/APIRequestUserInfo.swift",
        "RequestInfo/AnyAPIHashable/AnyAPIHashable.swift",
        "RequestInfo/AnyAPIHashable/AnyAPIHashableParameter.swift",
        "Wrapper/API.swift",
        "Wrapper/APIParameterBuilder.swift",
        "Wrapper/APIParameterConvertible.swift",
        "Wrapper/HTTPMethod/CONNECT.swift",
        "Wrapper/HTTPMethod/DELETE.swift",
        "Wrapper/HTTPMethod/GET.swift",
        "Wrapper/HTTPMethod/HEAD.swift",
        "Wrapper/HTTPMethod/OPTIONS.swift",
        "Wrapper/HTTPMethod/PATCH.swift",
        "Wrapper/HTTPMethod/POST.swift",
        "Wrapper/HTTPMethod/PUT.swift",
        "Wrapper/HTTPMethod/QUERY.swift",
        "Wrapper/HTTPMethod/TRACE.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AFAPIWrapper",
      "module_type" : "SwiftTarget",
      "name" : "AFAPIWrapper",
      "path" : "Sources/Alamofire",
      "product_dependencies" : [
        "Alamofire"
      ],
      "product_memberships" : [
        "AFAPIWrapper"
      ],
      "sources" : [
        "API+AF.swift",
        "APIRequestInfo+AF.swift",
        "AnyAPIHashableParameterEncoding.swift"
      ],
      "target_dependencies" : [
        "APIWrapper"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/RakuyoKit/swift.git
[1/2377] Fetching swift
[2378/32514] Fetching swift, alamofire
Fetched https://github.com/RakuyoKit/swift.git from cache (0.59s)
[2713/30137] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (5.54s)
Computing version for https://github.com/RakuyoKit/swift.git
Computed https://github.com/RakuyoKit/swift.git at 1.4.0 (6.40s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/14950] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.14s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (2.05s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.85s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/RakuyoKit/swift.git
Working copy of https://github.com/RakuyoKit/swift.git resolved at 1.4.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
Downloading binary artifact https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[912/11034045] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
[1475139/39231213] Downloading https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip, https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.62s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.55.0/SwiftFormat.artifactbundle.zip (2.77s)
/host/spi-builder-workspace/.build/checkouts/swift/Plugins/FormatSwift/Plugin.swift:49:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 47 |
 48 |         let process = Process()
 49 |         process.launchPath = launchPath
    |                 |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
    |                 `- note: use 'executableURL' instead
 50 |         process.arguments = arguments
 51 |         try process.run()
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/8] Copying PrivacyInfo.xcprivacy
[2/8] Write sources
[2/8] Copying PrivacyInfo.xcprivacy
[2/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/67] Emitting module APIWrapper
[10/69] Emitting module Alamofire
[11/74] Compiling APIWrapper PUT.swift
[12/74] Compiling APIWrapper QUERY.swift
[13/74] Compiling APIWrapper TRACE.swift
[14/74] Compiling APIWrapper resource_bundle_accessor.swift
[15/74] Compiling APIWrapper APIRequestInfo.swift
[16/74] Compiling APIWrapper APIRequestUserInfo.swift
[17/74] Compiling APIWrapper AnyAPIHashable.swift
[18/74] Compiling Alamofire NetworkReachabilityManager.swift
[19/74] Compiling Alamofire RedirectHandler.swift
[20/74] Compiling Alamofire RequestCompression.swift
[21/74] Compiling Alamofire RequestInterceptor.swift
[22/74] Compiling Alamofire ResponseSerialization.swift
[23/74] Compiling APIWrapper PATCH.swift
[24/74] Compiling APIWrapper POST.swift
[25/74] Compiling APIWrapper APIParameterConvertible.swift
[26/74] Compiling APIWrapper CONNECT.swift
[27/74] Compiling APIWrapper DELETE.swift
[28/74] Compiling APIWrapper GET.swift
[29/74] Compiling APIWrapper HEAD.swift
[30/74] Compiling APIWrapper OPTIONS.swift
[34/74] Compiling APIWrapper APIHTTPMethod.swift
[35/74] Compiling APIWrapper APIHeaders.swift
[38/74] Compiling APIWrapper APIParameter.swift
[40/74] Compiling APIWrapper AnyAPIHashableParameter.swift
[41/74] Compiling APIWrapper API.swift
[42/74] Compiling APIWrapper APIParameterBuilder.swift
[53/75] Compiling Alamofire Combine.swift
[54/75] Compiling Alamofire Concurrency.swift
[55/75] Compiling Alamofire EventMonitor.swift
[56/75] Compiling Alamofire MultipartFormData.swift
[57/75] Compiling Alamofire MultipartUpload.swift
[63/75] Compiling Alamofire HTTPHeaders.swift
[64/75] Compiling Alamofire HTTPMethod.swift
[65/75] Compiling Alamofire Notifications.swift
[66/75] Compiling Alamofire ParameterEncoder.swift
[67/75] Compiling Alamofire ParameterEncoding.swift
[68/75] Compiling Alamofire Protected.swift
[69/75] Compiling Alamofire Request.swift
[70/75] Compiling Alamofire RetryPolicy.swift
[71/75] Compiling Alamofire ServerTrustEvaluation.swift
[72/75] Compiling Alamofire URLEncodedFormEncoder.swift
[73/75] Compiling Alamofire Validation.swift
[74/75] Compiling Alamofire resource_bundle_accessor.swift
[77/80] Compiling AFAPIWrapper APIRequestInfo+AF.swift
[78/80] Compiling AFAPIWrapper API+AF.swift
[79/80] Emitting module AFAPIWrapper
/host/spi-builder-workspace/Sources/Alamofire/AnyAPIHashableParameterEncoding.swift:30:16: warning: stored property 'equals' of 'Sendable'-conforming struct 'AnyAPIHashableParameterEncoding' has non-sendable type '(any AnyAPIHashableParameterEncoding.Value) -> Bool' (aka '(any ParameterEncoding) -> Bool'); this is an error in the Swift 6 language mode
28 |     public let value: Value
29 |
30 |     public let equals: (Value) -> Bool
   |                |- warning: stored property 'equals' of 'Sendable'-conforming struct 'AnyAPIHashableParameterEncoding' has non-sendable type '(any AnyAPIHashableParameterEncoding.Value) -> Bool' (aka '(any ParameterEncoding) -> Bool'); this is an error in the Swift 6 language mode
   |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
31 |
32 |     public let hash: (_ hasher: inout Hasher) -> Void
/host/spi-builder-workspace/Sources/Alamofire/AnyAPIHashableParameterEncoding.swift:32:16: warning: stored property 'hash' of 'Sendable'-conforming struct 'AnyAPIHashableParameterEncoding' has non-sendable type '(inout Hasher) -> Void'; this is an error in the Swift 6 language mode
30 |     public let equals: (Value) -> Bool
31 |
32 |     public let hash: (_ hasher: inout Hasher) -> Void
   |                |- warning: stored property 'hash' of 'Sendable'-conforming struct 'AnyAPIHashableParameterEncoding' has non-sendable type '(inout Hasher) -> Void'; this is an error in the Swift 6 language mode
   |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 |
34 |     public init<T: Input>(_ value: T) {
[80/80] Compiling AFAPIWrapper AnyAPIHashableParameterEncoding.swift
/host/spi-builder-workspace/Sources/Alamofire/AnyAPIHashableParameterEncoding.swift:30:16: warning: stored property 'equals' of 'Sendable'-conforming struct 'AnyAPIHashableParameterEncoding' has non-sendable type '(any AnyAPIHashableParameterEncoding.Value) -> Bool' (aka '(any ParameterEncoding) -> Bool'); this is an error in the Swift 6 language mode
28 |     public let value: Value
29 |
30 |     public let equals: (Value) -> Bool
   |                |- warning: stored property 'equals' of 'Sendable'-conforming struct 'AnyAPIHashableParameterEncoding' has non-sendable type '(any AnyAPIHashableParameterEncoding.Value) -> Bool' (aka '(any ParameterEncoding) -> Bool'); this is an error in the Swift 6 language mode
   |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
31 |
32 |     public let hash: (_ hasher: inout Hasher) -> Void
/host/spi-builder-workspace/Sources/Alamofire/AnyAPIHashableParameterEncoding.swift:32:16: warning: stored property 'hash' of 'Sendable'-conforming struct 'AnyAPIHashableParameterEncoding' has non-sendable type '(inout Hasher) -> Void'; this is an error in the Swift 6 language mode
30 |     public let equals: (Value) -> Bool
31 |
32 |     public let hash: (_ hasher: inout Hasher) -> Void
   |                |- warning: stored property 'hash' of 'Sendable'-conforming struct 'AnyAPIHashableParameterEncoding' has non-sendable type '(inout Hasher) -> Void'; this is an error in the Swift 6 language mode
   |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
33 |
34 |     public init<T: Input>(_ value: T) {
Build complete! (54.46s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.9.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    },
    {
      "identity" : "swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/RakuyoKit/swift.git"
    }
  ],
  "manifest_display_name" : "APIWrapper",
  "name" : "APIWrapper",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "APIWrapper",
      "targets" : [
        "APIWrapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "AFAPIWrapper",
      "targets" : [
        "AFAPIWrapper"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "APIWrapperTests",
      "module_type" : "SwiftTarget",
      "name" : "APIWrapperTests",
      "path" : "Tests",
      "sources" : [
        "AvailabilityTest.swift",
        "ExtensibilityTest.swift",
        "TestEnum.swift"
      ],
      "target_dependencies" : [
        "APIWrapper"
      ],
      "type" : "test"
    },
    {
      "c99name" : "APIWrapper",
      "module_type" : "SwiftTarget",
      "name" : "APIWrapper",
      "path" : "Sources/Core",
      "product_memberships" : [
        "APIWrapper",
        "AFAPIWrapper"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Core/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "RequestInfo/APIHTTPMethod.swift",
        "RequestInfo/APIHeaders.swift",
        "RequestInfo/APIParameter.swift",
        "RequestInfo/APIRequestInfo.swift",
        "RequestInfo/APIRequestUserInfo.swift",
        "RequestInfo/AnyAPIHashable/AnyAPIHashable.swift",
        "RequestInfo/AnyAPIHashable/AnyAPIHashableParameter.swift",
        "Wrapper/API.swift",
        "Wrapper/APIParameterBuilder.swift",
        "Wrapper/APIParameterConvertible.swift",
        "Wrapper/HTTPMethod/CONNECT.swift",
        "Wrapper/HTTPMethod/DELETE.swift",
        "Wrapper/HTTPMethod/GET.swift",
        "Wrapper/HTTPMethod/HEAD.swift",
        "Wrapper/HTTPMethod/OPTIONS.swift",
        "Wrapper/HTTPMethod/PATCH.swift",
        "Wrapper/HTTPMethod/POST.swift",
        "Wrapper/HTTPMethod/PUT.swift",
        "Wrapper/HTTPMethod/QUERY.swift",
        "Wrapper/HTTPMethod/TRACE.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AFAPIWrapper",
      "module_type" : "SwiftTarget",
      "name" : "AFAPIWrapper",
      "path" : "Sources/Alamofire",
      "product_dependencies" : [
        "Alamofire"
      ],
      "product_memberships" : [
        "AFAPIWrapper"
      ],
      "sources" : [
        "API+AF.swift",
        "APIRequestInfo+AF.swift",
        "AnyAPIHashableParameterEncoding.swift"
      ],
      "target_dependencies" : [
        "APIWrapper"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.