The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwaggerParser, reference 0.6.4 (c0eb70), with Swift 6.2 for Wasm on 21 Jun 2025 14:47:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/knovichikhin/SwaggerParser.git
Reference: 0.6.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/knovichikhin/SwaggerParser
 * tag               0.6.4      -> FETCH_HEAD
HEAD is now at c0eb704 Fix version decoding for Swift 5.2.
Cloned https://github.com/knovichikhin/SwaggerParser.git
Revision (git rev-parse @):
c0eb70485c59a9d7dd6765dcd303b49fdb3040ee
SUCCESS checkout https://github.com/knovichikhin/SwaggerParser.git at 0.6.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/knovichikhin/SwaggerParser.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/46] 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 {
[4/46] 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 {
[5/46] 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 {
[6/46] 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 {
[7/46] 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 {
[8/51] 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/51] 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/51] 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/51] 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/51] 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/51] 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/51] 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 {
[15/51] 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 {
[16/51] 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 {
[17/51] 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 {
[18/51] 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 {
[19/51] 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 {
[20/51] 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 {
[21/51] 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 {
[22/51] Compiling SwaggerParser OneOfSchema.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/51] 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 {
[24/51] 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 {
[25/51] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[26/51] 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 {
[27/51] 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 {
[28/51] 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 {
[29/51] 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 {
[30/51] 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 {
[31/51] 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 {
[32/51] 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 {
[33/51] 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 {
[34/51] 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 {
[35/51] 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 {
[36/51] 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 {
[37/51] 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 {
[38/51] 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 {
[39/51] 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 {
[40/51] 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 {
[41/51] 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 {
[42/51] 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 {
[43/51] 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 {
[44/51] 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 {
[45/51] 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 {
[46/51] 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 {
[47/51] 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 {
[48/51] 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