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.10 for macOS (SPM) on 16 Oct 2024 07:09:44 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.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.10
Building package at path:  $PWD
https://github.com/ra1028/SwiftUI-Hooks.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-33747A42983211AE.txt
[3/29] 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 {
                          ^
[4/31] Compiling Hooks LinkedList.swift
[5/31] Compiling Hooks RefObject.swift
[6/31] Compiling Hooks HookTester.swift
[7/31] Compiling Hooks ViewExtensions.swift
[8/31] 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 {
                          ^
[9/31] 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 {
                          ^
[10/31] 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 {
                          ^
[11/31] Compiling Hooks UseAsyncPerform.swift
[12/31] Compiling Hooks UseContext.swift
[13/31] Compiling Hooks UseEffect.swift
[14/31] Compiling Hooks UsePublisher.swift
[15/31] Compiling Hooks UsePublisherSubscribe.swift
[16/31] Compiling Hooks UseReducer.swift
[17/31] Compiling Hooks HookView.swift
[18/31] Compiling Hooks Assertions.swift
[19/31] Compiling Hooks EnvironmentKeys.swift
[20/31] Compiling Hooks UseRef.swift
[21/31] Compiling Hooks UseState.swift
[22/31] Compiling Hooks HookCoordinator.swift
[23/31] Compiling Hooks AsyncPhase.swift
[24/31] Compiling Hooks Consumer.swift
[25/31] Compiling Hooks Context.swift
[26/31] Compiling Hooks Provider.swift
[27/31] Compiling Hooks Hook.swift
[28/31] Compiling Hooks UseAsync.swift
[29/31] Compiling Hooks UseEnvironment.swift
[30/31] Compiling Hooks UseHook.swift
[31/31] Compiling Hooks UseMemo.swift
Build complete! (11.35s)
Build complete.
Done.