Build Information
Failed to build WhatsNewKit with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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.38.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SvenTiigi/WhatsNewKit.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/SvenTiigi/WhatsNewKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6157c77 Added PrivacyInfo.xcprivacy
Cloned https://github.com/SvenTiigi/WhatsNewKit.git
Revision (git rev-parse @):
6157c77e8be9b3d2310bc680681b61a8d9e290ac
SUCCESS checkout https://github.com/SvenTiigi/WhatsNewKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/SvenTiigi/WhatsNewKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/30] Emitting module WhatsNewKit
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[3/33] Compiling WhatsNewKit WhatsNewVersionStore.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[4/33] Compiling WhatsNewKit WhatsNewView+FeaturesPadding.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/33] Compiling WhatsNewKit WhatsNewView+FooterPadding.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/33] Compiling WhatsNewKit WhatsNewView+PrimaryButtonStyle.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/33] Compiling WhatsNewKit WhatsNew+HapticFeedback.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/33] Compiling WhatsNewKit WhatsNew+Layout.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/33] Compiling WhatsNewKit WhatsNew+PrimaryAction.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/33] Compiling WhatsNewKit WhatsNew+SecondaryAction+Action.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[11/33] Compiling WhatsNewKit WhatsNewCollection.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/33] Compiling WhatsNewKit WhatsNewCollectionBuilder.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[13/33] Compiling WhatsNewKit WhatsNewCollectionProvider.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/33] Compiling WhatsNewKit WhatsNewEnvironment+Key.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/33] Compiling WhatsNewKit WhatsNew.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/33] Compiling WhatsNewKit InMemoryWhatsNewVersionStore.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/33] Compiling WhatsNewKit NSUbiquitousKeyValueWhatsNewVersionStore.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/33] Compiling WhatsNewKit UserDefaultsWhatsNewVersionStore.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/33] Compiling WhatsNewKit WhatsNewView.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/33] Compiling WhatsNewKit WhatsNewViewController.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/33] Compiling WhatsNewKit resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/33] Compiling WhatsNewKit View+WhatsNewSheet.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[23/33] Compiling WhatsNewKit WhatsNew+Version+Key.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/33] Compiling WhatsNewKit WhatsNew+Feature+Image.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/33] Compiling WhatsNewKit WhatsNew+Feature.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/33] Compiling WhatsNewKit WhatsNewEnvironment.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[27/33] Compiling WhatsNewKit ScrollView+alwaysBounceVertical.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[28/33] Compiling WhatsNewKit Text+WhatsNewText.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[29/33] Compiling WhatsNewKit UIVisualEffectView+Representable.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[30/33] Compiling WhatsNewKit WhatsNew+SecondaryAction.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[31/33] Compiling WhatsNewKit WhatsNew+Text.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[32/33] Compiling WhatsNewKit WhatsNew+Title.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[33/33] Compiling WhatsNewKit WhatsNew+Version.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
[0/1] Planning build
Building for debugging...
[1/29] Compiling WhatsNewKit WhatsNewCollection.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[2/29] Compiling WhatsNewKit WhatsNewCollectionBuilder.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[3/29] Compiling WhatsNewKit WhatsNewCollectionProvider.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[4/29] Compiling WhatsNewKit WhatsNewEnvironment+Key.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/32] Emitting module WhatsNewKit
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/32] Compiling WhatsNewKit WhatsNewEnvironment.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/32] Compiling WhatsNewKit ScrollView+alwaysBounceVertical.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/32] Compiling WhatsNewKit Text+WhatsNewText.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/32] Compiling WhatsNewKit UIVisualEffectView+Representable.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/32] Compiling WhatsNewKit View+WhatsNewSheet.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[11/32] Compiling WhatsNewKit WhatsNew+Version+Key.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/32] Compiling WhatsNewKit WhatsNew+Feature+Image.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[13/32] Compiling WhatsNewKit WhatsNew+Feature.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/32] Compiling WhatsNewKit WhatsNew+HapticFeedback.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/32] Compiling WhatsNewKit WhatsNew+Layout.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/32] Compiling WhatsNewKit WhatsNew+PrimaryAction.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/32] Compiling WhatsNewKit WhatsNew+SecondaryAction+Action.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/32] Compiling WhatsNewKit WhatsNew.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/32] Compiling WhatsNewKit InMemoryWhatsNewVersionStore.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/32] Compiling WhatsNewKit NSUbiquitousKeyValueWhatsNewVersionStore.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/32] Compiling WhatsNewKit UserDefaultsWhatsNewVersionStore.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/32] Compiling WhatsNewKit WhatsNewVersionStore.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[23/32] Compiling WhatsNewKit WhatsNewView+FeaturesPadding.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/32] Compiling WhatsNewKit WhatsNewView+FooterPadding.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/32] Compiling WhatsNewKit WhatsNewView+PrimaryButtonStyle.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/32] Compiling WhatsNewKit WhatsNew+SecondaryAction.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[27/32] Compiling WhatsNewKit WhatsNew+Text.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[28/32] Compiling WhatsNewKit WhatsNew+Title.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[29/32] Compiling WhatsNewKit WhatsNew+Version.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[30/32] Compiling WhatsNewKit WhatsNewView.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[31/32] Compiling WhatsNewKit WhatsNewViewController.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[32/32] Compiling WhatsNewKit resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Environment/WhatsNewEnvironment+Key.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
BUILD FAILURE 5.9 linux