Build Information
Failed to build SwiftQuery, reference main (4cd51e), with Swift 6.3 for Android on 16 Apr 2026 23:17:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sergiocampama/swift-query.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/sergiocampama/swift-query
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 4cd51e7 update readme
Cloned https://github.com/sergiocampama/swift-query.git
Revision (git rev-parse @):
4cd51e78bda096c5167f98f2f9898f2af6fa775e
SUCCESS checkout https://github.com/sergiocampama/swift-query.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/sergiocampama/swift-query.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4F562202D5529B1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/6] Emitting module SwiftQuery
/host/spi-builder-workspace/Sources/SwiftQuery/SQClient.swift:19:27: error: cannot find 'NSMapTable' in scope
17 | private init() {}
18 |
19 | private var observers = NSMapTable<NSString, NSHashTable<SQProxy>>.strongToStrongObjects()
| `- error: cannot find 'NSMapTable' in scope
20 |
21 | func registerObserver<T>(_ observer: SQProxy, forKey key: [AnyHashable?], type: T.Type = T.self) {
/host/spi-builder-workspace/Sources/SwiftQuery/SQClient.swift:19:48: error: cannot find type 'NSHashTable' in scope
17 | private init() {}
18 |
19 | private var observers = NSMapTable<NSString, NSHashTable<SQProxy>>.strongToStrongObjects()
| | `- error: cannot find type 'NSHashTable' in scope
| `- note: while parsing this '<' as a type parameter bracket
20 |
21 | func registerObserver<T>(_ observer: SQProxy, forKey key: [AnyHashable?], type: T.Type = T.self) {
[4/6] Compiling SwiftQuery SQDerived.swift
/host/spi-builder-workspace/Sources/SwiftQuery/SQDerived.swift:134:41: warning: capture of non-Sendable type 'T.Type' in an isolated closure [#SendableMetatypes]
132 | _ = deps?.forEach { $0.accessValue() }
133 | } onChange: { [weak self] in
134 | Task.immediate { @MainActor [weak self] in
| `- warning: capture of non-Sendable type 'T.Type' in an isolated closure [#SendableMetatypes]
135 | self?._computationTask?.cancel()
136 | }
/host/spi-builder-workspace/Sources/SwiftQuery/SQClient.swift:19:27: error: cannot find 'NSMapTable' in scope
17 | private init() {}
18 |
19 | private var observers = NSMapTable<NSString, NSHashTable<SQProxy>>.strongToStrongObjects()
| `- error: cannot find 'NSMapTable' in scope
20 |
21 | func registerObserver<T>(_ observer: SQProxy, forKey key: [AnyHashable?], type: T.Type = T.self) {
/host/spi-builder-workspace/Sources/SwiftQuery/SQClient.swift:19:48: error: cannot find type 'NSHashTable' in scope
17 | private init() {}
18 |
19 | private var observers = NSMapTable<NSString, NSHashTable<SQProxy>>.strongToStrongObjects()
| | `- error: cannot find type 'NSHashTable' in scope
| `- note: while parsing this '<' as a type parameter bracket
20 |
21 | func registerObserver<T>(_ observer: SQProxy, forKey key: [AnyHashable?], type: T.Type = T.self) {
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[5/6] Compiling SwiftQuery SQClient.swift
/host/spi-builder-workspace/Sources/SwiftQuery/SQClient.swift:19:27: error: cannot find 'NSMapTable' in scope
17 | private init() {}
18 |
19 | private var observers = NSMapTable<NSString, NSHashTable<SQProxy>>.strongToStrongObjects()
| `- error: cannot find 'NSMapTable' in scope
20 |
21 | func registerObserver<T>(_ observer: SQProxy, forKey key: [AnyHashable?], type: T.Type = T.self) {
/host/spi-builder-workspace/Sources/SwiftQuery/SQClient.swift:19:48: error: cannot find type 'NSHashTable' in scope
17 | private init() {}
18 |
19 | private var observers = NSMapTable<NSString, NSHashTable<SQProxy>>.strongToStrongObjects()
| | `- error: cannot find type 'NSHashTable' in scope
| `- note: while parsing this '<' as a type parameter bracket
20 |
21 | func registerObserver<T>(_ observer: SQProxy, forKey key: [AnyHashable?], type: T.Type = T.self) {
/host/spi-builder-workspace/Sources/SwiftQuery/SQClient.swift:27:19: error: cannot find 'NSHashTable' in scope
25 | keyStorage.add(observer)
26 | } else {
27 | let table = NSHashTable<SQProxy>.weakObjects()
| `- error: cannot find 'NSHashTable' in scope
28 | table.add(observer)
29 | observers.setObject(table, forKey: hashKey as NSString)
/host/spi-builder-workspace/Sources/SwiftQuery/SQClient.swift:48:16: error: value of type 'UserDefaults' has no member 'setValue'
46 | func store(_ value: some Codable, forKey key: String) throws {
47 | let data = try JSONEncoder().encode(value)
48 | defaults.setValue(data, forKey: key)
| `- error: value of type 'UserDefaults' has no member 'setValue'
49 | }
50 |
[6/6] Compiling SwiftQuery SQState.swift
BUILD FAILURE 6.3 android