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 main (e26989), with Swift 6.0 for Linux on 30 Nov 2024 23:55:22 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/RakuyoKit/RaAPIWrapper.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e26989e feat: Use Rake to execute release
Cloned https://github.com/RakuyoKit/RaAPIWrapper.git
Revision (git rev-parse @):
e26989e8cd1d38d6fc9728530c844eb8d69f5a5d
SUCCESS checkout https://github.com/RakuyoKit/RaAPIWrapper.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/RakuyoKit/RaAPIWrapper.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/RakuyoKit/swift.git
[1/2205] Fetching swift
[2206/32222] Fetching swift, alamofire
Fetched https://github.com/RakuyoKit/swift.git from cache (3.09s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.17s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (0.53s)
Computing version for https://github.com/RakuyoKit/swift.git
Computed https://github.com/RakuyoKit/swift.git at 1.3.1 (0.52s)
Fetching https://github.com/apple/swift-argument-parser
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.81s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.45s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.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
Creating working copy for https://github.com/RakuyoKit/swift.git
Working copy of https://github.com/RakuyoKit/swift.git resolved at 1.3.1
[1369/23458248] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.2/SwiftFormat.artifactbundle.zip
[22021/34492293] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.2/SwiftFormat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.2/SwiftFormat.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.55.1/SwiftLintBinary-macos.artifactbundle.zip (1.51s)
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.54.2/SwiftFormat.artifactbundle.zip (2.47s)
/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
[4/8] Copying PrivacyInfo.xcprivacy
[4/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/67] Emitting module APIWrapper
[10/69] Compiling Alamofire Alamofire.swift
[11/69] Compiling Alamofire AFError.swift
[12/69] Compiling Alamofire DataRequest.swift
[13/69] Compiling Alamofire URLRequest+Alamofire.swift
[14/69] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[15/69] Compiling Alamofire Result+Alamofire.swift
[16/69] Compiling Alamofire StringEncoding+Alamofire.swift
[17/69] Compiling Alamofire WebSocketRequest.swift
[18/69] Compiling Alamofire DispatchQueue+Alamofire.swift
[19/69] Compiling Alamofire OperationQueue+Alamofire.swift
[24/69] Compiling APIWrapper TRACE.swift
[25/69] Compiling APIWrapper resource_bundle_accessor.swift
[26/69] Compiling Alamofire CachedResponseHandler.swift
[27/74] Compiling Alamofire HTTPMethod.swift
[28/74] Compiling Alamofire Notifications.swift
[29/74] Compiling Alamofire ParameterEncoder.swift
[30/74] Compiling Alamofire ParameterEncoding.swift
[31/74] Compiling Alamofire Protected.swift
[32/74] Compiling Alamofire Request.swift
[33/74] Compiling Alamofire DataStreamRequest.swift
[34/74] Compiling Alamofire DownloadRequest.swift
[35/74] Compiling Alamofire HTTPHeaders.swift
[47/75] Compiling Alamofire NetworkReachabilityManager.swift
[48/75] Compiling Alamofire RedirectHandler.swift
[49/75] Compiling Alamofire RequestCompression.swift
[50/75] Compiling Alamofire RequestInterceptor.swift
[51/75] Compiling Alamofire ResponseSerialization.swift
[52/75] Compiling Alamofire Combine.swift
[53/75] Compiling Alamofire Concurrency.swift
[54/75] Compiling Alamofire EventMonitor.swift
[55/75] Compiling Alamofire MultipartFormData.swift
[56/75] Compiling Alamofire MultipartUpload.swift
[57/75] Compiling Alamofire RequestTaskMap.swift
[58/75] Compiling Alamofire Response.swift
[59/75] Compiling Alamofire Session.swift
[60/75] Compiling Alamofire SessionDelegate.swift
[61/75] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[62/75] Compiling Alamofire UploadRequest.swift
[64/75] Emitting module Alamofire
[71/75] Compiling Alamofire RetryPolicy.swift
[72/75] Compiling Alamofire ServerTrustEvaluation.swift
[73/75] Compiling Alamofire URLEncodedFormEncoder.swift
[74/75] Compiling Alamofire Validation.swift
[75/75] Compiling Alamofire resource_bundle_accessor.swift
[77/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) {
[78/80] Compiling AFAPIWrapper APIRequestInfo+AF.swift
[79/80] Compiling AFAPIWrapper API+AF.swift
[80/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) {
Build complete! (46.55s)
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.3",
            "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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.