The Swift Package Index logo.Swift Package Index

Build Information

Failed to build xylem, reference main (d80ef3), with Swift 6.3 for Wasm on 5 May 2026 07:30:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/compnerd/xylem.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/compnerd/xylem
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d80ef38 DOMParser: expose location for the document
Cloned https://github.com/compnerd/xylem.git
Revision (git rev-parse @):
d80ef38342bd85f7b5d56518ac0ac2d39126cb64
SUCCESS checkout https://github.com/compnerd/xylem.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/compnerd/xylem.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
/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 |   private func sha256Of(_ url: URL) throws -> String {
224 |     let data = try Data(contentsOf: url)
225 |     return try sha256(Array(data))
    |                `- error: cannot find 'sha256' in scope
226 |   }
227 |
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
[1/1] Compiling plugin XMLTSPlugin
BUILD FAILURE 6.3 wasm