Build Information
Failed to build SwiftTheming with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/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/dscyrescotti/SwiftTheming.git
Reference: v2.0.0
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/dscyrescotti/SwiftTheming
* tag v2.0.0 -> FETCH_HEAD
HEAD is now at 4843ccf docs: regenerate documentation
Cloned https://github.com/dscyrescotti/SwiftTheming.git
Revision (git rev-parse @):
4843ccf46f473e6c2f82cc1675139a18b2a0f109
SUCCESS checkout https://github.com/dscyrescotti/SwiftTheming.git at v2.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/dscyrescotti/SwiftTheming.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/nalexn/ViewInspector.git
[1/11105] Fetching viewinspector
Fetched https://github.com/nalexn/ViewInspector.git from cache (0.49s)
Fetching https://github.com/apple/swift-docc-plugin
[1/1457] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.41s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.48s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2483] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.48s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.9.0 (0d54687)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/25] Emitting module SwiftTheming
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/27] Compiling SwiftTheming Appearance.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/27] Compiling SwiftTheming PreferredAppearance.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/27] Compiling SwiftTheming AssetKeyWrappable.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/27] Compiling SwiftTheming ThemeProviding.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/27] Compiling SwiftTheming ThemeProvidingViewModifier.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[11/27] Compiling SwiftTheming Themed.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/27] Compiling SwiftTheming ThemeProvider.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[13/27] Compiling SwiftTheming Image++.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/27] Compiling SwiftTheming UserDefaults++.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/27] Compiling SwiftTheming View++.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/27] Compiling SwiftTheming Assetable.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/27] Compiling SwiftTheming EmptyAsset.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/27] Compiling SwiftTheming ColorSet.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/27] Compiling SwiftTheming Color++.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/27] Compiling SwiftTheming Font++.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/27] Compiling SwiftTheming Gradient++.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/27] Compiling SwiftTheming FontSet.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[23/27] Compiling SwiftTheming GradientSet.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/27] Compiling SwiftTheming ImageSet.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/27] Compiling SwiftTheming DefaultTheming.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/27] Compiling SwiftTheming Theme.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[27/27] Compiling SwiftTheming Themeable.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/24] Compiling SwiftTheming Appearance.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/24] Compiling SwiftTheming PreferredAppearance.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/24] Compiling SwiftTheming AssetKeyWrappable.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/24] Compiling SwiftTheming Assetable.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/24] Compiling SwiftTheming EmptyAsset.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/24] Compiling SwiftTheming ColorSet.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/24] Compiling SwiftTheming Image++.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[11/24] Compiling SwiftTheming UserDefaults++.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/24] Compiling SwiftTheming View++.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/26] Emitting module SwiftTheming
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/26] Compiling SwiftTheming FontSet.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/26] Compiling SwiftTheming GradientSet.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/26] Compiling SwiftTheming ImageSet.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/26] Compiling SwiftTheming DefaultTheming.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/26] Compiling SwiftTheming Theme.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/26] Compiling SwiftTheming Themeable.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/26] Compiling SwiftTheming Color++.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/26] Compiling SwiftTheming Font++.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/26] Compiling SwiftTheming Gradient++.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[23/26] Compiling SwiftTheming Themed.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/26] Compiling SwiftTheming ThemeProvider.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/26] Compiling SwiftTheming ThemeProviding.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/26] Compiling SwiftTheming ThemeProvidingViewModifier.swift
/host/spi-builder-workspace/Sources/SwiftTheming/Appearance/Appearance.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
BUILD FAILURE 5.10 linux