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 with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/BiAtoms/Xml.swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/7] Compiling XmlSwift XmlParserDelegate.swift
[4/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'
    open let parser: XMLParser
    ~~~~     ^
    public
/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.
    open let parser: XMLParser
                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XmlParser.swift:13:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
    open let document = XmlDocument(root: nil)
    ~~~~     ^
    public
/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.
    public required init(parser: XMLParser) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XmlParser.swift:36:22: error: cannot find type 'XMLParserDelegate' in scope
extension XmlParser: XMLParserDelegate {
                     ^~~~~~~~~~~~~~~~~
/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.
    public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    public func parser(_ parser: XMLParser, foundCharacters string: String) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XmlParser.swift:19:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
        parser.delegate = self
        ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/XmlParser.swift:22:47: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
    open func parse() -> Bool { return parser.parse() }
                                       ~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/XmlParser.swift:24:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
        parser.abortParsing()
        ~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XmlParser.swift:30:23: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parserError'
        return parser.parserError
               ~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XmlParser.swift:67:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.init(parser: XMLParser(stream: stream))
                          ^~~~~~~~~
/host/spi-builder-workspace/Sources/XmlParser.swift:71:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.init(parser: XMLParser(data: data))
                          ^~~~~~~~~
/host/spi-builder-workspace/Sources/XmlParser.swift:75:28: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        guard let parser = XMLParser(contentsOf: url) else { return nil }
                           ^~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Compiling XmlSwift XmlDocument.swift
[6/7] Compiling XmlSwift XmlElement.swift
[7/7] Emitting module XmlSwift
/host/spi-builder-workspace/Sources/XmlParser.swift:12:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
    open let parser: XMLParser
    ~~~~     ^
    public
/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.
    open let parser: XMLParser
                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XmlParser.swift:13:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
    open let document = XmlDocument(root: nil)
    ~~~~     ^
    public
/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.
    public required init(parser: XMLParser) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XmlParser.swift:36:22: error: cannot find type 'XMLParserDelegate' in scope
extension XmlParser: XMLParserDelegate {
                     ^~~~~~~~~~~~~~~~~
/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.
    public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    public func parser(_ parser: XMLParser, foundCharacters string: String) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
error: fatalError
[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 XmlSwift
/host/spi-builder-workspace/Sources/XmlParser.swift:12:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
    open let parser: XMLParser
    ~~~~     ^
    public
/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.
    open let parser: XMLParser
                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XmlParser.swift:13:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
    open let document = XmlDocument(root: nil)
    ~~~~     ^
    public
/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.
    public required init(parser: XMLParser) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XmlParser.swift:36:22: error: cannot find type 'XMLParserDelegate' in scope
extension XmlParser: XMLParserDelegate {
                     ^~~~~~~~~~~~~~~~~
/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.
    public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    public func parser(_ parser: XMLParser, foundCharacters string: String) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
[3/3] Compiling XmlSwift XmlParser.swift
/host/spi-builder-workspace/Sources/XmlParser.swift:12:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
    open let parser: XMLParser
    ~~~~     ^
    public
/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.
    open let parser: XMLParser
                     ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XmlParser.swift:13:14: warning: 'let' properties are implicitly 'final'; use 'public' instead of 'open'
    open let document = XmlDocument(root: nil)
    ~~~~     ^
    public
/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.
    public required init(parser: XMLParser) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XmlParser.swift:36:22: error: cannot find type 'XMLParserDelegate' in scope
extension XmlParser: XMLParserDelegate {
                     ^~~~~~~~~~~~~~~~~
/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.
    public func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    public func parser(_ parser: XMLParser, foundCharacters string: String) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/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.
    public func parser(_ parser: XMLParser, didEndElement elementName: String, namespaceURI: String?, qualifiedName qName: String?) {
                                 ^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
                 ^
/host/spi-builder-workspace/Sources/XmlParser.swift:19:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'delegate'
        parser.delegate = self
        ~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/XmlParser.swift:22:47: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parse'
    open func parse() -> Bool { return parser.parse() }
                                       ~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/XmlParser.swift:24:16: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'abortParsing'
        parser.abortParsing()
        ~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/XmlParser.swift:30:23: error: value of type 'XMLParser' (aka 'AnyObject') has no member 'parserError'
        return parser.parserError
               ~~~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/XmlParser.swift:67:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.init(parser: XMLParser(stream: stream))
                          ^~~~~~~~~
/host/spi-builder-workspace/Sources/XmlParser.swift:71:27: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        self.init(parser: XMLParser(data: data))
                          ^~~~~~~~~
/host/spi-builder-workspace/Sources/XmlParser.swift:75:28: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
        guard let parser = XMLParser(contentsOf: url) else { return nil }
                           ^~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux