Build Information
Failed to build Forked, reference 0.6.0 (63e36c), with Swift 6.3 for Wasm on 18 Apr 2026 23:42:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/drewmccormack/Forked.git
Reference: 0.6.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/drewmccormack/Forked
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at 63e36cb Pass --traits to Android build step in CI.
Cloned https://github.com/drewmccormack/Forked.git
Revision (git rev-parse @):
63e36cb5613db27b401ea3896df310efcf8f93b9
SUCCESS checkout https://github.com/drewmccormack/Forked.git at 0.6.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/drewmccormack/Forked.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.41s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (3.42s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.43s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.05s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/ForkedCloudKit/cloudkit-schema.ckdb
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/11] Write sources
[7/11] Write swift-version-24593BA9C3E375BF.txt
[9/35] Emitting module Forked
[10/37] Compiling ForkedModelMacros VariableDeclSyntaxExtensions.swift
/host/spi-builder-workspace/Sources/ForkedModelMacros/BackedPropertyMacro.swift:1:8: error: no such module 'SwiftSyntax'
1 | import SwiftSyntax
| `- error: no such module 'SwiftSyntax'
2 | import SwiftSyntaxMacros
3 |
[11/37] Compiling ForkedModelMacros StructDeclSyntaxExtensions.swift
/host/spi-builder-workspace/Sources/ForkedModelMacros/BackedPropertyMacro.swift:1:8: error: no such module 'SwiftSyntax'
1 | import SwiftSyntax
| `- error: no such module 'SwiftSyntax'
2 | import SwiftSyntaxMacros
3 |
[12/37] Compiling ForkedModelMacros ForkedModelPlugin.swift
/host/spi-builder-workspace/Sources/ForkedModelMacros/BackedPropertyMacro.swift:1:8: error: no such module 'SwiftSyntax'
1 | import SwiftSyntax
| `- error: no such module 'SwiftSyntax'
2 | import SwiftSyntaxMacros
3 |
[13/37] Compiling ForkedModelMacros MergablePropertyMacro.swift
/host/spi-builder-workspace/Sources/ForkedModelMacros/BackedPropertyMacro.swift:1:8: error: no such module 'SwiftSyntax'
1 | import SwiftSyntax
| `- error: no such module 'SwiftSyntax'
2 | import SwiftSyntaxMacros
3 |
[14/37] Compiling Forked ForkedResource+Merging.swift
[15/37] Compiling Forked ForkedResource+Querying.swift
[16/37] Compiling Forked QuickFork.swift
[17/37] Compiling Forked Repository.swift
[18/37] Compiling Forked Version.swift
[19/37] Compiling Forked VersionedModel.swift
[20/37] Compiling Forked MergeAction.swift
[21/37] Compiling Forked Mergeable.swift
[22/37] Compiling Forked Fork.swift
[23/37] Compiling Forked ForkOccupation.swift
[24/37] Compiling Forked Error.swift
/host/spi-builder-workspace/Sources/Forked/FileRepository.swift:87:71: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
85 | let metadata = VersionMetadata(count: commit.version.count, timestamp: commit.version.timestamp)
86 | let encoder = JSONEncoder()
87 | try encoder.encode(metadata).write(to: metadataURL, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
88 |
89 | // Save content if it's not .none
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/Forked/FileRepository.swift:91:51: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
89 | // Save content if it's not .none
90 | if case .resource(let data) = commit.content {
91 | try data.write(to: dataURL, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
92 | }
93 | }
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 |
[25/37] Compiling Forked FileRepository.swift
/host/spi-builder-workspace/Sources/Forked/FileRepository.swift:87:71: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
85 | let metadata = VersionMetadata(count: commit.version.count, timestamp: commit.version.timestamp)
86 | let encoder = JSONEncoder()
87 | try encoder.encode(metadata).write(to: metadataURL, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
88 |
89 | // Save content if it's not .none
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/Forked/FileRepository.swift:91:51: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
89 | // Save content if it's not .none
90 | if case .resource(let data) = commit.content {
91 | try data.write(to: dataURL, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
92 | }
93 | }
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 |
[26/37] Compiling Forked AtomicRepository.swift
/host/spi-builder-workspace/Sources/Forked/AtomicRepository.swift:81:55: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
79 | public func persist() throws {
80 | let data = try JSONEncoder().encode(self)
81 | try data.write(to: managedFileURL!, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
82 | }
83 |
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 |
[27/37] Compiling Forked Commit.swift
/host/spi-builder-workspace/Sources/Forked/AtomicRepository.swift:81:55: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
79 | public func persist() throws {
80 | let data = try JSONEncoder().encode(self)
81 | try data.write(to: managedFileURL!, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
82 | }
83 |
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 |
[28/37] Compiling Forked ConflictingCommits.swift
/host/spi-builder-workspace/Sources/Forked/AtomicRepository.swift:81:55: error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
79 | public func persist() throws {
80 | let data = try JSONEncoder().encode(self)
81 | try data.write(to: managedFileURL!, options: .atomic)
| `- error: 'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported
82 | }
83 |
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 |
[29/37] Compiling Forked ForkedResource+Updating.swift
/host/spi-builder-workspace/Sources/Forked/ForkedResource.swift:85:31: warning: capture of non-Sendable type 'RepositoryType.Type' in an isolated closure [#SendableMetatypes]
83 | continuations[id] = continuation
84 | continuation.onTermination = { @Sendable [weak self] _ in
85 | guard let self else { return }
| `- warning: capture of non-Sendable type 'RepositoryType.Type' in an isolated closure [#SendableMetatypes]
86 | serialize {
87 | continuations[id] = nil
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[30/37] Compiling Forked ForkedResource.swift
/host/spi-builder-workspace/Sources/Forked/ForkedResource.swift:85:31: warning: capture of non-Sendable type 'RepositoryType.Type' in an isolated closure [#SendableMetatypes]
83 | continuations[id] = continuation
84 | continuation.onTermination = { @Sendable [weak self] _ in
85 | guard let self else { return }
| `- warning: capture of non-Sendable type 'RepositoryType.Type' in an isolated closure [#SendableMetatypes]
86 | serialize {
87 | continuations[id] = nil
[#SendableMetatypes]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-metatypes>
[31/37] Compiling ForkedModelMacros ForkedModelError.swift
/host/spi-builder-workspace/Sources/ForkedModelMacros/BackedPropertyMacro.swift:1:8: error: no such module 'SwiftSyntax'
1 | import SwiftSyntax
| `- error: no such module 'SwiftSyntax'
2 | import SwiftSyntaxMacros
3 |
BUILD FAILURE 6.3 wasm