The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SignalRClient, reference v1.0.0 (1a2732), with Swift 6.4 for Linux on 24 Sep 2026 06:03:52 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/dotnet/signalr-client-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:17:7: warning: non-final class 'EventSource' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 15 | //  1. Reconnect, last Id
 16 | //  2. event name, event handlers
 17 | class EventSource: NSObject, URLSessionDataDelegate {
    |       `- warning: non-final class 'EventSource' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 18 |     private let url: URL
 19 |     private let headers: [String: String]
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:20:17: warning: stored property 'parser' of 'Sendable'-conforming class 'EventSource' has non-Sendable type 'EventParser'; this is an error in the Swift 6 language mode
 18 |     private let url: URL
 19 |     private let headers: [String: String]
 20 |     private let parser: EventParser
    |                 `- warning: stored property 'parser' of 'Sendable'-conforming class 'EventSource' has non-Sendable type 'EventParser'; this is an error in the Swift 6 language mode
 21 |     private var openHandler: (() -> Void)?
 22 |     private var completeHandler: ((Int?, Error?) -> Void)?
    :
114 | // The parser supports both "\n" and "\r\n" as field separator. "\r" is rarely used practically thus not supported for simplicity.
115 | // Comments and fields other than "data" are silently dropped.
116 | class EventParser {
    |       `- note: class 'EventParser' does not conform to the 'Sendable' protocol
117 |     static let cr = Character("\r").asciiValue!
118 |     static let ln = Character("\n").asciiValue!
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:21:17: warning: stored property 'openHandler' of 'Sendable'-conforming class 'EventSource' is mutable; this is an error in the Swift 6 language mode
 19 |     private let headers: [String: String]
 20 |     private let parser: EventParser
 21 |     private var openHandler: (() -> Void)?
    |                 `- warning: stored property 'openHandler' of 'Sendable'-conforming class 'EventSource' is mutable; this is an error in the Swift 6 language mode
 22 |     private var completeHandler: ((Int?, Error?) -> Void)?
 23 |     private var messageHandler: ((String) -> Void)?
[28 / 36] SignalRClient
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:17:7: warning: non-final class 'EventSource' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 15 | //  1. Reconnect, last Id
 16 | //  2. event name, event handlers
 17 | class EventSource: NSObject, URLSessionDataDelegate {
    |       `- warning: non-final class 'EventSource' cannot conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 18 |     private let url: URL
 19 |     private let headers: [String: String]
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:20:17: warning: stored property 'parser' of 'Sendable'-conforming class 'EventSource' has non-Sendable type 'EventParser'; this is an error in the Swift 6 language mode
 18 |     private let url: URL
 19 |     private let headers: [String: String]
 20 |     private let parser: EventParser
    |                 `- warning: stored property 'parser' of 'Sendable'-conforming class 'EventSource' has non-Sendable type 'EventParser'; this is an error in the Swift 6 language mode
 21 |     private var openHandler: (() -> Void)?
 22 |     private var completeHandler: ((Int?, Error?) -> Void)?
    :
114 | // The parser supports both "\n" and "\r\n" as field separator. "\r" is rarely used practically thus not supported for simplicity.
115 | // Comments and fields other than "data" are silently dropped.
116 | class EventParser {
    |       `- note: class 'EventParser' does not conform to the 'Sendable' protocol
117 |     static let cr = Character("\r").asciiValue!
118 |     static let ln = Character("\n").asciiValue!
/host/spi-builder-workspace/Sources/SignalRClient/Transport/EventSource.swift:21:17: warning: stored property 'openHandler' of 'Sendable'-conforming class 'EventSource' is mutable; this is an error in the Swift 6 language mode
 19 |     private let headers: [String: String]
 20 |     private let parser: EventParser
 21 |     private var openHandler: (() -> Void)?
    |                 `- warning: stored property 'openHandler' of 'Sendable'-conforming class 'EventSource' is mutable; this is an error in the Swift 6 language mode
 22 |     private var completeHandler: ((Int?, Error?) -> Void)?
 23 |     private var messageHandler: ((String) -> Void)?
[33 / 36] SignalRClient
/host/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)
/host/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)
/host/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
/host/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! (5.54 secs)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SignalRClient",
  "name" : "SignalRClient",
  "path" : "/host/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"
}
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Done.