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 WebOSClient, reference main (14ce35), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 06:32:48 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jareksedy/WebOSClient.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jareksedy/WebOSClient
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 14ce35d Merge pull request #8 from hmduc1603/main
Cloned https://github.com/jareksedy/WebOSClient.git
Revision (git rev-parse @):
14ce35d71682499c8f543f0810ee1ef28751fea5
SUCCESS checkout https://github.com/jareksedy/WebOSClient.git at main
========================================
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": "webosclient",
      "name": "WebOSClient",
      "url": "https://github.com/jareksedy/WebOSClient.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/WebOSClient",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jareksedy/WebOSClient.git
[1/1168] Fetching webosclient
Fetched https://github.com/jareksedy/WebOSClient.git from cache (1.05s)
Creating working copy for https://github.com/jareksedy/WebOSClient.git
Working copy of https://github.com/jareksedy/WebOSClient.git resolved at main (14ce35d)
warning: '.resolve-product-dependencies': dependency 'webosclient' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jareksedy/WebOSClient.git
https://github.com/jareksedy/WebOSClient.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WebOSClient",
  "name" : "WebOSClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "WebOSClient",
      "targets" : [
        "WebOSClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebOSClientTests",
      "module_type" : "SwiftTarget",
      "name" : "WebOSClientTests",
      "path" : "Tests/WebOSClientTests",
      "sources" : [
        "WebOSClientTests.swift"
      ],
      "target_dependencies" : [
        "WebOSClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WebOSClient",
      "module_type" : "SwiftTarget",
      "name" : "WebOSClient",
      "path" : "Sources/WebOSClient",
      "product_memberships" : [
        "WebOSClient"
      ],
      "sources" : [
        "Extensions/Encodable.swift",
        "Extensions/Message.swift",
        "Extensions/String.swift",
        "Extensions/WebOSClientExtensions/Logging.swift",
        "Extensions/WebOSClientExtensions/SendPing.swift",
        "Models/Request/WebOSRequest.swift",
        "Models/Request/WebOSRequestManifest.swift",
        "Models/Request/WebOSRequestPayload.swift",
        "Models/Request/WebOSRequestSignature.swift",
        "Models/Request/WebOSRequestSigned.swift",
        "Models/Response/WebOSResponse.swift",
        "Models/Response/WebOSResponseApplication.swift",
        "Models/Response/WebOSResponseCurrentWidget.swift",
        "Models/Response/WebOSResponseDevice.swift",
        "Models/Response/WebOSResponseForegroundAppInfo.swift",
        "Models/Response/WebOSResponsePayload.swift",
        "Models/Response/WebOSResponseVolumeStatus.swift",
        "Protocols/WebOSClientDelegate.swift",
        "Protocols/WebOSClientProtocol.swift",
        "Targets/Extensions/WebOSKeyTargetExtension.swift",
        "Targets/Extensions/WebOSTargetExtension.swift",
        "Targets/Protocols/WebOSKeyTargetProtocol.swift",
        "Targets/Protocols/WebOSTargetProtocol.swift",
        "Targets/WebOSKeyTarget.swift",
        "Targets/WebOSTarget.swift",
        "Types/WebOSPairingType.swift",
        "Types/WebOSRequestType.swift",
        "Types/WebOSResponseType.swift",
        "Types/WebOSSoundOutputType.swift",
        "WebOSClient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/30] Emitting module WebOSClient
/Users/admin/builder/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:8:14: warning: non-final class 'WebOSClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  6 | import Foundation
  7 |
  8 | public class WebOSClient: NSObject, WebOSClientProtocol {
    |              `- warning: non-final class 'WebOSClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  9 |     private var url: URL
 10 |     private var urlSession: URLSession?
/Users/admin/builder/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:9:17: warning: stored property 'url' of 'Sendable'-conforming class 'WebOSClient' is mutable; this is an error in the Swift 6 language mode
  7 |
  8 | public class WebOSClient: NSObject, WebOSClientProtocol {
  9 |     private var url: URL
    |                 `- warning: stored property 'url' of 'Sendable'-conforming class 'WebOSClient' is mutable; this is an error in the Swift 6 language mode
 10 |     private var urlSession: URLSession?
 11 |     private var primaryWebSocketTask: URLSessionWebSocketTask?
[4/33] Compiling WebOSClient WebOSResponseCurrentWidget.swift
[5/33] Compiling WebOSClient WebOSResponseDevice.swift
[6/33] Compiling WebOSClient WebOSResponseForegroundAppInfo.swift
[7/33] Compiling WebOSClient Logging.swift
[8/33] Compiling WebOSClient SendPing.swift
[9/33] Compiling WebOSClient WebOSRequest.swift
[10/33] Compiling WebOSClient WebOSRequestManifest.swift
[11/33] Compiling WebOSClient WebOSRequestPayload.swift
[12/33] Compiling WebOSClient WebOSRequestSignature.swift
[13/33] Compiling WebOSClient WebOSResponseType.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:8:14: warning: non-final class 'WebOSClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  6 | import Foundation
  7 |
  8 | public class WebOSClient: NSObject, WebOSClientProtocol {
    |              `- warning: non-final class 'WebOSClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  9 |     private var url: URL
 10 |     private var urlSession: URLSession?
/Users/admin/builder/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:9:17: warning: stored property 'url' of 'Sendable'-conforming class 'WebOSClient' is mutable; this is an error in the Swift 6 language mode
  7 |
  8 | public class WebOSClient: NSObject, WebOSClientProtocol {
  9 |     private var url: URL
    |                 `- warning: stored property 'url' of 'Sendable'-conforming class 'WebOSClient' is mutable; this is an error in the Swift 6 language mode
 10 |     private var urlSession: URLSession?
 11 |     private var primaryWebSocketTask: URLSessionWebSocketTask?
/Users/admin/builder/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:129:46: warning: capture of 'completion' with non-sendable type '(Result<WebOSResponse, any Error>) -> Void' in a '@Sendable' closure
127 |             }
128 |             if case .success(let response) = result {
129 |                 handle(response, completion: completion)
    |                                              |- warning: capture of 'completion' with non-sendable type '(Result<WebOSResponse, any Error>) -> Void' in a '@Sendable' closure
    |                                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 |                 listen(completion)
131 |             }
[14/33] Compiling WebOSClient WebOSSoundOutputType.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:8:14: warning: non-final class 'WebOSClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  6 | import Foundation
  7 |
  8 | public class WebOSClient: NSObject, WebOSClientProtocol {
    |              `- warning: non-final class 'WebOSClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  9 |     private var url: URL
 10 |     private var urlSession: URLSession?
/Users/admin/builder/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:9:17: warning: stored property 'url' of 'Sendable'-conforming class 'WebOSClient' is mutable; this is an error in the Swift 6 language mode
  7 |
  8 | public class WebOSClient: NSObject, WebOSClientProtocol {
  9 |     private var url: URL
    |                 `- warning: stored property 'url' of 'Sendable'-conforming class 'WebOSClient' is mutable; this is an error in the Swift 6 language mode
 10 |     private var urlSession: URLSession?
 11 |     private var primaryWebSocketTask: URLSessionWebSocketTask?
/Users/admin/builder/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:129:46: warning: capture of 'completion' with non-sendable type '(Result<WebOSResponse, any Error>) -> Void' in a '@Sendable' closure
127 |             }
128 |             if case .success(let response) = result {
129 |                 handle(response, completion: completion)
    |                                              |- warning: capture of 'completion' with non-sendable type '(Result<WebOSResponse, any Error>) -> Void' in a '@Sendable' closure
    |                                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 |                 listen(completion)
131 |             }
[15/33] Compiling WebOSClient WebOSClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:8:14: warning: non-final class 'WebOSClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  6 | import Foundation
  7 |
  8 | public class WebOSClient: NSObject, WebOSClientProtocol {
    |              `- warning: non-final class 'WebOSClient' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
  9 |     private var url: URL
 10 |     private var urlSession: URLSession?
/Users/admin/builder/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:9:17: warning: stored property 'url' of 'Sendable'-conforming class 'WebOSClient' is mutable; this is an error in the Swift 6 language mode
  7 |
  8 | public class WebOSClient: NSObject, WebOSClientProtocol {
  9 |     private var url: URL
    |                 `- warning: stored property 'url' of 'Sendable'-conforming class 'WebOSClient' is mutable; this is an error in the Swift 6 language mode
 10 |     private var urlSession: URLSession?
 11 |     private var primaryWebSocketTask: URLSessionWebSocketTask?
/Users/admin/builder/spi-builder-workspace/Sources/WebOSClient/WebOSClient.swift:129:46: warning: capture of 'completion' with non-sendable type '(Result<WebOSResponse, any Error>) -> Void' in a '@Sendable' closure
127 |             }
128 |             if case .success(let response) = result {
129 |                 handle(response, completion: completion)
    |                                              |- warning: capture of 'completion' with non-sendable type '(Result<WebOSResponse, any Error>) -> Void' in a '@Sendable' closure
    |                                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
130 |                 listen(completion)
131 |             }
[16/33] Compiling WebOSClient WebOSResponsePayload.swift
[17/33] Compiling WebOSClient WebOSResponseVolumeStatus.swift
[18/33] Compiling WebOSClient WebOSClientDelegate.swift
[19/33] Compiling WebOSClient WebOSClientProtocol.swift
[20/33] Compiling WebOSClient WebOSKeyTargetExtension.swift
[21/33] Compiling WebOSClient WebOSTargetExtension.swift
[22/33] Compiling WebOSClient WebOSKeyTargetProtocol.swift
[23/33] Compiling WebOSClient WebOSTargetProtocol.swift
[24/33] Compiling WebOSClient WebOSKeyTarget.swift
[25/33] Compiling WebOSClient WebOSRequestSigned.swift
[26/33] Compiling WebOSClient WebOSResponse.swift
[27/33] Compiling WebOSClient WebOSResponseApplication.swift
[28/33] Compiling WebOSClient WebOSTarget.swift
[29/33] Compiling WebOSClient WebOSPairingType.swift
[30/33] Compiling WebOSClient WebOSRequestType.swift
[31/33] Compiling WebOSClient Encodable.swift
[32/33] Compiling WebOSClient Message.swift
[33/33] Compiling WebOSClient String.swift
Build complete! (6.34s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "WebOSClient",
  "name" : "WebOSClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "WebOSClient",
      "targets" : [
        "WebOSClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebOSClientTests",
      "module_type" : "SwiftTarget",
      "name" : "WebOSClientTests",
      "path" : "Tests/WebOSClientTests",
      "sources" : [
        "WebOSClientTests.swift"
      ],
      "target_dependencies" : [
        "WebOSClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WebOSClient",
      "module_type" : "SwiftTarget",
      "name" : "WebOSClient",
      "path" : "Sources/WebOSClient",
      "product_memberships" : [
        "WebOSClient"
      ],
      "sources" : [
        "Extensions/Encodable.swift",
        "Extensions/Message.swift",
        "Extensions/String.swift",
        "Extensions/WebOSClientExtensions/Logging.swift",
        "Extensions/WebOSClientExtensions/SendPing.swift",
        "Models/Request/WebOSRequest.swift",
        "Models/Request/WebOSRequestManifest.swift",
        "Models/Request/WebOSRequestPayload.swift",
        "Models/Request/WebOSRequestSignature.swift",
        "Models/Request/WebOSRequestSigned.swift",
        "Models/Response/WebOSResponse.swift",
        "Models/Response/WebOSResponseApplication.swift",
        "Models/Response/WebOSResponseCurrentWidget.swift",
        "Models/Response/WebOSResponseDevice.swift",
        "Models/Response/WebOSResponseForegroundAppInfo.swift",
        "Models/Response/WebOSResponsePayload.swift",
        "Models/Response/WebOSResponseVolumeStatus.swift",
        "Protocols/WebOSClientDelegate.swift",
        "Protocols/WebOSClientProtocol.swift",
        "Targets/Extensions/WebOSKeyTargetExtension.swift",
        "Targets/Extensions/WebOSTargetExtension.swift",
        "Targets/Protocols/WebOSKeyTargetProtocol.swift",
        "Targets/Protocols/WebOSTargetProtocol.swift",
        "Targets/WebOSKeyTarget.swift",
        "Targets/WebOSTarget.swift",
        "Types/WebOSPairingType.swift",
        "Types/WebOSRequestType.swift",
        "Types/WebOSResponseType.swift",
        "Types/WebOSSoundOutputType.swift",
        "WebOSClient.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.