Build Information
Failed to build SpeziStudy, reference main (85d8c4
), with Swift 6.1 for Linux on 25 Apr 2025 13:38:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 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/SpeziStudy
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-0":/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/SpeziStorage.git
Fetching https://github.com/StanfordSpezi/SpeziScheduler.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/StanfordSpezi/Spezi.git
Fetching https://github.com/StanfordSpezi/SpeziHealthKit.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
[1/1613] Fetching spezistorage
[2/10706] Fetching spezistorage, spezi
[3144/11476] Fetching spezistorage, spezi, spezifoundation
[4278/14166] Fetching spezistorage, spezi, spezifoundation, spezischeduler
[4975/17777] Fetching spezistorage, spezi, spezifoundation, spezischeduler, spezihealthkit
[10064/34019] Fetching spezistorage, spezi, spezifoundation, spezischeduler, spezihealthkit, swift-collections
Fetched https://github.com/StanfordSpezi/SpeziHealthKit.git from cache (1.00s)
Fetching https://github.com/apple/FHIRModels.git
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (1.03s)
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (1.04s)
[8689/20545] Fetching spezistorage, spezischeduler, swift-collections
[15674/26581] Fetching spezistorage, spezischeduler, swift-collections, fhirmodels
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (1.76s)
Fetched https://github.com/StanfordSpezi/SpeziScheduler.git from cache (1.76s)
Fetched https://github.com/apple/swift-collections.git from cache (1.79s)
Fetched https://github.com/apple/FHIRModels.git from cache (0.80s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (6.60s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.0 (1.05s)
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions
[1/534] Fetching xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions from cache (1.13s)
Computing version for https://github.com/StanfordSpezi/SpeziScheduler.git
Computed https://github.com/StanfordSpezi/SpeziScheduler.git at 1.2.5 (2.10s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/StanfordSpezi/SpeziNotifications.git
Fetching https://github.com/StanfordSpezi/SpeziViews
Fetching https://github.com/swiftlang/swift-syntax
[1/3236] Fetching speziviews
[131/3585] Fetching speziviews, spezinotifications
[3426/9488] Fetching speziviews, spezinotifications, swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.53s)
[3555/73780] Fetching speziviews, spezinotifications, swift-syntax
Fetched https://github.com/StanfordSpezi/SpeziNotifications.git from cache (6.31s)
Fetched https://github.com/StanfordSpezi/SpeziViews from cache (6.32s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.37s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.8.1 (8.04s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.5.0 (2.08s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions at 1.1.3 (0.77s)
Computing version for https://github.com/StanfordSpezi/SpeziNotifications.git
Computed https://github.com/StanfordSpezi/SpeziNotifications.git at 1.0.6 (1.15s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.1.5 (1.23s)
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.46s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.16s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.88s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.87s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.67s)
Computing version for https://github.com/StanfordSpezi/SpeziViews
Computed https://github.com/StanfordSpezi/SpeziViews at 1.10.1 (1.94s)
Computing version for https://github.com/StanfordSpezi/SpeziHealthKit.git
Computed https://github.com/StanfordSpezi/SpeziHealthKit.git at 1.1.2 (1.38s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.05s)
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/StanfordBDHG/XCTRuntimeAssertions
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions resolved at 1.1.3
Creating working copy for https://github.com/StanfordSpezi/SpeziHealthKit.git
Working copy of https://github.com/StanfordSpezi/SpeziHealthKit.git resolved at 1.1.2
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/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.1.5
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
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/StanfordSpezi/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.8.1
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/SpeziScheduler.git
Working copy of https://github.com/StanfordSpezi/SpeziScheduler.git resolved at 1.2.5
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/StanfordSpezi/SpeziViews
Working copy of https://github.com/StanfordSpezi/SpeziViews resolved at 1.10.1
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/SpeziNotifications.git
Working copy of https://github.com/StanfordSpezi/SpeziNotifications.git resolved at 1.0.6
Building for debugging...
[0/72] Write sources
[0/72] Copying Info.plist
[0/72] Copying Localizable.xcstrings
[0/72] Copying Localizable.xcstrings.license
[0/72] Write sources
[0/72] Copying Localizable.xcstrings
[0/72] Copying Info.plist
[0/72] Copying Localizable.xcstrings.license
[0/72] Write sources
[0/72] Copying Localizable.xcstrings.license
[0/72] Copying Localizable.xcstrings
[0/72] Copying Info.plist
[0/72] Copying Localizable.xcstrings
[0/72] Copying Info.plist
[49/72] Compiling _SwiftSyntaxCShims dummy.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.
[50/72] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[50/72] Compiling _AtomicsShims.c
[50/72] Compiling _NumericsShims _NumericsShims.c
[50/72] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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...
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.
[0/22] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[0/22] Compiling _AtomicsShims.c
[0/22] Compiling _NumericsShims _NumericsShims.c
[0/22] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux