The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Starscream, reference master (a21fca), with Swift 6.4 for macOS (SPM) on 20 Sep 2026 01:18:42 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/Azoy/Starscream.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Azoy/Starscream
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a21fca8 Remove weak from protocol
Cloned https://github.com/Azoy/Starscream.git
Revision (git rev-parse @):
a21fca8e9dc83cf3a88a3ba9be15ff17a7e4e8d6
SUCCESS checkout https://github.com/Azoy/Starscream.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/Azoy/Starscream.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 68]
[Planning deferred tasks]
[19 / 28]
[24 / 33] Starscream
[30 / 33] Starscream
Build complete! (6.30 sec)
Fetching https://github.com/Azoy/zlib-spm.git
Fetching https://github.com/Azoy/common-crypto-spm.git
[1/32] Fetching zlib-spm
[4/59] Fetching zlib-spm, common-crypto-spm
Fetched https://github.com/Azoy/zlib-spm.git (0.80s)
Fetched https://github.com/Azoy/common-crypto-spm.git (0.80s)
Computing version for https://github.com/Azoy/common-crypto-spm.git
Computed https://github.com/Azoy/common-crypto-spm.git at 1.2.0 (1.49s)
Computing version for https://github.com/Azoy/zlib-spm.git
Computed https://github.com/Azoy/zlib-spm.git at 1.2.0 (0.63s)
Creating working copy for https://github.com/Azoy/common-crypto-spm.git
Working copy of https://github.com/Azoy/common-crypto-spm.git resolved at 1.2.0
Creating working copy for https://github.com/Azoy/zlib-spm.git
Working copy of https://github.com/Azoy/zlib-spm.git resolved at 1.2.0
warning: 'common-crypto-spm': ignoring declared target(s) 'SSCommonCrypto' in the system package
warning: 'zlib-spm': ignoring declared target(s) 'SSCZLib' in the system package
warning: 'spi-builder-workspace': dependency 'zlib-spm' is not used by any target
warning: 'spi-builder-workspace': dependency 'common-crypto-spm' is not used by any target
warning: 'common-crypto-spm': ignoring declared target(s) 'SSCommonCrypto' in the system package
warning: 'zlib-spm': ignoring declared target(s) 'SSCZLib' in the system package
warning: 'spi-builder-workspace': dependency 'zlib-spm' is not used by any target
warning: 'spi-builder-workspace': dependency 'common-crypto-spm' is not used by any target
/Users/admin/builder/spi-builder-workspace/Sources/SSLSecurity.swift:172:13: warning: 'SecTrustEvaluate' was deprecated in macOS 10.15: renamed to 'SecTrustEvaluateWithError(_:_:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
170 |             SecTrustSetAnchorCertificates(trust,collect as NSArray)
171 |             var result: SecTrustResultType = .unspecified
172 |             SecTrustEvaluate(trust,&result)
    |             |- warning: 'SecTrustEvaluate' was deprecated in macOS 10.15: renamed to 'SecTrustEvaluateWithError(_:_:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |             `- note: use 'SecTrustEvaluateWithError(_:_:)' instead
173 |             if result == .unspecified || result == .proceed {
174 |                 if !validateEntireChain {
/Users/admin/builder/spi-builder-workspace/Sources/SSLSecurity.swift:220:9: warning: 'SecTrustEvaluate' was deprecated in macOS 10.15: renamed to 'SecTrustEvaluateWithError(_:_:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
218 |         guard let trust = possibleTrust else { return nil }
219 |         var result: SecTrustResultType = .unspecified
220 |         SecTrustEvaluate(trust, &result)
    |         |- warning: 'SecTrustEvaluate' was deprecated in macOS 10.15: renamed to 'SecTrustEvaluateWithError(_:_:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |         `- note: use 'SecTrustEvaluateWithError(_:_:)' instead
221 |         return SecTrustCopyPublicKey(trust)
222 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SSLSecurity.swift:221:16: warning: 'SecTrustCopyPublicKey' was deprecated in macOS 11.0: renamed to 'SecTrustCopyKey(_:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
219 |         var result: SecTrustResultType = .unspecified
220 |         SecTrustEvaluate(trust, &result)
221 |         return SecTrustCopyPublicKey(trust)
    |                |- warning: 'SecTrustCopyPublicKey' was deprecated in macOS 11.0: renamed to 'SecTrustCopyKey(_:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                `- note: use 'SecTrustCopyKey(_:)' instead
222 |     }
223 |
/Users/admin/builder/spi-builder-workspace/Sources/SSLSecurity.swift:234:24: warning: 'SecTrustGetCertificateAtIndex' was deprecated in macOS 12.0: renamed to 'SecTrustCopyCertificateChain(_:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
232 |         let certificates = (0..<SecTrustGetCertificateCount(trust)).reduce([Data]()) { (certificates: [Data], index: Int) -> [Data] in
233 |             var certificates = certificates
234 |             let cert = SecTrustGetCertificateAtIndex(trust, index)
    |                        |- warning: 'SecTrustGetCertificateAtIndex' was deprecated in macOS 12.0: renamed to 'SecTrustCopyCertificateChain(_:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                        `- note: use 'SecTrustCopyCertificateChain(_:)' instead
235 |             certificates.append(SecCertificateCopyData(cert!) as Data)
236 |             return certificates
/Users/admin/builder/spi-builder-workspace/Sources/SSLSecurity.swift:253:24: warning: 'SecTrustGetCertificateAtIndex' was deprecated in macOS 12.0: renamed to 'SecTrustCopyCertificateChain(_:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
251 |         let keys = (0..<SecTrustGetCertificateCount(trust)).reduce([SecKey]()) { (keys: [SecKey], index: Int) -> [SecKey] in
252 |             var keys = keys
253 |             let cert = SecTrustGetCertificateAtIndex(trust, index)
    |                        |- warning: 'SecTrustGetCertificateAtIndex' was deprecated in macOS 12.0: renamed to 'SecTrustCopyCertificateChain(_:)' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
    |                        `- note: use 'SecTrustCopyCertificateChain(_:)' instead
254 |             if let key = extractPublicKey(cert!, policy: policy) {
255 |                 keys.append(key)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/Users/admin/builder/spi-builder-workspace/Sources/Compression.swift:83:29: warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
 81 |
 82 |         repeat {
 83 |             strm.next_out = UnsafeMutablePointer<UInt8>(&buffer)
    |                             |                           |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                             |                           `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                             `- warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
 84 |             strm.avail_out = CUnsignedInt(buffer.count)
 85 |
/Users/admin/builder/spi-builder-workspace/Sources/Compression.swift:145:33: warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
143 |
144 |             repeat {
145 |                 strm.next_out = UnsafeMutablePointer<UInt8>(&buffer)
    |                                 |                           |- note: implicit argument conversion from '[UInt8]' to 'UnsafeMutablePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
    |                                 |                           `- note: use the 'withUnsafeMutableBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
    |                                 `- warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers\TemporaryPointers]8;;\]
146 |                 strm.avail_out = CUnsignedInt(buffer.count)
147 |
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket.swift:194:33: warning: 'SSLSetEnabledCiphers' was deprecated in macOS 10.15: No longer supported. Use Network.framework. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 192 |                 if let sslContextIn = CFReadStreamCopyProperty(inputStream, CFStreamPropertyKey(rawValue: kCFStreamPropertySSLContext)) as! SSLContext?,
 193 |                     let sslContextOut = CFWriteStreamCopyProperty(outputStream, CFStreamPropertyKey(rawValue: kCFStreamPropertySSLContext)) as! SSLContext? {
 194 |                     let resIn = SSLSetEnabledCiphers(sslContextIn, cipherSuites, cipherSuites.count)
     |                                 `- warning: 'SSLSetEnabledCiphers' was deprecated in macOS 10.15: No longer supported. Use Network.framework. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 195 |                     let resOut = SSLSetEnabledCiphers(sslContextOut, cipherSuites, cipherSuites.count)
 196 |                     if resIn != errSecSuccess {
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket.swift:195:34: warning: 'SSLSetEnabledCiphers' was deprecated in macOS 10.15: No longer supported. Use Network.framework. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 193 |                     let sslContextOut = CFWriteStreamCopyProperty(outputStream, CFStreamPropertyKey(rawValue: kCFStreamPropertySSLContext)) as! SSLContext? {
 194 |                     let resIn = SSLSetEnabledCiphers(sslContextIn, cipherSuites, cipherSuites.count)
 195 |                     let resOut = SSLSetEnabledCiphers(sslContextOut, cipherSuites, cipherSuites.count)
     |                                  `- warning: 'SSLSetEnabledCiphers' was deprecated in macOS 10.15: No longer supported. Use Network.framework. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 196 |                     if resIn != errSecSuccess {
 197 |                         completion(WSError(type: .invalidSSLError, message: "Error setting ingoing cypher suites", code: Int(resIn)))
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket.swift:273:13: warning: 'SSLGetPeerDomainNameLength' was deprecated in macOS 10.15: No longer supported. Use Network.framework. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 271 |             let sslContextOut = CFWriteStreamCopyProperty(outputStream, CFStreamPropertyKey(rawValue: kCFStreamPropertySSLContext)) as! SSLContext? {
 272 |             var peerNameLen: Int = 0
 273 |             SSLGetPeerDomainNameLength(sslContextOut, &peerNameLen)
     |             `- warning: 'SSLGetPeerDomainNameLength' was deprecated in macOS 10.15: No longer supported. Use Network.framework. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 274 |             var peerName = Data(count: peerNameLen)
 275 |             let _ = peerName.withUnsafeMutableBytes { (peerNamePtr: UnsafeMutablePointer<Int8>) in
/Users/admin/builder/spi-builder-workspace/Sources/WebSocket.swift:276:17: warning: 'SSLGetPeerDomainName' was deprecated in macOS 10.15: No longer supported. Use Network.framework. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 274 |             var peerName = Data(count: peerNameLen)
 275 |             let _ = peerName.withUnsafeMutableBytes { (peerNamePtr: UnsafeMutablePointer<Int8>) in
 276 |                 SSLGetPeerDomainName(sslContextOut, peerNamePtr, &peerNameLen)
     |                 `- warning: 'SSLGetPeerDomainName' was deprecated in macOS 10.15: No longer supported. Use Network.framework. [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
 277 |             }
 278 |             if let peerDomain = String(bytes: peerName, encoding: .utf8), peerDomain.count > 0 {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "zlib-spm",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Azoy/zlib-spm.git"
    },
    {
      "identity" : "common-crypto-spm",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Azoy/common-crypto-spm.git"
    }
  ],
  "manifest_display_name" : "Starscream",
  "name" : "Starscream",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Starscream",
      "targets" : [
        "Starscream"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Starscream",
      "module_type" : "SwiftTarget",
      "name" : "Starscream",
      "path" : "Sources",
      "product_memberships" : [
        "Starscream"
      ],
      "sources" : [
        "Compression.swift",
        "SSLSecurity.swift",
        "WebSocket.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.