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 1.5.1 (754990), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 18:58:08 UTC.

Swift 6 data race errors: 2

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/jareksedy/WebOSClient.git
Reference: 1.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jareksedy/WebOSClient
 * tag               1.5.1      -> FETCH_HEAD
HEAD is now at 754990e Add getPowerState method to retrieve the TVs power state.
Cloned https://github.com/jareksedy/WebOSClient.git
Revision (git rev-parse @):
754990e6a8321ebaba3f3bf8ff3c90c19e9f9719
SUCCESS checkout https://github.com/jareksedy/WebOSClient.git at 1.5.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": "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.28s)
Creating working copy for https://github.com/jareksedy/WebOSClient.git
Working copy of https://github.com/jareksedy/WebOSClient.git resolved at 1.5.1 (754990e)
warning: '.resolve-product-dependencies': dependency 'webosclient' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/jareksedy/WebOSClient.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.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 WebOSKeyTargetProtocol.swift
[5/33] Compiling WebOSClient WebOSTargetProtocol.swift
[6/33] Compiling WebOSClient WebOSKeyTarget.swift
[7/33] Compiling WebOSClient WebOSResponseCurrentWidget.swift
[8/33] Compiling WebOSClient WebOSResponseDevice.swift
[9/33] Compiling WebOSClient WebOSResponseForegroundAppInfo.swift
[10/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:119:46: warning: capture of 'completion' with non-sendable type '(Result<WebOSResponse, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 |             }
118 |             if case .success(let response) = result {
119 |                 handle(response, completion: completion)
    |                                              |- warning: capture of 'completion' with non-sendable type '(Result<WebOSResponse, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
120 |                 listen(completion)
121 |             }
[11/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:119:46: warning: capture of 'completion' with non-sendable type '(Result<WebOSResponse, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 |             }
118 |             if case .success(let response) = result {
119 |                 handle(response, completion: completion)
    |                                              |- warning: capture of 'completion' with non-sendable type '(Result<WebOSResponse, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
120 |                 listen(completion)
121 |             }
[12/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:119:46: warning: capture of 'completion' with non-sendable type '(Result<WebOSResponse, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
117 |             }
118 |             if case .success(let response) = result {
119 |                 handle(response, completion: completion)
    |                                              |- warning: capture of 'completion' with non-sendable type '(Result<WebOSResponse, any Error>) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
120 |                 listen(completion)
121 |             }
[13/33] Compiling WebOSClient WebOSClientProtocol.swift
[14/33] Compiling WebOSClient WebOSKeyTargetExtension.swift
[15/33] Compiling WebOSClient WebOSTargetExtension.swift
[16/33] Compiling WebOSClient WebOSTarget.swift
[17/33] Compiling WebOSClient WebOSPairingType.swift
[18/33] Compiling WebOSClient WebOSRequestType.swift
[19/33] Compiling WebOSClient Logging.swift
[20/33] Compiling WebOSClient SendPing.swift
[21/33] Compiling WebOSClient WebOSRequest.swift
[22/33] Compiling WebOSClient Encodable.swift
[23/33] Compiling WebOSClient Message.swift
[24/33] Compiling WebOSClient String.swift
[25/33] Compiling WebOSClient WebOSResponsePayload.swift
[26/33] Compiling WebOSClient WebOSResponseVolumeStatus.swift
[27/33] Compiling WebOSClient WebOSClientDelegate.swift
[28/33] Compiling WebOSClient WebOSRequestSigned.swift
[29/33] Compiling WebOSClient WebOSResponse.swift
[30/33] Compiling WebOSClient WebOSResponseApplication.swift
[31/33] Compiling WebOSClient WebOSRequestManifest.swift
[32/33] Compiling WebOSClient WebOSRequestPayload.swift
[33/33] Compiling WebOSClient WebOSRequestSignature.swift
Build complete! (18.09s)
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.