The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SpeziViews with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziViews.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/StanfordSpezi/SpeziViews
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4d2a724 Add conditional view modifier transformation (#33)
Cloned https://github.com/StanfordSpezi/SpeziViews.git
Revision (git rev-parse @):
4d2a724d97c8f19ac7de7aa2c046b1cb3ef7b279
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziViews.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/StanfordSpezi/SpeziViews.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
Fetching https://github.com/apple/swift-collections.git
[1/13745] Fetching swift-collections
[689/24677] Fetching swift-collections, swift-snapshot-testing
Fetched https://github.com/apple/swift-collections.git (1.59s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (1.62s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.15.3 (1.16s)
Fetching https://github.com/apple/swift-syntax.git
[1/57653] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (3.76s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.57s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (0.57s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.15.3
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.0
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/SpeziViewsTests/__Snapshots__/SnapshotTests/testListRow.ipad-regular.png
    /host/spi-builder-workspace/Tests/SpeziViewsTests/__Snapshots__/SnapshotTests/testListRow.iphone-regular.png
    /host/spi-builder-workspace/Tests/SpeziViewsTests/__Snapshots__/SnapshotTests/testListRow.iphone-XA3.png
    /host/spi-builder-workspace/Tests/SpeziViewsTests/__Snapshots__/SnapshotTests/testListRow.ipad-XA3.png
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SpeziViews/Resources/Localizable.xcstrings.license
    /host/spi-builder-workspace/Sources/SpeziViews/Resources/Localizable.xcstrings
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SpeziValidation/Resources/Localizable.xcstrings.license
    /host/spi-builder-workspace/Sources/SpeziValidation/Resources/Localizable.xcstrings
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SpeziPersonalInfo/Resources/Localizable.xcstrings.license
    /host/spi-builder-workspace/Sources/SpeziPersonalInfo/Resources/Localizable.xcstrings
Building for debugging...
[1/42] Emitting module _CollectionsUtilities
[2/44] Compiling SpeziViews ConditionalModifier.swift
[3/44] Compiling SpeziViews DeviceOrientationModifier.swift
[4/44] Compiling SpeziViews OperationStateAlert.swift
[5/44] Compiling SpeziViews ViewStateAlert.swift
[6/44] Compiling _CollectionsUtilities UnsafeBufferPointer+Extras.swift
[7/44] Compiling _CollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[8/44] Compiling SpeziViews AnyLocalizedError.swift
[9/44] Compiling SpeziViews Binding+Negate.swift
[10/44] Compiling SpeziViews BundleDescription+Bundle.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[14/44] Compiling SpeziViews FocusOnTapModifier.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[15/44] Compiling SpeziViews ProcessingOverlay.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[17/47] Compiling SpeziViews LocalizedStringResource+String.swift
[18/47] Compiling SpeziViews DefaultErrorDescription.swift
[19/47] Compiling SpeziViews ProcessingDebounceDuration.swift
[22/47] Compiling SpeziViews StringProtocol+Localization.swift
[23/47] Compiling SpeziViews TextContentType.swift
[24/47] Compiling SpeziViews OperationState.swift
[25/47] Compiling SpeziViews ViewState.swift
[28/104] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[29/104] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[30/104] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[31/104] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[32/104] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[33/104] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[34/104] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[35/111] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[36/111] Compiling OrderedCollections OrderedSet+Descriptions.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[37/111] Compiling OrderedCollections OrderedSet+Diffing.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[38/111] Compiling OrderedCollections OrderedSet+Equatable.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[39/111] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[40/111] Compiling OrderedCollections OrderedSet+Hashable.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[41/111] Compiling OrderedCollections OrderedDictionary.swift
[42/111] Compiling OrderedCollections OrderedSet+Codable.swift
[49/111] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[50/111] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[51/111] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[52/111] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[53/111] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[54/111] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[55/111] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[56/111] Compiling OrderedCollections OrderedDictionary+Codable.swift
[57/111] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[58/111] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[59/111] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[60/111] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[61/111] Compiling OrderedCollections OrderedDictionary+Elements.swift
[62/111] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[63/111] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[64/111] Compiling OrderedCollections OrderedSet+Initializers.swift
[65/111] Compiling OrderedCollections OrderedSet+Insertions.swift
[66/111] Compiling OrderedCollections OrderedSet+Invariants.swift
[67/111] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[68/111] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[69/111] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[70/111] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[71/111] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/111] Emitting module SpeziViews
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[73/111] Compiling OrderedCollections _HashTable+Testing.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[74/111] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[75/111] Compiling OrderedCollections _HashTable.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[76/111] Compiling OrderedCollections _Hashtable+Header.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[77/111] Compiling OrderedCollections _HashTable+Bucket.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[78/111] Compiling OrderedCollections _HashTable+BucketIterator.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[79/111] Compiling OrderedCollections _HashTable+Constants.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[80/111] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[84/111] Compiling OrderedCollections OrderedDictionary+Hashable.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[85/111] Compiling OrderedCollections OrderedDictionary+Initializers.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[86/111] Compiling OrderedCollections OrderedDictionary+Invariants.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[87/111] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/SpeziViewsTests/__Snapshots__/SnapshotTests/testListRow.iphone-regular.png
    /host/spi-builder-workspace/Tests/SpeziViewsTests/__Snapshots__/SnapshotTests/testListRow.iphone-XA3.png
    /host/spi-builder-workspace/Tests/SpeziViewsTests/__Snapshots__/SnapshotTests/testListRow.ipad-regular.png
    /host/spi-builder-workspace/Tests/SpeziViewsTests/__Snapshots__/SnapshotTests/testListRow.ipad-XA3.png
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SpeziViews/Resources/Localizable.xcstrings.license
    /host/spi-builder-workspace/Sources/SpeziViews/Resources/Localizable.xcstrings
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SpeziValidation/Resources/Localizable.xcstrings
    /host/spi-builder-workspace/Sources/SpeziValidation/Resources/Localizable.xcstrings.license
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SpeziPersonalInfo/Resources/Localizable.xcstrings
    /host/spi-builder-workspace/Sources/SpeziPersonalInfo/Resources/Localizable.xcstrings.license
[0/1] Planning build
Building for debugging...
[1/29] Compiling SpeziViews FocusOnTapModifier.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[2/29] Compiling SpeziViews ProcessingOverlay.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[3/29] Compiling SpeziViews OperationStateAlert.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/32] Compiling SpeziViews StringProtocol+Localization.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/32] Compiling SpeziViews TextContentType.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/32] Compiling SpeziViews ConditionalModifier.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/32] Compiling SpeziViews DeviceOrientationModifier.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/38] Compiling OrderedCollections _HashTable+Testing.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/38] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/38] Compiling OrderedCollections _HashTable.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/38] Compiling OrderedCollections _Hashtable+Header.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/50] Emitting module SpeziViews
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/50] Compiling OrderedCollections _HashTable+Bucket.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[14/50] Compiling OrderedCollections _HashTable+BucketIterator.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[15/50] Compiling OrderedCollections _HashTable+Constants.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[16/50] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[17/50] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[18/50] Compiling OrderedCollections OrderedDictionary+Values.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[19/50] Compiling OrderedCollections OrderedSet+Sendable.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[20/50] Compiling SpeziViews ViewStateAlert.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[21/50] Compiling SpeziViews ViewStateMapper.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[22/50] Compiling SpeziViews AsyncButton.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[23/50] Compiling OrderedCollections OrderedSet+Testing.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[24/50] Compiling OrderedCollections OrderedSet+UnorderedView.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[25/50] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[26/50] Compiling SpeziViews LazyText.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[27/50] Compiling SpeziViews MarkdownView.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[28/50] Compiling SpeziViews TextContent.swift
/host/spi-builder-workspace/Sources/SpeziViews/Environment/DefaultErrorDescription.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2