Build Information
Failed to build SpeziHealthKit, reference main (9d7f54
), with Swift 6.1 for Linux on 27 Apr 2025 22:27:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/SpeziHealthKit.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/SpeziHealthKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9d7f548 improve `CollectSample`, fix incorrect VO2Max unit, add more sample types (#53)
Cloned https://github.com/StanfordSpezi/SpeziHealthKit.git
Revision (git rev-parse @):
9d7f54852d40da9376a5189b124ad30c76d9d78d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordSpezi/SpeziHealthKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/StanfordSpezi/SpeziHealthKit.git
https://github.com/StanfordSpezi/SpeziHealthKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"default_localization" : "en",
"dependencies" : [
{
"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.5",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziFoundation.git"
},
{
"identity" : "spezistorage",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/StanfordSpezi/SpeziStorage.git"
},
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.17.7",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "SpeziHealthKit",
"name" : "SpeziHealthKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "SpeziHealthKit",
"targets" : [
"SpeziHealthKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpeziHealthKitBulkExport",
"targets" : [
"SpeziHealthKitBulkExport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SpeziHealthKitUI",
"targets" : [
"SpeziHealthKitUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SpeziHealthKitUI",
"module_type" : "SwiftTarget",
"name" : "SpeziHealthKitUI",
"path" : "Sources/SpeziHealthKitUI",
"product_dependencies" : [
"SpeziFoundation"
],
"product_memberships" : [
"SpeziHealthKitUI"
],
"sources" : [
"HealthChart/HealthChart.swift",
"HealthChart/HealthChartDataPoint.swift",
"HealthChart/HealthChartEntry.swift",
"HealthChart/Utils.swift",
"Queries/HealthKitCharacteristicsQuery.swift",
"Queries/HealthKitQuery.swift",
"Queries/HealthKitQueryResults.swift",
"Queries/HealthKitStatisticsQuery.swift"
],
"target_dependencies" : [
"SpeziHealthKit"
],
"type" : "library"
},
{
"c99name" : "SpeziHealthKitTests",
"module_type" : "SwiftTarget",
"name" : "SpeziHealthKitTests",
"path" : "Tests/SpeziHealthKitTests",
"product_dependencies" : [
"XCTSpezi",
"SnapshotTesting"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/conditionalHealthChartContentSnapshot.1.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/conditionalHealthChartContentSnapshot.2.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/emptyHealthChartEntriesButNoDataSnapshot.1.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/emptyHealthChartNoEntriesSnapshot.1.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/multiEntryHealthChartViewSnapshot.1.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/simpleHealthChartViewSnapshot.1.png",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Tests/SpeziHealthKitTests/__Snapshots__/SpeziHealthKitUITests/simpleHealthChartViewSnapshot.2.png",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"BulkExporterAPITests.swift",
"CalendarUtilsTests.swift",
"LoopingIterator.swift",
"MockQueryResults.swift",
"SampleTypesCollectionTests.swift",
"SpeziHealthKitTests+CollectSample.swift",
"SpeziHealthKitTests.swift",
"SpeziHealthKitUITests.swift",
"Utils.swift",
"WrappedSampleTypeTests.swift"
],
"target_dependencies" : [
"SpeziHealthKit",
"SpeziHealthKitBulkExport",
"SpeziHealthKitUI"
],
"type" : "test"
},
{
"c99name" : "SpeziHealthKitBulkExport",
"module_type" : "SwiftTarget",
"name" : "SpeziHealthKitBulkExport",
"path" : "Sources/SpeziHealthKitBulkExport",
"product_dependencies" : [
"SpeziFoundation",
"SpeziLocalStorage"
],
"product_memberships" : [
"SpeziHealthKitBulkExport"
],
"sources" : [
"BatchProcessor.swift",
"BulkExportSession.swift",
"BulkExportSessionDescriptor.swift",
"BulkExportSessionIdentifier.swift",
"BulkExportSessionImpl.swift",
"BulkHealthExporter.swift",
"CalendarUtils.swift",
"ExportBatch.swift",
"ExportSessionBatchSize.swift",
"ExportSessionStartDate.swift"
],
"target_dependencies" : [
"SpeziHealthKit"
],
"type" : "library"
},
{
"c99name" : "SpeziHealthKit",
"module_type" : "SwiftTarget",
"name" : "SpeziHealthKit",
"path" : "Sources/SpeziHealthKit",
"product_dependencies" : [
"Spezi",
"SpeziFoundation",
"SpeziLocalStorage"
],
"product_memberships" : [
"SpeziHealthKit",
"SpeziHealthKitBulkExport",
"SpeziHealthKitUI"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/SpeziHealthKit/Resources/Localizable.xcstrings",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SpeziHealthKit/Resources/Localizable.xcstrings.license",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Configuration/HealthKitConfiguration.swift",
"Configuration/RequestReadAccess.swift",
"Configuration/RequestWriteAccess.swift",
"Export.swift",
"Health Data Collection/CollectSample.swift",
"Health Data Collection/HealthDataCollector.swift",
"Health Data Collection/HealthDataCollectorDeliverySetting.swift",
"Health Data Collection/HealthKitSampleCollector.swift",
"HealthKit Extensions/HKElectrocardiogram+RelatedData.swift",
"HealthKit Extensions/HKHealthStore+BackgroundDelivery.swift",
"HealthKit Extensions/HKSample+Identifiable.swift",
"HealthKit.swift",
"HealthKitConstraint.swift",
"Logging/Logger+HealthKit.swift",
"Queries/HealthKitQuery.swift",
"Queries/HealthKitQueryTimeRange.swift",
"Queries/QueryAnchor.swift",
"Sample Types/AnySampleType.swift",
"Sample Types/HealthKitCharacteristic.swift",
"Sample Types/SampleType.swift",
"Sample Types/SampleTypeProxy.swift",
"Sample Types/SampleTypes.swift",
"Sample Types/SampleTypesCollection.swift",
"Sample Types/_HKSampleTypeWithIdentifierType.swift",
"Sample Types/_HKSampleWithSampleType.swift",
"SampleTypeScopedLocalStorage.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/SpeziStorage.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/1613] Fetching spezistorage
[1373/2383] Fetching spezistorage, spezifoundation
[2053/11476] Fetching spezistorage, spezifoundation, spezi
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git from cache (0.25s)
[10616/10706] Fetching spezistorage, spezi
[10707/23865] Fetching spezistorage, spezi, swift-snapshot-testing
Fetched https://github.com/StanfordSpezi/Spezi.git from cache (0.35s)
[2140/14772] Fetching spezistorage, swift-snapshot-testing
Fetched https://github.com/StanfordSpezi/SpeziStorage.git from cache (1.49s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (1.54s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.1.5 (2.09s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Fetching https://github.com/apple/swift-algorithms.git
[1/534] Fetching xctruntimeassertions
[535/6437] Fetching xctruntimeassertions, swift-algorithms
[1598/8142] Fetching xctruntimeassertions, swift-algorithms, swift-atomics
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git from cache (0.37s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.38s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.38s)
Computing version for https://github.com/StanfordSpezi/Spezi.git
Computed https://github.com/StanfordSpezi/Spezi.git at 1.8.1 (0.95s)
Fetching https://github.com/apple/swift-collections.git
[1/16242] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.04s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 1.1.3 (2.92s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.43s)
Computing version for https://github.com/StanfordSpezi/SpeziStorage.git
Computed https://github.com/StanfordSpezi/SpeziStorage.git at 2.1.0 (0.55s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.47s)
Fetching https://github.com/apple/swift-numerics.git
[1/5674] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (1.00s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.47s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.18.3 (0.42s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
[4582/74814] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (3.65s)
Fetched https://github.com/swiftlang/swift-syntax from cache (3.70s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (4.12s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5388] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.57s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (1.16s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.41s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
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/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
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/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-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/Spezi.git
Working copy of https://github.com/StanfordSpezi/Spezi.git resolved at 1.8.1
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.18.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/SpeziStorage.git
Working copy of https://github.com/StanfordSpezi/SpeziStorage.git resolved at 2.1.0
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.1.5
Building for debugging...
[0/23] Write sources
[0/23] Copying Localizable.xcstrings.license
[0/23] Copying Localizable.xcstrings
[1/23] Write sources
[2/23] Copying Info.plist
[4/23] Write sources
[9/23] Copying Localizable.xcstrings.license
[9/23] Copying Info.plist
[10/23] Copying Localizable.xcstrings
[11/23] Write sources
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.
[19/23] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[19/23] Compiling _NumericsShims _NumericsShims.c
[19/23] Compiling _AtomicsShims.c
[19/23] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/4] Compiling _NumericsShims _NumericsShims.c
[1/4] 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.
[2/4] Compiling SpeziFoundationObjC ObjCExceptionHandling.m
[2/4] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux