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 swift-openapi-generator, reference 1.10.2 (bb9a13), with Swift 6.2 (beta) for Wasm on 31 Jul 2025 14:21:56 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/apple/swift-openapi-generator.git
Reference: 1.10.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/apple/swift-openapi-generator
 * tag               1.10.2     -> FETCH_HEAD
HEAD is now at bb9a135 Fix command plugin when run on targets with dependencies (#801)
Cloned https://github.com/apple/swift-openapi-generator.git
Revision (git rev-parse @):
bb9a13596af11db9bb83389295d91cd335810fe8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-openapi-generator.git at 1.10.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-openapi-generator.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
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-http-types
[1/917] Fetching swift-http-types
[588/6615] Fetching swift-http-types, swift-openapi-runtime
Fetched https://github.com/apple/swift-http-types from cache (0.36s)
[4160/5698] Fetching swift-openapi-runtime
Fetching https://github.com/apple/swift-algorithms
[5699/16690] Fetching swift-openapi-runtime, yams
[6909/33606] Fetching swift-openapi-runtime, yams, swift-collections
[8025/49185] Fetching swift-openapi-runtime, yams, swift-collections, swift-argument-parser
[8337/55144] Fetching swift-openapi-runtime, yams, swift-collections, swift-argument-parser, swift-algorithms
[11447/144906] Fetching swift-openapi-runtime, yams, swift-collections, swift-argument-parser, swift-algorithms, openapikit
Fetched https://github.com/apple/swift-algorithms from cache (0.71s)
[30140/138947] Fetching swift-openapi-runtime, yams, swift-collections, swift-argument-parser, openapikit
Fetched https://github.com/jpsim/Yams from cache (2.67s)
[88460/127955] Fetching swift-openapi-runtime, swift-collections, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-openapi-runtime from cache (6.64s)
Fetched https://github.com/apple/swift-argument-parser from cache (6.65s)
Fetched https://github.com/apple/swift-collections from cache (6.68s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (6.74s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.8.2 (7.24s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.47s)
Fetching https://github.com/apple/swift-numerics.git
[1/5769] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.49s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.97s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.1 (0.69s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.40s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.6.0 (0.55s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.2 (0.56s)
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.6.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.0.2
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/78] Write sources
[21/78] Compiling _NumericsShims _NumericsShims.c
[21/78] Write sources
[25/78] Compiling _NumericsShims _NumericsShims.c
[25/78] Write sources
[32/78] Compiling writer.c
[33/78] Compiling reader.c
[34/78] Write swift-version-24593BA9C3E375BF.txt
[35/78] Compiling writer.c
[36/78] Compiling parser.c
[37/78] Compiling reader.c
[38/78] Compiling api.c
[39/98] Compiling emitter.c
[40/114] Compiling parser.c
[41/164] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/200] Emitting module OpenAPIKitCore
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[45/224] Emitting module RealModule
[46/225] Emitting module HTTPTypes
[47/226] Emitting module OpenAPIKitCore
[48/230] Compiling Yams Tag.swift
[49/230] Compiling Yams YamlAnchorProviding.swift
[50/232] Compiling RealModule ElementaryFunctions.swift
[51/232] Compiling Yams Node.Mapping.swift
[52/232] Compiling Yams Node.Scalar.swift
[53/232] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[54/232] Compiling Yams Emitter.swift
[55/232] Compiling Yams Encoder.swift
[56/232] Compiling Yams Mark.swift
[57/232] Compiling Yams Node.Alias.swift
[58/232] Compiling Yams Node.Sequence.swift
[59/232] Compiling Yams Node.swift
[60/233] Compiling Yams Constructor.swift
[61/233] Compiling Yams Decoder.swift
[62/233] Compiling RealModule RealFunctions.swift
[63/233] Compiling Yams AliasDereferencingStrategy.swift
[64/233] Compiling Yams Anchor.swift
[65/233] Emitting module InternalCollectionsUtilities
[68/233] Compiling RealModule Real.swift
[76/233] Compiling RealModule Float80+Real.swift
[82/233] Compiling RealModule Float+Real.swift
[83/233] Compiling RealModule Float16+Real.swift
[84/234] Compiling OpenAPIKitCore Container+DecodeURLAsString.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[85/234] Compiling OpenAPIKitCore Optional+Zip.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[86/234] Compiling OpenAPIKitCore Result+Value.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[87/234] Compiling OpenAPIKitCore Validatable.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[96/235] Emitting module InternalCollectionsUtilities
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[106/235] Compiling OpenAPIKitCore ResponseStatusCode.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[107/235] Compiling OpenAPIKitCore SecurityScheme.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[108/235] Compiling OpenAPIKitCore URLTemplate+Parsing.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[109/235] Compiling OpenAPIKitCore URLTemplate.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[112/236] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[120/236] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[121/236] Compiling Yams String+Yams.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[122/236] Compiling Yams Parser.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[123/236] Compiling Yams YamlError.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[124/236] Compiling Yams YamlTagProviding.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[125/236] Compiling OpenAPIKitCore JSONSchemaPermissions.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[126/236] Compiling OpenAPIKitCore JSONTypeFormat.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[127/236] Compiling Yams RedundancyAliasingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[128/236] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[131/236] Compiling OpenAPIKitCore StringConvertibleHintProvider.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[132/236] Compiling OpenAPIKitCore Shared.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[133/236] Compiling OpenAPIKitCore CallbackURL.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[134/236] Compiling OpenAPIKitCore ComponentKey.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[135/236] Compiling OpenAPIKitCore ContentType.swift
/host/spi-builder-workspace/.build/checkouts/OpenAPIKit/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[136/236] Emitting module Yams
BUILD FAILURE 6.2 wasm