The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Aksara, reference main (8447b4), with Swift 6.3 for Wasm on 4 Oct 2026 18:54:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build 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.3
Building package at path:  $PWD
https://github.com/iQbalADR/aksara.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/14] 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 |
[5/14] 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 |
[6/14] Emitting module Aksara
[7/15] Compiling Aksara TranslationParser.swift
[8/15] Compiling Aksara TranslationTable.swift
[9/15] Compiling Aksara PluralRules.swift
[10/15] Compiling Aksara SchemaValidator.swift
[11/15] Compiling Aksara Localizer.swift
/host/spi-builder-workspace/ios/Sources/Aksara/Localizer.swift:208:49: error: no exact matches in call to instance method 'post'
206 |
207 |     private func postChange() {
208 |         let post = { NotificationCenter.default.post(name: .aksaraDidChange, object: self) }
    |                                                 `- error: no exact matches in call to instance method 'post'
209 |         if Thread.isMainThread {
210 |             post()
FoundationEssentials.NotificationCenter.post:2:13: note: incorrect labels for candidate (have: '(name:object:)', expected: '(_:subject:)')
1 | class NotificationCenter {
2 | public func post<Message>(_ message: Message, subject: Message.Subject) where Message : NotificationCenter.AsyncMessage, Message.Subject : AnyObject}
  |             `- note: incorrect labels for candidate (have: '(name:object:)', expected: '(_:subject:)')
3 |
FoundationEssentials.NotificationCenter.post:2:13: note: candidate '(_) -> ()' has 2 parameters, but context '(Message) -> ()' has 1
1 | class NotificationCenter {
2 | public func post<Message>(_ message: Message) where Message : NotificationCenter.AsyncMessage}
  |             `- note: candidate '(_) -> ()' has 2 parameters, but context '(Message) -> ()' has 1
3 |
FoundationEssentials.NotificationCenter.post:2:24: note: incorrect labels for candidate (have: '(name:object:)', expected: '(_:subject:)')
1 | class NotificationCenter {
2 | @MainActor public func post<Message>(_ message: Message, subject: Message.Subject) where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |                        `- note: incorrect labels for candidate (have: '(name:object:)', expected: '(_:subject:)')
3 |
FoundationEssentials.NotificationCenter.post:2:24: note: candidate '@MainActor (_) -> ()' has 2 parameters, but context '@MainActor (Message) -> ()' has 1
1 | class NotificationCenter {
2 | @MainActor public func post<Message>(_ message: Message) where Message : NotificationCenter.MainActorMessage}
  |                        `- note: candidate '@MainActor (_) -> ()' has 2 parameters, but context '@MainActor (Message) -> ()' has 1
3 |
/host/spi-builder-workspace/ios/Sources/Aksara/Localizer.swift:208:61: error: reference to member 'aksaraDidChange' cannot be resolved without a contextual type
206 |
207 |     private func postChange() {
208 |         let post = { NotificationCenter.default.post(name: .aksaraDidChange, object: self) }
    |                                                             `- error: reference to member 'aksaraDidChange' cannot be resolved without a contextual type
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:49: error: no exact matches in call to instance method 'post'
206 |
207 |     private func postChange() {
208 |         let post = { NotificationCenter.default.post(name: .aksaraDidChange, object: self) }
    |                                                 `- error: no exact matches in call to instance method 'post'
209 |         if Thread.isMainThread {
210 |             post()
FoundationEssentials.NotificationCenter.post:2:13: note: incorrect labels for candidate (have: '(name:object:)', expected: '(_:subject:)')
1 | class NotificationCenter {
2 | public func post<Message>(_ message: Message, subject: Message.Subject) where Message : NotificationCenter.AsyncMessage, Message.Subject : AnyObject}
  |             `- note: incorrect labels for candidate (have: '(name:object:)', expected: '(_:subject:)')
3 |
FoundationEssentials.NotificationCenter.post:2:13: note: candidate '(_) -> ()' has 2 parameters, but context '(Message) -> ()' has 1
1 | class NotificationCenter {
2 | public func post<Message>(_ message: Message) where Message : NotificationCenter.AsyncMessage}
  |             `- note: candidate '(_) -> ()' has 2 parameters, but context '(Message) -> ()' has 1
3 |
FoundationEssentials.NotificationCenter.post:2:24: note: incorrect labels for candidate (have: '(name:object:)', expected: '(_:subject:)')
1 | class NotificationCenter {
2 | @MainActor public func post<Message>(_ message: Message, subject: Message.Subject) where Message : NotificationCenter.MainActorMessage, Message.Subject : AnyObject}
  |                        `- note: incorrect labels for candidate (have: '(name:object:)', expected: '(_:subject:)')
3 |
FoundationEssentials.NotificationCenter.post:2:24: note: candidate '@MainActor (_) -> ()' has 2 parameters, but context '@MainActor (Message) -> ()' has 1
1 | class NotificationCenter {
2 | @MainActor public func post<Message>(_ message: Message) where Message : NotificationCenter.MainActorMessage}
  |                        `- note: candidate '@MainActor (_) -> ()' has 2 parameters, but context '@MainActor (Message) -> ()' has 1
3 |
/host/spi-builder-workspace/ios/Sources/Aksara/Localizer.swift:208:61: error: reference to member 'aksaraDidChange' cannot be resolved without a contextual type
206 |
207 |     private func postChange() {
208 |         let post = { NotificationCenter.default.post(name: .aksaraDidChange, object: self) }
    |                                                             `- error: reference to member 'aksaraDidChange' cannot be resolved without a contextual type
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 Interpolator.swift
[14/15] Compiling Aksara LocalizationConfig.swift
[15/15] Compiling Aksara PluralResolver.swift
BUILD FAILURE 6.3 wasm