Build Information
Failed to build Aksara, reference main (8447b4), with Swift 6.2 for Wasm on 4 Oct 2026 18:53:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iQbalADR/aksara.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/iQbalADR/aksara
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8447b42 build(deps): bump the github-actions group across 1 directory with 5 updates (#25)
Cloned https://github.com/iQbalADR/aksara.git
Revision (git rev-parse @):
8447b4218a79806bcf1e50b718a55feaaf551669
SUCCESS checkout https://github.com/iQbalADR/aksara.git at main
========================================
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-54344844-1":/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:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
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] Emitting module Aksara
[5/15] Compiling Aksara SchemaValidator.swift
[6/15] Compiling Aksara TranslationParser.swift
[7/15] Compiling Aksara PluralRules.swift
[8/15] Compiling Aksara PluralResolver.swift
[9/15] Compiling Aksara Interpolator.swift
[10/15] Compiling Aksara LocalizationConfig.swift
[11/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 | }
[12/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 | }
[13/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 |
[14/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 |
[15/15] Compiling Aksara TranslationTable.swift
BUILD FAILURE 6.2 wasm