Build Information
Failed to build Appcast with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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/slidoapp/Appcast.git
Reference: main
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/slidoapp/Appcast
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8646f57 Merge pull request #2 from slidoapp/test/reporter
Cloned https://github.com/slidoapp/Appcast.git
Revision (git rev-parse @):
8646f57fe8ecab61f24e4abc75211895b52b4dc4
SUCCESS checkout https://github.com/slidoapp/Appcast.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/slidoapp/Appcast.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-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/15] Compiling Appcast SUStandardVersionComparator.swift
[4/15] Compiling Appcast SUSignatures.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/15] Compiling Appcast SPUDownloadData.swift
[6/15] Compiling Appcast SPUSkippedUpdate.swift
[7/15] Emitting module Appcast
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:175:41: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func sparkleNamespacedName(of node: XMLNode) -> String? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:192:30: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func bestNode(in nodes: [XMLNode], name: String) -> XMLNode? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:192:57: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func bestNode(in nodes: [XMLNode], name: String) -> XMLNode? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:227:30: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func attributes(of node: XMLNode) -> AttributesDictionary {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
[8/16] Compiling Appcast SUAppcast.swift
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:175:41: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func sparkleNamespacedName(of node: XMLNode) -> String? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:192:30: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func bestNode(in nodes: [XMLNode], name: String) -> XMLNode? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:192:57: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func bestNode(in nodes: [XMLNode], name: String) -> XMLNode? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:227:30: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func attributes(of node: XMLNode) -> AttributesDictionary {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:27:28: error: 'XMLDocument' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let document = try XMLDocument(data: appcastData, options: .nodeLoadExternalEntitiesNever)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:27:69: error: cannot infer contextual base in reference to member 'nodeLoadExternalEntitiesNever'
let document = try XMLDocument(data: appcastData, options: .nodeLoadExternalEntitiesNever)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:48:39: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
var nodesDict = [String: [XMLNode]]()
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:96:46: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'stringValue'
if let dateString = node.stringValue {
~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:101:47: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'stringValue'
if let description = node.stringValue {
~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:115:44: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'children'
if let children = node.children {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:129:44: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'children'
if let children = node.children {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:142:44: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'children'
if let children = node.children {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:162:47: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'stringValue'
if let stringValue = node.stringValue?.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines) {
~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:178:17: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'uri'
if node.uri == "http://www.andymatuschak.org/xml-namespaces/sparkle" {
~~~~ ^~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:179:40: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'localName'
guard let localName = node.localName else {
~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:187:21: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'name'
return node.name
~~~~ ^~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:203:38: warning: conditional cast from 'XMLNode' (aka 'AnyObject') to 'XMLElement' (aka 'AnyObject') always succeeds
guard let element = node as? XMLElement else {
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:203:42: error: 'XMLElement' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
guard let element = node as? XMLElement else {
^~~~~~~~~~
Foundation.XMLElement:2:18: note: 'XMLElement' has been explicitly marked unavailable here
public typealias XMLElement = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:207:40: error: value of type 'XMLElement' (aka 'AnyObject') has no member 'attribute'
let nodeLanguage = element.attribute(forName: SUAppcast.SUXMLLanguage)?.stringValue ?? ""
~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:230:34: warning: conditional cast from 'XMLNode' (aka 'AnyObject') to 'XMLElement' (aka 'AnyObject') always succeeds
guard let element = node as? XMLElement else {
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:230:38: error: 'XMLElement' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
guard let element = node as? XMLElement else {
^~~~~~~~~~
Foundation.XMLElement:2:18: note: 'XMLElement' has been explicitly marked unavailable here
public typealias XMLElement = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:234:40: error: value of type 'XMLElement' (aka 'AnyObject') has no member 'attributes'
guard let attributes = element.attributes else {
~~~~~~~ ^~~~~~~~~~
[9/16] Compiling Appcast SUAppcastDriver.swift
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:175:41: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func sparkleNamespacedName(of node: XMLNode) -> String? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:192:30: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func bestNode(in nodes: [XMLNode], name: String) -> XMLNode? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:192:57: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func bestNode(in nodes: [XMLNode], name: String) -> XMLNode? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:227:30: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func attributes(of node: XMLNode) -> AttributesDictionary {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:27:28: error: 'XMLDocument' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let document = try XMLDocument(data: appcastData, options: .nodeLoadExternalEntitiesNever)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:27:69: error: cannot infer contextual base in reference to member 'nodeLoadExternalEntitiesNever'
let document = try XMLDocument(data: appcastData, options: .nodeLoadExternalEntitiesNever)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:48:39: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
var nodesDict = [String: [XMLNode]]()
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:96:46: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'stringValue'
if let dateString = node.stringValue {
~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:101:47: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'stringValue'
if let description = node.stringValue {
~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:115:44: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'children'
if let children = node.children {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:129:44: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'children'
if let children = node.children {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:142:44: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'children'
if let children = node.children {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:162:47: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'stringValue'
if let stringValue = node.stringValue?.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines) {
~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:178:17: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'uri'
if node.uri == "http://www.andymatuschak.org/xml-namespaces/sparkle" {
~~~~ ^~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:179:40: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'localName'
guard let localName = node.localName else {
~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:187:21: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'name'
return node.name
~~~~ ^~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:203:38: warning: conditional cast from 'XMLNode' (aka 'AnyObject') to 'XMLElement' (aka 'AnyObject') always succeeds
guard let element = node as? XMLElement else {
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:203:42: error: 'XMLElement' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
guard let element = node as? XMLElement else {
^~~~~~~~~~
Foundation.XMLElement:2:18: note: 'XMLElement' has been explicitly marked unavailable here
public typealias XMLElement = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:207:40: error: value of type 'XMLElement' (aka 'AnyObject') has no member 'attribute'
let nodeLanguage = element.attribute(forName: SUAppcast.SUXMLLanguage)?.stringValue ?? ""
~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:230:34: warning: conditional cast from 'XMLNode' (aka 'AnyObject') to 'XMLElement' (aka 'AnyObject') always succeeds
guard let element = node as? XMLElement else {
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:230:38: error: 'XMLElement' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
guard let element = node as? XMLElement else {
^~~~~~~~~~
Foundation.XMLElement:2:18: note: 'XMLElement' has been explicitly marked unavailable here
public typealias XMLElement = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:234:40: error: value of type 'XMLElement' (aka 'AnyObject') has no member 'attributes'
guard let attributes = element.attributes else {
~~~~~~~ ^~~~~~~~~~
[10/16] Compiling Appcast SPUAppcastItemState.swift
[11/16] Compiling Appcast SPUAppcastItemStateResolver.swift
[12/16] Compiling Appcast SUAppcastItem.swift
[13/16] Compiling Appcast SUOperatingSystem.swift
[14/16] Compiling Appcast Appcast.swift
[15/16] Compiling Appcast Constants.swift
[16/16] Compiling Appcast SUVersionComparison.swift
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/4] Compiling Appcast SUAppcastDriver.swift
[3/4] Emitting module Appcast
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:175:41: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func sparkleNamespacedName(of node: XMLNode) -> String? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:192:30: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func bestNode(in nodes: [XMLNode], name: String) -> XMLNode? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:192:57: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func bestNode(in nodes: [XMLNode], name: String) -> XMLNode? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:227:30: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func attributes(of node: XMLNode) -> AttributesDictionary {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
[4/4] Compiling Appcast SUAppcast.swift
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:175:41: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func sparkleNamespacedName(of node: XMLNode) -> String? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:192:30: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func bestNode(in nodes: [XMLNode], name: String) -> XMLNode? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:192:57: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func bestNode(in nodes: [XMLNode], name: String) -> XMLNode? {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:227:30: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func attributes(of node: XMLNode) -> AttributesDictionary {
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:27:28: error: 'XMLDocument' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let document = try XMLDocument(data: appcastData, options: .nodeLoadExternalEntitiesNever)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:27:69: error: cannot infer contextual base in reference to member 'nodeLoadExternalEntitiesNever'
let document = try XMLDocument(data: appcastData, options: .nodeLoadExternalEntitiesNever)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:48:39: error: 'XMLNode' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
var nodesDict = [String: [XMLNode]]()
^~~~~~~
Foundation.XMLNode:2:18: note: 'XMLNode' has been explicitly marked unavailable here
public typealias XMLNode = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:96:46: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'stringValue'
if let dateString = node.stringValue {
~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:101:47: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'stringValue'
if let description = node.stringValue {
~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:115:44: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'children'
if let children = node.children {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:129:44: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'children'
if let children = node.children {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:142:44: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'children'
if let children = node.children {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:162:47: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'stringValue'
if let stringValue = node.stringValue?.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines) {
~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:178:17: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'uri'
if node.uri == "http://www.andymatuschak.org/xml-namespaces/sparkle" {
~~~~ ^~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:179:40: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'localName'
guard let localName = node.localName else {
~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:187:21: error: value of type 'XMLNode' (aka 'AnyObject') has no member 'name'
return node.name
~~~~ ^~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:203:38: warning: conditional cast from 'XMLNode' (aka 'AnyObject') to 'XMLElement' (aka 'AnyObject') always succeeds
guard let element = node as? XMLElement else {
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:203:42: error: 'XMLElement' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
guard let element = node as? XMLElement else {
^~~~~~~~~~
Foundation.XMLElement:2:18: note: 'XMLElement' has been explicitly marked unavailable here
public typealias XMLElement = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:207:40: error: value of type 'XMLElement' (aka 'AnyObject') has no member 'attribute'
let nodeLanguage = element.attribute(forName: SUAppcast.SUXMLLanguage)?.stringValue ?? ""
~~~~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:230:34: warning: conditional cast from 'XMLNode' (aka 'AnyObject') to 'XMLElement' (aka 'AnyObject') always succeeds
guard let element = node as? XMLElement else {
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:230:38: error: 'XMLElement' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
guard let element = node as? XMLElement else {
^~~~~~~~~~
Foundation.XMLElement:2:18: note: 'XMLElement' has been explicitly marked unavailable here
public typealias XMLElement = AnyObject
^
/host/spi-builder-workspace/Sources/Appcast/SUAppcast.swift:234:40: error: value of type 'XMLElement' (aka 'AnyObject') has no member 'attributes'
guard let attributes = element.attributes else {
~~~~~~~ ^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux