Build Information
Failed to build swift-medikationsplan, reference 1.0.0 (754fa7), with Swift 6.3 for Wasm on 18 Apr 2026 15:51:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.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/Hotwheels93/swift-medikationsplan.git
Reference: 1.0.0
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/Hotwheels93/swift-medikationsplan
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 754fa70 Update README
Cloned https://github.com/Hotwheels93/swift-medikationsplan.git
Revision (git rev-parse @):
754fa708e89250bf8187d82239c2f4edc3aac327
SUCCESS checkout https://github.com/Hotwheels93/swift-medikationsplan.git at 1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/Hotwheels93/swift-medikationsplan.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.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/apple/FHIRModels.git
[1/9781] Fetching fhirmodels
Fetched https://github.com/apple/FHIRModels.git from cache (1.16s)
Computing version for https://github.com/apple/FHIRModels.git
Computed https://github.com/apple/FHIRModels.git at 0.9.0 (1.59s)
Creating working copy for https://github.com/apple/FHIRModels.git
Working copy of https://github.com/apple/FHIRModels.git resolved at 0.9.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/20] 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 | }
[7/20] Compiling FMCore FHIRType.swift
[8/20] Compiling FMCore FHIRIntegerRepresentable.swift
[9/21] Compiling MedikationsplanKit BMPParser.swift
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:38:41: error: cannot find type 'XMLParserDelegate' in scope
36 | /// print(plan.patient.fullName)
37 | /// ```
38 | public final class BMPParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
39 |
40 | private var result: Medikationsplan?
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:130:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
128 |
129 | public func parser(
130 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
131 | didStartElement elementName: String,
132 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:170:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
168 |
169 | public func parser(
170 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
171 | didEndElement elementName: String,
172 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:187:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
185 | }
186 |
187 | public func parser(_ parser: XMLParser, parseErrorOccurred parseErrorValue: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
188 | parseError = .xmlParsingFailed(parseErrorValue.localizedDescription)
189 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:92:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
90 | reset()
91 |
92 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
93 | parser.delegate = self
94 | parser.parse()
[10/21] Compiling FMCore FHIRDateParserError.swift
[11/21] Compiling FMCore FHIRDateComponents.swift
[12/21] Emitting module FMCore
[13/21] Compiling FMCore ConstructibleFromNSDate.swift
[14/21] Compiling FMCore DecodingError+Utilities.swift
[15/21] Compiling FMCore ExpressibleAsNSDate.swift
[16/21] Compiling MedikationsplanKit PZN.swift
[17/21] Compiling FMCore TimeZone+FHIR.swift
[18/21] Compiling MedikationsplanKit BMPSerializer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/21] Emitting module MedikationsplanKit
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:38:41: error: cannot find type 'XMLParserDelegate' in scope
36 | /// print(plan.patient.fullName)
37 | /// ```
38 | public final class BMPParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
39 |
40 | private var result: Medikationsplan?
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:130:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
128 |
129 | public func parser(
130 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
131 | didStartElement elementName: String,
132 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:170:19: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
168 |
169 | public func parser(
170 | _ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
171 | didEndElement elementName: String,
172 | namespaceURI: String?,
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MedikationsplanKit/BMPParser.swift:187:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
185 | }
186 |
187 | public func parser(_ parser: XMLParser, parseErrorOccurred parseErrorValue: Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
188 | parseError = .xmlParsingFailed(parseErrorValue.localizedDescription)
189 | }
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationXML module. Import that module to use it.")
2 | public typealias XMLParser = AnyObject
| `- note: 'XMLParser' has been explicitly marked unavailable here
BUILD FAILURE 6.3 wasm