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

Failed to build swiftui-hooks, reference main (4d74bb), with Swift 5.10 for Linux on 16 Oct 2024 07:09:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
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:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/ra1028/SwiftUI-Hooks.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:de52ea9a9b71f638f9ab112bc11e200b74fab18027de8589a3de4f14b5e22683
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/28] Emitting module Hooks
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/31] Compiling Hooks UseEffect.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/31] Compiling Hooks UseEnvironment.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/31] Compiling Hooks UseHook.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/31] Compiling Hooks UseMemo.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/31] Compiling Hooks UsePublisher.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/31] Compiling Hooks UsePublisherSubscribe.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/31] Compiling Hooks UseReducer.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/31] Compiling Hooks UseRef.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/31] Compiling Hooks RefObject.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/31] Compiling Hooks HookTester.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[14/31] Compiling Hooks ViewExtensions.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[15/31] Compiling Hooks AsyncPhase.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[16/31] Compiling Hooks Consumer.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[17/31] Compiling Hooks Context.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[18/31] Compiling Hooks Provider.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[19/31] Compiling Hooks Assertions.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[20/31] Compiling Hooks EnvironmentKeys.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[21/31] Compiling Hooks LinkedList.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[22/31] Compiling Hooks UseState.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[23/31] Compiling Hooks HookCoordinator.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[24/31] Compiling Hooks HookDispatcher.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[25/31] Compiling Hooks HookScope.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[26/31] Compiling Hooks HookUpdateStrategy.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[27/31] Compiling Hooks HookView.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[28/31] Compiling Hooks Hook.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[29/31] Compiling Hooks UseAsync.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[30/31] Compiling Hooks UseAsyncPerform.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[31/31] Compiling Hooks UseContext.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.10 linux