Build Information
Failed to build SwiftyXML, reference master (30040f
), with Swift 6.1 for Wasm on 27 May 2025 20:51:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chenyunguiMilook/SwiftyXML.git
Reference: master
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/chenyunguiMilook/SwiftyXML
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 30040f3 update pod spec file
Cloned https://github.com/chenyunguiMilook/SwiftyXML.git
Revision (git rev-parse @):
30040f38675bc3a1666a0b0f6417adabaf26a3c6
SUCCESS checkout https://github.com/chenyunguiMilook/SwiftyXML.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/chenyunguiMilook/SwiftyXML.git
https://github.com/chenyunguiMilook/SwiftyXML.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "SwiftyXML",
"name" : "SwiftyXML",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftyXML",
"targets" : [
"SwiftyXML"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftyXMLTests",
"module_type" : "SwiftTarget",
"name" : "SwiftyXMLTests",
"path" : "Tests/SwiftyXMLTests",
"sources" : [
"SwiftyXMLTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftyXML"
],
"type" : "test"
},
{
"c99name" : "SwiftyXML",
"module_type" : "SwiftTarget",
"name" : "SwiftyXML",
"path" : "Sources/SwiftyXML",
"product_memberships" : [
"SwiftyXML"
],
"sources" : [
"XML.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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/4] Emitting module SwiftyXML
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:633:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
631 |
632 | // MARK: - XMLParserDelegate
633 | @objc public func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
634 | didStartElement elementName: String,
635 | 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/SwiftyXML/XML.swift:633:6: error: Objective-C interoperability is disabled
631 |
632 | // MARK: - XMLParserDelegate
633 | @objc public func parser(_ parser: XMLParser,
| `- error: Objective-C interoperability is disabled
634 | didStartElement elementName: String,
635 | namespaceURI: String?,
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:650:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
648 | }
649 |
650 | @objc 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.
651 |
652 | if let currentValue = self.currentElement?.value {
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/SwiftyXML/XML.swift:650:6: error: Objective-C interoperability is disabled
648 | }
649 |
650 | @objc public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: Objective-C interoperability is disabled
651 |
652 | if let currentValue = self.currentElement?.value {
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:659:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
657 | }
658 |
659 | @objc public func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
660 | didEndElement elementName: String,
661 | 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/SwiftyXML/XML.swift:659:6: error: Objective-C interoperability is disabled
657 | }
658 |
659 | @objc public func parser(_ parser: XMLParser,
| `- error: Objective-C interoperability is disabled
660 | didEndElement elementName: String,
661 | namespaceURI: String?,
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:667:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
665 | }
666 |
667 | @objc 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.
668 | self.parseError = parseError
669 | }
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/SwiftyXML/XML.swift:667:6: error: Objective-C interoperability is disabled
665 | }
666 |
667 | @objc public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Swift.Error) {
| `- error: Objective-C interoperability is disabled
668 | self.parseError = parseError
669 | }
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:601:41: error: cannot find type 'XMLParserDelegate' in scope
599 | }
600 |
601 | public class SimpleXMLParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
602 |
603 | public var root:XML?
[4/4] Compiling SwiftyXML XML.swift
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:633:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
631 |
632 | // MARK: - XMLParserDelegate
633 | @objc public func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
634 | didStartElement elementName: String,
635 | 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/SwiftyXML/XML.swift:633:6: error: Objective-C interoperability is disabled
631 |
632 | // MARK: - XMLParserDelegate
633 | @objc public func parser(_ parser: XMLParser,
| `- error: Objective-C interoperability is disabled
634 | didStartElement elementName: String,
635 | namespaceURI: String?,
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:650:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
648 | }
649 |
650 | @objc 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.
651 |
652 | if let currentValue = self.currentElement?.value {
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/SwiftyXML/XML.swift:650:6: error: Objective-C interoperability is disabled
648 | }
649 |
650 | @objc public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: Objective-C interoperability is disabled
651 |
652 | if let currentValue = self.currentElement?.value {
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:659:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
657 | }
658 |
659 | @objc public func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
660 | didEndElement elementName: String,
661 | 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/SwiftyXML/XML.swift:659:6: error: Objective-C interoperability is disabled
657 | }
658 |
659 | @objc public func parser(_ parser: XMLParser,
| `- error: Objective-C interoperability is disabled
660 | didEndElement elementName: String,
661 | namespaceURI: String?,
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:667:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
665 | }
666 |
667 | @objc 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.
668 | self.parseError = parseError
669 | }
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/SwiftyXML/XML.swift:667:6: error: Objective-C interoperability is disabled
665 | }
666 |
667 | @objc public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Swift.Error) {
| `- error: Objective-C interoperability is disabled
668 | self.parseError = parseError
669 | }
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:601:41: error: cannot find type 'XMLParserDelegate' in scope
599 | }
600 |
601 | public class SimpleXMLParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
602 |
603 | public var root:XML?
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:621:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
619 |
620 | public func parse() throws {
621 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
622 | parser.delegate = self
623 | parser.shouldProcessNamespaces = false
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module SwiftyXML
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:633:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
631 |
632 | // MARK: - XMLParserDelegate
633 | @objc public func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
634 | didStartElement elementName: String,
635 | 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/SwiftyXML/XML.swift:633:6: error: Objective-C interoperability is disabled
631 |
632 | // MARK: - XMLParserDelegate
633 | @objc public func parser(_ parser: XMLParser,
| `- error: Objective-C interoperability is disabled
634 | didStartElement elementName: String,
635 | namespaceURI: String?,
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:650:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
648 | }
649 |
650 | @objc 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.
651 |
652 | if let currentValue = self.currentElement?.value {
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/SwiftyXML/XML.swift:650:6: error: Objective-C interoperability is disabled
648 | }
649 |
650 | @objc public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: Objective-C interoperability is disabled
651 |
652 | if let currentValue = self.currentElement?.value {
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:659:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
657 | }
658 |
659 | @objc public func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
660 | didEndElement elementName: String,
661 | 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/SwiftyXML/XML.swift:659:6: error: Objective-C interoperability is disabled
657 | }
658 |
659 | @objc public func parser(_ parser: XMLParser,
| `- error: Objective-C interoperability is disabled
660 | didEndElement elementName: String,
661 | namespaceURI: String?,
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:667:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
665 | }
666 |
667 | @objc 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.
668 | self.parseError = parseError
669 | }
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/SwiftyXML/XML.swift:667:6: error: Objective-C interoperability is disabled
665 | }
666 |
667 | @objc public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Swift.Error) {
| `- error: Objective-C interoperability is disabled
668 | self.parseError = parseError
669 | }
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:601:41: error: cannot find type 'XMLParserDelegate' in scope
599 | }
600 |
601 | public class SimpleXMLParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
602 |
603 | public var root:XML?
[3/3] Compiling SwiftyXML XML.swift
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:633:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
631 |
632 | // MARK: - XMLParserDelegate
633 | @objc public func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
634 | didStartElement elementName: String,
635 | 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/SwiftyXML/XML.swift:633:6: error: Objective-C interoperability is disabled
631 |
632 | // MARK: - XMLParserDelegate
633 | @objc public func parser(_ parser: XMLParser,
| `- error: Objective-C interoperability is disabled
634 | didStartElement elementName: String,
635 | namespaceURI: String?,
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:650:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
648 | }
649 |
650 | @objc 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.
651 |
652 | if let currentValue = self.currentElement?.value {
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/SwiftyXML/XML.swift:650:6: error: Objective-C interoperability is disabled
648 | }
649 |
650 | @objc public func parser(_ parser: XMLParser, foundCharacters string: String) {
| `- error: Objective-C interoperability is disabled
651 |
652 | if let currentValue = self.currentElement?.value {
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:659:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
657 | }
658 |
659 | @objc public func parser(_ parser: XMLParser,
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
660 | didEndElement elementName: String,
661 | 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/SwiftyXML/XML.swift:659:6: error: Objective-C interoperability is disabled
657 | }
658 |
659 | @objc public func parser(_ parser: XMLParser,
| `- error: Objective-C interoperability is disabled
660 | didEndElement elementName: String,
661 | namespaceURI: String?,
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:667:40: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
665 | }
666 |
667 | @objc 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.
668 | self.parseError = parseError
669 | }
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/SwiftyXML/XML.swift:667:6: error: Objective-C interoperability is disabled
665 | }
666 |
667 | @objc public func parser(_ parser: XMLParser, parseErrorOccurred parseError: Swift.Error) {
| `- error: Objective-C interoperability is disabled
668 | self.parseError = parseError
669 | }
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:601:41: error: cannot find type 'XMLParserDelegate' in scope
599 | }
600 |
601 | public class SimpleXMLParser: NSObject, XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
602 |
603 | public var root:XML?
/host/spi-builder-workspace/Sources/SwiftyXML/XML.swift:621:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
619 |
620 | public func parse() throws {
621 | let parser = XMLParser(data: data)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
622 | parser.delegate = self
623 | parser.shouldProcessNamespaces = false
BUILD FAILURE 6.1 wasm