Build Information
Failed to build Cache, reference 2.1.2 (ff7c20), with Swift 6.3 for Wasm on 17 Apr 2026 01:16:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/0xLeif/Cache.git
Reference: 2.1.2
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
* tag 2.1.2 -> FETCH_HEAD
HEAD is now at ff7c208 Add dependency for swift-docc-plugin (#24)
Cloned https://github.com/0xLeif/Cache.git
Revision (git rev-parse @):
ff7c208eb8311c9bd150a87792d1df36851b95f1
SUCCESS checkout https://github.com/0xLeif/Cache.git at 2.1.2
========================================
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-4606859-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
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.77s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (5.53s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.01s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.21s)
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
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
[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 Global+images.swift
[10/31] Compiling Cache Global+loggers.swift
[11/31] Compiling Cache Global.swift
[12/31] Compiling Cache RequiredKeysCache+subscript.swift
[13/31] Compiling Cache RequiredKeysCache.swift
[14/31] Compiling Cache CacheInitializable.swift
[15/31] Compiling Cache JSON+subscript.swift
[16/31] Compiling Cache JSON.swift
[17/31] Compiling Cache Cached.swift
[18/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 |
[19/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 |
[20/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 |
[21/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 |
[22/31] Compiling Cache Cacheable.swift
[23/31] Compiling Cache Dictionary+Cacheable.swift
[24/31] Compiling Cache InvalidTypeError.swift
[25/31] Compiling Cache MissingRequiredKeysError.swift
[26/31] Compiling Cache Global+cache.swift
[27/31] Compiling Cache Global+dependencies.swift
[28/31] Compiling Cache ExpiringCache+subscript.swift
[29/31] Compiling Cache ExpiringCache.swift
[30/31] Compiling Cache LRUCache.swift
[31/31] Compiling Cache PersistableCache.swift
BUILD FAILURE 6.3 wasm