Build Information
Failed to build BelarusianLacinka, reference main (197083
), with Swift 6.0 for Linux on 3 Nov 2024 06:53:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pikoshyk/belarusianlacinka.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/pikoshyk/belarusianlacinka
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1970838 Minor fixes
Cloned https://github.com/pikoshyk/belarusianlacinka.git
Revision (git rev-parse @):
19708380db9adb31fb80f5df496a23f8127ffd49
SUCCESS checkout https://github.com/pikoshyk/belarusianlacinka.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/pikoshyk/belarusianlacinka.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying rules.xml
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/8] Compiling BelarusianLacinka resource_bundle_accessor.swift
[5/8] Compiling BelarusianLacinka BLRulesParser.swift
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:82:26: error: cannot find type 'XMLParserDelegate' in scope
80 | }
81 |
82 | extension BLRulesParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
83 |
84 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
82 | extension BLRulesParser: XMLParserDelegate {
83 |
84 | 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.
85 |
86 | //The current parsed tag is presented as `elementName` in this function
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/BelarusianLacinka/BLRulesParser.swift:102:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
100 | }
101 |
102 | 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.
103 | let valueStr = string.trimmingCharacters(in: .whitespacesAndNewlines)
104 | let lastElement = self.elementsOrder.last ?? ""
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/BelarusianLacinka/BLRulesParser.swift:197:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
195 | }
196 |
197 | 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.
198 |
199 | if self.elementsOrder.count > 2 && self.elementsOrder.reversed()[2] == "renderer" {
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/BelarusianLacinka/BLRulesParser.swift:255:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
253 | }
254 |
255 | func parserDidEndDocument(_ parser: XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
256 | }
257 | }
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/BelarusianLacinka/BLRulesParser.swift:72:22: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
70 | }
71 |
72 | let parser = XMLParser(data: xmlResponseData)
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
73 | parser.delegate = self
74 | parser.parse()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Compiling BelarusianLacinka BLConverter.swift
[7/8] Compiling BelarusianLacinka BLRule.swift
[8/8] Emitting module BelarusianLacinka
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:82:26: error: cannot find type 'XMLParserDelegate' in scope
80 | }
81 |
82 | extension BLRulesParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
83 |
84 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
/host/spi-builder-workspace/Sources/BelarusianLacinka/BLRulesParser.swift:84:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
82 | extension BLRulesParser: XMLParserDelegate {
83 |
84 | 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.
85 |
86 | //The current parsed tag is presented as `elementName` in this function
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/BelarusianLacinka/BLRulesParser.swift:102:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
100 | }
101 |
102 | 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.
103 | let valueStr = string.trimmingCharacters(in: .whitespacesAndNewlines)
104 | let lastElement = self.elementsOrder.last ?? ""
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/BelarusianLacinka/BLRulesParser.swift:197:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
195 | }
196 |
197 | 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.
198 |
199 | if self.elementsOrder.count > 2 && self.elementsOrder.reversed()[2] == "renderer" {
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/BelarusianLacinka/BLRulesParser.swift:255:41: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
253 | }
254 |
255 | func parserDidEndDocument(_ parser: XMLParser) {
| `- error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
256 | }
257 | }
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
BUILD FAILURE 6.0 linux