Build Information
Failed to build SGLOpenGL with Swift 5.9 for Linux.
Build Command
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftGL/OpenGL.git
Reference: 3.1.1
Cloned https://github.com/SwiftGL/OpenGL.git into spi-builder-workspace
SUCCESS checkout https://github.com/SwiftGL/OpenGL.git at 3.1.1
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/9] Emitting module glgen
/host/spi-builder-workspace/Sources/glgen/main.swift:78:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
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/glgen/main.swift:189:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
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/glgen/main.swift:222:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
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/glgen/main.swift:271:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error)
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/glgen/main.swift:44:38: error: cannot find type 'XMLParserDelegate' in scope
class KhronosXmlDelegate : NSObject, XMLParserDelegate
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/glgen/main.swift:278:23: error: cannot find type 'XMLParserDelegate' in scope
func chomper(delegate:XMLParserDelegate, _ filename:String)
^~~~~~~~~~~~~~~~~
[2/9] Compiling glgen main.swift
/host/spi-builder-workspace/Sources/glgen/main.swift:78:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
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/glgen/main.swift:189:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
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/glgen/main.swift:222:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
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/glgen/main.swift:271:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
func parser(_ parser: XMLParser, parseErrorOccurred parseError: Error)
^~~~~~~~~
Foundation.XMLParser:2:18: note: 'XMLParser' has been explicitly marked unavailable here
public typealias XMLParser = AnyObject
^
/host/spi-builder-workspace/Sources/glgen/main.swift:44:38: error: cannot find type 'XMLParserDelegate' in scope
class KhronosXmlDelegate : NSObject, XMLParserDelegate
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/glgen/main.swift:278:23: error: cannot find type 'XMLParserDelegate' in scope
func chomper(delegate:XMLParserDelegate, _ filename:String)
^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/glgen/main.swift:283:21: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let xmlParser = XMLParser(stream: infile!)
^~~~~~~~~
[3/9] Compiling SGLOpenGL SwiftGL.swift
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 2