Build Information
Failed to build OPML, reference v1.0.0 (d8f7b5), with Swift 6.2 for Wasm on 16 Dec 2025 13:40:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaywcjlove/swift-opml.git
Reference: v1.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/jaywcjlove/swift-opml
* tag v1.0.0 -> FETCH_HEAD
HEAD is now at d8f7b52 doc: Update README.md
Cloned https://github.com/jaywcjlove/swift-opml.git
Revision (git rev-parse @):
d8f7b52ac11e4fb3e0ec4954625f32c06b2a9fe1
SUCCESS checkout https://github.com/jaywcjlove/swift-opml.git at v1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/jaywcjlove/swift-opml.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:ea378e7d7954b9ce813c0ebc8f6bc113436e2b3d5aa4fd45225da8bf07e6be73
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Compiling OPML OPML.swift
[4/6] Compiling OPML Exporter.swift
[5/6] Emitting module 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: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?
[6/6] Compiling OPML OPMLParser.swift
/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: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: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 {
BUILD FAILURE 6.2 wasm