Build Information
Failed to build Cache, reference main (35221b), with Swift 6.2 for Wasm on 5 Dec 2025 03:44:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.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.2
Building package at path: $PWD
https://github.com/0xLeif/Cache.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/apple/swift-docc-plugin
[1/2158] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.62s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (3.03s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3590] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.48s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.49s)
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.5
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 |
[6/31] Compiling Cache Global+images.swift
[7/31] Compiling Cache Global+loggers.swift
[8/31] Compiling Cache Global.swift
[9/31] Compiling Cache Logging.swift
[10/31] Compiling Cache OptionallyCached.swift
[11/31] Compiling Cache Resolved.swift
[12/31] Compiling Cache Cacheable.swift
[13/31] Compiling Cache Dictionary+Cacheable.swift
[14/31] Compiling Cache InvalidTypeError.swift
[15/31] Compiling Cache RequiredKeysCache+subscript.swift
[16/31] Compiling Cache RequiredKeysCache.swift
[17/31] Compiling Cache CacheInitializable.swift
[18/31] Compiling Cache ExpiringCache+subscript.swift
[19/31] Compiling Cache ExpiringCache.swift
[20/31] Compiling Cache LRUCache.swift
[21/31] Compiling Cache PersistableCache.swift
[22/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 |
[23/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 |
[24/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 |
[25/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 |
[26/31] Compiling Cache MissingRequiredKeysError.swift
[27/31] Compiling Cache Global+cache.swift
[28/31] Compiling Cache Global+dependencies.swift
[29/31] Compiling Cache JSON+subscript.swift
[30/31] Compiling Cache JSON.swift
[31/31] Compiling Cache Cached.swift
BUILD FAILURE 6.2 wasm