The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-openai, reference v0.1.0 (714419), with Swift 6.2 for Wasm on 23 Jun 2025 11:58:58 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/ajevans99/swift-openai.git
Reference: v0.1.0
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/ajevans99/swift-openai
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at 714419b Update readme with in progress message:
Cloned https://github.com/ajevans99/swift-openai.git
Revision (git rev-parse @):
714419b0f5eb3da03014c4eb3e1cc15cba4b7479
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ajevans99/swift-openai.git at v0.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ajevans99/swift-openai.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
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/ajevans99/swift-json-schema.git
Fetching https://github.com/apple/swift-openapi-runtime.git
Fetching https://github.com/apple/swift-openapi-generator.git
[1/5679] Fetching swift-openapi-runtime
[1705/9515] Fetching swift-openapi-runtime, swift-log
[1839/13584] Fetching swift-openapi-runtime, swift-log, swift-json-schema
[12166/29543] Fetching swift-openapi-runtime, swift-log, swift-json-schema, swift-openapi-generator
Fetched https://github.com/ajevans99/swift-json-schema.git from cache (0.62s)
[12069/25474] Fetching swift-openapi-runtime, swift-log, swift-openapi-generator
Fetched https://github.com/apple/swift-openapi-runtime.git from cache (0.63s)
[6869/19795] Fetching swift-log, swift-openapi-generator
Fetched https://github.com/apple/swift-log.git from cache (1.27s)
Fetched https://github.com/apple/swift-openapi-generator.git from cache (1.27s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.8.2 (2.00s)
Fetching https://github.com/apple/swift-http-types
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.33s)
Computing version for https://github.com/apple/swift-openapi-generator.git
Computed https://github.com/apple/swift-openapi-generator.git at 1.9.0 (3.90s)
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams
[1/10874] Fetching yams
[2/27514] Fetching yams, swift-collections
[1653/33473] Fetching yams, swift-collections, swift-algorithms
[10146/48853] Fetching yams, swift-collections, swift-algorithms, swift-argument-parser
[31906/138598] Fetching yams, swift-collections, swift-algorithms, swift-argument-parser, openapikit
Fetched https://github.com/apple/swift-argument-parser from cache (1.26s)
[36145/123218] Fetching yams, swift-collections, swift-algorithms, openapikit
Fetched https://github.com/jpsim/Yams from cache (1.81s)
[54010/112344] Fetching swift-collections, swift-algorithms, openapikit
Fetched https://github.com/apple/swift-algorithms from cache (5.18s)
Fetched https://github.com/apple/swift-collections from cache (5.24s)
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (5.31s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.2.0 (6.21s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.60s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.52s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (2.16s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.40s)
Computing version for https://github.com/ajevans99/swift-json-schema.git
Computed https://github.com/ajevans99/swift-json-schema.git at 0.7.3 (0.51s)
Fetching https://github.com/swiftlang/swift-syntax
[1/70927] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (5.27s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (6.02s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.5.2 (0.49s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (6.02s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (3.14s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.0.1 (5.85s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
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/apple/swift-openapi-runtime.git
Working copy of https://github.com/apple/swift-openapi-runtime.git resolved at 1.8.2
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/apple/swift-openapi-generator.git
Working copy of https://github.com/apple/swift-openapi-generator.git resolved at 1.9.0
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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.0.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.5.2
Creating working copy for https://github.com/ajevans99/swift-json-schema.git
Working copy of https://github.com/ajevans99/swift-json-schema.git resolved at 0.7.3
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/53] Write sources
[3/53] Copying unevaluated.json
[3/53] Copying validation.json
[3/53] Copying schema.json
[3/53] Copying meta-data.json
[3/53] Copying core.json
[3/53] Copying format-annotation.json
[3/53] Copying content.json
[3/53] Copying applicator.json
[3/53] Write sources
[34/53] Compiling _SwiftSyntaxCShims dummy.c
[35/53] Write swift-version-24593BA9C3E375BF.txt
[37/100] Emitting module SwiftSyntax509
[38/100] Compiling JSONSchema Keywords+Applicator.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[39/100] Compiling JSONSchema Keywords+Assertion.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[40/100] Compiling JSONSchema Keywords+Identifier.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[41/100] Compiling JSONSchema Keywords+Metadata.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[42/103] Compiling JSONSchema JSONValue+ExpressibleByLiteral.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[43/103] Compiling JSONSchema JSONValue.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[44/103] Compiling JSONSchema Keyword.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[45/103] Compiling JSONSchema Keywords+Annotation.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[46/103] Compiling SwiftSyntax509 Empty.swift
[47/104] Compiling JSONSchema BuiltinValidators.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[48/104] Compiling JSONSchema FormatValidator.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[49/104] Compiling JSONSchema Array+JSONValue.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[50/104] Compiling JSONSchema JSONValue+Codable.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[52/104] Emitting module SwiftSyntax600
[53/104] Compiling SwiftSyntax600 Empty.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/105] Emitting module JSONSchema
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[55/105] Compiling JSONSchema Annotation.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[56/105] Compiling JSONSchema AnnotationContainer.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[57/105] Compiling JSONSchema JSONType.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[58/105] Compiling JSONSchema Dialect.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[59/105] Compiling HTTPTypes ISOLatin1String.swift
[60/106] Compiling JSONSchema Keywords+Reference.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[61/106] Compiling JSONSchema Keywords+Reserved.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[62/106] Compiling JSONSchema Keywords.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[63/106] Compiling JSONSchema JSONPointer.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[64/106] Emitting module SwiftSyntax510
[65/106] Compiling SwiftSyntax510 Empty.swift
[65/106] Wrapping AST for SwiftSyntax509 for debugging
[68/107] Compiling JSONSchema Schema+Codable.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[69/107] Compiling JSONSchema Schema+Equatable.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[70/107] Compiling JSONSchema Schema.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[71/107] Compiling JSONSchema Context.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[72/107] Compiling JSONSchema SchemaIssue.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[73/107] Compiling JSONSchema ValidationIssue.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[74/107] Compiling JSONSchema ValidatableSchema.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[75/107] Compiling Logging Locks.swift
[76/107] Wrapping AST for SwiftSyntax600 for debugging
[78/107] Emitting module HTTPTypes
[79/107] Compiling HTTPTypes HTTPFieldName.swift
[80/107] Compiling JSONSchema ValidationLocation.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[81/107] Compiling JSONSchema ValidationResult.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[82/107] Compiling JSONSchema resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/swift-json-schema/Sources/JSONSchema/Dialect.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | // swift-format-ignore: AlwaysUseLowerCamelCase
[82/107] Wrapping AST for SwiftSyntax510 for debugging
BUILD FAILURE 6.2 wasm