The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swiftui-hooks with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ra1028/SwiftUI-Hooks.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/ra1028/SwiftUI-Hooks
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftui-hooks",
      "name": "swiftui-hooks",
      "url": "https://github.com/ra1028/SwiftUI-Hooks.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUI-Hooks",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ra1028/SwiftUI-Hooks.git from cache
Fetched https://github.com/ra1028/SwiftUI-Hooks.git (0.17s)
Creating working copy for https://github.com/ra1028/SwiftUI-Hooks.git
Working copy of https://github.com/ra1028/SwiftUI-Hooks.git resolved at main
warning: '.resolve-product-dependencies': dependency 'swiftui-hooks' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/26] Emitting module Hooks
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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 Swift 6
    func state<H: Hook>(of hookType: H.Type) -> H.State? {
               ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Hooks/HookDispatcher.swift:206:27: note: 'H' previously declared here
private struct HookRecord<H: Hook>: HookRecordProtocol {
                          ^
[2/29] Compiling Hooks Hook.swift
[3/29] Compiling Hooks UseAsync.swift
[4/29] Compiling Hooks UseAsyncPerform.swift
[5/29] Compiling Hooks UseContext.swift
[6/29] Compiling Hooks HookScope.swift
[7/29] Compiling Hooks HookUpdateStrategy.swift
[8/29] Compiling Hooks HookView.swift
[9/29] Compiling Hooks UseState.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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 Swift 6
    func state<H: Hook>(of hookType: H.Type) -> H.State? {
               ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Hooks/HookDispatcher.swift:206:27: note: 'H' previously declared here
private struct HookRecord<H: Hook>: HookRecordProtocol {
                          ^
[10/29] Compiling Hooks HookCoordinator.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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 Swift 6
    func state<H: Hook>(of hookType: H.Type) -> H.State? {
               ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Hooks/HookDispatcher.swift:206:27: note: 'H' previously declared here
private struct HookRecord<H: Hook>: HookRecordProtocol {
                          ^
[11/29] Compiling Hooks HookDispatcher.swift
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-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 Swift 6
    func state<H: Hook>(of hookType: H.Type) -> H.State? {
               ^
/Users/builder/builds/TDmZkXJm/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/Hooks/HookDispatcher.swift:206:27: note: 'H' previously declared here
private struct HookRecord<H: Hook>: HookRecordProtocol {
                          ^
[12/29] Compiling Hooks AsyncPhase.swift
[13/29] Compiling Hooks Consumer.swift
[14/29] Compiling Hooks Context.swift
[15/29] Compiling Hooks Provider.swift
[16/29] Compiling Hooks RefObject.swift
[17/29] Compiling Hooks HookTester.swift
[18/29] Compiling Hooks ViewExtensions.swift
[19/29] Compiling Hooks UseEffect.swift
[20/29] Compiling Hooks UseEnvironment.swift
[21/29] Compiling Hooks UseHook.swift
[22/29] Compiling Hooks UseMemo.swift
[23/29] Compiling Hooks Assertions.swift
[24/29] Compiling Hooks EnvironmentKeys.swift
[25/29] Compiling Hooks LinkedList.swift
[26/29] Compiling Hooks UsePublisher.swift
[27/29] Compiling Hooks UsePublisherSubscribe.swift
[28/29] Compiling Hooks UseReducer.swift
[29/29] Compiling Hooks UseRef.swift
Build complete! (11.15s)
Build complete.
Done.