Build Information
Failed to build HealthKitOnFHIR, reference main (56bb65), with Swift 6.4 for Linux on 16 Sep 2026 12:54:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/HealthKitOnFHIR.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/StanfordBDHG/HealthKitOnFHIR
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 56bb659 Fix the HealthKit codes of three quantity type mappings (#73)
Cloned https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Revision (git rev-parse @):
56bb659e972f179e926234d0dcb727649a4266cf
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/HealthKitOnFHIR.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/StanfordBDHG/FHIRModelsExtensions.git
Fetching https://github.com/StanfordSpezi/SpeziFoundation.git
Fetching https://github.com/apple/FHIRModels.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/3189] Fetching spezifoundation
[289/3501] Fetching spezifoundation, fhirmodelsextensions
[3471/9641] Fetching spezifoundation, fhirmodelsextensions, swift-algorithms
[3533/21136] Fetching spezifoundation, fhirmodelsextensions, swift-algorithms, fhirmodels
Fetched https://github.com/StanfordSpezi/SpeziFoundation.git (0.49s)
[1717/17947] Fetching fhirmodelsextensions, swift-algorithms, fhirmodels
Fetched https://github.com/StanfordBDHG/FHIRModelsExtensions.git (0.49s)
[1466/17635] Fetching swift-algorithms, fhirmodels
[17636/97552] Fetching swift-algorithms, fhirmodels, swift-syntax
Fetched https://github.com/apple/swift-algorithms.git (3.27s)
Fetched https://github.com/apple/FHIRModels.git (3.27s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.28s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.36s)
Fetching https://github.com/apple/swift-numerics.git
[1/6636] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.60s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.91s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.8.0 (0.20s)
Computing version for https://github.com/StanfordBDHG/FHIRModelsExtensions.git
Computed https://github.com/StanfordBDHG/FHIRModelsExtensions.git at 0.1.2 (0.22s)
Fetching https://github.com/antlr/antlr4.git
[1/173041] Fetching antlr4
Fetched https://github.com/antlr/antlr4.git (3.51s)
Computing version for https://github.com/antlr/antlr4.git
Computed https://github.com/antlr/antlr4.git at 4.13.2 (3.69s)
Computing version for https://github.com/StanfordSpezi/SpeziFoundation.git
Computed https://github.com/StanfordSpezi/SpeziFoundation.git at 2.7.7 (0.24s)
Fetching https://github.com/StanfordBDHG/ThreadLocal.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
[1/8083] Fetching swift-log
[1780/8818] Fetching swift-log, xctruntimeassertions
[4014/9001] Fetching swift-log, xctruntimeassertions, threadlocal
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/StanfordBDHG/zstd.git
Fetched https://github.com/StanfordBDHG/ThreadLocal.git (0.46s)
[8620/8818] Fetching swift-log, xctruntimeassertions
Fetched https://github.com/StanfordBDHG/XCTRuntimeAssertions.git (0.52s)
Fetched https://github.com/apple/swift-log (0.52s)
[1/1875] Fetching swift-atomics
[451/65032] Fetching swift-atomics, zstd
Fetched https://github.com/apple/swift-atomics.git (2.13s)
Fetched https://github.com/StanfordBDHG/zstd.git (2.15s)
Computing version for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Computed https://github.com/StanfordBDHG/XCTRuntimeAssertions.git at 2.2.0 (2.84s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.17s)
Computing version for https://github.com/StanfordBDHG/ThreadLocal.git
Computed https://github.com/StanfordBDHG/ThreadLocal.git at 0.1.3 (0.17s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.16s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.15.1 (0.22s)
Computing version for https://github.com/StanfordBDHG/zstd.git
Computed https://github.com/StanfordBDHG/zstd.git at 1.5.8-beta.1 (0.19s)
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/StanfordBDHG/zstd.git
Working copy of https://github.com/StanfordBDHG/zstd.git resolved at 1.5.8-beta.1
Creating working copy for https://github.com/StanfordSpezi/SpeziFoundation.git
Working copy of https://github.com/StanfordSpezi/SpeziFoundation.git resolved at 2.7.7
Creating working copy for https://github.com/StanfordBDHG/FHIRModelsExtensions.git
Working copy of https://github.com/StanfordBDHG/FHIRModelsExtensions.git resolved at 0.1.2
Creating working copy for https://github.com/antlr/antlr4.git
Working copy of https://github.com/antlr/antlr4.git resolved at 4.13.2
Creating working copy for https://github.com/apple/FHIRModels.git
Working copy of https://github.com/apple/FHIRModels.git resolved at 0.8.0
Creating working copy for https://github.com/StanfordBDHG/XCTRuntimeAssertions.git
Working copy of https://github.com/StanfordBDHG/XCTRuntimeAssertions.git resolved at 2.2.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.15.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.3.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.1.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/StanfordBDHG/ThreadLocal.git
Working copy of https://github.com/StanfordBDHG/ThreadLocal.git resolved at 0.1.3
Building for debugging...
[Computing dependencies]
[Provisioning 27 / 39]
[Pre-planning 1 / 888]
[Planning 871 / 888]
[Planning deferred tasks]
[Constructing 1449 / 1921]
[31 / 361] SwiftSyntaxMacroExpansion
[177 / 367]
[187 / 386] _SwiftSyntaxCShims
[217 / 386] SwiftSyntax
[218 / 386] SwiftSyntax600
[228 / 389] SwiftSyntax601
[234 / 389]
[244 / 393] SwiftSyntax509
[247 / 402] SwiftSyntax
[253 / 421] Antlr4
[253 / 421] RealModule
[256 / 421] SwiftSyntax510
[257 / 422] SwiftSyntax510
[259 / 422] FMCore
[261 / 422] FMCore
[267 / 422] Antlr4
[272 / 422] SwiftSyntax
[273 / 422] SwiftSyntax
[274 / 422] RealModule
[277 / 422] RealModule
[278 / 422] RealModule
[281 / 422] FMCore
[283 / 422] Antlr4
[284 / 423] FMCore
[286 / 423] FMCore
[287 / 423] Antlr4-product
[288 / 423] Antlr4-product
[289 / 423] FHIRPathParser
[290 / 423] FHIRPathParser
[291 / 423]
[293 / 424] FMCore
[296 / 433] Algorithms
[297 / 434] Antlr4
[299 / 434] Antlr4
[302 / 434] SwiftSyntax
[306 / 434] SwiftSyntax
[307 / 434] SwiftParser
[309 / 434] Algorithms
[310 / 434] Algorithms
[316 / 435] RealModule
[318 / 444] SwiftParser
[319 / 444] SwiftParser
[320 / 444] SwiftParser
[321 / 445] SwiftParser
[322 / 445] SwiftParser
[324 / 445] SwiftParser
[328 / 445] SwiftParser
[330 / 445] SwiftParser
[331 / 445] Algorithms
[333 / 446] FMCore
[335 / 448] SwiftBasicFormat
[338 / 464] SwiftParser
[339 / 464] SwiftDiagnostics
[340 / 464] SwiftDiagnostics
[343 / 464] SwiftDiagnostics
[354 / 464] SwiftDiagnostics
[355 / 492] SwiftOperators
[358 / 492] SwiftBasicFormat
[359 / 493] SwiftParserDiagnostics
[363 / 493] SwiftDiagnostics
[366 / 493] ModelsR4
[367 / 493] ModelsR4
[368 / 494] SwiftBasicFormat
[370 / 495] SwiftBasicFormat
[373 / 495] ModelsR4
[375 / 495] ModelsR4
[376 / 495] ModelsR4
[377 / 495] ModelsR4
[378 / 495] ModelsR4
[379 / 495] ModelsR4
[380 / 495] ModelsR4
[383 / 495] ModelsR4
[387 / 495] ModelsR4
[388 / 495] ModelsR4-product
[389 / 495] ModelsR4-product
[390 / 495] ModelsR4-product
[392 / 495] ModelsR4
[393 / 495] ModelsR4
[394 / 495] ModelsR4
[395 / 495] ModelsR4
[396 / 495] ModelsR4
[397 / 495] ModelsR4
[398 / 495] ModelsR4
[399 / 495] ModelsR4
[400 / 495] ModelsR4
[401 / 495] HealthKitOnFHIR_HealthKitOnFHIR
[404 / 505] FHIRPathParser
[405 / 505] FHIRPathParser
[406 / 505] FHIRPathParser
[407 / 505] FHIRPathParser
[409 / 505] FHIRPathParser
[411 / 505] FHIRPathParser
[415 / 505] FHIRPathParser
[416 / 505] FHIRModelsExtensions
[420 / 525] SwiftOperators
[421 / 525] SwiftParserDiagnostics
[423 / 526] SwiftParserDiagnostics
[427 / 526] SwiftOperators
[428 / 526] SwiftParserDiagnostics
[436 / 526] SwiftParserDiagnostics
[437 / 526] SwiftSyntaxBuilder
[438 / 526] SwiftSyntaxBuilder
[440 / 526] SwiftOperators
[441 / 526] SwiftOperators
[443 / 526] SwiftOperators
[445 / 526] SwiftOperators
[447 / 526] FHIRPathParser
[449 / 526] Algorithms
[453 / 546] SwiftSyntaxBuilder
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/FHIRModelsExtensions/Sources/FHIRModelsExtensions/Questionnaire+Extensions.swift:12:16: [1;31merror: [1;39mno such module 'OSLog'[0;0m
[0;36m10 |[0;0m public import Foundation
[0;36m11 |[0;0m public import ModelsR4
[0;36m12 |[0;0m private import OSLog
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'OSLog'[0;0m
[0;36m13 |[0;0m
[0;36m14 |[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/FHIRModelsExtensions/Sources/FHIRModelsExtensions/FHIR\ Extension\ Builder/FHIRExtensionBuilder+AbsoluteTimeRange.swift /host/spi-builder-workspace/.build/checkouts/FHIRModelsExtensions/Sources/FHIRModelsExtensions/FHIR\ Extension\ Builder/FHIRExtensionBuilder.swift /host/spi-builder-workspace/.build/checkouts/FHIRModelsExtensions/Sources/FHIRModelsExtensions/FHIR+Utils.swift /host/spi-builder-workspace/.build/checkouts/FHIRModelsExtensions/Sources/FHIRModelsExtensions/FHIRDecimal+Utils.swift /host/spi-builder-workspace/.build/checkouts/FHIRModelsExtensions/Sources/FHIRModelsExtensions/FHIRExtensionUtils.swift /host/spi-builder-workspace/.build/checkouts/FHIRModelsExtensions/Sources/FHIRModelsExtensions/Observation+Dates.swift /host/spi-builder-workspace/.build/checkouts/FHIRModelsExtensions/Sources/FHIRModelsExtensions/Questionnaire+Extensions+UI.swift /host/spi-builder-workspace/.build/checkouts/FHIRModelsExtensions/Sources/FHIRModelsExtensions/Questionnaire+Extensions.swift /host/spi-builder-workspace/.build/checkouts/FHIRModelsExtensions/Sources/FHIRModelsExtensions/Questionnaire+ValueSets.swift /host/spi-builder-workspace/.build/checkouts/FHIRModelsExtensions/Sources/FHIRModelsExtensions/Resource+Collections.swift /host/spi-builder-workspace/.build/checkouts/FHIRModelsExtensions/Sources/FHIRModelsExtensions/Resource+Mutation.swift /host/spi-builder-workspace/.build/checkouts/FHIRModelsExtensions/Sources/FHIRModelsExtensions/Utils.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature InternalImportsByDefault -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -user-module-version 0.1.2 -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FHIRModelsExtensions.build/Debug-linux-x86_64/FHIRModelsExtensions-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FHIRModelsExtensions.build/Debug-linux-x86_64/FHIRModelsExtensions-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FHIRModelsExtensions.build/Debug-linux-x86_64/FHIRModelsExtensions-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name FHIRModelsExtensions -package-name fhirmodelsextensions -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/FHIRModelsExtensions.build/Debug-linux-x86_64/FHIRModelsExtensions-t.build/Objects-normal/x86_64/FHIRModelsExtensions_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FHIRModelsExtensions.build/Debug-linux-x86_64/FHIRModelsExtensions-t.build/Objects-normal/x86_64/Modules/FHIRModelsExtensions.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FHIRModelsExtensions.build/Debug-linux-x86_64/FHIRModelsExtensions-t.build/Objects-normal/x86_64/Modules/FHIRModelsExtensions.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FHIRModelsExtensions.build/Debug-linux-x86_64/FHIRModelsExtensions-t.build/Objects-normal/x86_64/FHIRModelsExtensions-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FHIRModelsExtensions.build/Debug-linux-x86_64/FHIRModelsExtensions-t.build/Objects-normal/x86_64/FHIRModelsExtensions-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FHIRModelsExtensions.build/Debug-linux-x86_64/FHIRModelsExtensions-t.build/Objects-normal/x86_64/FHIRModelsExtensions-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/FHIRModelsExtensions.build/Debug-linux-x86_64/FHIRModelsExtensions-t.build/Objects-normal/x86_64/Modules/FHIRModelsExtensions.swiftmodule
[454 / 547] SwiftSyntaxBuilder
error: Build failed
BUILD FAILURE 6.4 linux