Build Information
Failed to build Cache, reference main (35221b), with Swift 6.3 for Wasm on 17 Apr 2026 01:15:48 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/0xLeif/Cache.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/0xLeif/Cache
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 35221b7 Fix deadlock issue (#26)
Cloned https://github.com/0xLeif/Cache.git
Revision (git rev-parse @):
35221b7cc3b13864f265db9af9100c62b0ace9cf
SUCCESS checkout https://github.com/0xLeif/Cache.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/0xLeif/Cache.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
Fetching https://github.com/apple/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.47s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (3.46s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.02s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/28] Emitting module Cache
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
24 | #else
25 | /// The actual cache dictionary of key-value pairs.
26 | @Published fileprivate var cache: [Key: Value] = [:]
| `- error: unknown attribute 'Published'
27 | #endif
28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
| `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
/host/spi-builder-workspace/Sources/Cache/PropertyWrappers/Resolved.swift:45:59: warning: cannot use default expression for inference of 'RequiredKeysCache<Key, Any>' because it is inferrable from parameters #0, #1; this will be an error in a future Swift language mode
43 | public init(
44 | key: Key,
45 | using cache: RequiredKeysCache<Key, Any> = Global.dependencies
| `- warning: cannot use default expression for inference of 'RequiredKeysCache<Key, Any>' because it is inferrable from parameters #0, #1; this will be an error in a future Swift language mode
46 | ) {
47 | self.key = key
[6/31] Compiling Cache Logging.swift
/host/spi-builder-workspace/Sources/Cache/PropertyWrappers/Resolved.swift:45:59: warning: cannot use default expression for inference of 'RequiredKeysCache<Key, Any>' because it is inferrable from parameters #0, #1; this will be an error in a future Swift language mode
43 | public init(
44 | key: Key,
45 | using cache: RequiredKeysCache<Key, Any> = Global.dependencies
| `- warning: cannot use default expression for inference of 'RequiredKeysCache<Key, Any>' because it is inferrable from parameters #0, #1; this will be an error in a future Swift language mode
46 | ) {
47 | self.key = key
[7/31] Compiling Cache OptionallyCached.swift
/host/spi-builder-workspace/Sources/Cache/PropertyWrappers/Resolved.swift:45:59: warning: cannot use default expression for inference of 'RequiredKeysCache<Key, Any>' because it is inferrable from parameters #0, #1; this will be an error in a future Swift language mode
43 | public init(
44 | key: Key,
45 | using cache: RequiredKeysCache<Key, Any> = Global.dependencies
| `- warning: cannot use default expression for inference of 'RequiredKeysCache<Key, Any>' because it is inferrable from parameters #0, #1; this will be an error in a future Swift language mode
46 | ) {
47 | self.key = key
[8/31] Compiling Cache Resolved.swift
/host/spi-builder-workspace/Sources/Cache/PropertyWrappers/Resolved.swift:45:59: warning: cannot use default expression for inference of 'RequiredKeysCache<Key, Any>' because it is inferrable from parameters #0, #1; this will be an error in a future Swift language mode
43 | public init(
44 | key: Key,
45 | using cache: RequiredKeysCache<Key, Any> = Global.dependencies
| `- warning: cannot use default expression for inference of 'RequiredKeysCache<Key, Any>' because it is inferrable from parameters #0, #1; this will be an error in a future Swift language mode
46 | ) {
47 | self.key = key
[9/31] Compiling Cache MissingRequiredKeysError.swift
[10/31] Compiling Cache Global+cache.swift
[11/31] Compiling Cache Global+dependencies.swift
[12/31] Compiling Cache AnyCacheable.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
24 | #else
25 | /// The actual cache dictionary of key-value pairs.
26 | @Published fileprivate var cache: [Key: Value] = [:]
| `- error: unknown attribute 'Published'
27 | #endif
28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
| `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[13/31] Compiling Cache Cache+subscript.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
24 | #else
25 | /// The actual cache dictionary of key-value pairs.
26 | @Published fileprivate var cache: [Key: Value] = [:]
| `- error: unknown attribute 'Published'
27 | #endif
28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
| `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[14/31] Compiling Cache Cache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
24 | #else
25 | /// The actual cache dictionary of key-value pairs.
26 | @Published fileprivate var cache: [Key: Value] = [:]
| `- error: unknown attribute 'Published'
27 | #endif
28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
| `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[15/31] Compiling Cache ComposableCache.swift
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:26:6: error: unknown attribute 'Published'
24 | #else
25 | /// The actual cache dictionary of key-value pairs.
26 | @Published fileprivate var cache: [Key: Value] = [:]
| `- error: unknown attribute 'Published'
27 | #endif
28 |
/host/spi-builder-workspace/Sources/Cache/Cache/Cache.swift:164:18: error: cannot find type 'ObservableObject' in scope
162 |
163 | #if !os(Linux) && !os(Windows)
164 | extension Cache: ObservableObject { }
| `- error: cannot find type 'ObservableObject' in scope
165 | #endif
166 |
[16/31] Compiling Cache JSON+subscript.swift
[17/31] Compiling Cache JSON.swift
[18/31] Compiling Cache Cached.swift
[19/31] Compiling Cache ExpiringCache+subscript.swift
[20/31] Compiling Cache ExpiringCache.swift
[21/31] Compiling Cache LRUCache.swift
[22/31] Compiling Cache PersistableCache.swift
[23/31] Compiling Cache RequiredKeysCache+subscript.swift
[24/31] Compiling Cache RequiredKeysCache.swift
[25/31] Compiling Cache CacheInitializable.swift
[26/31] Compiling Cache Global+images.swift
[27/31] Compiling Cache Global+loggers.swift
[28/31] Compiling Cache Global.swift
[29/31] Compiling Cache Cacheable.swift
[30/31] Compiling Cache Dictionary+Cacheable.swift
[31/31] Compiling Cache InvalidTypeError.swift
swift-build: /home/build-user/llbuild/lib/Core/SQLiteBuildDB.cpp:703: virtual void (anonymous namespace)::SQLiteBuildDB::buildComplete(): Assertion `result == SQLITE_OK' failed.
*** Signal 6: Backtracing from 0x7ff51b32d9fc... done ***
*** Program crashed: Aborted at 0x0000000000000001 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-build":
0 0x00007ff51b2d980a <unknown> in libc.so.6
1 [ra] 0x00007ff51c8cdc29 _dispatch_sig_thread + 8 in libdispatch.so
...
Thread 1 "-qos.overcommit":
0 0x00007ff51b3bceae <unknown> in libc.so.6
1 [ra] 0x00007ff51c8ccff2 _dispatch_mgr_invoke + 129 in libdispatch.so
2 [ra] 0x00007ff51c8ccf5d _dispatch_mgr_thread + 108 in libdispatch.so
3 [ra] 0x00007ff51c8d0195 _dispatch_worker_thread + 676 in libdispatch.so
...
Thread 2 "oot.default-qos" crashed:
0 0x00007ff51b32d9fc <unknown> in libc.so.6
...
Thread 3 "-qos.overcommit":
0 0x00007ff51b328117 <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000 0
rdx 0x00007ff4f1a28640 40 86 a2 f1 f4 7f 00 00 70 bb 0e 10 f5 7f 00 00 @·¢ñô···p»··õ···
rcx 0x00007ff51b32d9fc 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A·ÅA÷Ý=·ðÿÿ¸····
rbx 0x0000000000000006 6
rsi 0x0000000000000001 1
rdi 0x000000000000023c 572
rbp 0x000000000000023c 572
rsp 0x00007ff4f1a271c0 2c 02 04 04 f5 7f 00 00 00 01 04 04 f5 7f 00 00 ,···õ·······õ···
r8 0x00007ff4f1a27290 20 00 00 00 00 00 00 00 a0 26 4b 1b f5 7f 00 00 ······· &K·õ···
r9 0x0000000000000000 0
r10 0x0000000000000008 8
r11 0x0000000000000246 582
r12 0x0000000000000006 6
r13 0x0000000000000016 22
r14 0x00005654af4e8b35 72 65 73 75 6c 74 20 3d 3d 20 53 51 4c 49 54 45 result == SQLITE
r15 0x00007ff5040088f0 60 6f 36 af 54 56 00 00 a8 3c 00 04 f5 7f 00 00 `o6¯TV··¨<··õ···
rip 0x00007ff51b32d9fc 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A·ÅA÷Ý=·ðÿÿ¸····
rflags 0x0000000000000246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (73 omitted):
0x00007ff51b297000–0x00007ff51b453401 095c7ba148aeca81668091f718047078d57efddb libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
0x00007ff51c89b000–0x00007ff51c8e3258 327b506c124021f7ce7130eb7706db93895db025 libdispatch.so /usr/lib/swift/linux/libdispatch.so
Backtrace took 0.01s
BUILD FAILURE 6.3 wasm