Build Information
Failed to build WWWebImage, reference main (d984fe), with Swift 6.2 for Wasm on 13 Aug 2026 00:14:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/William-Weng/WWWebImage.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/William-Weng/WWWebImage
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d984fe1 - Update ReadMe
Cloned https://github.com/William-Weng/WWWebImage.git
Revision (git rev-parse @):
d984fe1b2b7788b929140363902d6cd8cd8e3731
SUCCESS checkout https://github.com/William-Weng/WWWebImage.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/William-Weng/WWWebImage.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:70428a4f4110aef5b17a27427e965f31cf3855e8cf1dfdc416ed61c780337965
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/William-Weng/WWCacheManager
[1/104] Fetching wwcachemanager
Fetched https://github.com/William-Weng/WWCacheManager from cache (0.53s)
Computing version for https://github.com/William-Weng/WWCacheManager
Computed https://github.com/William-Weng/WWCacheManager at 1.1.0 (0.70s)
Creating working copy for https://github.com/William-Weng/WWCacheManager
Working copy of https://github.com/William-Weng/WWCacheManager resolved at 1.1.0
Building for debugging...
[0/5] Write sources
[2/5] Copying Privacy
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/9] Compiling WWCacheManager resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Emitting module WWCacheManager
/host/spi-builder-workspace/.build/checkouts/WWCacheManager/Sources/WWCacheManager/WWCacheManager.swift:21:25: error: cannot find 'DispatchQueue' in scope
19 | /// - sync: 讀取可並行(多 reader)
20 | /// - barrier: 寫入互斥(單 writer)
21 | private let queue = DispatchQueue(label: "com.wwcache.async", attributes: .concurrent)
| `- error: cannot find 'DispatchQueue' in scope
22 |
23 | private var cache: [KeyType: ObjectType] = [:] // 快取資料:Key -> Value
/host/spi-builder-workspace/.build/checkouts/WWCacheManager/Sources/WWCacheManager/WWCacheManager.swift:21:80: error: cannot infer contextual base in reference to member 'concurrent'
19 | /// - sync: 讀取可並行(多 reader)
20 | /// - barrier: 寫入互斥(單 writer)
21 | private let queue = DispatchQueue(label: "com.wwcache.async", attributes: .concurrent)
| `- error: cannot infer contextual base in reference to member 'concurrent'
22 |
23 | private var cache: [KeyType: ObjectType] = [:] // 快取資料:Key -> Value
[8/9] Compiling WWCacheManager WWCacheManager.swift
/host/spi-builder-workspace/.build/checkouts/WWCacheManager/Sources/WWCacheManager/WWCacheManager.swift:21:25: error: cannot find 'DispatchQueue' in scope
19 | /// - sync: 讀取可並行(多 reader)
20 | /// - barrier: 寫入互斥(單 writer)
21 | private let queue = DispatchQueue(label: "com.wwcache.async", attributes: .concurrent)
| `- error: cannot find 'DispatchQueue' in scope
22 |
23 | private var cache: [KeyType: ObjectType] = [:] // 快取資料:Key -> Value
/host/spi-builder-workspace/.build/checkouts/WWCacheManager/Sources/WWCacheManager/WWCacheManager.swift:21:80: error: cannot infer contextual base in reference to member 'concurrent'
19 | /// - sync: 讀取可並行(多 reader)
20 | /// - barrier: 寫入互斥(單 writer)
21 | private let queue = DispatchQueue(label: "com.wwcache.async", attributes: .concurrent)
| `- error: cannot infer contextual base in reference to member 'concurrent'
22 |
23 | private var cache: [KeyType: ObjectType] = [:] // 快取資料:Key -> Value
/host/spi-builder-workspace/.build/checkouts/WWCacheManager/Sources/WWCacheManager/WWCacheManager.swift:79:29: error: cannot infer contextual base in reference to member 'barrier'
77 | func setValue(_ value: ObjectType, forKey key: KeyType, cost: Int = 0) {
78 |
79 | queue.async(flags: .barrier) { [self] in
| `- error: cannot infer contextual base in reference to member 'barrier'
80 | cache[key] = value
81 | costs[key] = cost
/host/spi-builder-workspace/.build/checkouts/WWCacheManager/Sources/WWCacheManager/WWCacheManager.swift:89:29: error: cannot infer contextual base in reference to member 'barrier'
87 | func removeValue(forKey key: KeyType) {
88 |
89 | queue.async(flags: .barrier) { [self] in
| `- error: cannot infer contextual base in reference to member 'barrier'
90 | cache.removeValue(forKey: key)
91 | costs.removeValue(forKey: key)
/host/spi-builder-workspace/.build/checkouts/WWCacheManager/Sources/WWCacheManager/WWCacheManager.swift:98:29: error: cannot infer contextual base in reference to member 'barrier'
96 | func removeAll() {
97 |
98 | queue.async(flags: .barrier) { [self] in
| `- error: cannot infer contextual base in reference to member 'barrier'
99 | cache.removeAll()
100 | costs.removeAll()
/host/spi-builder-workspace/.build/checkouts/WWCacheManager/Sources/WWCacheManager/WWCacheManager.swift:108:29: error: cannot infer contextual base in reference to member 'barrier'
106 | func setCountLimit(_ limit: Int) {
107 |
108 | queue.async(flags: .barrier) { [self] in
| `- error: cannot infer contextual base in reference to member 'barrier'
109 | _countLimit = limit
110 | }
/host/spi-builder-workspace/.build/checkouts/WWCacheManager/Sources/WWCacheManager/WWCacheManager.swift:117:29: error: cannot infer contextual base in reference to member 'barrier'
115 | func setTotalCostLimit(_ limit: Int) {
116 |
117 | queue.async(flags: .barrier) { [self] in
| `- error: cannot infer contextual base in reference to member 'barrier'
118 | _totalCostLimit = limit
119 | }
[9/9] Compiling WWCacheManager WWCacheValue.swift
/host/spi-builder-workspace/.build/checkouts/WWCacheManager/Sources/WWCacheManager/WWCacheManager.swift:21:25: error: cannot find 'DispatchQueue' in scope
19 | /// - sync: 讀取可並行(多 reader)
20 | /// - barrier: 寫入互斥(單 writer)
21 | private let queue = DispatchQueue(label: "com.wwcache.async", attributes: .concurrent)
| `- error: cannot find 'DispatchQueue' in scope
22 |
23 | private var cache: [KeyType: ObjectType] = [:] // 快取資料:Key -> Value
/host/spi-builder-workspace/.build/checkouts/WWCacheManager/Sources/WWCacheManager/WWCacheManager.swift:21:80: error: cannot infer contextual base in reference to member 'concurrent'
19 | /// - sync: 讀取可並行(多 reader)
20 | /// - barrier: 寫入互斥(單 writer)
21 | private let queue = DispatchQueue(label: "com.wwcache.async", attributes: .concurrent)
| `- error: cannot infer contextual base in reference to member 'concurrent'
22 |
23 | private var cache: [KeyType: ObjectType] = [:] // 快取資料:Key -> Value
BUILD FAILURE 6.2 wasm