The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of swiftui-hooks, reference main (4d74bb), with Swift 5.9 for macOS (SPM) on 16 Oct 2024 07:10:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ra1028/SwiftUI-Hooks.git
Reference: main
Initialized empty Git repository in /Users/admin/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 4d74bb4 Fix typos (#30)
Cloned https://github.com/ra1028/SwiftUI-Hooks.git
Revision (git rev-parse @):
4d74bb4370a8e00c0bb51067cda601fa66537a92
SUCCESS checkout https://github.com/ra1028/SwiftUI-Hooks.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/ra1028/SwiftUI-Hooks.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/27] Emitting module Hooks
/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 Swift 6
    func state<H: Hook>(of hookType: H.Type) -> H.State? {
               ^
/Users/admin/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 LinkedList.swift
[3/29] Compiling Hooks RefObject.swift
[4/29] Compiling Hooks HookTester.swift
[5/29] Compiling Hooks ViewExtensions.swift
[6/29] Compiling Hooks UseAsyncPerform.swift
[7/29] Compiling Hooks UseContext.swift
[8/29] Compiling Hooks UseEffect.swift
[9/29] Compiling Hooks HookView.swift
[10/29] Compiling Hooks Assertions.swift
[11/29] Compiling Hooks EnvironmentKeys.swift
[12/29] Compiling Hooks UseEnvironment.swift
[13/29] Compiling Hooks UseHook.swift
[14/29] Compiling Hooks UseMemo.swift
[15/29] Compiling Hooks UsePublisher.swift
[16/29] Compiling Hooks UsePublisherSubscribe.swift
[17/29] Compiling Hooks UseReducer.swift
[18/29] Compiling Hooks UseRef.swift
[19/29] Compiling Hooks UseState.swift
[20/29] Compiling Hooks HookCoordinator.swift
[21/29] Compiling Hooks Provider.swift
[22/29] Compiling Hooks Hook.swift
[23/29] Compiling Hooks UseAsync.swift
[24/29] Compiling Hooks HookDispatcher.swift
/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 Swift 6
    func state<H: Hook>(of hookType: H.Type) -> H.State? {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Hooks/HookDispatcher.swift:206:27: note: 'H' previously declared here
private struct HookRecord<H: Hook>: HookRecordProtocol {
                          ^
[25/29] Compiling Hooks HookScope.swift
/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 Swift 6
    func state<H: Hook>(of hookType: H.Type) -> H.State? {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Hooks/HookDispatcher.swift:206:27: note: 'H' previously declared here
private struct HookRecord<H: Hook>: HookRecordProtocol {
                          ^
[26/29] Compiling Hooks HookUpdateStrategy.swift
/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 Swift 6
    func state<H: Hook>(of hookType: H.Type) -> H.State? {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/Hooks/HookDispatcher.swift:206:27: note: 'H' previously declared here
private struct HookRecord<H: Hook>: HookRecordProtocol {
                          ^
[27/29] Compiling Hooks AsyncPhase.swift
[28/29] Compiling Hooks Consumer.swift
[29/29] Compiling Hooks Context.swift
Build complete! (12.17s)
Build complete.
Done.