Build Information
Failed to build HealthKitOnFHIR, reference 1.2.2 (acef83), with Swift 6.3 for Wasm on 19 Apr 2026 18:03:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Reference: 1.2.2
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
* tag 1.2.2 -> FETCH_HEAD
HEAD is now at acef83d fix tests
Cloned https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Revision (git rev-parse @):
acef83d55f6be6e1ef384d2c4bab2a5450979b32
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/HealthKitOnFHIR.git at 1.2.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/FHIRModels.git
[1/6058] Fetching swift-algorithms
[6059/81041] Fetching swift-algorithms, swift-syntax
[9059/90822] Fetching swift-algorithms, swift-syntax, fhirmodels
Fetched https://github.com/apple/swift-algorithms.git from cache (0.87s)
Fetched https://github.com/apple/FHIRModels.git from cache (0.88s)
[20246/74983] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.06s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (6.26s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.42s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (1.03s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.8.0 (0.40s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.34s)
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.1.1
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.36s)
Building for debugging...
[0/57] Write sources
[17/57] Copying Info.plist
[19/57] Copying HKSampleMapping.json.license
[20/57] Copying HKSampleMapping.json
[21/57] Write sources
[21/57] Copying Info.plist
[25/57] Copying HKSampleMapping.json.license
[26/57] Copying HKSampleMapping.json
[26/57] Write sources
[29/57] Compiling _NumericsShims _NumericsShims.c
[30/57] Write sources
[34/57] Compiling _SwiftSyntaxCShims PlatformMutex.c
[35/57] Write swift-version-24593BA9C3E375BF.txt
[37/96] Compiling SwiftSyntax600 Empty.swift
[38/96] Emitting module SwiftSyntax600
[39/97] Compiling RealModule ElementaryFunctions.swift
[40/97] Compiling RealModule Float+Real.swift
[41/98] Compiling RealModule RealFunctions.swift
[43/98] Emitting module SwiftSyntax510
[44/98] Compiling SwiftSyntax510 Empty.swift
[45/99] Emitting module SwiftSyntax602
[46/99] Compiling SwiftSyntax602 Empty.swift
[48/100] Compiling FMCore FHIRIntegerRepresentable.swift
[49/101] Emitting module SwiftSyntax601
[50/101] Compiling SwiftSyntax601 Empty.swift
[52/102] Wrapping AST for SwiftSyntax600 for debugging
[54/102] Compiling RealModule RelaxedArithmetic.swift
[54/102] Wrapping AST for SwiftSyntax510 for debugging
[55/102] Wrapping AST for SwiftSyntax602 for debugging
[57/102] Emitting module SwiftSyntax509
[58/102] Compiling SwiftSyntax509 Empty.swift
[58/102] Wrapping AST for SwiftSyntax601 for debugging
[60/102] Compiling RealModule Float80+Real.swift
[61/103] Compiling RealModule Real.swift
[62/103] Compiling RealModule Float16+Real.swift
[64/103] Compiling RealModule AlgebraicField.swift
[65/103] Compiling RealModule ApproximateEquality.swift
[66/103] Compiling RealModule AugmentedArithmetic.swift
[67/103] Compiling RealModule Double+Real.swift
[68/103] Emitting module RealModule
[69/104] Wrapping AST for SwiftSyntax509 for debugging
[70/105] Wrapping AST for RealModule for debugging
[72/192] Compiling Algorithms Compacted.swift
[73/192] Compiling Algorithms Cycle.swift
[74/192] Compiling Algorithms EitherSequence.swift
[75/192] Compiling Algorithms FirstNonNil.swift
[76/195] Compiling Algorithms Split.swift
[77/195] Compiling Algorithms Stride.swift
[78/195] Compiling Algorithms Suffix.swift
[79/195] Compiling Algorithms FlattenCollection.swift
[80/195] Compiling Algorithms Grouped.swift
[81/195] Compiling Algorithms Indexed.swift
[82/195] Compiling Algorithms Intersperse.swift
[83/195] Compiling FMCore FHIRDateParserError.swift
[84/195] Compiling FMCore Scanner+FHIR.swift
[85/195] Compiling FMCore FHIRType.swift
[86/195] Compiling FMCore TimeZone+FHIR.swift
[87/195] Compiling Algorithms Trim.swift
[88/195] Compiling Algorithms Unique.swift
[89/195] Compiling Algorithms Windows.swift
[90/195] Compiling Algorithms RandomSample.swift
[91/195] Compiling Algorithms Reductions.swift
[92/195] Compiling Algorithms Rotate.swift
[93/195] Compiling Algorithms Joined.swift
[94/195] Compiling Algorithms Keyed.swift
[95/195] Compiling Algorithms MinMax.swift
[96/195] Compiling Algorithms Partition.swift
[97/195] Compiling Algorithms Permutations.swift
[98/195] Compiling Algorithms Product.swift
[99/195] Compiling FMCore ExpressibleAsNSDate.swift
[100/195] Compiling Algorithms AdjacentPairs.swift
[101/195] Compiling Algorithms Chain.swift
[102/195] Compiling FMCore FHIRDateComponents.swift
[103/195] Emitting module FMCore
[107/196] Compiling Algorithms Chunked.swift
[108/196] Compiling Algorithms Combinations.swift
[118/204] Emitting module Algorithms
[119/205] Wrapping AST for Algorithms for debugging
[121/206] Compiling FMCore FHIRType.swift
[122/206] Compiling FMCore FHIRIntegerRepresentable.swift
[123/206] Compiling FMCore Scanner+FHIR.swift
/host/spi-builder-workspace/.build/checkouts/FHIRModels/Sources/FMCore/Scanner+FHIR.swift:32:47: error: cannot convert value of type 'NSString?' to expected argument type 'String?'
30 | }
31 | var string: NSString?
32 | if scanCharacters(from: characterSet, into: &string), let string = string {
| |- error: cannot convert value of type 'NSString?' to expected argument type 'String?'
| `- note: arguments to generic parameter 'Wrapped' ('NSString' and 'String') are expected to be equal
33 | return String(string)
34 | }
[124/206] Compiling FMCore FHIRDateParserError.swift
[125/207] Compiling FMCore FHIRDateComponents.swift
[126/245] Emitting module FMCore
[127/245] Compiling ModelsR4 CodeSystemAdverseEventCausalityAssessment.swift
[128/245] Compiling ModelsR4 CodeSystemAdverseEventCausalityMethod.swift
[129/245] Compiling FMCore ExpressibleAsNSDate.swift
[130/382] Compiling FMCore TimeZone+FHIR.swift
BUILD FAILURE 6.3 wasm