Build Information
Failed to build Aksara, reference v0.2.0 (e3bd0e), with Swift 6.2 for Wasm on 4 Sep 2026 23:42:11 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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iQbalADR/aksara.git
Reference: v0.2.0
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/iQbalADR/aksara
* tag v0.2.0 -> FETCH_HEAD
HEAD is now at e3bd0ee Release 0.2.0
Cloned https://github.com/iQbalADR/aksara.git
Revision (git rev-parse @):
e3bd0ee1238df4a0e97da326cdde8dd35e11cf7f
SUCCESS checkout https://github.com/iQbalADR/aksara.git at v0.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/iQbalADR/aksara.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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] Compiling Aksara TranslationParser.swift
[5/15] Emitting module Aksara
[6/15] Compiling Aksara DiskCache.swift
/host/spi-builder-workspace/ios/Sources/Aksara/DiskCache.swift:33:60: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
31 |
32 | public func saveBundle(_ data: Data, language: String) {
33 | try? data.write(to: bundleURL(language), options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
34 | }
35 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[7/15] Compiling Aksara Flattener.swift
/host/spi-builder-workspace/ios/Sources/Aksara/DiskCache.swift:33:60: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
31 |
32 | public func saveBundle(_ data: Data, language: String) {
33 | try? data.write(to: bundleURL(language), options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
34 | }
35 |
FoundationEssentials.Data.WritingOptions.atomic:4:23: note: 'atomic' has been explicitly marked unavailable here
2 | struct WritingOptions {
3 | @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
4 | public static let atomic: Data.WritingOptions }
| `- note: 'atomic' has been explicitly marked unavailable here
5 | }
6 |
[8/15] Compiling Aksara Interpolator.swift
[9/15] Compiling Aksara LocalizationConfig.swift
[10/15] Compiling Aksara SchemaValidator.swift
[11/15] Compiling Aksara PluralResolver.swift
[12/15] Compiling Aksara Localizer.swift
/host/spi-builder-workspace/ios/Sources/Aksara/Localizer.swift:208:22: error: cannot find 'NotificationCenter' in scope
206 |
207 | private func postChange() {
208 | let post = { NotificationCenter.default.post(name: .aksaraDidChange, object: self) }
| `- error: cannot find 'NotificationCenter' in scope
209 | if Thread.isMainThread {
210 | post()
/host/spi-builder-workspace/ios/Sources/Aksara/Localizer.swift:208:61: error: cannot infer contextual base in reference to member 'aksaraDidChange'
206 |
207 | private func postChange() {
208 | let post = { NotificationCenter.default.post(name: .aksaraDidChange, object: self) }
| `- error: cannot infer contextual base in reference to member 'aksaraDidChange'
209 | if Thread.isMainThread {
210 | post()
/host/spi-builder-workspace/ios/Sources/Aksara/Localizer.swift:209:12: error: cannot find 'Thread' in scope
207 | private func postChange() {
208 | let post = { NotificationCenter.default.post(name: .aksaraDidChange, object: self) }
209 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
210 | post()
211 | } else {
/host/spi-builder-workspace/ios/Sources/Aksara/Localizer.swift:212:13: error: cannot find 'DispatchQueue' in scope
210 | post()
211 | } else {
212 | DispatchQueue.main.async(execute: post)
| `- error: cannot find 'DispatchQueue' in scope
213 | }
214 | }
[13/15] Compiling Aksara Notifications.swift
/host/spi-builder-workspace/ios/Sources/Aksara/Localizer.swift:208:22: error: cannot find 'NotificationCenter' in scope
206 |
207 | private func postChange() {
208 | let post = { NotificationCenter.default.post(name: .aksaraDidChange, object: self) }
| `- error: cannot find 'NotificationCenter' in scope
209 | if Thread.isMainThread {
210 | post()
/host/spi-builder-workspace/ios/Sources/Aksara/Localizer.swift:208:61: error: cannot infer contextual base in reference to member 'aksaraDidChange'
206 |
207 | private func postChange() {
208 | let post = { NotificationCenter.default.post(name: .aksaraDidChange, object: self) }
| `- error: cannot infer contextual base in reference to member 'aksaraDidChange'
209 | if Thread.isMainThread {
210 | post()
/host/spi-builder-workspace/ios/Sources/Aksara/Localizer.swift:209:12: error: cannot find 'Thread' in scope
207 | private func postChange() {
208 | let post = { NotificationCenter.default.post(name: .aksaraDidChange, object: self) }
209 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
210 | post()
211 | } else {
/host/spi-builder-workspace/ios/Sources/Aksara/Localizer.swift:212:13: error: cannot find 'DispatchQueue' in scope
210 | post()
211 | } else {
212 | DispatchQueue.main.async(execute: post)
| `- error: cannot find 'DispatchQueue' in scope
213 | }
214 | }
[14/15] Compiling Aksara PluralRules.swift
[15/15] Compiling Aksara TranslationTable.swift
BUILD FAILURE 6.2 wasm