The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppVitals, reference main (10cff1), with Swift 6.3 for Wasm on 24 Oct 2026 05:57:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/himanshulahoti20/AppVitals.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/himanshulahoti20/AppVitals
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 10cff14 1.4.0 (#5)
Cloned https://github.com/himanshulahoti20/AppVitals.git
Revision (git rev-parse @):
10cff1489b4a0bf0a9f1788c35d91b5f6468ec36
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/himanshulahoti20/AppVitals.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/himanshulahoti20/AppVitals.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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:eea66feda95ad8894091082dbcb77ec1fc917891d37888fd1938b0b68455d992
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
[9/18] Compiling AppVitalsCore RingBuffer.swift
[10/19] Compiling AppVitalsCore TestRun.swift
[11/19] Compiling AppVitalsCore CrashContext.swift
[12/19] Compiling AppVitalsCore TestReport.swift
/host/spi-builder-workspace/Sources/AppVitalsCore/TestReport.swift:106:62: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
104 |         let text = directory.appendingPathComponent(base + ".txt")
105 |         let json = directory.appendingPathComponent(base + ".json")
106 |         try Data(plainText().utf8).write(to: text, options: .atomic)
    |                                                              `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
107 |         try jsonData().write(to: json, options: .atomic)
108 |         return [text, json]
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 |
/host/spi-builder-workspace/Sources/AppVitalsCore/TestReport.swift:107:50: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
105 |         let json = directory.appendingPathComponent(base + ".json")
106 |         try Data(plainText().utf8).write(to: text, options: .atomic)
107 |         try jsonData().write(to: json, options: .atomic)
    |                                                  `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
108 |         return [text, json]
109 |     }
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 |
[13/19] Compiling AppVitalsCore MemorySnapshot.swift
[14/19] Compiling AppVitalsCore NetworkTransaction.swift
[15/19] Compiling AppVitalsCore AppVitalsEvent.swift
[16/19] Compiling AppVitalsCore AppVitalsNotifications.swift
[17/19] Compiling AppVitalsCore AppVitalsConfiguration.swift
[18/19] Compiling AppVitalsCore AppVitalsCrashReporter.swift
[19/19] Emitting module AppVitalsCore
BUILD FAILURE 6.3 wasm