The Swift Package Index logo.Swift Package Index

Build Information

Failed to build XCSnippets, reference master (32f56c), with Swift 6.3 for Android on 11 Apr 2026 02:27:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dtaylor1701/xcsnippets.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/dtaylor1701/xcsnippets
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 32f56c2 chore: ignore build folder and remove any tracked build artifacts
Cloned https://github.com/dtaylor1701/xcsnippets.git
Revision (git rev-parse @):
32f56c21723500493c1a0efb3b350601c20d2c1f
SUCCESS checkout https://github.com/dtaylor1701/xcsnippets.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/dtaylor1701/xcsnippets.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version--4F562202D5529B1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/12] Compiling XCSnippetsCore SnippetRepository.swift
[5/12] Compiling XCSnippetsCore Shell.swift
/host/spi-builder-workspace/Sources/XCSnippetsCore/Shell.swift:16:14: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
14 |     static func execute(_ args: String...) -> ShellResult {
15 |         let task = Process()
16 |         task.launchPath = "/usr/bin/env"
   |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
   |              `- 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' [#DeprecatedDeclaration]
20 |         task.standardOutput = pipe
21 |
22 |         task.launch()
   |              |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
   |              `- note: use 'run' instead
23 |
24 |         let outData = pipe.fileHandleForReading.readDataToEndOfFile()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/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
[7/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()
[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
BUILD FAILURE 6.3 android