The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Kitura-WebSocket, reference 2.1.200 (31ee0c), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 19:46:29 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/Kitura-WebSocket.git
Reference: 2.1.200
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kitura/Kitura-WebSocket
 * tag               2.1.200    -> FETCH_HEAD
HEAD is now at 31ee0c2 Update package reference to community versions (#104)
Cloned https://github.com/Kitura/Kitura-WebSocket.git
Revision (git rev-parse @):
31ee0c22500569f81b262884f41710ce3ad540f5
SUCCESS checkout https://github.com/Kitura/Kitura-WebSocket.git at 2.1.200
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Kitura/Kitura-WebSocket.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/10] Write sources
[7/10] Write swift-version-1EA4D86E10B52AF.txt
[8/30] Compiling CHTTPParser utils.c
[9/30] Compiling CHTTPParser http_parser.c
[11/30] Compiling Logging Locks.swift
[12/30] Compiling Logging MetadataProvider.swift
[13/30] Emitting module Logging
[14/30] Compiling Logging Logging.swift
[15/30] Compiling Logging LogHandler.swift
[16/32] Compiling Cryptor Updatable.swift
[17/33] Compiling Cryptor KeyDerivation.swift
[18/33] Compiling Cryptor Random.swift
[19/33] Compiling Cryptor HMAC.swift
[20/33] Compiling Socket SocketUtils.swift
[21/33] Compiling Cryptor Crypto.swift
[22/33] Compiling Cryptor Cryptor.swift
[23/33] Emitting module Cryptor
[24/33] Emitting module LoggerAPI
[25/33] Compiling Cryptor Digest.swift
[26/33] Compiling LoggerAPI Logger.swift
[27/33] Compiling Cryptor StreamCryptor.swift
[28/33] Compiling Cryptor Status.swift
[29/33] Compiling Cryptor SSLPointerTricks.swift
[30/33] Compiling Cryptor Utilities.swift
[31/33] Compiling Socket SocketProtocols.swift
[32/33] Compiling Socket Socket.swift
[33/33] Emitting module Socket
[34/36] Compiling SSLService SSLPointerTricks.swift
[35/36] Emitting module SSLService
[36/36] Compiling SSLService SSLService.swift
[37/71] Compiling KituraNet ServerLifecycleListener.swift
[38/71] Compiling KituraNet ServerMonitor.swift
[39/71] Compiling KituraNet ServerState.swift
[40/74] Compiling KituraNet ServerOptions.swift
[41/74] Compiling KituraNet ServerRequest.swift
[42/74] Compiling KituraNet ServerResponse.swift
[43/74] Compiling KituraNet IncomingHTTPSocketProcessor.swift
[44/74] Compiling KituraNet KeepAliveState.swift
[45/74] Compiling KituraNet HTTPParser.swift
[46/74] Compiling KituraNet HTTPParserStatus.swift
[47/74] Compiling KituraNet IncomingSocketManager.swift
[48/74] Compiling KituraNet IncomingSocketProcessor.swift
[49/74] Compiling KituraNet IncomingSocketProcessorCreator.swift
[50/74] Compiling KituraNet ListenerGroup.swift
[51/74] Compiling KituraNet HTTP.swift
[52/74] Compiling KituraNet HTTPServer.swift
[53/74] Compiling KituraNet HTTPServerRequest.swift
[54/74] Compiling KituraNet HTTPServerResponse.swift
[55/74] Compiling KituraNet BufferList.swift
[56/74] Compiling KituraNet ClientRequest.swift
[57/74] Compiling KituraNet ClientResponse.swift
[58/74] Compiling KituraNet ConnectionUpgradeFactory.swift
[59/74] Emitting module KituraNet
[60/74] Compiling KituraNet ConnectionUpgrader.swift
[61/74] Compiling KituraNet Error.swift
[62/74] Compiling KituraNet FastCGI.swift
[63/74] Compiling KituraNet FastCGIRecordCreate.swift
[64/74] Compiling KituraNet SPIUtils.swift
[65/74] Compiling KituraNet Server.swift
[66/74] Compiling KituraNet ServerDelegate.swift
[67/74] Compiling KituraNet ParseResults.swift
[68/74] Compiling KituraNet URLParser.swift
[69/74] Compiling KituraNet HeadersContainer.swift
[70/74] Compiling KituraNet IncomingSocketHandler.swift
[71/74] Compiling KituraNet FastCGIRecordParser.swift
[72/74] Compiling KituraNet FastCGIServer.swift
[73/74] Compiling KituraNet FastCGIServerRequest.swift
[74/74] Compiling KituraNet FastCGIServerResponse.swift
[75/84] Compiling KituraWebSocket WebSocketError.swift
[76/85] Compiling KituraWebSocket WebSocketService.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraWebSocket/WebSocketService.swift:23:35: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
21 | /// There can be many WebSocket connections connected to a single `WebSocketService` protocol instance.
22 | /// The protocol is a set of callbacks that are invoked when various events occur.
23 | public protocol WebSocketService: class {
   |                                   `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
24 |
25 |     /// Called when a WebSocket client connects to the server and is connected to a specific
[77/85] Compiling KituraWebSocket WebSocketCloseReasonCode.swift
[78/85] Compiling KituraWebSocket WSSocketProcessor.swift
[79/85] Compiling KituraWebSocket WebSocket.swift
[80/85] Compiling KituraWebSocket WSFrameParser.swift
[81/85] Compiling KituraWebSocket WSFrame.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraWebSocket/WSFrame.swift:52:27: warning: initialization of 'UnsafeMutablePointer<UInt16>' results in a dangling pointer [#TemporaryPointers]
50 |                 payloadLengthUInt16 = CFSwapInt16HostToBig(tempPayloadLengh)
51 |             #endif
52 |             let asBytes = UnsafeMutablePointer(&payloadLengthUInt16)
   |                           |                    |- note: implicit argument conversion from 'UInt16' to 'UnsafeMutablePointer<UInt16>' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                           |                    `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                           `- warning: initialization of 'UnsafeMutablePointer<UInt16>' results in a dangling pointer [#TemporaryPointers]
53 |             #if swift(>=4.1)
54 |                 (UnsafeMutableRawPointer(mutating: bytes)+length+1).copyMemory(from: asBytes, byteCount: 2)
/Users/admin/builder/spi-builder-workspace/Sources/KituraWebSocket/WSFrame.swift:54:18: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer [#TemporaryPointers]
52 |             let asBytes = UnsafeMutablePointer(&payloadLengthUInt16)
53 |             #if swift(>=4.1)
54 |                 (UnsafeMutableRawPointer(mutating: bytes)+length+1).copyMemory(from: asBytes, byteCount: 2)
   |                  |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
   |                  |                                 `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                  `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer [#TemporaryPointers]
55 |             #else
56 |                 (UnsafeMutableRawPointer(mutating: bytes)+length+1).copyBytes(from: asBytes, count: 2)
/Users/admin/builder/spi-builder-workspace/Sources/KituraWebSocket/WSFrame.swift:68:27: warning: initialization of 'UnsafeMutablePointer<UInt32>' results in a dangling pointer [#TemporaryPointers]
66 |                 payloadLengthUInt32 = CFSwapInt32HostToBig(tempPayloadLengh)
67 |             #endif
68 |             let asBytes = UnsafeMutablePointer(&payloadLengthUInt32)
   |                           |                    |- note: implicit argument conversion from 'UInt32' to 'UnsafeMutablePointer<UInt32>' produces a pointer valid only for the duration of the call to 'init(_:)'
   |                           |                    `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
   |                           `- warning: initialization of 'UnsafeMutablePointer<UInt32>' results in a dangling pointer [#TemporaryPointers]
69 |             #if swift(>=4.1)
70 |                 (UnsafeMutableRawPointer(mutating: bytes)+length+5).copyMemory(from: asBytes, byteCount: 4)
/Users/admin/builder/spi-builder-workspace/Sources/KituraWebSocket/WSFrame.swift:70:18: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer [#TemporaryPointers]
68 |             let asBytes = UnsafeMutablePointer(&payloadLengthUInt32)
69 |             #if swift(>=4.1)
70 |                 (UnsafeMutableRawPointer(mutating: bytes)+length+5).copyMemory(from: asBytes, byteCount: 4)
   |                  |                                 |- note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
   |                  |                                 `- note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
   |                  `- warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer [#TemporaryPointers]
71 |             #else
72 |                 (UnsafeMutableRawPointer(mutating: bytes)+length+5).copyBytes(from: asBytes, count: 4)
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[82/85] Compiling KituraWebSocket WSConnectionUpgradeFactory.swift
[83/85] Compiling KituraWebSocket WSServerRequest.swift
[84/85] Emitting module KituraWebSocket
/Users/admin/builder/spi-builder-workspace/Sources/KituraWebSocket/WebSocketService.swift:23:35: warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
21 | /// There can be many WebSocket connections connected to a single `WebSocketService` protocol instance.
22 | /// The protocol is a set of callbacks that are invoked when various events occur.
23 | public protocol WebSocketService: class {
   |                                   `- warning: using 'class' keyword to define a class-constrained protocol is deprecated; use 'AnyObject' instead [#deprecation]
24 |
25 |     /// Called when a WebSocket client connects to the server and is connected to a specific
[85/85] Compiling KituraWebSocket WebSocketConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/KituraWebSocket/WebSocketConnection.swift:115:45: warning: initialization of 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
113 |                 // throw something?
114 |             }
115 |             let rawBytes = UnsafeRawPointer(UnsafePointer(utf8))
    |                                             |             |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                             |             `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                                             `- warning: initialization of 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
116 |             sendMessage(withOpCode: .ping, payload: rawBytes, payloadLength: count)
117 |         }
/Users/admin/builder/spi-builder-workspace/Sources/KituraWebSocket/WebSocketConnection.swift:149:41: warning: initialization of 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
147 |             // throw something?
148 |         }
149 |         let rawBytes = UnsafeRawPointer(UnsafePointer(utf8))
    |                                         |             |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                         |             `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                                         `- warning: initialization of 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
150 |         sendMessage(withOpCode: .text, payload: rawBytes, payloadLength: count)
151 |     }
/Users/admin/builder/spi-builder-workspace/Sources/KituraWebSocket/WebSocketConnection.swift:163:23: warning: initialization of 'UnsafeMutablePointer<UInt16>' results in a dangling pointer [#TemporaryPointers]
161 |
162 |         let payload = NSMutableData()
163 |         let asBytes = UnsafeMutablePointer(&reasonCodeToSend)
    |                       |                    |- note: implicit argument conversion from 'UInt16' to 'UnsafeMutablePointer<UInt16>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                       |                    `- note: use 'withUnsafeMutablePointer' in order to explicitly convert argument to pointer valid for a defined scope
    |                       `- warning: initialization of 'UnsafeMutablePointer<UInt16>' results in a dangling pointer [#TemporaryPointers]
164 |         payload.append(asBytes, length: 2)
165 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraWebSocket/WebSocketConnection.swift:173:28: warning: initialization of 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
171 |                 // throw something?
172 |             }
173 |             payload.append(UnsafePointer(utf8), length: count)
    |                            |             |- note: implicit argument conversion from '[CChar]' (aka 'Array<Int8>') to 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') produces a pointer valid only for the duration of the call to 'init(_:)'
    |                            |             `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                            `- warning: initialization of 'UnsafePointer<CChar>' (aka 'UnsafePointer<Int8>') results in a dangling pointer [#TemporaryPointers]
174 |         }
175 |
/Users/admin/builder/spi-builder-workspace/Sources/KituraWebSocket/WebSocketConnection.swift:250:21: warning: using '_' to ignore the result of a Void-returning function is redundant
248 |
249 |                     var closeMessage = Data(referencing: frame.payload)
250 |                     _ = closeMessage.removeFirst(2)
    |                     `- warning: using '_' to ignore the result of a Void-returning function is redundant
251 |                     description = String(data: closeMessage, encoding: .utf8)
252 |                     if description == nil {
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
Build complete! (17.84s)
Fetching https://github.com/IBM-Swift/Kitura-net.git
Fetching https://github.com/IBM-Swift/BlueCryptor.git
[1/1654] Fetching bluecryptor
[845/11198] Fetching bluecryptor, kitura-net
Fetched https://github.com/IBM-Swift/Kitura-net.git from cache (1.40s)
Fetched https://github.com/IBM-Swift/BlueCryptor.git from cache (1.40s)
Computing version for https://github.com/IBM-Swift/BlueCryptor.git
Computed https://github.com/IBM-Swift/BlueCryptor.git at 1.0.200 (1.99s)
Computing version for https://github.com/IBM-Swift/Kitura-net.git
Computed https://github.com/IBM-Swift/Kitura-net.git at 2.4.200 (0.52s)
Fetching https://github.com/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/LoggerAPI.git
Fetching https://github.com/Kitura/BlueSSLService.git
[1/2077] Fetching bluesslservice
[22/2848] Fetching bluesslservice, loggerapi
[608/5790] Fetching bluesslservice, loggerapi, bluesocket
Fetched https://github.com/Kitura/BlueSSLService.git from cache (1.13s)
Fetched https://github.com/Kitura/LoggerAPI.git from cache (1.13s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (1.13s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 1.0.200 (1.69s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 1.0.200 (0.52s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (0.53s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.10s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.50s)
Creating working copy for https://github.com/IBM-Swift/Kitura-net.git
Working copy of https://github.com/IBM-Swift/Kitura-net.git resolved at 2.4.200
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/IBM-Swift/BlueCryptor.git
Working copy of https://github.com/IBM-Swift/BlueCryptor.git resolved at 1.0.200
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 1.0.200
Build complete.
{
  "dependencies" : [
    {
      "identity" : "kitura-net",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.200",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/Kitura-net.git"
    },
    {
      "identity" : "bluecryptor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.200",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/IBM-Swift/BlueCryptor.git"
    }
  ],
  "manifest_display_name" : "Kitura-WebSocket",
  "name" : "Kitura-WebSocket",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Kitura-WebSocket",
      "targets" : [
        "KituraWebSocket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KituraWebSocketTests",
      "module_type" : "SwiftTarget",
      "name" : "KituraWebSocketTests",
      "path" : "Tests/KituraWebSocketTests",
      "sources" : [
        "BasicTests.swift",
        "ComplexTests.swift",
        "ConnectionCleanupTests.swift",
        "KituraTest+Frames.swift",
        "KituraTest.swift",
        "PrintLogger.swift",
        "ProtocolErrorTests.swift",
        "TestLinuxSafeguard.swift",
        "TestWebSocketService.swift",
        "UpgradeErrors.swift"
      ],
      "target_dependencies" : [
        "KituraWebSocket"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KituraWebSocket",
      "module_type" : "SwiftTarget",
      "name" : "KituraWebSocket",
      "path" : "Sources/KituraWebSocket",
      "product_dependencies" : [
        "KituraNet",
        "Cryptor"
      ],
      "product_memberships" : [
        "Kitura-WebSocket"
      ],
      "sources" : [
        "WSConnectionUpgradeFactory.swift",
        "WSFrame.swift",
        "WSFrameParser.swift",
        "WSServerRequest.swift",
        "WSSocketProcessor.swift",
        "WebSocket.swift",
        "WebSocketCloseReasonCode.swift",
        "WebSocketConnection.swift",
        "WebSocketError.swift",
        "WebSocketService.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.