The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build XmlSwift, reference master (54bbb5), with Swift 6.1 for Linux on 25 Apr 2025 11:09:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BiAtoms/Xml.swift.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/BiAtoms/Xml.swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 54bbb5a Updated readme
Cloned https://github.com/BiAtoms/Xml.swift.git
Revision (git rev-parse @):
54bbb5ae60a17aead1a26b7ecdced67983a3f522
SUCCESS checkout https://github.com/BiAtoms/Xml.swift.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/BiAtoms/Xml.swift.git
https://github.com/BiAtoms/Xml.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "XmlSwift",
  "name" : "XmlSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XmlSwift",
      "targets" : [
        "XmlSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XmlSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "XmlSwiftTests",
      "path" : "Tests/XmlSwiftTests",
      "sources" : [
        "XmlSwiftTests.swift"
      ],
      "target_dependencies" : [
        "XmlSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XmlSwift",
      "module_type" : "SwiftTarget",
      "name" : "XmlSwift",
      "path" : "Sources",
      "product_memberships" : [
        "XmlSwift"
      ],
      "sources" : [
        "XmlDocument.swift",
        "XmlElement.swift",
        "XmlParser.swift",
        "XmlParserDelegate.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/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
[4/7] Compiling XmlSwift XmlParserDelegate.swift
[5/7] Compiling XmlSwift XmlDocument.swift
[6/7] Compiling XmlSwift XmlElement.swift
[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 |     }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/6] Compiling XmlSwift XmlParserDelegate.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] 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
[4/6] 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 |     }
[5/6] Compiling XmlSwift XmlDocument.swift
[6/6] Compiling XmlSwift XmlElement.swift
BUILD FAILURE 6.1 linux