The Swift Package Index logo.Swift Package Index

Build Information

Successful build of HAKit, reference 0.4.19 (0535d4), with Swift 6.4 for macOS (SPM) on 13 Oct 2026 09:30:47 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/home-assistant/HAKit.git
Reference: 0.4.19
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/home-assistant/HAKit
 * tag               0.4.19     -> FETCH_HEAD
HEAD is now at 0535d4a Bump Starscream to 4.0.10 and release 0.4.19 (#127)
Cloned https://github.com/home-assistant/HAKit.git
Revision (git rev-parse @):
0535d4aabd0a50e2c18cdcaa2f4423ff057a546a
SUCCESS checkout https://github.com/home-assistant/HAKit.git at 0.4.19
Fetching https://github.com/bgoncal/Starscream
Fetching https://github.com/mxcl/PromiseKit
[1/3290] Fetching starscream
[725/20534] Fetching starscream, promisekit
Fetched https://github.com/bgoncal/Starscream (2.32s)
Fetched https://github.com/mxcl/PromiseKit (2.32s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 8.1.2 (3.03s)
Computing version for https://github.com/bgoncal/Starscream
Computed https://github.com/bgoncal/Starscream at 4.0.10 (0.66s)
Creating working copy for https://github.com/bgoncal/Starscream
Working copy of https://github.com/bgoncal/Starscream resolved at 4.0.10
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 8.1.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "hakit",
      "name": "HAKit",
      "url": "https://github.com/home-assistant/HAKit.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/HAKit",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "starscream",
          "name": "Starscream",
          "url": "https://github.com/bgoncal/Starscream",
          "version": "4.0.10",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Starscream",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "promisekit",
          "name": "PromiseKit",
          "url": "https://github.com/mxcl/PromiseKit",
          "version": "8.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PromiseKit",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/home-assistant/HAKit.git
[1/10108] Fetching hakit
Fetched https://github.com/home-assistant/HAKit.git (2.47s)
Fetching https://github.com/mxcl/PromiseKit from cache
Fetching https://github.com/bgoncal/Starscream from cache
Fetched https://github.com/mxcl/PromiseKit from cache (0.69s)
Fetched https://github.com/bgoncal/Starscream from cache (0.71s)
Computing version for https://github.com/bgoncal/Starscream
Computed https://github.com/bgoncal/Starscream at 4.0.10 (0.78s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 8.2.0 (0.04s)
Creating working copy for https://github.com/bgoncal/Starscream
Working copy of https://github.com/bgoncal/Starscream resolved at 4.0.10
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 8.2.0
Creating working copy for https://github.com/home-assistant/HAKit.git
Working copy of https://github.com/home-assistant/HAKit.git resolved at 0.4.19 (0535d4a)
warning: '.resolve-product-dependencies': dependency 'hakit' is not used by any target
Found 2 product dependencies
  - Starscream
  - PromiseKit
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/home-assistant/HAKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 300]
[Planning deferred tasks]
[65 / 114] Starscream_Starscream
[71 / 114]
[73 / 116] PromiseKit
[82 / 178]
[85 / 178]
[91 / 178]
[95 / 178]
[99 / 178]
[101 / 178]
[105 / 178]
[109 / 178]
[111 / 178]
[112 / 178]
[123 / 178] PromiseKit
[124 / 178] Starscream
[125 / 178] PromiseKit
[138 / 178] Starscream
[141 / 178] Starscream
[148 / 179] Starscream
[148 / 179] PromiseKit
[150 / 179] HAKit
[159 / 190] HAKit
[161 / 190] Starscream
[164 / 190] HAKit
[171 / 192] HAKit
[179 / 197] HAKit+PromiseKit
[194 / 197] HAKit+Mocks
Build complete! (9.78 sec)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAStarscreamCertificatePinningImpl.swift:17:42: warning: conditional cast from 'any Error' to 'CFError?' always succeeds
15 |             case let .failure(error):
16 |                 // although it looks like it would always succeed, a Swift Error may not be convertable here
17 |                 completion(.failed(error as? CFError? ?? CFErrorCreate(nil, "UnknownSSL" as CFErrorDomain, 1, nil)))
   |                                          `- warning: conditional cast from 'any Error' to 'CFError?' always succeeds
18 |             }
19 |         })
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:415:56: 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;;\]
412 |         // Prefix audioData with handler ID so the API can map the binary data
413 |         audioData.insert(sttBinaryHandlerId, at: 0)
414 |         workQueue.async { [connection] in
    |                         |- note: 'self' implicitly strongly captured here
    |                         `- note: add 'self' as a capture list item to silence
415 |             connection?.write(data: audioData) { [weak self] 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
416 |                 guard let self else { return }
417 |                 self.responseController.didWrite()
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
Build complete.
{
  "dependencies" : [
    {
      "identity" : "starscream",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.10",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bgoncal/Starscream"
    },
    {
      "identity" : "promisekit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "8.1.1",
            "upper_bound" : "9.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/PromiseKit"
    }
  ],
  "manifest_display_name" : "HAKit",
  "name" : "HAKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "HAKit",
      "targets" : [
        "HAKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HAKit+PromiseKit",
      "targets" : [
        "HAKit+PromiseKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HAKit+Mocks",
      "targets" : [
        "HAKit+Mocks"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Tests",
      "module_type" : "SwiftTarget",
      "name" : "Tests",
      "path" : "Tests",
      "sources" : [
        "CurrentUser.test.swift",
        "Event.test.swift",
        "FakeEngine.swift",
        "HACache.test.swift",
        "HACacheKeyStates.test.swift",
        "HACachePopulateInfo.test.swift",
        "HACacheSubscribeInfo.test.swift",
        "HACachedStates.test.swift",
        "HACachedUser.test.swift",
        "HACachesContainer.test.swift",
        "HACancellableImpl.test.swift",
        "HAConnectionConfiguration.test.swift",
        "HAConnectionImpl.test.swift",
        "HAConnectionInfo.test.swift",
        "HAData.test.swift",
        "HADataDecodable.test.swift",
        "HAEntity+CompressedEntity.test.swift",
        "HAEntity.test.swift",
        "HAError.test.swift",
        "HAKit.test.swift",
        "HAReconnectManager.test.swift",
        "HARequestController.test.swift",
        "HARequestInvocation.test.swift",
        "HARequestInvocationSingle.test.swift",
        "HARequestInvocationSubscription.test.swift",
        "HAResetLock.test.swift",
        "HAResponseController.test.swift",
        "HAResponseVoid.test.swift",
        "HAURLSessionDelegate.test.swift",
        "HAURLSessionWebSocketEngine.test.swift",
        "HAWebSocketResponse.test.swift",
        "HAWebSocketResponseFixture.swift",
        "RenderTemplate.test.swift",
        "Services.test.swift",
        "States.test.swift",
        "StubbingURLProtocol.swift",
        "TestAdditions.swift"
      ],
      "target_dependencies" : [
        "HAKit",
        "HAKit+PromiseKit",
        "HAKit+Mocks"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HAKit_PromiseKit",
      "module_type" : "SwiftTarget",
      "name" : "HAKit+PromiseKit",
      "path" : "Extensions/PromiseKit",
      "product_dependencies" : [
        "PromiseKit"
      ],
      "product_memberships" : [
        "HAKit+PromiseKit"
      ],
      "sources" : [
        "HACache+PromiseKit.swift",
        "HAConnection+PromiseKit.swift"
      ],
      "target_dependencies" : [
        "HAKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HAKit_Mocks",
      "module_type" : "SwiftTarget",
      "name" : "HAKit+Mocks",
      "path" : "Extensions/Mocks",
      "product_memberships" : [
        "HAKit+Mocks"
      ],
      "sources" : [
        "HAConnection+Mock.swift"
      ],
      "target_dependencies" : [
        "HAKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HAKit",
      "module_type" : "SwiftTarget",
      "name" : "HAKit",
      "path" : "Source",
      "product_dependencies" : [
        "Starscream"
      ],
      "product_memberships" : [
        "HAKit",
        "HAKit+PromiseKit",
        "HAKit+Mocks"
      ],
      "sources" : [
        "Caches/HACache.swift",
        "Caches/HACacheKeyStates.swift",
        "Caches/HACachePopulateInfo.swift",
        "Caches/HACacheSubscribeInfo.swift",
        "Caches/HACacheTransformInfo.swift",
        "Caches/HACachedStates.swift",
        "Caches/HACachedUser.swift",
        "Caches/HACachesContainer.swift",
        "Convenience/CurrentUser.swift",
        "Convenience/Event.swift",
        "Convenience/RenderTemplate.swift",
        "Convenience/Services.swift",
        "Convenience/States.swift",
        "Data/HACompressedEntity.swift",
        "Data/HAData.swift",
        "Data/HADataDecodable.swift",
        "Data/HADecodeTransformable.swift",
        "Data/HAEntity+CompressedEntity.swift",
        "Data/HAEntity.swift",
        "Data/HAService.swift",
        "HAConnection.swift",
        "HAConnectionConfiguration.swift",
        "HAConnectionInfo.swift",
        "HAError.swift",
        "HAGlobal.swift",
        "HAKit.swift",
        "HARequestToken.swift",
        "HAURLSessionDelegate.swift",
        "Internal/HACancellableImpl.swift",
        "Internal/HAConnectionImpl+Requests.swift",
        "Internal/HAConnectionImpl+Responses.swift",
        "Internal/HAConnectionImpl.swift",
        "Internal/HAProtected.swift",
        "Internal/HAReconnectManager.swift",
        "Internal/HAResetLock.swift",
        "Internal/HASchedulingTimer.swift",
        "Internal/HAStarscreamCertificatePinningImpl.swift",
        "Internal/HAURLSessionWebSocketEngine.swift",
        "Internal/RequestController/HARequestController.swift",
        "Internal/RequestController/HARequestIdentifier.swift",
        "Internal/RequestController/HARequestInvocation.swift",
        "Internal/RequestController/HARequestInvocationSingle.swift",
        "Internal/RequestController/HARequestInvocationSubscription.swift",
        "Internal/ResponseController/HAResponseController.swift",
        "Internal/ResponseController/HAWebSocketResponse.swift",
        "Requests/HAHTTPMethod.swift",
        "Requests/HARequest.swift",
        "Requests/HARequestType.swift",
        "Requests/HAResponseVoid.swift",
        "Requests/HASttData.swift",
        "Requests/HATypedRequest.swift",
        "Requests/HATypedSubscription.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.