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

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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.40.0
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:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/chenyunguiMilook/SwiftyXML.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/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
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
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.