The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwaggerParser, reference 0.6.2 (ed87dd), with Swift 6.2 for Wasm on 17 Jun 2025 19:55:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/attilathefun/swaggerparser.git
Reference: 0.6.2
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/attilathefun/swaggerparser
 * tag               0.6.2      -> FETCH_HEAD
HEAD is now at ed87dda Fix metadata example
Cloned https://github.com/attilathefun/swaggerparser.git
Revision (git rev-parse @):
ed87dda717392ce07eb0cdc706596e0a1180581f
SUCCESS checkout https://github.com/attilathefun/swaggerparser.git at 0.6.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/attilathefun/swaggerparser.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
[3/45] Compiling SwaggerParser Schema.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[4/45] Compiling SwaggerParser SchemaType.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[5/45] Compiling SwaggerParser SecuritySchema.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[6/45] Compiling SwaggerParser StringFormat.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[7/45] Compiling SwaggerParser StringItem.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[8/45] Compiling SwaggerParser APIKeySchema.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[9/45] Compiling SwaggerParser AllOfSchema.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[10/45] Compiling SwaggerParser ArrayItem.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[11/45] Compiling SwaggerParser ArrayMetadata.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[12/45] Compiling SwaggerParser ArraySchema.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[13/45] Compiling SwaggerParser Builder.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[14/50] Compiling SwaggerParser Path.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[15/50] Compiling SwaggerParser Pointer.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[16/50] Compiling SwaggerParser Reference.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[17/50] Compiling SwaggerParser ReferenceResolver.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[18/50] Compiling SwaggerParser Response.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[19/50] Compiling SwaggerParser Contact.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[20/50] Compiling SwaggerParser Decodable+Extensions.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[21/50] Compiling SwaggerParser Either.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[22/50] Compiling SwaggerParser Enums.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[23/50] Compiling SwaggerParser Errors.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[24/50] Compiling SwaggerParser ExternalDocumentation.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[25/50] Compiling SwaggerParser FixedParameterFields.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[26/50] Compiling SwaggerParser Information.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[27/50] Compiling SwaggerParser IntegerItem.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[28/50] Compiling SwaggerParser Items.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[29/50] Compiling SwaggerParser ItemsType.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[30/50] Compiling SwaggerParser KeyedDecodingContainer+Extensions.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/50] Emitting module SwaggerParser
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[32/50] Compiling SwaggerParser ObjectMetadata.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[33/50] Compiling SwaggerParser ObjectSchema.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[34/50] Compiling SwaggerParser OneOrMany.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[35/50] Compiling SwaggerParser Operation.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[36/50] Compiling SwaggerParser Parameter.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[37/50] Compiling SwaggerParser KeyedEncodingContainer+Extensions.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[38/50] Compiling SwaggerParser License.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[39/50] Compiling SwaggerParser Metadata.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[40/50] Compiling SwaggerParser NumberItem.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[41/50] Compiling SwaggerParser NumericMetadata.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[42/50] Compiling SwaggerParser Oauth2Schema.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[43/50] Compiling SwaggerParser StringMetadata.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[44/50] Compiling SwaggerParser Structure.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[45/50] Compiling SwaggerParser Swagger.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[46/50] Compiling SwaggerParser Tag.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
[47/50] Compiling SwaggerParser Version.swift
/host/spi-builder-workspace/Sources/Contact.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 |
 3 | public struct Contact {
BUILD FAILURE 6.2 wasm