The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppVitals, reference 1.4.0 (27818f), with Swift 6.2 for Wasm on 24 Oct 2026 06:04:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/himanshulahoti20/AppVitals.git
Reference: 1.4.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/himanshulahoti20/AppVitals
 * tag               1.4.0      -> FETCH_HEAD
HEAD is now at 27818f2 Version 1.4.0 (#4)
Cloned https://github.com/himanshulahoti20/AppVitals.git
Revision (git rev-parse @):
27818f2c403da04caaf5edfebcae0bcc3538170a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/himanshulahoti20/AppVitals.git at 1.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/himanshulahoti20/AppVitals.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:c2cc4df169d3c45015ced899e997f329be5fc90bdbfce388bd8981e1ea44d639
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-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 AppVitalsEvent.swift
[11/19] Compiling AppVitalsCore AppVitalsNotifications.swift
[12/19] Compiling AppVitalsCore AppVitalsConfiguration.swift
[13/19] Compiling AppVitalsCore AppVitalsCrashReporter.swift
[14/19] Emitting module AppVitalsCore
[15/19] Compiling AppVitalsCore TestRun.swift
[16/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 |
[17/19] Compiling AppVitalsCore CrashContext.swift
[18/19] Compiling AppVitalsCore NetworkTransaction.swift
[19/19] Compiling AppVitalsCore MemorySnapshot.swift
BUILD FAILURE 6.2 wasm