The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SignalRClient, reference v1.0.0 (1a2732), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 06:20:01 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/dotnet/signalr-client-swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] SignalRClient
[30 / 76]
[32 / 76]
[38 / 76]
[40 / 76]
[44 / 76]
[46 / 76]
[49 / 76]
[53 / 76]
[55 / 76]
[56 / 76]
[67 / 76] SignalRClient
[68 / 76] SignalRClient
Build complete! (9.28 sec)
/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)")
/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:77:55: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 73 |         logger.log(level: .debug, message: "HubConnection starting")
 74 |
 75 |         startTask = Task {
    |                          |- note: 'self' implicitly strongly captured here
    |                          `- note: add 'self' as a capture list item to silence
 76 |             do {
 77 |                 await self.connection.onClose { [weak self] error in
    |                                                       |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                       `- note: explicitly assign the capture list item to silence
 78 |                     guard let self else { return }
 79 |                     await self.handleConnectionClose(error: error)
/Users/admin/builder/spi-builder-workspace/Sources/SignalRClient/HubConnection.swift:81:57: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
 73 |         logger.log(level: .debug, message: "HubConnection starting")
 74 |
 75 |         startTask = Task {
    |                          |- note: 'self' implicitly strongly captured here
    |                          `- note: add 'self' as a capture list item to silence
 76 |             do {
 77 |                 await self.connection.onClose { [weak self] error in
    :
 79 |                     await self.handleConnectionClose(error: error)
 80 |                 }
 81 |                 await self.connection.onReceive { [weak self] prehandledData in
    |                                                         |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                         `- note: explicitly assign the capture list item to silence
 82 |                     guard let self else { return }
 83 |                     await self.processIncomingData(prehandledData)
/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 |     }
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
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.