The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SignalRClient, reference v1.0.0 (1a2732), with Swift 6.0 for macOS (SPM) on 26 Feb 2026 08:25:13 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dotnet/signalr-client-swift.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dotnet/signalr-client-swift
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 1a27323 Release 1.0.0 (#104)
Cloned https://github.com/dotnet/signalr-client-swift.git
Revision (git rev-parse @):
1a27323e478ad75dc8383a11f0c5d5cce62afc6e
SUCCESS checkout https://github.com/dotnet/signalr-client-swift.git at v1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dotnet/signalr-client-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/37] Emitting module SignalRClient
[4/40] Compiling SignalRClient WebSocketTransport.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:215:25: warning: switch covers known cases, but 'URLSessionWebSocketTask.Message' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
213 |                         let message = try await websocket.receive()
214 |
215 |                         switch message {
    |                         |- warning: switch covers known cases, but 'URLSessionWebSocketTask.Message' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
    |                         `- note: handle unknown values using "@unknown default"
216 |                         case .string(let text):
217 |                             logger.log(level: .debug, message: "(WebSockets transport) Received message: \(text)")
[5/40] Compiling SignalRClient Utils.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:215:25: warning: switch covers known cases, but 'URLSessionWebSocketTask.Message' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
213 |                         let message = try await websocket.receive()
214 |
215 |                         switch message {
    |                         |- warning: switch covers known cases, but 'URLSessionWebSocketTask.Message' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
    |                         `- note: handle unknown values using "@unknown default"
216 |                         case .string(let text):
217 |                             logger.log(level: .debug, message: "(WebSockets transport) Received message: \(text)")
[6/40] Compiling SignalRClient Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/Transport/WebSocketTransport.swift:215:25: warning: switch covers known cases, but 'URLSessionWebSocketTask.Message' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
213 |                         let message = try await websocket.receive()
214 |
215 |                         switch message {
    |                         |- warning: switch covers known cases, but 'URLSessionWebSocketTask.Message' may have additional unknown values, possibly added in future versions; this is an error in the Swift 6 language mode
    |                         `- note: handle unknown values using "@unknown default"
216 |                         case .string(let text):
217 |                             logger.log(level: .debug, message: "(WebSockets transport) Received message: \(text)")
[7/40] Compiling SignalRClient AsyncLock.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/AsyncLock.swift:12:14: warning: instance method 'wait' is unavailable from asynchronous contexts; Await a Task handle instead; this is an error in the Swift 6 language mode
10 |
11 |     func wait() async {
12 |         lock.wait()
   |              `- warning: instance method 'wait' is unavailable from asynchronous contexts; Await a Task handle instead; this is an error in the Swift 6 language mode
13 |
14 |         if !isLocked {
Dispatch.DispatchSemaphore:4:17: note: 'wait()' declared here
2 |     @discardableResult
3 |     public func signal() -> Int
4 |     public func wait()
  |                 `- note: 'wait()' declared here
5 |     public func wait(timeout: DispatchTime) -> DispatchTimeoutResult
6 |     public func wait(wallTimeout: DispatchWallTime) -> DispatchTimeoutResult
[8/40] Compiling SignalRClient AtomicState.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/AsyncLock.swift:12:14: warning: instance method 'wait' is unavailable from asynchronous contexts; Await a Task handle instead; this is an error in the Swift 6 language mode
10 |
11 |     func wait() async {
12 |         lock.wait()
   |              `- warning: instance method 'wait' is unavailable from asynchronous contexts; Await a Task handle instead; this is an error in the Swift 6 language mode
13 |
14 |         if !isLocked {
Dispatch.DispatchSemaphore:4:17: note: 'wait()' declared here
2 |     @discardableResult
3 |     public func signal() -> Int
4 |     public func wait()
  |                 `- note: 'wait()' declared here
5 |     public func wait(timeout: DispatchTime) -> DispatchTimeoutResult
6 |     public func wait(wallTimeout: DispatchWallTime) -> DispatchTimeoutResult
[9/40] Compiling SignalRClient ConnectionProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/AsyncLock.swift:12:14: warning: instance method 'wait' is unavailable from asynchronous contexts; Await a Task handle instead; this is an error in the Swift 6 language mode
10 |
11 |     func wait() async {
12 |         lock.wait()
   |              `- warning: instance method 'wait' is unavailable from asynchronous contexts; Await a Task handle instead; this is an error in the Swift 6 language mode
13 |
14 |         if !isLocked {
Dispatch.DispatchSemaphore:4:17: note: 'wait()' declared here
2 |     @discardableResult
3 |     public func signal() -> Int
4 |     public func wait()
  |                 `- note: 'wait()' declared here
5 |     public func wait(timeout: DispatchTime) -> DispatchTimeoutResult
6 |     public func wait(wallTimeout: DispatchWallTime) -> DispatchTimeoutResult
[10/40] Compiling SignalRClient HandshakeProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/AsyncLock.swift:12:14: warning: instance method 'wait' is unavailable from asynchronous contexts; Await a Task handle instead; this is an error in the Swift 6 language mode
10 |
11 |     func wait() async {
12 |         lock.wait()
   |              `- warning: instance method 'wait' is unavailable from asynchronous contexts; Await a Task handle instead; this is an error in the Swift 6 language mode
13 |
14 |         if !isLocked {
Dispatch.DispatchSemaphore:4:17: note: 'wait()' declared here
2 |     @discardableResult
3 |     public func signal() -> Int
4 |     public func wait()
  |                 `- note: 'wait()' declared here
5 |     public func wait(timeout: DispatchTime) -> DispatchTimeoutResult
6 |     public func wait(wallTimeout: DispatchWallTime) -> DispatchTimeoutResult
[11/40] Compiling SignalRClient HttpClient.swift
[12/40] Compiling SignalRClient HttpConnection.swift
[13/40] Compiling SignalRClient HubConnection+On.swift
[14/40] Compiling SignalRClient HubConnection+OnResult.swift
[15/40] Compiling SignalRClient SignalRError.swift
[16/40] Compiling SignalRClient StatefulReconnectOptions.swift
[17/40] Compiling SignalRClient StreamResult.swift
[18/40] Compiling SignalRClient TaskCompletionSource.swift
[19/40] Compiling SignalRClient LongPollingTransport.swift
[20/40] Compiling SignalRClient ServerSentEventTransport.swift
[21/40] Compiling SignalRClient Transport.swift
[22/40] Compiling SignalRClient TimeScheduler.swift
[23/40] Compiling SignalRClient TransferFormat.swift
[24/40] Compiling SignalRClient EventSource.swift
[25/40] Compiling SignalRClient JsonHubProtocol.swift
[26/40] Compiling SignalRClient MessagePackHubProtocol.swift
[27/40] Compiling SignalRClient MessageType.swift
[28/40] Compiling SignalRClient MsgpackCommon.swift
[29/40] Compiling SignalRClient MsgpackDecoder.swift
[30/40] Compiling SignalRClient MsgpackEncoder.swift
[31/40] Compiling SignalRClient TextMessageFormat.swift
[32/40] Compiling SignalRClient RetryPolicy.swift
[33/40] Compiling SignalRClient MessageBuffer.swift
[34/40] Compiling SignalRClient BinaryMessageFormat.swift
[35/40] Compiling SignalRClient HubMessage.swift
[36/40] Compiling SignalRClient HubProtocol.swift
[37/40] Compiling SignalRClient HubConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:541:50: warning: expression implicitly coerced from '[Any?]' to '[Any]'
539 |         let expectResponse = message.invocationId != nil
540 |         if (expectResponse) {
541 |             var result: Any? = try await handler(message.arguments.value ?? [])
    |                                                  |                       `- note: explicitly cast to '[Any]' with 'as [Any]' to silence this warning
    |                                                  `- warning: expression implicitly coerced from '[Any?]' to '[Any]'
542 |             if (result is Void) {
543 |                 // Void is not encodeable
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:549:35: warning: expression implicitly coerced from '[Any?]' to '[Any]'
547 |             try await sendWithProtocol(completionMessage)
548 |         } else {
549 |             _ = try await handler(message.arguments.value ?? [])
    |                                   |                       `- note: explicitly cast to '[Any]' with 'as [Any]' to silence this warning
    |                                   `- warning: expression implicitly coerced from '[Any?]' to '[Any]'
550 |         }
551 |     }
[38/40] Compiling SignalRClient HubConnectionBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:541:50: warning: expression implicitly coerced from '[Any?]' to '[Any]'
539 |         let expectResponse = message.invocationId != nil
540 |         if (expectResponse) {
541 |             var result: Any? = try await handler(message.arguments.value ?? [])
    |                                                  |                       `- note: explicitly cast to '[Any]' with 'as [Any]' to silence this warning
    |                                                  `- warning: expression implicitly coerced from '[Any?]' to '[Any]'
542 |             if (result is Void) {
543 |                 // Void is not encodeable
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:549:35: warning: expression implicitly coerced from '[Any?]' to '[Any]'
547 |             try await sendWithProtocol(completionMessage)
548 |         } else {
549 |             _ = try await handler(message.arguments.value ?? [])
    |                                   |                       `- note: explicitly cast to '[Any]' with 'as [Any]' to silence this warning
    |                                   `- warning: expression implicitly coerced from '[Any?]' to '[Any]'
550 |         }
551 |     }
[39/40] Compiling SignalRClient InvocationBinder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:541:50: warning: expression implicitly coerced from '[Any?]' to '[Any]'
539 |         let expectResponse = message.invocationId != nil
540 |         if (expectResponse) {
541 |             var result: Any? = try await handler(message.arguments.value ?? [])
    |                                                  |                       `- note: explicitly cast to '[Any]' with 'as [Any]' to silence this warning
    |                                                  `- warning: expression implicitly coerced from '[Any?]' to '[Any]'
542 |             if (result is Void) {
543 |                 // Void is not encodeable
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:549:35: warning: expression implicitly coerced from '[Any?]' to '[Any]'
547 |             try await sendWithProtocol(completionMessage)
548 |         } else {
549 |             _ = try await handler(message.arguments.value ?? [])
    |                                   |                       `- note: explicitly cast to '[Any]' with 'as [Any]' to silence this warning
    |                                   `- warning: expression implicitly coerced from '[Any?]' to '[Any]'
550 |         }
551 |     }
[40/40] Compiling SignalRClient Logger.swift
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:541:50: warning: expression implicitly coerced from '[Any?]' to '[Any]'
539 |         let expectResponse = message.invocationId != nil
540 |         if (expectResponse) {
541 |             var result: Any? = try await handler(message.arguments.value ?? [])
    |                                                  |                       `- note: explicitly cast to '[Any]' with 'as [Any]' to silence this warning
    |                                                  `- warning: expression implicitly coerced from '[Any?]' to '[Any]'
542 |             if (result is Void) {
543 |                 // Void is not encodeable
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:549:35: warning: expression implicitly coerced from '[Any?]' to '[Any]'
547 |             try await sendWithProtocol(completionMessage)
548 |         } else {
549 |             _ = try await handler(message.arguments.value ?? [])
    |                                   |                       `- note: explicitly cast to '[Any]' with 'as [Any]' to silence this warning
    |                                   `- warning: expression implicitly coerced from '[Any?]' to '[Any]'
550 |         }
551 |     }
Build complete! (5.76s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SignalRClient",
  "name" : "SignalRClient",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SignalRClient",
      "targets" : [
        "SignalRClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SignalRClientTests",
      "module_type" : "SwiftTarget",
      "name" : "SignalRClientTests",
      "path" : "Tests/SignalRClientTests",
      "sources" : [
        "AsyncLockTest.swift",
        "BinaryMessageFormatTests.swift",
        "EventSourceTests.swift",
        "HandshakeProtocolTests.swift",
        "HttpClientTests.swift",
        "HubConnection+OnResultTests.swift",
        "HubConnection+OnTests.swift",
        "HubConnectionTests.swift",
        "JsonHubProtocolTests.swift",
        "LoggerTests.swift",
        "LongPollingTransportTests.swift",
        "MessageBufferTests.swift",
        "MessagePackHubProtocolTests.swift",
        "Msgpack/MsgpackDecoderTests.swift",
        "Msgpack/MsgpackEncoderTests.swift",
        "ServerSentEventTransportTests.swift",
        "TaskCompletionSourceTests.swift",
        "TextMessageFormatTests.swift",
        "TimeSchedulerTests.swift",
        "Utils.swift",
        "UtilsTest.swift",
        "WebSocketTransportTests.swift"
      ],
      "target_dependencies" : [
        "SignalRClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SignalRClientIntegrationTests",
      "module_type" : "SwiftTarget",
      "name" : "SignalRClientIntegrationTests",
      "path" : "Tests/SignalRClientIntegrationTests",
      "sources" : [
        "IntegrationTests.swift"
      ],
      "target_dependencies" : [
        "SignalRClient"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SignalRClient",
      "module_type" : "SwiftTarget",
      "name" : "SignalRClient",
      "path" : "Sources/SignalRClient",
      "product_memberships" : [
        "SignalRClient"
      ],
      "sources" : [
        "AsyncLock.swift",
        "AtomicState.swift",
        "ConnectionProtocol.swift",
        "HandshakeProtocol.swift",
        "HttpClient.swift",
        "HttpConnection.swift",
        "HubConnection+On.swift",
        "HubConnection+OnResult.swift",
        "HubConnection.swift",
        "HubConnectionBuilder.swift",
        "InvocationBinder.swift",
        "Logger.swift",
        "MessageBuffer.swift",
        "Protocols/BinaryMessageFormat.swift",
        "Protocols/HubMessage.swift",
        "Protocols/HubProtocol.swift",
        "Protocols/JsonHubProtocol.swift",
        "Protocols/MessagePackHubProtocol.swift",
        "Protocols/MessageType.swift",
        "Protocols/Msgpack/MsgpackCommon.swift",
        "Protocols/Msgpack/MsgpackDecoder.swift",
        "Protocols/Msgpack/MsgpackEncoder.swift",
        "Protocols/TextMessageFormat.swift",
        "RetryPolicy.swift",
        "SignalRError.swift",
        "StatefulReconnectOptions.swift",
        "StreamResult.swift",
        "TaskCompletionSource.swift",
        "TimeScheduler.swift",
        "TransferFormat.swift",
        "Transport/EventSource.swift",
        "Transport/LongPollingTransport.swift",
        "Transport/ServerSentEventTransport.swift",
        "Transport/Transport.swift",
        "Transport/WebSocketTransport.swift",
        "Utils.swift",
        "Version.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.