Build Information
Failed to build PatchouliJSON, reference main (89b9b1
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 17:47:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexhunsley/patchouli-jsonpatch.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/alexhunsley/patchouli-jsonpatch
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 89b9b1d Update README.md
Cloned https://github.com/alexhunsley/patchouli-jsonpatch.git
Revision (git rev-parse @):
89b9b1d595780f580c4636db082798cd08cc24d1
SUCCESS checkout https://github.com/alexhunsley/patchouli-jsonpatch.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/alexhunsley/patchouli-jsonpatch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/raymccrae/swift-jsonpatch.git
[1/614] Fetching swift-jsonpatch
Fetching https://github.com/alexhunsley/patchouli-core
Fetched https://github.com/raymccrae/swift-jsonpatch.git from cache (0.47s)
[1/457] Fetching patchouli-core
Fetched https://github.com/alexhunsley/patchouli-core from cache (0.27s)
Computing version for https://github.com/alexhunsley/patchouli-core
Computed https://github.com/alexhunsley/patchouli-core at 0.9.5 (1.15s)
Computing version for https://github.com/raymccrae/swift-jsonpatch.git
Computed https://github.com/raymccrae/swift-jsonpatch.git at 1.0.6 (3.29s)
Creating working copy for https://github.com/raymccrae/swift-jsonpatch.git
Working copy of https://github.com/raymccrae/swift-jsonpatch.git resolved at 1.0.6
Creating working copy for https://github.com/alexhunsley/patchouli-core
Working copy of https://github.com/alexhunsley/patchouli-core resolved at 0.9.5
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/22] Emitting module JSONPatch
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | /// JSON Element holds a reference an element of the parsed JSON structure
[6/23] Compiling JSONPatch JSONPointer.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | /// JSON Element holds a reference an element of the parsed JSON structure
[7/23] Compiling PatchouliCore DSL+StringPatch.swift
/host/spi-builder-workspace/.build/checkouts/patchouli-core/Sources/AddressedPatchItemsBuilder.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | @resultBuilder
[8/24] Compiling JSONPatch JSONPatch.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | /// JSON Element holds a reference an element of the parsed JSON structure
[9/24] Compiling JSONPatch JSONPatchCodable.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | /// JSON Element holds a reference an element of the parsed JSON structure
[10/24] Compiling PatchouliCore StringPatchType.swift
/host/spi-builder-workspace/.build/checkouts/patchouli-core/Sources/AddressedPatchItemsBuilder.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | @resultBuilder
[11/24] Compiling PatchouliCore PatchedContent+Reduce.swift
/host/spi-builder-workspace/.build/checkouts/patchouli-core/Sources/AddressedPatchItemsBuilder.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | @resultBuilder
[12/24] Compiling PatchouliCore PatchouliError.swift
/host/spi-builder-workspace/.build/checkouts/patchouli-core/Sources/AddressedPatchItemsBuilder.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | @resultBuilder
[13/24] Compiling PatchouliCore String+Util.swift
/host/spi-builder-workspace/.build/checkouts/patchouli-core/Sources/AddressedPatchItemsBuilder.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | @resultBuilder
[14/24] Compiling JSONPatch NSDictionary+DeepCopy.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | /// JSON Element holds a reference an element of the parsed JSON structure
[15/24] Compiling JSONPatch JSONError.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | /// JSON Element holds a reference an element of the parsed JSON structure
[16/24] Compiling JSONPatch JSONPatchGenerator.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | /// JSON Element holds a reference an element of the parsed JSON structure
[17/24] Compiling JSONPatch NSArray+DeepCopy.swift
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | /// JSON Element holds a reference an element of the parsed JSON structure
[18/24] Compiling JSONPatch JSONElement.swift
/host/spi-builder-workspace/.build/checkouts/patchouli-core/Sources/AddressedPatchItemsBuilder.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | @resultBuilder
[19/24] Compiling JSONPatch JSONEquality.swift
/host/spi-builder-workspace/.build/checkouts/patchouli-core/Sources/AddressedPatchItemsBuilder.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | @resultBuilder
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | /// JSON Element holds a reference an element of the parsed JSON structure
/host/spi-builder-workspace/.build/checkouts/swift-jsonpatch/Sources/JSONPatch/JSONElement.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
| `- error: no such module 'Foundation'
22 |
23 | /// JSON Element holds a reference an element of the parsed JSON structure
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/24] Emitting module PatchouliCore
/host/spi-builder-workspace/.build/checkouts/patchouli-core/Sources/AddressedPatchItemsBuilder.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | @resultBuilder
[23/24] Compiling PatchouliCore PatchType.swift
/host/spi-builder-workspace/.build/checkouts/patchouli-core/Sources/AddressedPatchItemsBuilder.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | @resultBuilder
[24/24] Compiling PatchouliCore Patchable.swift
/host/spi-builder-workspace/.build/checkouts/patchouli-core/Sources/AddressedPatchItemsBuilder.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 |
10 | @resultBuilder
BUILD FAILURE 6.2 wasm