The Swift Package Index logo.Swift Package Index

Build Information

Successful build of HAKit, reference main (c24be0), with Swift 6.4 for macOS (SPM) on 8 Nov 2026 09:29:11 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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/home-assistant/HAKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/home-assistant/HAKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c24be0c Release 0.4.21 (#131)
Cloned https://github.com/home-assistant/HAKit.git
Revision (git rev-parse @):
c24be0c9d68bc4903f616b895aae9296ae80cdb8
SUCCESS checkout https://github.com/home-assistant/HAKit.git at main
Fetching https://github.com/mxcl/PromiseKit
[1/17244] Fetching promisekit
Fetched https://github.com/mxcl/PromiseKit (2.49s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 8.1.2 (3.19s)
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": "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/10432] Fetching hakit
Fetched https://github.com/home-assistant/HAKit.git (2.75s)
Fetching https://github.com/mxcl/PromiseKit from cache
Fetched https://github.com/mxcl/PromiseKit from cache (0.67s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 8.2.0 (0.74s)
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 main (c24be0c)
warning: '.resolve-product-dependencies': dependency 'hakit' is not used by any target
Found 1 product dependencies
  - 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 / 241]
[Planning deferred tasks]
[49 / 87] PromiseKit_PromiseKit
[52 / 87]
[54 / 89] PromiseKit
[64 / 149]
[69 / 149]
[73 / 149]
[74 / 149]
[78 / 149]
[80 / 149]
[84 / 149]
[88 / 149]
[90 / 149]
[91 / 149]
[102 / 149] PromiseKit
[103 / 149] HAKit
[104 / 149] PromiseKit
[116 / 149] PromiseKit-product
[119 / 149] PromiseKit-product
[129 / 150]
[130 / 151] PromiseKit-product
[133 / 154] HAKit+Mocks
[142 / 156] HAKit+Mocks
[153 / 156] HAKit+Mocks
Build complete! (8.32 sec)
/Users/admin/builder/spi-builder-workspace/Source/Internal/HAConnectionImpl.swift:416: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;;\]
413 |         // Prefix audioData with handler ID so the API can map the binary data
414 |         audioData.insert(sttBinaryHandlerId, at: 0)
415 |         workQueue.async { [connection] in
    |                         |- note: 'self' implicitly strongly captured here
    |                         `- note: add 'self' as a capture list item to silence
416 |             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
417 |                 guard let self else { return }
418 |                 self.responseController.didWrite()
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
Build complete.
{
  "dependencies" : [
    {
      "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",
        "HAWebSocket.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_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/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",
        "Internal/WebSocket/HAWebSocket.swift",
        "Internal/WebSocket/HAWebSocketEngine.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.