Build Information
Failed to build fory, reference v1.7.7 (04cbe1), with Swift 6.2 for Wasm on 13 Oct 2026 22:07:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apache/fory.git
Reference: v1.7.7
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/apache/fory
* tag v1.7.7 -> FETCH_HEAD
HEAD is now at 04cbe11 prepare release for 1.7.7 RC3
Cloned https://github.com/apache/fory.git
Revision (git rev-parse @):
04cbe11a86a640879e48fa7a8edee81056b37aab
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apache/fory.git at v1.7.7
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/apache/fory.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:c092ff8dc506a2a30e6239b6992792fd4f7dfaaa46cac3b3c48d8fe35e954282
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80500] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.01s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (5.21s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_noble_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/600.0.1/swift-6.2-RELEASE-MacroSupport-ubuntu_noble_x86_64.tar.gz (0.18s)
Building for debugging...
[0/11] Write sources
[3/11] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling ForyMacro ForyObjectMacroPrimitiveFastPath.swift
[6/15] Compiling ForyMacro ForyObjectMacroReadGeneration.swift
[7/15] Emitting module ForyMacro
[8/15] Compiling ForyMacro ForyObjectMacro.swift
[9/16] Wrapping AST for ForyMacro for debugging
[10/16] Write Objects.LinkFileList
[11/16] Linking ForyMacro-tool
[13/43] Compiling Fory TypeMeta.swift
[14/43] Compiling Fory TypeResolver.swift
[15/43] Compiling Fory UnknownCase.swift
[16/46] Compiling Fory FieldSkipper.swift
[17/46] Compiling Fory FlatMap.swift
[18/46] Compiling Fory Fory.swift
[19/46] Compiling Fory ForyError.swift
[20/46] Compiling Fory DateTimeSerializers.swift
[21/46] Compiling Fory Decimal.swift
[22/46] Compiling Fory DynamicSerializer.swift
[23/46] Compiling Fory FieldCodecs.swift
[24/46] Compiling Fory OptionalSerializer.swift
[25/46] Compiling Fory PrimitiveSerializers.swift
[26/46] Compiling Fory ReadContext.swift
[27/46] Compiling Fory RefResolver.swift
[28/46] Compiling Fory SchemaHash.swift
[29/46] Compiling Fory Serializer.swift
[30/46] Compiling Fory TypeId.swift
[31/46] Compiling Fory ForyFlags.swift
[32/46] Compiling Fory MacroDeclarations.swift
[33/46] Compiling Fory MetaString.swift
[34/46] Compiling Fory MurmurHash3.swift
[35/46] Compiling Fory ByteBuffer.swift
[36/46] Compiling Fory CollectionSerializers.swift
[37/46] Compiling Fory CollectionUtil.swift
[38/46] Compiling Fory CompatibleScalarConversion.swift
[39/46] Emitting module Fory
[40/46] Compiling Fory UnknownCaseSerializer.swift
[41/46] Compiling Fory UnsafeUtil.swift
[42/46] Compiling Fory WriteContext.swift
[43/47] Wrapping AST for Fory for debugging
[45/49] Emitting module ForyXlangTests
[46/49] Compiling ForyXlangTests main.swift
/host/spi-builder-workspace/swift/Tests/ForyXlangTests/main.swift:1298:54: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
1296 |
1297 | let rewritten = try rewritePayload(caseName: caseName, bytes: bytes)
1298 | try Data(rewritten).write(to: dataURL, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
1299 | }
1300 |
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 |
BUILD FAILURE 6.2 wasm