The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build PatchouliJSON, reference 0.9.5 (89b9b1), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 17:40:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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: 0.9.5
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
 * tag               0.9.5      -> FETCH_HEAD
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 0.9.5
========================================
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-3":/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
Fetching https://github.com/alexhunsley/patchouli-core
[1/614] Fetching swift-jsonpatch
[44/1071] Fetching swift-jsonpatch, patchouli-core
Fetched https://github.com/alexhunsley/patchouli-core from cache (0.32s)
Fetched https://github.com/raymccrae/swift-jsonpatch.git from cache (0.33s)
Computing version for https://github.com/alexhunsley/patchouli-core
Computed https://github.com/alexhunsley/patchouli-core at 0.9.5 (0.65s)
Computing version for https://github.com/raymccrae/swift-jsonpatch.git
Computed https://github.com/raymccrae/swift-jsonpatch.git at 1.0.6 (2.66s)
Creating working copy for https://github.com/alexhunsley/patchouli-core
Working copy of https://github.com/alexhunsley/patchouli-core resolved at 0.9.5
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/22] 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
[6/23] 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
[7/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
[8/24] 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
[9/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
[10/24] 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
[11/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
[12/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
[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 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
[15/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
[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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/24] 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
[18/24] Compiling PatchouliCore AddressedPatchItemsBuilder.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
[19/24] Compiling PatchouliCore DSL.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/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
/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/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 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
[24/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
BUILD FAILURE 6.2 wasm