Build Information
Failed to build swiftui-hooks, reference main (4d74bb
), with Swift 5.9 for Linux on 16 Oct 2024 07:09:55 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.9-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.9
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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:9f9025114c0603ac6ea1951d396f9bc1cd3a7c1b5aa8548b3ea2615c8c5705ce
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/26] Emitting module Hooks
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[2/29] Compiling Hooks UsePublisher.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[3/29] Compiling Hooks UsePublisherSubscribe.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[4/29] Compiling Hooks UseReducer.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/29] Compiling Hooks UseRef.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/29] Compiling Hooks AsyncPhase.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/29] Compiling Hooks Consumer.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/29] Compiling Hooks Context.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/29] Compiling Hooks Provider.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/29] Compiling Hooks HookScope.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[11/29] Compiling Hooks HookUpdateStrategy.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/29] Compiling Hooks HookView.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[13/29] Compiling Hooks Hook.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/29] Compiling Hooks UseAsync.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/29] Compiling Hooks UseAsyncPerform.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/29] Compiling Hooks UseContext.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/29] Compiling Hooks RefObject.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/29] Compiling Hooks HookTester.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/29] Compiling Hooks ViewExtensions.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/29] Compiling Hooks UseState.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/29] Compiling Hooks HookCoordinator.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/29] Compiling Hooks HookDispatcher.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[23/29] Compiling Hooks Assertions.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/29] Compiling Hooks EnvironmentKeys.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/29] Compiling Hooks LinkedList.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/29] Compiling Hooks UseEffect.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[27/29] Compiling Hooks UseEnvironment.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[28/29] Compiling Hooks UseHook.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[29/29] Compiling Hooks UseMemo.swift
/host/spi-builder-workspace/Sources/Hooks/Context/Consumer.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
BUILD FAILURE 5.9 linux