Build Information
Failed to build XCSnippets, reference v1.1.0 (636bb1), with Swift 6.1 for Android on 27 May 2025 13:31:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dtaylor1701/xcsnippets.git
Reference: v1.1.0
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/dtaylor1701/xcsnippets
* tag v1.1.0 -> FETCH_HEAD
HEAD is now at 636bb1c removed erroneous argument
Cloned https://github.com/dtaylor1701/xcsnippets.git
Revision (git rev-parse @):
636bb1cd3eb172c96183c933a86237f8744c19cb
SUCCESS checkout https://github.com/dtaylor1701/xcsnippets.git at v1.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/dtaylor1701/xcsnippets.git
https://github.com/dtaylor1701/xcsnippets.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "XCSnippets",
"name" : "XCSnippets",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
}
],
"products" : [
{
"name" : "xcsnippets",
"targets" : [
"XCSnippets"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "XCSnippetsTests",
"module_type" : "SwiftTarget",
"name" : "XCSnippetsTests",
"path" : "Tests/XCSnippetsTests",
"sources" : [
"XCSnippetsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"XCSnippets"
],
"type" : "test"
},
{
"c99name" : "XCSnippetsCore",
"module_type" : "SwiftTarget",
"name" : "XCSnippetsCore",
"path" : "Sources/XCSnippetsCore",
"product_memberships" : [
"xcsnippets"
],
"sources" : [
"Shell.swift",
"SnippetManager.swift",
"SnippetParser.swift",
"SnippetRepository.swift"
],
"type" : "library"
},
{
"c99name" : "XCSnippets",
"module_type" : "SwiftTarget",
"name" : "XCSnippets",
"path" : "Sources/XCSnippets",
"product_memberships" : [
"xcsnippets"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"XCSnippetsCore"
],
"type" : "executable"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling XCSnippetsCore Shell.swift
/host/spi-builder-workspace/Sources/XCSnippetsCore/Shell.swift:16:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
14 | static func execute(_ args: String...) -> ShellResult {
15 | let task = Process()
16 | task.launchPath = "/usr/bin/env"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
17 | task.arguments = args
18 |
/host/spi-builder-workspace/Sources/XCSnippetsCore/Shell.swift:22:14: warning: 'launch()' is deprecated: renamed to 'run'
20 | task.standardOutput = pipe
21 |
22 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
23 |
24 | let outData = pipe.fileHandleForReading.readDataToEndOfFile()
[5/12] Compiling XCSnippetsCore SnippetRepository.swift
[6/12] Compiling XCSnippetsCore SnippetParser.swift
/host/spi-builder-workspace/Sources/XCSnippetsCore/SnippetParser.swift:21:26: error: cannot find type 'XMLParserDelegate' in scope
19 | }
20 |
21 | extension SnippetParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
22 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
23 |
/host/spi-builder-workspace/Sources/XCSnippetsCore/SnippetParser.swift:22:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
20 |
21 | extension SnippetParser: XMLParserDelegate {
22 | 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.
23 |
24 | if elementName == "key" {
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/XCSnippetsCore/SnippetParser.swift:32:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
30 | }
31 |
32 | 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.
33 | if currentTag == .key {
34 | if let property = SnippetProperty(rawValue: currentElement) {
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/XCSnippetsCore/SnippetParser.swift:46:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
44 | }
45 |
46 | 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.
47 | let data = string.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
48 |
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/XCSnippetsCore/SnippetParser.swift:14:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
12 | init(file: URL) {
13 | super.init()
14 | if let parser = XMLParser(contentsOf: file) {
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
15 | parser.delegate = self
16 | parser.parse()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/12] Emitting module XCSnippetsCore
/host/spi-builder-workspace/Sources/XCSnippetsCore/SnippetParser.swift:21:26: error: cannot find type 'XMLParserDelegate' in scope
19 | }
20 |
21 | extension SnippetParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
22 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
23 |
/host/spi-builder-workspace/Sources/XCSnippetsCore/SnippetParser.swift:22:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
20 |
21 | extension SnippetParser: XMLParserDelegate {
22 | 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.
23 |
24 | if elementName == "key" {
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/XCSnippetsCore/SnippetParser.swift:32:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
30 | }
31 |
32 | 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.
33 | if currentTag == .key {
34 | if let property = SnippetProperty(rawValue: currentElement) {
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/XCSnippetsCore/SnippetParser.swift:46:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
44 | }
45 |
46 | 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.
47 | let data = string.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
48 |
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
[8/12] Compiling XCSnippetsCore SnippetManager.swift
/host/spi-builder-workspace/Sources/XCSnippetsCore/SnippetManager.swift:186:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
184 | printLine("Getting snippet repository list")
185 | let semaphore = DispatchSemaphore(value: 0)
186 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
187 | let url = URL(string: "https://dtaylor1701.github.io/XCSnippets/Collections/main.json")!
188 | let task = session.dataTask(with: url) { (data, _, error) in
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/10] Compiling XCSnippetsCore SnippetRepository.swift
[3/10] Compiling XCSnippetsCore SnippetParser.swift
/host/spi-builder-workspace/Sources/XCSnippetsCore/SnippetParser.swift:21:26: error: cannot find type 'XMLParserDelegate' in scope
19 | }
20 |
21 | extension SnippetParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
22 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
23 |
/host/spi-builder-workspace/Sources/XCSnippetsCore/SnippetParser.swift:22:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
20 |
21 | extension SnippetParser: XMLParserDelegate {
22 | 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.
23 |
24 | if elementName == "key" {
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/XCSnippetsCore/SnippetParser.swift:32:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
30 | }
31 |
32 | 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.
33 | if currentTag == .key {
34 | if let property = SnippetProperty(rawValue: currentElement) {
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/XCSnippetsCore/SnippetParser.swift:46:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
44 | }
45 |
46 | 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.
47 | let data = string.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
48 |
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/XCSnippetsCore/SnippetParser.swift:14:25: error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
12 | init(file: URL) {
13 | super.init()
14 | if let parser = XMLParser(contentsOf: file) {
| `- error: 'XMLParser' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
15 | parser.delegate = self
16 | parser.parse()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Compiling XCSnippetsCore Shell.swift
/host/spi-builder-workspace/Sources/XCSnippetsCore/Shell.swift:16:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
14 | static func execute(_ args: String...) -> ShellResult {
15 | let task = Process()
16 | task.launchPath = "/usr/bin/env"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
17 | task.arguments = args
18 |
/host/spi-builder-workspace/Sources/XCSnippetsCore/Shell.swift:22:14: warning: 'launch()' is deprecated: renamed to 'run'
20 | task.standardOutput = pipe
21 |
22 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
23 |
24 | let outData = pipe.fileHandleForReading.readDataToEndOfFile()
[5/10] Emitting module XCSnippetsCore
/host/spi-builder-workspace/Sources/XCSnippetsCore/SnippetParser.swift:21:26: error: cannot find type 'XMLParserDelegate' in scope
19 | }
20 |
21 | extension SnippetParser: XMLParserDelegate {
| `- error: cannot find type 'XMLParserDelegate' in scope
22 | func parser(_ parser: XMLParser, didStartElement elementName: String, namespaceURI: String?, qualifiedName qName: String?, attributes attributeDict: [String : String] = [:]) {
23 |
/host/spi-builder-workspace/Sources/XCSnippetsCore/SnippetParser.swift:22:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
20 |
21 | extension SnippetParser: XMLParserDelegate {
22 | 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.
23 |
24 | if elementName == "key" {
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/XCSnippetsCore/SnippetParser.swift:32:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
30 | }
31 |
32 | 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.
33 | if currentTag == .key {
34 | if let property = SnippetProperty(rawValue: currentElement) {
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/XCSnippetsCore/SnippetParser.swift:46:27: error: 'XMLParser' is unavailable: This type has moved to the FoundationXML module. Import that module to use it.
44 | }
45 |
46 | 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.
47 | let data = string.trimmingCharacters(in: CharacterSet.whitespacesAndNewlines)
48 |
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
[6/10] Compiling XCSnippetsCore SnippetManager.swift
/host/spi-builder-workspace/Sources/XCSnippetsCore/SnippetManager.swift:186:34: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
184 | printLine("Getting snippet repository list")
185 | let semaphore = DispatchSemaphore(value: 0)
186 | let session = URLSession.shared
| `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
187 | let url = URL(string: "https://dtaylor1701.github.io/XCSnippets/Collections/main.json")!
188 | let task = session.dataTask(with: url) { (data, _, error) in
BUILD FAILURE 6.1 android