The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DSStore, reference main (c6a9d2), with Swift 6.3 for Wasm on 9 Nov 2026 00:42:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sindresorhus/DSStore.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/sindresorhus/DSStore
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/sindresorhus/DSStore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:3045625b85c7b3a40ef7c4e596cfe3f6119a575d9bb01341bbf4a893a5aa001c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling DSStore FourCC.swift
[4/11] Compiling DSStore Error.swift
[5/11] Compiling DSStore Record.swift
[6/11] Compiling DSStore Utilities.swift
[7/11] Compiling DSStore RecordConveniences.swift
[8/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,
[9/11] Emitting module DSStore
[10/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 |
[11/11] Compiling DSStore Conveniences.swift
BUILD FAILURE 6.3 wasm