Build Information
Failed to build HealthKitOnFHIR, reference 1.2.2 (acef83), with Swift 6.2 for Wasm on 19 Apr 2026 17:32:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.2-latest swift build --swift-sdk swift-6.2-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.2
Building package at path: $PWD
https://github.com/StanfordBDHG/HealthKitOnFHIR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-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
[3333/15839] Fetching swift-algorithms, fhirmodels
[4158/90822] Fetching swift-algorithms, fhirmodels, swift-syntax
Fetched https://github.com/apple/FHIRModels.git from cache (2.39s)
[20305/81041] Fetching swift-algorithms, swift-syntax
Fetched https://github.com/apple/swift-algorithms.git from cache (11.24s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.41s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (27.75s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.10s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (3.06s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.8.0 (0.51s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.46s)
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/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/FHIRModels.git
Working copy of https://github.com/apple/FHIRModels.git resolved at 0.8.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.52s)
Building for debugging...
[0/24] Write sources
[0/24] Copying HKSampleMapping.json.license
[0/24] Copying Info.plist
[0/24] Write sources
[0/24] Copying HKSampleMapping.json.license
[0/24] Copying HKSampleMapping.json
[0/24] Copying Info.plist
[6/24] Write sources
[6/24] Copying HKSampleMapping.json
[15/24] Write sources
[17/24] Compiling _NumericsShims _NumericsShims.c
[18/24] Write swift-version-24593BA9C3E375BF.txt
[20/53] Compiling RealModule Real.swift
[21/54] Compiling RealModule RelaxedArithmetic.swift
[22/54] Compiling FMCore FHIRType.swift
[23/55] Compiling FMCore FHIRIntegerRepresentable.swift
[24/55] Emitting module RealModule
[25/55] Compiling RealModule Float80+Real.swift
[26/55] Compiling RealModule RealFunctions.swift
[27/55] Compiling RealModule Float16+Real.swift
[28/55] Compiling RealModule AlgebraicField.swift
[29/55] Compiling RealModule ApproximateEquality.swift
[30/55] Compiling RealModule AugmentedArithmetic.swift
[31/55] Compiling RealModule Double+Real.swift
[32/55] Compiling RealModule ElementaryFunctions.swift
[33/55] Compiling RealModule Float+Real.swift
[34/56] Wrapping AST for RealModule for debugging
[36/81] Compiling Algorithms RandomSample.swift
[37/81] Compiling Algorithms Reductions.swift
[38/81] Compiling Algorithms Rotate.swift
[39/81] Compiling Algorithms Split.swift
[40/81] Compiling Algorithms Stride.swift
[41/81] Compiling Algorithms Suffix.swift
[42/84] Compiling FMCore Scanner+FHIR.swift
[43/84] Compiling Algorithms Joined.swift
[44/84] Compiling Algorithms Keyed.swift
[45/84] Compiling Algorithms MinMax.swift
[46/84] Compiling Algorithms Partition.swift
[47/84] Compiling Algorithms Permutations.swift
[48/84] Compiling Algorithms Product.swift
[49/84] Compiling FMCore FHIRDateParserError.swift
[50/84] Emitting module FMCore
[51/84] Compiling Algorithms AdjacentPairs.swift
[52/84] Compiling Algorithms Chain.swift
[53/84] Compiling Algorithms Compacted.swift
[54/84] Compiling Algorithms Cycle.swift
[55/84] Compiling Algorithms EitherSequence.swift
[56/84] Compiling Algorithms FirstNonNil.swift
[57/84] Compiling Algorithms FlattenCollection.swift
[58/84] Compiling Algorithms Grouped.swift
[59/84] Compiling Algorithms Indexed.swift
[60/84] Compiling Algorithms Intersperse.swift
[61/84] Compiling Algorithms Trim.swift
[62/84] Compiling Algorithms Unique.swift
[63/84] Compiling Algorithms Windows.swift
[64/84] Compiling FMCore ExpressibleAsNSDate.swift
[65/84] Compiling FMCore FHIRDateComponents.swift
[66/84] Compiling FMCore FHIRType.swift
[67/85] Compiling FMCore TimeZone+FHIR.swift
[71/86] Compiling Algorithms Chunked.swift
[72/86] Compiling Algorithms Combinations.swift
[73/262] Compiling FMCore FHIRIntegerRepresentable.swift
[74/262] 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 | }
[75/262] Compiling FMCore FHIRDateParserError.swift
[76/262] Compiling ModelsR4 Claim.swift
[77/262] Compiling ModelsR4 ClaimResponse.swift
[78/262] Compiling FMCore ExpressibleAsNSDate.swift
[79/262] Compiling FMCore FHIRDateComponents.swift
[80/262] Emitting module FMCore
[81/262] Compiling FMCore TimeZone+FHIR.swift
BUILD FAILURE 6.2 wasm