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 JSONSchema, reference 0.6.0 (d14de4), with Swift 6.2 (beta) for Wasm on 18 Jun 2025 22:26:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/kylef/JSONSchema.swift.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/kylef/JSONSchema.swift
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at d14de4b release: 0.6.0
Submodule path 'Tests/Cases': checked out '77f1d10cbb23b2f4d2bbf50ca1d5cf3804cb2ce4'
Submodule 'Tests/Cases' (https://github.com/json-schema/JSON-Schema-Test-Suite) registered for path 'Tests/Cases'
Cloning into '/host/spi-builder-workspace/Tests/Cases'...
Cloned https://github.com/kylef/JSONSchema.swift.git
Revision (git rev-parse @):
d14de4b2d9205068c9db89c00d097ca43c897000
SUCCESS checkout https://github.com/kylef/JSONSchema.swift.git at 0.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kylef/JSONSchema.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/kylef/PathKit.git
[1/1411] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.29s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.72s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.26s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (2.98s)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/37] Emitting module JSONSchema
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[4/41] Compiling JSONSchema oneOf.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[5/41] Compiling JSONSchema patternProperties.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[6/41] Compiling JSONSchema properties.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[7/41] Compiling JSONSchema propertyNames.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[8/41] Compiling JSONSchema ref.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[9/41] Compiling JSONSchema additionalItems.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[10/41] Compiling JSONSchema additionalProperties.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[11/41] Compiling JSONSchema allOf.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[12/41] Compiling JSONSchema anyOf.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[13/41] Compiling JSONSchema contains.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[14/41] Compiling JSONSchema dependencies.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[15/41] Compiling JSONSchema dependentSchemas.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[16/41] Compiling JSONSchema if.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[17/41] Compiling JSONSchema items.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[18/41] Compiling JSONSchema not.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[19/41] Compiling JSONSchema ValidationResult.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[20/41] Compiling JSONSchema Validator.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[21/41] Compiling JSONSchema Validators.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[22/41] Compiling JSONSchema format.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[23/41] Compiling JSONSchema multipleOf.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[24/41] Compiling JSONSchema pattern.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[25/41] Compiling JSONSchema required.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[26/41] Compiling JSONSchema uniqueItems.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[27/41] Compiling JSONSchema JSONPointer.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[28/41] Compiling JSONSchema JSONSchema.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[29/41] Compiling JSONSchema RefResolver.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[30/41] Compiling JSONSchema const.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[31/41] Compiling JSONSchema dependentRequired.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[32/41] Compiling JSONSchema enum.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[33/41] Compiling JSONSchema minMaxItems.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[34/41] Compiling JSONSchema minMaxLength.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[35/41] Compiling JSONSchema minMaxNumber.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[36/41] Compiling JSONSchema minMaxProperties.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[37/41] Compiling JSONSchema Draft201909Validator.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[38/41] Compiling JSONSchema Draft202012Validator.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[39/41] Compiling JSONSchema Draft4Validator.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[40/41] Compiling JSONSchema Draft6Validator.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
[41/41] Compiling JSONSchema Draft7Validator.swift
/host/spi-builder-workspace/Sources/Applicators/additionalProperties.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 |
BUILD FAILURE 6.2 wasm