Build Information
Failed to build IndexedDataStore, reference 1.0.4 (67242c), with Swift 6.3 for Wasm on 12 Apr 2026 19:22:05 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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/laevandus/IndexedDataStore.git
Reference: 1.0.4
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/laevandus/IndexedDataStore
* tag 1.0.4 -> FETCH_HEAD
HEAD is now at 67242cf Merge pull request #6 from laevandus/watchos-min-version
Cloned https://github.com/laevandus/IndexedDataStore.git
Revision (git rev-parse @):
67242cf4b549c5a24d72b831ee67cead6c7d0d97
SUCCESS checkout https://github.com/laevandus/IndexedDataStore.git at 1.0.4
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/laevandus/IndexedDataStore.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: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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module IndexedDataStore
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:19:24: error: cannot find type 'DispatchQueue' in scope
17 |
18 | private let dataStoreURL: URL
19 | private let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
20 |
21 | /// Creates a data store with the given name.
[4/5] Compiling IndexedDataStore IndexedDataStore+UIKit.swift
[5/5] Compiling IndexedDataStore IndexedDataStore.swift
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:19:24: error: cannot find type 'DispatchQueue' in scope
17 |
18 | private let dataStoreURL: URL
19 | private let queue: DispatchQueue
| `- error: cannot find type 'DispatchQueue' in scope
20 |
21 | /// Creates a data store with the given name.
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:25:17: error: cannot find 'DispatchQueue' in scope
23 | public init(name: String) throws {
24 | self.name = name
25 | queue = DispatchQueue(label: "com.augmentedcode.indexeddatastore", qos: .userInitiated, attributes: .concurrent, autoreleaseFrequency: .workItem)
| `- error: cannot find 'DispatchQueue' in scope
26 | let documentsURL = try FileManager.default.url(for: .documentDirectory, in: .userDomainMask, appropriateFor: nil, create: false)
27 | dataStoreURL = documentsURL.appendingPathComponent(name, isDirectory: true)
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:25:82: error: cannot infer contextual base in reference to member 'userInitiated'
23 | public init(name: String) throws {
24 | self.name = name
25 | queue = DispatchQueue(label: "com.augmentedcode.indexeddatastore", qos: .userInitiated, attributes: .concurrent, autoreleaseFrequency: .workItem)
| `- error: cannot infer contextual base in reference to member 'userInitiated'
26 | let documentsURL = try FileManager.default.url(for: .documentDirectory, in: .userDomainMask, appropriateFor: nil, create: false)
27 | dataStoreURL = documentsURL.appendingPathComponent(name, isDirectory: true)
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:25:110: error: cannot infer contextual base in reference to member 'concurrent'
23 | public init(name: String) throws {
24 | self.name = name
25 | queue = DispatchQueue(label: "com.augmentedcode.indexeddatastore", qos: .userInitiated, attributes: .concurrent, autoreleaseFrequency: .workItem)
| `- error: cannot infer contextual base in reference to member 'concurrent'
26 | let documentsURL = try FileManager.default.url(for: .documentDirectory, in: .userDomainMask, appropriateFor: nil, create: false)
27 | dataStoreURL = documentsURL.appendingPathComponent(name, isDirectory: true)
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:25:145: error: cannot infer contextual base in reference to member 'workItem'
23 | public init(name: String) throws {
24 | self.name = name
25 | queue = DispatchQueue(label: "com.augmentedcode.indexeddatastore", qos: .userInitiated, attributes: .concurrent, autoreleaseFrequency: .workItem)
| `- error: cannot infer contextual base in reference to member 'workItem'
26 | let documentsURL = try FileManager.default.url(for: .documentDirectory, in: .userDomainMask, appropriateFor: nil, create: false)
27 | dataStoreURL = documentsURL.appendingPathComponent(name, isDirectory: true)
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:49:17: error: cannot find 'DispatchQueue' in scope
47 | let url = self.url(forIdentifier: identifier)
48 | guard FileManager.default.fileExists(atPath: url.path) else {
49 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
50 | completionHandler(nil)
51 | }
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:57:17: error: cannot find 'DispatchQueue' in scope
55 | let data = try Data(contentsOf: url, options: .mappedIfSafe)
56 | let object = dataTransformer(data)
57 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
58 | completionHandler(object)
59 | }
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:63:17: error: cannot find 'DispatchQueue' in scope
61 | catch {
62 | print("Failed reading data at URL \(url).")
63 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
64 | completionHandler(nil)
65 | }
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:93:17: error: cannot find 'DispatchQueue' in scope
91 | let url = self.url(forIdentifier: identifier)
92 | guard let data = dataProvider(), !data.isEmpty else {
93 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
94 | completionHandler(.failure(IndexedDataStoreError.noDataProvided))
95 | }
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:100:17: error: cannot find 'DispatchQueue' in scope
98 | do {
99 | try data.write(to: url, options: .atomic)
100 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
101 | completionHandler(.success(identifier))
102 | }
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:105:17: error: cannot find 'DispatchQueue' in scope
103 | }
104 | catch {
105 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
106 | completionHandler(.failure(error))
107 | }
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:90:29: error: cannot infer contextual base in reference to member 'barrier'
88 | /// - completionHandler: The block to execute after the operation’s main task is completed.
89 | public func storeData(_ dataProvider: @escaping () -> Data?, identifier: Identifier = UUID().uuidString, completionHandler: @escaping (Result<Identifier, Error>) -> Void) {
90 | queue.async(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
91 | let url = self.url(forIdentifier: identifier)
92 | guard let data = dataProvider(), !data.isEmpty else {
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:125:29: error: cannot infer contextual base in reference to member 'barrier'
123 | /// - Parameter identifier: The identifier of the data.
124 | public func removeData(forIdentifier identifier: Identifier) {
125 | queue.async(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
126 | let url = self.url(forIdentifier: identifier)
127 | guard FileManager.default.fileExists(atPath: url.path) else { return }
/host/spi-builder-workspace/IndexedDataStore/IndexedDataStore.swift:139:29: error: cannot infer contextual base in reference to member 'barrier'
137 | /// Removes all the stored data objects.
138 | public func removeAll() {
139 | queue.async(flags: .barrier) {
| `- error: cannot infer contextual base in reference to member 'barrier'
140 | do {
141 | let urls = try FileManager.default.contentsOfDirectory(at: self.dataStoreURL, includingPropertiesForKeys: nil, options: [])
BUILD FAILURE 6.3 wasm