The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-json-schema, reference v0.0.4 (105cfc), with Swift 6.2 for Wasm on 4 Jul 2025 14:54:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/niscy-eudiw/swift-json-schema.git
Reference: v0.0.4
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/niscy-eudiw/swift-json-schema
 * tag               v0.0.4     -> FETCH_HEAD
HEAD is now at 105cfcd [fix] updated package name
Cloned https://github.com/niscy-eudiw/swift-json-schema.git
Revision (git rev-parse @):
105cfcd41cf83f264f23ed36dc11191dea45b65f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/niscy-eudiw/swift-json-schema.git at v0.0.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/niscy-eudiw/swift-json-schema.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-syntax
[1/2094] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.44s)
[1/14685] Fetching swift-snapshot-testing
[589/85863] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.93s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.38s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (9.79s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.4 (0.42s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.35s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.77s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.75s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (1.23s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3421] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.95s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.40s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
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/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.4
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
warning: 'spi-builder-workspace': Invalid Resource 'JSON-Schema-Test-Suite': File not found.
warning: 'spi-builder-workspace': dependency 'swift-syntax' is not used by any target
warning: 'spi-builder-workspace': dependency 'swift-snapshot-testing' is not used by any target
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/12] Copying schema.json
[2/12] Copying validation.json
[2/12] Copying unevaluated.json
[5/12] Copying format-annotation.json
[6/12] Copying content.json
[7/12] Copying applicator.json
[8/12] Write sources
[9/12] Copying meta-data.json
[10/12] Copying core.json
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/40] Compiling SwiftJSONSchema Annotation.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[14/40] Compiling SwiftJSONSchema AnnotationContainer.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[15/40] Compiling SwiftJSONSchema JSONType.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[16/40] Compiling SwiftJSONSchema Dialect.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[17/43] Compiling SwiftJSONSchema SchemaIssue.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[18/43] Compiling SwiftJSONSchema ValidationIssue.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[19/43] Compiling SwiftJSONSchema ValidatableSchema.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[20/43] Compiling SwiftJSONSchema JSONValue+ExpressibleByLiteral.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[21/43] Compiling SwiftJSONSchema JSONValue.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[22/43] Compiling SwiftJSONSchema Keyword.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[23/43] Compiling SwiftJSONSchema Keywords+Annotation.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[24/43] Compiling SwiftJSONSchema ValidationLocation.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[25/43] Compiling SwiftJSONSchema ValidationResult.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[26/43] Compiling SwiftJSONSchema resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[27/43] Compiling SwiftJSONSchema Schema+Codable.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/43] Compiling SwiftJSONSchema Schema+Equatable.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[29/43] Compiling SwiftJSONSchema Schema.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[30/43] Compiling SwiftJSONSchema Context.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[31/43] Compiling SwiftJSONSchema BuiltinValidators.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[32/43] Compiling SwiftJSONSchema FormatValidator.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[33/43] Compiling SwiftJSONSchema Array+JSONValue.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[34/43] Compiling SwiftJSONSchema JSONValue+Codable.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[35/43] Compiling SwiftJSONSchema Keywords+Applicator.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[36/43] Compiling SwiftJSONSchema Keywords+Assertion.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[37/43] Compiling SwiftJSONSchema Keywords+Identifier.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[38/43] Compiling SwiftJSONSchema Keywords+Metadata.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[39/43] Compiling SwiftJSONSchema Keywords+Reference.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[40/43] Compiling SwiftJSONSchema Keywords+Reserved.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[41/43] Compiling SwiftJSONSchema Keywords.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[42/43] Compiling SwiftJSONSchema JSONPointer.swift
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[43/43] Emitting module SwiftJSONSchema
/host/spi-builder-workspace/Sources/SwiftJSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
BUILD FAILURE 6.2 wasm