Build Information
Failed to build OPML, reference main (179095), with Swift 6.3 for Wasm on 23 Apr 2026 18:31:43 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/jaywcjlove/swift-opml.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/jaywcjlove/swift-opml
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 179095b doc: update README.md
Cloned https://github.com/jaywcjlove/swift-opml.git
Revision (git rev-parse @):
179095b349d8f6716a999b14ffd271558b3b5045
SUCCESS checkout https://github.com/jaywcjlove/swift-opml.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/jaywcjlove/swift-opml.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling OPML OPMLParser.swift
/host/spi-builder-workspace/Sources/OPML/OPMLParser.swift:11:36: error: cannot find type 'XMLParserDelegate' in scope
9 |
10 |
11 | public class OPMLParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
12 | private let xmlParser: XMLParser
13 | private var parsedOPML: OPML?
/host/spi-builder-workspace/Sources/OPML/OPMLParser.swift:12:28: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
10 |
11 | public class OPMLParser: NSObject, XMLParserDelegate {
12 | private let xmlParser: XMLParser
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
13 | private var parsedOPML: OPML?
14 |
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/OPML/OPMLParser.swift:82:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
80 | // MARK: - XMLParserDelegate
81 |
82 | public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 | currentElement = elementName
84 | currentCharacters = ""
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/OPML/OPMLParser.swift:117:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | }
116 |
117 | public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
118 | currentCharacters += string.trimmingCharacters(in: .whitespacesAndNewlines)
119 | }
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/OPML/OPMLParser.swift:121:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | }
120 |
121 | public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
122 | defer { currentCharacters = "" }
123 |
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/OPML/OPMLParser.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 parseError: Swift.Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
188 | // Error will be handled in parse() method
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/OPML/OPMLParser.swift:39:31: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
37 |
38 | public init(contentsOf url: URL) throws {
39 | guard let xmlParser = XMLParser(contentsOf: url) else {
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
40 | throw Error.unableToOpenURL(url)
41 | }
/host/spi-builder-workspace/Sources/OPML/OPMLParser.swift:48:26: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
46 |
47 | public init(data: Data) throws {
48 | self.xmlParser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
49 | super.init()
50 | xmlParser.delegate = self
/host/spi-builder-workspace/Sources/OPML/OPMLParser.swift:50:19: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
48 | self.xmlParser = XMLParser(data: data)
49 | super.init()
50 | xmlParser.delegate = self
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
51 | }
52 |
/host/spi-builder-workspace/Sources/OPML/OPMLParser.swift:54:25: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
52 |
53 | public func parse() throws -> OPML {
54 | guard xmlParser.parse() else {
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
55 | if let error = xmlParser.parserError {
56 | throw Error.parseError(error)
/host/spi-builder-workspace/Sources/OPML/OPMLParser.swift:55:38: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parserError'
53 | public func parse() throws -> OPML {
54 | guard xmlParser.parse() else {
55 | if let error = xmlParser.parserError {
| `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parserError'
56 | throw Error.parseError(error)
57 | } else {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module OPML
/host/spi-builder-workspace/Sources/OPML/OPMLParser.swift:11:36: error: cannot find type 'XMLParserDelegate' in scope
9 |
10 |
11 | public class OPMLParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
12 | private let xmlParser: XMLParser
13 | private var parsedOPML: OPML?
/host/spi-builder-workspace/Sources/OPML/OPMLParser.swift:12:28: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
10 |
11 | public class OPMLParser: NSObject, XMLParserDelegate {
12 | private let xmlParser: XMLParser
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
13 | private var parsedOPML: OPML?
14 |
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/OPML/OPMLParser.swift:82:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
80 | // MARK: - XMLParserDelegate
81 |
82 | public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
83 | currentElement = elementName
84 | currentCharacters = ""
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/OPML/OPMLParser.swift:117:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
115 | }
116 |
117 | public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
118 | currentCharacters += string.trimmingCharacters(in: .whitespacesAndNewlines)
119 | }
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/OPML/OPMLParser.swift:121:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
119 | }
120 |
121 | public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
122 | defer { currentCharacters = "" }
123 |
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/OPML/OPMLParser.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 parseError: Swift.Error) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
188 | // Error will be handled in parse() method
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
[5/6] Compiling OPML OPML.swift
[6/6] Compiling OPML Exporter.swift
BUILD FAILURE 6.3 wasm