The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xylem, reference v0.0.1 (9881c9), with Swift 6.4 for Android on 25 Sep 2026 12:08:45 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/compnerd/xylem.git
Reference: v0.0.1
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/compnerd/xylem
 * tag               v0.0.1     -> FETCH_HEAD
HEAD is now at 9881c95 SAXParser: repair the build on Swift 6.4
Cloned https://github.com/compnerd/xylem.git
Revision (git rev-parse @):
9881c95ce3a139f4ccfa584676201516c2a5751d
SUCCESS checkout https://github.com/compnerd/xylem.git at v0.0.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/compnerd/xylem.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Plugins/XMLTSPlugin/plugin.swift:62:8: error: unsupported host: SHA-256 requires CryptoKit (Apple) or BCrypt (Windows)
 60 | #else
 61 |
 62 | #error("unsupported host: SHA-256 requires CryptoKit (Apple) or BCrypt (Windows)")
    |        `- error: unsupported host: SHA-256 requires CryptoKit (Apple) or BCrypt (Windows)
 63 |
 64 | #endif
/host/spi-builder-workspace/Plugins/XMLTSPlugin/plugin.swift:200:19: error: cannot find 'URLRequest' in scope
198 |       throw PluginError.downloadFailed("invalid URL: \(urlString)")
199 |     }
200 |     var request = URLRequest(url: url)
    |                   `- error: cannot find 'URLRequest' in scope
201 |     request.setValue("xylem-xmlts-fetch/1", forHTTPHeaderField: "User-Agent")
202 |     request.timeoutInterval = 120
/host/spi-builder-workspace/Plugins/XMLTSPlugin/plugin.swift:204:49: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
202 |     request.timeoutInterval = 120
203 |
204 |     let (data, response) = try await URLSession.shared.data(for: request)
    |                                                 `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
205 |     guard let http = response as? HTTPURLResponse,
206 |           (200...299).contains(http.statusCode) else {
/host/spi-builder-workspace/Plugins/XMLTSPlugin/plugin.swift:207:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
205 |     guard let http = response as? HTTPURLResponse,
206 |           (200...299).contains(http.statusCode) else {
207 |       let code = (response as? HTTPURLResponse)?.statusCode ?? -1
    |                                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
208 |       throw PluginError.downloadFailed("HTTP \(code)")
209 |     }
/host/spi-builder-workspace/Plugins/XMLTSPlugin/plugin.swift:225:16: error: cannot find 'sha256' in scope
223 |   pri
BUILD FAILURE 6.4 android