The Swift Package Index logo.Swift Package Index

Build Information

Successful build of WebSocket, reference v4.1.1 (3a934c), with Swift 6.1 for macOS (SPM) on 22 Apr 2026 01:17:41 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shareup/websocket-apple.git
Reference: v4.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/shareup/websocket-apple
 * tag               v4.1.1     -> FETCH_HEAD
HEAD is now at 3a934c8 Fix race conditions (#20)
Cloned https://github.com/shareup/websocket-apple.git
Revision (git rev-parse @):
3a934c8d91e85b732605d58424acf75e96114282
SUCCESS checkout https://github.com/shareup/websocket-apple.git at v4.1.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/shareup/websocket-apple.git
https://github.com/shareup/websocket-apple.git
{
  "dependencies" : [
    {
      "identity" : "async-extensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.3.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shareup/async-extensions.git"
    },
    {
      "identity" : "dispatch-timer",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shareup/dispatch-timer.git"
    },
    {
      "identity" : "websocket-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.15.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/websocket-kit.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.62.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "WebSocket",
  "name" : "WebSocket",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "WebSocket",
      "targets" : [
        "WebSocket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebSocketTests",
      "module_type" : "SwiftTarget",
      "name" : "WebSocketTests",
      "path" : "Tests/WebSocketTests",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "NIOWebSocket",
        "WebSocketKit"
      ],
      "sources" : [
        "Server/ServerBootstrap+WebSocketTests.swift",
        "Server/WebSocketServer.swift",
        "SystemWebSocketTests.swift",
        "URLSessionWebSocketTaskCloseCodeTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "WebSocket"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WebSocket",
      "module_type" : "SwiftTarget",
      "name" : "WebSocket",
      "path" : "Sources/WebSocket",
      "product_dependencies" : [
        "AsyncExtensions",
        "DispatchTimer"
      ],
      "product_memberships" : [
        "WebSocket"
      ],
      "sources" : [
        "OSLog+WebSocket.swift",
        "SystemURLSession.swift",
        "SystemWebSocket.swift",
        "WebSocket.swift",
        "WebSocketClose.swift",
        "WebSocketCloseCode.swift",
        "WebSocketError.swift",
        "WebSocketMessage.swift",
        "WebSocketOptions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/9] Compiling Synchronized Locked.swift
[7/9] Emitting module Synchronized
[8/9] Compiling Synchronized RecursiveLock.swift
[9/9] Compiling Synchronized Lock.swift
[10/20] Emitting module DispatchTimer
[11/20] Compiling DispatchTimer DispatchTimer.swift
[12/20] Compiling AsyncExtensions Publisher+AsyncExtensions.swift
[13/20] Compiling AsyncExtensions TimeoutError.swift
[14/20] Compiling AsyncExtensions TaskStore.swift
[15/20] Compiling AsyncExtensions SequenceExtensions.swift
[16/20] Compiling AsyncExtensions AsyncThrowingFuture.swift
[17/20] Compiling AsyncExtensions AsyncOutputStream.swift
[18/20] Compiling AsyncExtensions AnyAsyncSequence.swift
[19/20] Compiling AsyncExtensions AsyncInputStream.swift
[20/20] Emitting module AsyncExtensions
[21/30] Compiling WebSocket WebSocketOptions.swift
[22/30] Compiling WebSocket WebSocketClose.swift
[23/30] Compiling WebSocket WebSocketError.swift
[24/30] Compiling WebSocket WebSocketMessage.swift
[25/30] Compiling WebSocket WebSocket.swift
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:83:45: warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 81 |                 receiveValue: { continuation.yield($0) }
 82 |             )
 83 |         continuation.onTermination = { _ in cancellable.cancel() }
    |                                             `- warning: capture of 'cancellable' with non-sendable type 'AnyCancellable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 84 |         return stream
 85 |     }
Combine.AnyCancellable:2:20: note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *)
 2 | final public class AnyCancellable : Cancellable, Hashable {
   |                    `- note: class 'AnyCancellable' does not conform to the 'Sendable' protocol
 3 |     public init(_ cancel: @escaping () -> Void)
 4 |     public init<C>(_ canceller: C) where C : Cancellable
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket/WebSocket.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
  1 | import Combine
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Combine'
  2 | import Foundation
  3 | import Synchronized
[26/30] Compiling WebSocket OSLog+WebSocket.swift
[27/30] Compiling WebSocket SystemWebSocket.swift
[28/30] Emitting module WebSocket
[29/30] Compiling WebSocket SystemURLSession.swift
[30/30] Compiling WebSocket WebSocketCloseCode.swift
Build complete! (49.58s)
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/shareup/async-extensions.git
Fetching https://github.com/shareup/dispatch-timer.git
[5/487] Fetching async-extensions
[167/592] Fetching async-extensions, dispatch-timer
[586/3250] Fetching async-extensions, dispatch-timer, websocket-kit
Fetched https://github.com/vapor/websocket-kit.git from cache (1.00s)
Fetched https://github.com/shareup/dispatch-timer.git from cache (2.39s)
Fetched https://github.com/shareup/async-extensions.git from cache (2.39s)
Fetched https://github.com/apple/swift-nio.git from cache (2.49s)
Computing version for https://github.com/shareup/dispatch-timer.git
Computed https://github.com/shareup/dispatch-timer.git at 3.0.1 (5.49s)
Fetching https://github.com/shareup/synchronized.git
[1/226] Fetching synchronized
Fetched https://github.com/shareup/synchronized.git from cache (0.62s)
Computing version for https://github.com/shareup/async-extensions.git
Computed https://github.com/shareup/async-extensions.git at 4.4.0 (1.15s)
Computing version for https://github.com/shareup/synchronized.git
Computed https://github.com/shareup/synchronized.git at 4.0.1 (0.61s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.2 (0.49s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-nio-extras.git from cache
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetching https://github.com/apple/swift-nio-transport-services.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.62s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.90s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.94s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (0.94s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.48s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.27.0 (0.52s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.0 (0.53s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (0.69s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (1.04s)
Fetched https://github.com/apple/swift-collections.git from cache (1.52s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (2.08s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.62s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.34.0 (0.56s)
Fetching https://github.com/apple/swift-asn1.git from cache
Fetching https://github.com/apple/swift-http-structured-headers.git from cache
Fetching https://github.com/apple/swift-algorithms.git from cache
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-log.git from cache
[1/7152] Fetching swift-certificates
[2/13399] Fetching swift-certificates, swift-async-algorithms
[198/16144] Fetching swift-certificates, swift-async-algorithms, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.73s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.73s)
Fetching https://github.com/apple/swift-http-types.git from cache
Fetching https://github.com/apple/swift-nio-http2.git from cache
Fetched https://github.com/apple/swift-asn1.git from cache (1.05s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.10s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.10s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.10s)
Fetched https://github.com/apple/swift-log.git from cache (1.12s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.67s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.84s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.22s)
Fetching https://github.com/apple/swift-numerics.git from cache
Fetched https://github.com/apple/swift-numerics.git from cache (0.86s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (1.39s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.51s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.55s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (2.55s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.19.0 (0.63s)
Fetching https://github.com/apple/swift-crypto.git from cache
Fetched https://github.com/apple/swift-crypto.git from cache (1.36s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (1.89s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.51s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (1.13s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.43.0 (0.52s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.34.0
Creating working copy for https://github.com/shareup/synchronized.git
Working copy of https://github.com/shareup/synchronized.git resolved at 4.0.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.4.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.19.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.43.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.27.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.2
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/shareup/async-extensions.git
Working copy of https://github.com/shareup/async-extensions.git resolved at 4.4.0
Creating working copy for https://github.com/shareup/dispatch-timer.git
Working copy of https://github.com/shareup/dispatch-timer.git resolved at 3.0.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Build complete.
{
  "dependencies" : [
    {
      "identity" : "async-extensions",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.3.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shareup/async-extensions.git"
    },
    {
      "identity" : "dispatch-timer",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shareup/dispatch-timer.git"
    },
    {
      "identity" : "websocket-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.15.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/websocket-kit.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.62.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "WebSocket",
  "name" : "WebSocket",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "WebSocket",
      "targets" : [
        "WebSocket"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WebSocketTests",
      "module_type" : "SwiftTarget",
      "name" : "WebSocketTests",
      "path" : "Tests/WebSocketTests",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "NIOWebSocket",
        "WebSocketKit"
      ],
      "sources" : [
        "Server/ServerBootstrap+WebSocketTests.swift",
        "Server/WebSocketServer.swift",
        "SystemWebSocketTests.swift",
        "URLSessionWebSocketTaskCloseCodeTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "WebSocket"
      ],
      "type" : "test"
    },
    {
      "c99name" : "WebSocket",
      "module_type" : "SwiftTarget",
      "name" : "WebSocket",
      "path" : "Sources/WebSocket",
      "product_dependencies" : [
        "AsyncExtensions",
        "DispatchTimer"
      ],
      "product_memberships" : [
        "WebSocket"
      ],
      "sources" : [
        "OSLog+WebSocket.swift",
        "SystemURLSession.swift",
        "SystemWebSocket.swift",
        "WebSocket.swift",
        "WebSocketClose.swift",
        "WebSocketCloseCode.swift",
        "WebSocketError.swift",
        "WebSocketMessage.swift",
        "WebSocketOptions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.