Build Information
Failed to build FHIRModelsExtensions, reference main (530f53), with Swift 6.2 for Android on 19 Apr 2026 07:09:39 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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/FHIRModelsExtensions.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/FHIRModelsExtensions
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 530f535 limit FHIRModels dependency (#3)
Cloned https://github.com/StanfordBDHG/FHIRModelsExtensions.git
Revision (git rev-parse @):
530f535a50c3a88be5350fab153853da4e1ea693
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/FHIRModelsExtensions.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/StanfordBDHG/FHIRModelsExtensions.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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/apple/FHIRModels.git
Fetching https://github.com/antlr/antlr4.git
[1/168098] Fetching antlr4
[3363/177879] Fetching antlr4, fhirmodels
Fetched https://github.com/apple/FHIRModels.git from cache (1.91s)
[50430/168098] Fetching antlr4
Fetched https://github.com/antlr/antlr4.git from cache (8.29s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.8.0 (12.51s)
Computing version for https://github.com/antlr/antlr4.git
Computed https://github.com/antlr/antlr4.git at 4.13.2 (1.59s)
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
Building for debugging...
[0/20] Write sources
[0/20] Copying SliderExample.json
[0/20] Copying SkipLogicExample.json
[0/20] Copying PHQ-9.json
[0/20] Copying ContainedValueSetExample.json
[0/20] Copying TextValidationExample.json
[0/20] Write sources
[0/20] Copying NumberExample.json
[0/20] Copying ImageCapture.json
[0/20] Copying MultipleEnableWhen.json
[1/20] Copying GCS.json
[4/20] Copying IPSS.json
[5/20] Copying DateTimeExample.json
[5/20] Copying GAD-7.json
[5/20] Copying FormExample.json
[19/20] Write swift-version--11D90AFD9DD3AB2.txt
[21/165] Compiling FMCore FHIRType.swift
[22/166] 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 | }
[23/166] Compiling FMCore FHIRIntegerRepresentable.swift
[24/166] Compiling FMCore TimeZone+FHIR.swift
[25/166] Emitting module FMCore
[26/166] Compiling FMCore ExpressibleAsNSDate.swift
[27/166] Compiling FMCore FHIRDateParserError.swift
[28/166] Compiling FMCore FHIRDateComponents.swift
[29/166] Compiling Antlr4 DecisionInfo.swift
[30/166] Compiling Antlr4 DecisionState.swift
[31/166] Compiling Antlr4 InterpreterDataReader.swift
[32/166] Compiling Antlr4 Interval.swift
[33/166] Compiling Antlr4 IntervalSet.swift
[34/166] Compiling Antlr4 MultiMap.swift
[35/166] Compiling Antlr4 MurmurHash.swift
[36/166] Compiling Antlr4 Utils.swift
[37/166] Compiling Antlr4 ANTLRError.swift
[38/166] Compiling Antlr4 ANTLRException.swift
[39/166] Compiling Antlr4 ArrayExtension.swift
[40/166] Compiling Antlr4 CharacterExtension.swift
[41/166] Compiling Antlr4 IntStreamExtension.swift
[42/166] Compiling Antlr4 StringExtension.swift
[43/166] Compiling Antlr4 TokenExtension.swift
[44/166] Compiling Antlr4 UUIDExtension.swift
[45/166] Compiling Antlr4 CommonUtil.swift
[46/166] Compiling Antlr4 Mutex.swift
[47/166] Compiling Antlr4 Stack.swift
[48/166] Compiling Antlr4 AbstractParseTreeVisitor.swift
[49/166] Compiling Antlr4 ErrorNode.swift
BUILD FAILURE 6.2 android