This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 1.1.0 (5376bf), with Swift 6.0 for Linux on 24 Jun 2024 15:36:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.43.4
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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/BiAtoms/Xml.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:1f60ba39b4136ba80e996b934bc99f3a17030ce76de32398391d702374048df7
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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] Compiling XmlSwift XmlParserDelegate.swift
[4/7] Compiling XmlSwift XmlElement.swift
[5/7] Compiling XmlSwift XmlDocument.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.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.