The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SignalRClient, reference v1.0.0 (1a2732), with Swift 6.3 for macOS (SPM) on 17 Apr 2026 16:58:01 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "signalr-client-swift",
      "name": "SignalRClient",
      "url": "https://github.com/dotnet/signalr-client-swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/signalr-client-swift",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dotnet/signalr-client-swift.git
[1/2412] Fetching signalr-client-swift
Fetched https://github.com/dotnet/signalr-client-swift.git from cache (0.82s)
Creating working copy for https://github.com/dotnet/signalr-client-swift.git
Working copy of https://github.com/dotnet/signalr-client-swift.git resolved at v1.0.0 (1a27323)
warning: '.resolve-product-dependencies': dependency 'signalr-client-swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/dotnet/signalr-client-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/37] Compiling SignalRClient MessageBuffer.swift
[4/37] Compiling SignalRClient BinaryMessageFormat.swift
[5/37] Compiling SignalRClient HubMessage.swift
[6/37] Compiling SignalRClient HubProtocol.swift
[7/37] Compiling SignalRClient HttpClient.swift
[8/37] Compiling SignalRClient HttpConnection.swift
[9/37] Compiling SignalRClient HubConnection+On.swift
[10/37] Compiling SignalRClient HubConnection+OnResult.swift
[11/40] Compiling SignalRClient TimeScheduler.swift
[12/40] Compiling SignalRClient TransferFormat.swift
[13/40] Compiling SignalRClient EventSource.swift
[14/40] Emitting module SignalRClient
[15/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.wait:2:13: note: 'wait()' declared here
1 | class DispatchSemaphore {
2 | public func wait()}
  |             `- note: 'wait()' declared here
3 |
[16/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.wait:2:13: note: 'wait()' declared here
1 | class DispatchSemaphore {
2 | public func wait()}
  |             `- note: 'wait()' declared here
3 |
[17/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.wait:2:13: note: 'wait()' declared here
1 | class DispatchSemaphore {
2 | public func wait()}
  |             `- note: 'wait()' declared here
3 |
[18/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.wait:2:13: note: 'wait()' declared here
1 | class DispatchSemaphore {
2 | public func wait()}
  |             `- note: 'wait()' declared here
3 |
[19/40] Compiling SignalRClient SignalRError.swift
[20/40] Compiling SignalRClient StatefulReconnectOptions.swift
[21/40] Compiling SignalRClient StreamResult.swift
[22/40] Compiling SignalRClient TaskCompletionSource.swift
[23/40] Compiling SignalRClient LongPollingTransport.swift
[24/40] Compiling SignalRClient ServerSentEventTransport.swift
[25/40] Compiling SignalRClient Transport.swift
[26/40] Compiling SignalRClient MsgpackDecoder.swift
[27/40] Compiling SignalRClient MsgpackEncoder.swift
[28/40] Compiling SignalRClient TextMessageFormat.swift
[29/40] Compiling SignalRClient RetryPolicy.swift
[30/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 |     }
[31/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 |     }
[32/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 |     }
[33/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 |     }
[34/40] Compiling SignalRClient JsonHubProtocol.swift
[35/40] Compiling SignalRClient MessagePackHubProtocol.swift
[36/40] Compiling SignalRClient MessageType.swift
[37/40] Compiling SignalRClient MsgpackCommon.swift
[38/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)")
[39/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)")
[40/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)")
Build complete! (6.28s)
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.