Build Information
Failed to build SpeziStudy, reference 0.1.3 (85d8c4
), with Swift 6.1 for Linux on 28 Apr 2025 00:03:32 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordSpezi/SpeziStudy.git
Reference: 0.1.3
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/SpeziStudy
* tag 0.1.3 -> FETCH_HEAD
HEAD is now at 85d8c4c add `historicalDataCollection` option to the health data component (#4)
Cloned https://github.com/StanfordSpezi/SpeziStudy.git
Revision (git rev-parse @):
85d8c4cc5f9d4f5f8b7bbcf974d71289d29716a0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziStudy.git at 0.1.3
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziStudy.git
https://github.com/StanfordSpezi/SpeziStudy.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "fhirmodels",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "0.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/FHIRModels.git"
},
{
"identity" : "spezi",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/Spezi.git"
},
{
"identity" : "spezifoundation",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.4",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziFoundation.git"
},
{
"identity" : "spezihealthkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziHealthKit.git"
},
{
"identity" : "spezischeduler",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.5",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziScheduler.git"
},
{
"identity" : "spezistorage",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziStorage.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "SpeziStudy",
"name" : "SpeziStudy",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "18.0"
},
{
"name" : "macos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "11.0"
},
{
"name" : "visionos",
"version" : "2.0"
}
],
"products" : [
{
"name" : "SpeziStudy",
"targets" : [
"SpeziStudy"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpeziStudyDefinition",
"targets" : [
"SpeziStudyDefinition"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SpeziStudyTests",
"module_type" : "SwiftTarget",
"name" : "SpeziStudyTests",
"path" : "Tests/SpeziStudyTests",
"product_dependencies" : [
"SpeziTesting",
"ModelsR4"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/SpeziStudyTests/Resources/SocialSupportQuestionnaire.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/SpeziStudyTests/Resources/SocialSupportQuestionnaire.json.license",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"StudyDefinitionTests.swift",
"StudyManagerTests.swift"
],
"target_dependencies" : [
"SpeziStudy",
"SpeziStudyDefinition"
],
"type" : "test"
},
{
"c99name" : "SpeziStudyDefinition",
"module_type" : "SwiftTarget",
"name" : "SpeziStudyDefinition",
"path" : "Sources/SpeziStudyDefinition",
"product_dependencies" : [
"ModelsR4",
"SpeziHealthKit",
"SpeziHealthKitBulkExport",
"SpeziFoundation",
"SpeziScheduler",
"DequeModule"
],
"product_memberships" : [
"SpeziStudy",
"SpeziStudyDefinition"
],
"sources" : [
"Study Definition Components/HealthDataCollectionComponent.swift",
"Study Definition Components/InformationalComponent.swift",
"Study Definition Components/QuestionnaireComponent.swift",
"StudyDefinition+Codable.swift",
"StudyDefinition+Components.swift",
"StudyDefinition+Metadata.swift",
"StudyDefinition+Schedule.swift",
"StudyDefinition+Screening.swift",
"StudyDefinition+Validation.swift",
"StudyDefinition.swift"
],
"type" : "library"
},
{
"c99name" : "SpeziStudy",
"module_type" : "SwiftTarget",
"name" : "SpeziStudy",
"path" : "Sources/SpeziStudy",
"product_dependencies" : [
"Spezi",
"ModelsR4",
"SpeziHealthKit",
"SpeziLocalStorage",
"SpeziScheduler",
"SpeziSchedulerUI"
],
"product_memberships" : [
"SpeziStudy"
],
"sources" : [
"Model/StudyEnrollment.swift",
"Model/StudyManagerQuery.swift",
"Study Manager/StudyManager+Other.swift",
"Study Manager/StudyManager.swift",
"Utils.swift"
],
"target_dependencies" : [
"SpeziStudyDefinition"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/StanfordSpezi/SpeziScheduler.git
Fetching https://github.com/StanfordSpezi/SpeziHealthKit.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/StanfordSpezi/SpeziStorage.git
[1/770] Fetching spezifoundation
[771/3460] Fetching spezifoundation, spezischeduler
[1363/7169] Fetching spezifoundation, spezischeduler, spezihealthkit
[1990/8782] Fetching spezifoundation, spezischeduler, spezihealthkit, spezistorage
[6129/25024] Fetching spezifoundation, spezischeduler, spezihealthkit, spezistorage, swift-collections
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (0.39s)
[7083/23411] Fetching spezifoundation, spezischeduler, spezihealthkit, swift-collections
Fetching https://github.com/apple/FHIRModels.git
[14642/29447] Fetching spezifoundation, spezischeduler, spezihealthkit, swift-collections, fhirmodels
Fetched https://github.com/apple/FHIRModels.git from cache (0.76s)
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (1.31s)
Fetched https://github.com/StanfordSpezi/SpeziHealthKit.git from cache (1.31s)
Fetched https://github.com/apple/swift-collections.git from cache (1.34s)
[1/9093] Fetching spezi
Fetched https://github.com/StanfordSpezi/SpeziScheduler.git from cache (2.56s)
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (2.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (5.85s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.0 (0.98s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions
[1/534] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions from cache (0.60s)
Computing version for https://github.com/StanfordSpezi/SpeziScheduler.git
Computed https://github.com/StanfordSpezi/SpeziScheduler.git at 1.2.5 (1.66s)
Fetching https://github.com/StanfordSpezi/SpeziViews
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/StanfordSpezi/SpeziNotifications.git
[1/349] Fetching spezinotifications
[350/3585] Fetching spezinotifications, speziviews
[836/9488] Fetching spezinotifications, speziviews, swift-algorithms
Fetched https://github.com/StanfordSpezi/SpeziViews from cache (0.49s)
[1/70233] Fetching swift-syntax
Fetched https://github.com/StanfordSpezi/SpeziNotifications.git from cache (4.73s)
Fetched https://github.com/apple/swift-algorithms.git from cache (4.73s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.79s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.8.1 (5.54s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.5.0 (0.58s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions at 1.1.3 (0.64s)
Computing version for https://github.com/StanfordSpezi/SpeziNotifications.git
Computed https://github.com/StanfordSpezi/SpeziNotifications.git at 1.0.6 (0.69s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.1.5 (0.69s)
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.41s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.95s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.77s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.57s)
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/StanfordSpezi/SpeziViews
Computed https://github.com/StanfordSpezi/SpeziViews at 1.10.1 (1.23s)
Computing version for https://github.com/StanfordSpezi/SpeziHealthKit.git
Computed https://github.com/StanfordSpezi/SpeziHealthKit.git at 1.1.3 (0.94s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.67s)
Creating working copy for https://github.com/apple/FHIRModels.git
Working copy of https://github.com/apple/FHIRModels.git resolved at 0.5.0
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions resolved at 1.1.3
Creating working copy for https://github.com/StanfordSpezi/SpeziNotifications.git
Working copy of https://github.com/StanfordSpezi/SpeziNotifications.git resolved at 1.0.6
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/StanfordSpezi/SpeziScheduler.git
Working copy of https://github.com/StanfordSpezi/SpeziScheduler.git resolved at 1.2.5
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.1.5
Creating working copy for https://github.com/StanfordSpezi/SpeziStorage.git
Working copy of https://github.com/StanfordSpezi/SpeziStorage.git resolved at 2.1.0
Creating working copy for https://github.com/StanfordSpezi/SpeziViews
Working copy of https://github.com/StanfordSpezi/SpeziViews resolved at 1.10.1
Creating working copy for https://github.com/StanfordSpezi/SpeziHealthKit.git
Working copy of https://github.com/StanfordSpezi/SpeziHealthKit.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/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.8.1
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
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.4
Building for debugging...
[0/72] Write sources
[13/72] Copying Localizable.xcstrings
[13/72] Copying Localizable.xcstrings.license
[13/72] Write sources
[27/72] Copying Localizable.xcstrings.license
[27/72] Copying Localizable.xcstrings
[27/72] Copying Localizable.xcstrings.license
[27/72] Copying Info.plist
[31/72] Copying Localizable.xcstrings
[32/72] Copying Info.plist
[33/72] Write sources
[35/72] Copying Localizable.xcstrings
[35/72] Copying Info.plist
[35/72] Copying Localizable.xcstrings.license
[39/72] Write sources
[49/72] Compiling _SwiftSyntaxCShims dummy.c
[50/72] Compiling _NumericsShims _NumericsShims.c
In file included from /host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundationObjC/ObjCExceptionHandling.m:9:
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundationObjC/include/ObjCExceptionHandling.h:12:10: fatal error: 'Foundation/NSObjCRuntime.h' file not found
12 | #include <Foundation/NSObjCRuntime.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[51/72] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[51/72] Compiling _AtomicsShims.c
[51/72] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/21] Compiling _AtomicsShims.c
In file included from /host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundationObjC/ObjCExceptionHandling.m:9:
/host/spi-builder-workspace/.build/checkouts/SpeziFoundation/Sources/SpeziFoundationObjC/include/ObjCExceptionHandling.h:12:10: fatal error: 'Foundation/NSObjCRuntime.h' file not found
12 | #include <Foundation/NSObjCRuntime.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/21] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[1/21] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux