The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swiftui-hooks, reference 0.0.8 (f096d6), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 11:35:45 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/ra1028/SwiftUI-Hooks.git
Reference: 0.0.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ra1028/SwiftUI-Hooks
 * tag               0.0.8      -> FETCH_HEAD
HEAD is now at f096d6b Merge pull request #28 from josefdolezal/feature/lazy-initial-state
Cloned https://github.com/ra1028/SwiftUI-Hooks.git
Revision (git rev-parse @):
f096d6b4475a55da402aaec4e297bdd07bf52c20
SUCCESS checkout https://github.com/ra1028/SwiftUI-Hooks.git at 0.0.8
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ra1028/SwiftUI-Hooks.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] Hooks
[30 / 106]
[33 / 106]
[41 / 106]
[43 / 106]
[44 / 106]
[49 / 106]
[52 / 106]
[55 / 106]
[61 / 106]
[64 / 106]
[66 / 106]
[67 / 106]
[77 / 106]
[79 / 106]
[80 / 106]
[83 / 106]
[85 / 106]
[97 / 106] Hooks
[98 / 106] Hooks
[103 / 106] Hooks
Build complete! (11.25 sec)
/Users/admin/builder/spi-builder-workspace/Sources/Hooks/HookDispatcher.swift:214:16: warning: generic parameter 'H' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
204 | }
205 |
206 | private struct HookRecord<H: Hook>: HookRecordProtocol {
    |                           `- note: 'H' previously declared here
207 |     let hook: H
208 |     let coordinator: HookCoordinator<H>
    :
212 |     }
213 |
214 |     func state<H: Hook>(of hookType: H.Type) -> H.State? {
    |                `- warning: generic parameter 'H' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
215 |         coordinator.state as? H.State
216 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Hooks/HookDispatcher.swift:214:16: warning: generic parameter 'H' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
204 | }
205 |
206 | private struct HookRecord<H: Hook>: HookRecordProtocol {
    |                           `- note: 'H' previously declared here
207 |     let hook: H
208 |     let coordinator: HookCoordinator<H>
    :
212 |     }
213 |
214 |     func state<H: Hook>(of hookType: H.Type) -> H.State? {
    |                `- warning: generic parameter 'H' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
215 |         coordinator.state as? H.State
216 |     }
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swiftui-hooks",
  "name" : "swiftui-hooks",
  "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" : "Hooks",
      "targets" : [
        "Hooks"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "HooksTests",
      "module_type" : "SwiftTarget",
      "name" : "HooksTests",
      "path" : "Tests/HooksTests",
      "sources" : [
        "AsyncPhaseTests.swift",
        "Hook/UseAsyncPerformTests.swift",
        "Hook/UseAsyncTests.swift",
        "Hook/UseContextTests.swift",
        "Hook/UseEffectTests.swift",
        "Hook/UseEnvironmentTests.swift",
        "Hook/UseHookTests.swift",
        "Hook/UseMemoTests.swift",
        "Hook/UsePublisherSubscribeTests.swift",
        "Hook/UsePublisherTests.swift",
        "Hook/UseReducerTests.swift",
        "Hook/UseRefTests.swift",
        "Hook/UseStateTests.swift",
        "Hook/Utilities.swift",
        "HookDispatcherTests.swift",
        "HookUpdateStrategyTests.swift",
        "LinkedListTests.swift",
        "RefObjectTests.swift",
        "Testing/HookTesterTests.swift"
      ],
      "target_dependencies" : [
        "Hooks"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Hooks",
      "module_type" : "SwiftTarget",
      "name" : "Hooks",
      "path" : "Sources/Hooks",
      "product_memberships" : [
        "Hooks"
      ],
      "sources" : [
        "AsyncPhase.swift",
        "Context/Consumer.swift",
        "Context/Context.swift",
        "Context/Provider.swift",
        "Hook.swift",
        "Hook/UseAsync.swift",
        "Hook/UseAsyncPerform.swift",
        "Hook/UseContext.swift",
        "Hook/UseEffect.swift",
        "Hook/UseEnvironment.swift",
        "Hook/UseHook.swift",
        "Hook/UseMemo.swift",
        "Hook/UsePublisher.swift",
        "Hook/UsePublisherSubscribe.swift",
        "Hook/UseReducer.swift",
        "Hook/UseRef.swift",
        "Hook/UseState.swift",
        "HookCoordinator.swift",
        "HookDispatcher.swift",
        "HookScope.swift",
        "HookUpdateStrategy.swift",
        "HookView.swift",
        "Internals/Assertions.swift",
        "Internals/EnvironmentKeys.swift",
        "Internals/LinkedList.swift",
        "RefObject.swift",
        "Testing/HookTester.swift",
        "ViewExtensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.