The Swift Package Index logo.Swift Package Index

Build Information

Failed to build XmlSwift, reference 1.1.0 (5376bf), with Swift 6.3 for Wasm on 10 Apr 2026 09:55:41 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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BiAtoms/Xml.swift.git
Reference: 1.1.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/BiAtoms/Xml.swift
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 5376bf0 Added accessing attributes through subscript
Cloned https://github.com/BiAtoms/Xml.swift.git
Revision (git rev-parse @):
5376bf092b0285bd1f6471681bb5c7bc876b1e2d
SUCCESS checkout https://github.com/BiAtoms/Xml.swift.git at 1.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/BiAtoms/Xml.swift.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/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/7] Compiling XmlSwift XmlParserDelegate.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Compiling XmlSwift XmlDocument.swift
[5/7] Compiling XmlSwift XmlElement.swift
[6/7] Emitting module XmlSwift
/host/spi-builder-workspace/Sources/XmlParser.swift:12:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
10 |
11 | open class XmlParser: NSObject {
12 |     open let parser: XMLParser
   |              `- warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
13 |     open let document = XmlDocument(root: nil)
14 |     open weak var delegate: XmlParserDelegate?
/host/spi-builder-workspace/Sources/XmlParser.swift:12:22: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
10 |
11 | open class XmlParser: NSObject {
12 |     open let parser: XMLParser
   |                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
13 |     open let document = XmlDocument(root: nil)
14 |     open weak var delegate: XmlParserDelegate?
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/XmlParser.swift:13:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
11 | open class XmlParser: NSObject {
12 |     open let parser: XMLParser
13 |     open let document = XmlDocument(root: nil)
   |              `- warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
14 |     open weak var delegate: XmlParserDelegate?
15 |
/host/spi-builder-workspace/Sources/XmlParser.swift:16:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
14 |     open weak var delegate: XmlParserDelegate?
15 |
16 |     public required init(parser: XMLParser) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
17 |         self.parser = parser
18 |         super.init()
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/XmlParser.swift:36:22: error: cannot find type 'XMLParserDelegate' in scope
34 | }
35 |
36 | extension XmlParser: XMLParserDelegate {
   |                      `- error: cannot find type 'XMLParserDelegate' in scope
37 |     public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
38 |         let newElement = XmlElement(name: elementName)
/host/spi-builder-workspace/Sources/XmlParser.swift:37:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
35 |
36 | extension XmlParser: XMLParserDelegate {
37 |     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.
38 |         let newElement = XmlElement(name: elementName)
39 |         newElement.attributes = attributeDict
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/XmlParser.swift:53:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
51 |     }
52 |
53 |     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.
54 |         currentElement.text += string
55 |     }
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/XmlParser.swift:57:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
55 |     }
56 |
57 |     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.
58 |         assert(currentElement.name == elementName, "This should not ever happen")
59 |         currentElement.text = currentElement.text.trimmingCharacters(in: .whitespacesAndNewlines)
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
[7/7] Compiling XmlSwift XmlParser.swift
/host/spi-builder-workspace/Sources/XmlParser.swift:12:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
10 |
11 | open class XmlParser: NSObject {
12 |     open let parser: XMLParser
   |              `- warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
13 |     open let document = XmlDocument(root: nil)
14 |     open weak var delegate: XmlParserDelegate?
/host/spi-builder-workspace/Sources/XmlParser.swift:12:22: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
10 |
11 | open class XmlParser: NSObject {
12 |     open let parser: XMLParser
   |                      `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
13 |     open let document = XmlDocument(root: nil)
14 |     open weak var delegate: XmlParserDelegate?
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/XmlParser.swift:13:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
11 | open class XmlParser: NSObject {
12 |     open let parser: XMLParser
13 |     open let document = XmlDocument(root: nil)
   |              `- warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
14 |     open weak var delegate: XmlParserDelegate?
15 |
/host/spi-builder-workspace/Sources/XmlParser.swift:16:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
14 |     open weak var delegate: XmlParserDelegate?
15 |
16 |     public required init(parser: XMLParser) {
   |                                  `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
17 |         self.parser = parser
18 |         super.init()
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/XmlParser.swift:36:22: error: cannot find type 'XMLParserDelegate' in scope
34 | }
35 |
36 | extension XmlParser: XMLParserDelegate {
   |                      `- error: cannot find type 'XMLParserDelegate' in scope
37 |     public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
38 |         let newElement = XmlElement(name: elementName)
/host/spi-builder-workspace/Sources/XmlParser.swift:37:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
35 |
36 | extension XmlParser: XMLParserDelegate {
37 |     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.
38 |         let newElement = XmlElement(name: elementName)
39 |         newElement.attributes = attributeDict
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/XmlParser.swift:53:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
51 |     }
52 |
53 |     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.
54 |         currentElement.text += string
55 |     }
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/XmlParser.swift:57:34: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
55 |     }
56 |
57 |     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.
58 |         assert(currentElement.name == elementName, "This should not ever happen")
59 |         currentElement.text = currentElement.text.trimmingCharacters(in: .whitespacesAndNewlines)
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/XmlParser.swift:19:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
17 |         self.parser = parser
18 |         super.init()
19 |         parser.delegate = self
   |                `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
20 |     }
21 |
/host/spi-builder-workspace/Sources/XmlParser.swift:22:47: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
20 |     }
21 |
22 |     open func parse() -> Bool { return parser.parse() }
   |                                               `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
23 |     open func abortParsing() {
24 |         parser.abortParsing()
/host/spi-builder-workspace/Sources/XmlParser.swift:24:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
22 |     open func parse() -> Bool { return parser.parse() }
23 |     open func abortParsing() {
24 |         parser.abortParsing()
   |                `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
25 |         currentElement = nil
26 |         document.root = nil
/host/spi-builder-workspace/Sources/XmlParser.swift:30:23: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parserError'
28 |
29 |     open var error: Error? {
30 |         return parser.parserError
   |                       `- error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parserError'
31 |     }
32 |
/host/spi-builder-workspace/Sources/XmlParser.swift:67:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
65 | extension XmlParser {
66 |     public convenience init(stream: InputStream) {
67 |         self.init(parser: XMLParser(stream: stream))
   |                           `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
68 |     }
69 |
/host/spi-builder-workspace/Sources/XmlParser.swift:71:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
69 |
70 |     public convenience init(data: Data) {
71 |         self.init(parser: XMLParser(data: data))
   |                           `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
72 |     }
73 |
/host/spi-builder-workspace/Sources/XmlParser.swift:75:28: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
73 |
74 |     public convenience init?(contentsOf url: URL) {
75 |         guard let parser = XMLParser(contentsOf: url) else { return nil }
   |                            `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
76 |         self.init(parser: parser)
77 |     }
BUILD FAILURE 6.3 wasm