Build Information
Failed to build swiftui-hooks with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ra1028/SwiftUI-Hooks.git
Reference: 0.0.8
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
* 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: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/ra1028/SwiftUI-Hooks.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
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 RefObject.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/31] Compiling Hooks HookTester.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/31] Compiling Hooks ViewExtensions.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/31] Compiling Hooks Hook.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/31] Compiling Hooks UseAsync.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/31] Compiling Hooks UseAsyncPerform.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/31] Compiling Hooks UseContext.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[11/31] Compiling Hooks AsyncPhase.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/31] Compiling Hooks Consumer.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[13/31] Compiling Hooks Context.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/31] Compiling Hooks Provider.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/31] Compiling Hooks UsePublisher.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/31] Compiling Hooks UsePublisherSubscribe.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/31] Compiling Hooks UseReducer.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/31] Compiling Hooks UseRef.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/31] Compiling Hooks UseEffect.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/31] Compiling Hooks UseEnvironment.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/31] Compiling Hooks UseHook.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/31] Compiling Hooks UseMemo.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[23/31] Compiling Hooks UseState.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/31] Compiling Hooks HookCoordinator.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/31] Compiling Hooks HookDispatcher.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/31] Compiling Hooks Assertions.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[27/31] Compiling Hooks EnvironmentKeys.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[28/31] Compiling Hooks LinkedList.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[29/31] Compiling Hooks HookScope.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[30/31] Compiling Hooks HookUpdateStrategy.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[31/31] Compiling Hooks HookView.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/27] Emitting module Hooks
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[3/27] Compiling Hooks UseEffect.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[4/27] Compiling Hooks UseEnvironment.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/27] Compiling Hooks UseHook.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/27] Compiling Hooks UseMemo.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/30] Compiling Hooks Assertions.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/30] Compiling Hooks EnvironmentKeys.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/30] Compiling Hooks LinkedList.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/30] Compiling Hooks UsePublisher.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[11/30] Compiling Hooks UsePublisherSubscribe.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/30] Compiling Hooks UseReducer.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[13/30] Compiling Hooks UseRef.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/30] Compiling Hooks HookScope.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/30] Compiling Hooks HookUpdateStrategy.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/30] Compiling Hooks HookView.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/30] Compiling Hooks UseState.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/30] Compiling Hooks HookCoordinator.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/30] Compiling Hooks HookDispatcher.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/30] Compiling Hooks AsyncPhase.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/30] Compiling Hooks Consumer.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/30] Compiling Hooks Context.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[23/30] Compiling Hooks Provider.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/30] Compiling Hooks Hook.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/30] Compiling Hooks UseAsync.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/30] Compiling Hooks UseAsyncPerform.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[27/30] Compiling Hooks UseContext.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[28/30] Compiling Hooks RefObject.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[29/30] Compiling Hooks HookTester.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[30/30] Compiling Hooks ViewExtensions.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