Build Information
Failed to build SpeziFoundation, reference main (6e66cc
), with Swift 6.0 for Linux on 18 Apr 2025 00:08:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziFoundation.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/SpeziFoundation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6e66cc6 add `Sequence.{flat,compact}MapIntoSet` (#27)
Cloned https://github.com/StanfordSpezi/SpeziFoundation.git
Revision (git rev-parse @):
6e66cc6a843ef3e1273c6370c04183f0c5325e68
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziFoundation.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziFoundation.git
https://github.com/StanfordSpezi/SpeziFoundation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-algorithms",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-algorithms.git"
},
{
"identity" : "xctruntimeassertions",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordBDHG/XCTRuntimeAssertions.git"
}
],
"manifest_display_name" : "SpeziFoundation",
"name" : "SpeziFoundation",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "tvos",
"version" : "17.0"
}
],
"products" : [
{
"name" : "SpeziFoundation",
"targets" : [
"SpeziFoundation"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SpeziFoundationTests",
"module_type" : "SwiftTarget",
"name" : "SpeziFoundationTests",
"path" : "Tests/SpeziFoundationTests",
"product_dependencies" : [
"XCTRuntimeAssertions"
],
"sources" : [
"AsyncSemaphoreTests.swift",
"CalendarExtensionsTests.swift",
"CollectionBuildersTests.swift",
"DataDescriptorTests.swift",
"DurationTests.swift",
"ExceptionHandlingTests.swift",
"KeyValuePairsTests.swift",
"MainActorExecutionTests.swift",
"ManagedAsynchronousAccessTests.swift",
"OrderedArrayTests.swift",
"RWLockTests.swift",
"RuntimeEnvironmentTests.swift",
"SendableSharedRepositoryTests.swift",
"SequenceExtensionTests.swift",
"SharedRepositoryTests.swift",
"StaticStringTests.swift",
"TimeoutTests.swift",
"VersionTests.swift"
],
"target_dependencies" : [
"SpeziFoundation"
],
"type" : "test"
},
{
"c99name" : "SpeziFoundationObjC",
"module_type" : "ClangTarget",
"name" : "SpeziFoundationObjC",
"path" : "Sources/SpeziFoundationObjC",
"product_memberships" : [
"SpeziFoundation"
],
"sources" : [
"ObjCExceptionHandling.m"
],
"type" : "library"
},
{
"c99name" : "SpeziFoundation",
"module_type" : "SwiftTarget",
"name" : "SpeziFoundation",
"path" : "Sources/SpeziFoundation",
"product_dependencies" : [
"Atomics",
"Algorithms",
"XCTRuntimeAssertions"
],
"product_memberships" : [
"SpeziFoundation"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/SpeziFoundation/Resources/Localizable.xcstrings",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SpeziFoundation/Resources/Localizable.xcstrings.license",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Collection Builders/ArrayBuilder.swift",
"Collection Builders/RangeReplaceableCollectionBuilder.swift",
"Collection Builders/SetBuilder.swift",
"Concurrency/AsyncSemaphore.swift",
"Concurrency/MainActorExecution.swift",
"Concurrency/ManagedAsynchronousAccess.swift",
"Concurrency/RWLock.swift",
"Concurrency/RecursiveRWLock.swift",
"Misc/AnyArray.swift",
"Misc/AnyOptional.swift",
"Misc/BinarySearch.swift",
"Misc/Calendar.swift",
"Misc/DataDescriptor.swift",
"Misc/Duration.swift",
"Misc/KeyValuePairs.swift",
"Misc/ObjCExceptionHandling.swift",
"Misc/OrderedArray.swift",
"Misc/RuntimeEnvironment.swift",
"Misc/SequenceExtensions.swift",
"Misc/StaticString+Hashable.swift",
"Misc/TimeoutError.swift",
"Misc/TopLevelDecoder.swift",
"Misc/TopLevelEncoder.swift",
"Misc/Version.swift",
"RuntimeConfig/RuntimeConfig.swift",
"SharedRepository/Builtin/RepositoryValue.swift",
"SharedRepository/Builtin/SendableValueRepository.swift",
"SharedRepository/Builtin/ValueRepository.swift",
"SharedRepository/KnowledgeSource/ComputedKnowledgeSource.swift",
"SharedRepository/KnowledgeSource/DefaultProvidingKnowledgeSource.swift",
"SharedRepository/KnowledgeSource/KnowledgeSource.swift",
"SharedRepository/KnowledgeSource/OptionalComputedKnowledgeSource.swift",
"SharedRepository/KnowledgeSource/SomeComputedKnowledgeSource.swift",
"SharedRepository/RepositoryAnchor.swift",
"SharedRepository/SendableSharedRepository.swift",
"SharedRepository/SharedRepository.swift"
],
"target_dependencies" : [
"SpeziFoundationObjC"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/apple/swift-atomics.git
[1/534] Fetching xctruntimeassertions
[535/2239] Fetching xctruntimeassertions, swift-atomics
[672/8142] Fetching xctruntimeassertions, swift-atomics, swift-algorithms
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.44s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.45s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.45s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 1.1.3 (2.28s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.58s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.60s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.37s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.60s)
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Building for debugging...
[0/12] Write sources
[3/12] Copying Localizable.xcstrings
[3/12] Write sources
[4/12] Copying Info.plist
[6/12] Write sources
[7/12] Copying Localizable.xcstrings.license
[8/12] Compiling _AtomicsShims.c
[9/12] Compiling _NumericsShims _NumericsShims.c
In file included from /host/spi-builder-workspace/Sources/SpeziFoundationObjC/ObjCExceptionHandling.m:9:
/host/spi-builder-workspace/Sources/SpeziFoundationObjC/include/ObjCExceptionHandling.h:12:10: fatal error: 'Foundation/NSObjCRuntime.h' file not found
12 | #include <Foundation/NSObjCRuntime.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/12] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[10/12] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/SpeziFoundationObjC/ObjCExceptionHandling.m:9:
/host/spi-builder-workspace/Sources/SpeziFoundationObjC/include/ObjCExceptionHandling.h:12:10: fatal error: 'Foundation/NSObjCRuntime.h' file not found
12 | #include <Foundation/NSObjCRuntime.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/2] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[0/2] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux