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 OpenAPIKit, reference 4.0.0-rc.4 (10d75e), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 03:29:03 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/mattpolzin/OpenAPIKit.git
Reference: 4.0.0-rc.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/mattpolzin/OpenAPIKit
 * tag               4.0.0-rc.4 -> FETCH_HEAD
HEAD is now at 10d75e0 merge w/ main
Cloned https://github.com/mattpolzin/OpenAPIKit.git
Revision (git rev-parse @):
10d75e021dc9f3acb1b4ec9bb6ea5e680c2f5508
SUCCESS checkout https://github.com/mattpolzin/OpenAPIKit.git at 4.0.0-rc.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mattpolzin/OpenAPIKit.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/jpsim/Yams.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
[210/13018] Fetching swift-docc-plugin, yams
Fetched https://github.com/apple/swift-docc-plugin from cache (0.54s)
[1750/10936] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.34s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (4.73s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.66s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.27s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.0.2 (0.42s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.0.2
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/40] Compiling OpenAPIKitCore ResponseStatusCode.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[9/40] Compiling OpenAPIKitCore SecurityScheme.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[10/40] Compiling OpenAPIKitCore URLTemplate+Parsing.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[11/40] Compiling OpenAPIKitCore URLTemplate.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[12/44] Compiling OpenAPIKitCore Container+DecodeURLAsString.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[13/44] Compiling OpenAPIKitCore Optional+Zip.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[14/44] Compiling OpenAPIKitCore Result+Value.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[15/44] Compiling OpenAPIKitCore Validatable.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[16/44] Compiling OpenAPIKitCore AnyCodable.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[17/44] Compiling OpenAPIKitCore Either+Codable.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[18/44] Compiling OpenAPIKitCore Either+CustomStringConvertible.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[19/44] Compiling OpenAPIKitCore Either.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[20/44] Compiling OpenAPIKitCore CodingPathError.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/44] Emitting module OpenAPIKitCore
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[22/44] Compiling OpenAPIKitCore Discriminator.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[23/44] Compiling OpenAPIKitCore HttpMethod.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[24/44] Compiling OpenAPIKitCore JSONSchemaPermissions.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[25/44] Compiling OpenAPIKitCore JSONTypeFormat.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[26/44] Compiling OpenAPIKitCore OAuthFlows.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[27/44] Compiling OpenAPIKitCore ParameterContextLocation.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[28/44] Compiling OpenAPIKitCore ParameterSchemaContextStyle.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[29/44] Compiling OpenAPIKitCore Path.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[30/44] Compiling OpenAPIKitCore StringConvertibleHintProvider.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[31/44] Compiling OpenAPIKitCore Shared.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[32/44] Compiling OpenAPIKitCore CallbackURL.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[33/44] Compiling OpenAPIKitCore ComponentKey.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[34/44] Compiling OpenAPIKitCore ContentType.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[35/44] Compiling OpenAPIKitCore DecodingErrorExtensions.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[36/44] Compiling OpenAPIKitCore DiggingError.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[37/44] Compiling OpenAPIKitCore EitherDecodeNoTypesMatchedErrorExtensions.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[38/44] Compiling OpenAPIKitCore GenericError.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[39/44] Compiling OpenAPIKitCore OpenAPIDecodingErrors.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[40/44] Compiling OpenAPIKitCore OpenAPIError.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[41/44] Compiling OpenAPIKitCore OpenAPIWarning.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[42/44] Compiling OpenAPIKitCore RequestDecodingError.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[43/44] Compiling OpenAPIKitCore OpenAPIReference.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
[44/44] Compiling OpenAPIKitCore OrderedDictionary.swift
/host/spi-builder-workspace/Sources/OpenAPIKitCore/AnyCodable/AnyCodable.swift:23:8: error: no such module 'Foundation'
 21 | */
 22 |
 23 | import Foundation
    |        `- error: no such module 'Foundation'
 24 |
 25 | /**
BUILD FAILURE 6.2 wasm