Build Information
Failed to build DSStore, reference 1.1.0 (c6a9d2), with Swift 6.2 for Wasm on 9 Nov 2026 00:37:23 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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sindresorhus/DSStore.git
Reference: 1.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/sindresorhus/DSStore
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at c6a9d28 1.1.0
Cloned https://github.com/sindresorhus/DSStore.git
Revision (git rev-parse @):
c6a9d28a8fc60b4eba0cfc667111e8d4c7cda356
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sindresorhus/DSStore.git at 1.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/sindresorhus/DSStore.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:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ba6864ed1873dc28d63134b1bd648b09c5ec8270a0ae95720b7f96d84a66a058
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling DSStore Utilities.swift
[4/10] Compiling DSStore RecordConveniences.swift
[5/10] Compiling DSStore Record.swift
[6/11] Compiling DSStore Error.swift
[7/11] Compiling DSStore FourCC.swift
[8/11] Compiling DSStore DSStore.swift
/host/spi-builder-workspace/Sources/DSStore/DSStore.swift:41:27: error: cannot find 'Thread' in scope
39 |
40 | func get() -> ((String) -> Void)? {
41 | if let threadHandler = Thread.current.threadDictionary[Self.threadDictionaryKey] as? ThreadDiagnosticHandlerBox {
| `- error: cannot find 'Thread' in scope
42 | return threadHandler.handler
43 | }
/host/spi-builder-workspace/Sources/DSStore/DSStore.swift:55:26: error: cannot find 'Thread' in scope
53 |
54 | func pushThreadLocalHandler(_ handler: ((String) -> Void)?) -> Any? {
55 | let previousHandler = Thread.current.threadDictionary[Self.threadDictionaryKey]
| `- error: cannot find 'Thread' in scope
56 | Thread.current.threadDictionary[Self.threadDictionaryKey] = ThreadDiagnosticHandlerBox(handler: handler)
57 | return previousHandler
/host/spi-builder-workspace/Sources/DSStore/DSStore.swift:56:4: error: cannot find 'Thread' in scope
54 | func pushThreadLocalHandler(_ handler: ((String) -> Void)?) -> Any? {
55 | let previousHandler = Thread.current.threadDictionary[Self.threadDictionaryKey]
56 | Thread.current.threadDictionary[Self.threadDictionaryKey] = ThreadDiagnosticHandlerBox(handler: handler)
| `- error: cannot find 'Thread' in scope
57 | return previousHandler
58 | }
/host/spi-builder-workspace/Sources/DSStore/DSStore.swift:62:5: error: cannot find 'Thread' in scope
60 | func popThreadLocalHandler(previousHandler: Any?) {
61 | if let previousHandler {
62 | Thread.current.threadDictionary[Self.threadDictionaryKey] = previousHandler
| `- error: cannot find 'Thread' in scope
63 | return
64 | }
/host/spi-builder-workspace/Sources/DSStore/DSStore.swift:66:4: error: cannot find 'Thread' in scope
64 | }
65 |
66 | Thread.current.threadDictionary.removeObject(forKey: Self.threadDictionaryKey)
| `- error: cannot find 'Thread' in scope
67 | }
68 | }
/host/spi-builder-workspace/Sources/DSStore/DSStore.swift:686:38: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
684 | let data = try serialize()
685 | do {
686 | try data.write(to: url, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
687 | } catch {
688 | throw Error.writeFailed(error.localizedDescription)
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[9/11] Compiling DSStore Value.swift
/host/spi-builder-workspace/Sources/DSStore/Value.swift:51:8: error: cannot find 'CFGetTypeID' in scope
49 | case let number as NSNumber:
50 | // Check if it's a boolean (CFBoolean)
51 | if CFGetTypeID(number) == CFBooleanGetTypeID() {
| `- error: cannot find 'CFGetTypeID' in scope
52 | self = .bool(number.boolValue)
53 | } else {
/host/spi-builder-workspace/Sources/DSStore/Value.swift:51:31: error: cannot find 'CFBooleanGetTypeID' in scope
49 | case let number as NSNumber:
50 | // Check if it's a boolean (CFBoolean)
51 | if CFGetTypeID(number) == CFBooleanGetTypeID() {
| `- error: cannot find 'CFBooleanGetTypeID' in scope
52 | self = .bool(number.boolValue)
53 | } else {
/host/spi-builder-workspace/Sources/DSStore/Value.swift:54:13: error: cannot find 'CFNumberGetType' in scope
52 | self = .bool(number.boolValue)
53 | } else {
54 | switch CFNumberGetType(number) {
| `- error: cannot find 'CFNumberGetType' in scope
55 | case .floatType,
56 | .float32Type,
[10/11] Emitting module DSStore
[11/11] Compiling DSStore Conveniences.swift
BUILD FAILURE 6.2 wasm