Build Information
Failed to build OpenAIKit, reference 2.0.1 (1ae438
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 02:43:05 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/OpenDive/OpenAIKit.git
Reference: 2.0.1
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/OpenDive/OpenAIKit
* tag 2.0.1 -> FETCH_HEAD
HEAD is now at 1ae438e Hotpatch fix for image parameters
Cloned https://github.com/OpenDive/OpenAIKit.git
Revision (git rev-parse @):
1ae438e665433273474d330a74241a1c55742a79
SUCCESS checkout https://github.com/OpenDive/OpenAIKit.git at 2.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/OpenDive/OpenAIKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/63] Compiling OpenAIKit EmbeddingsData.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[4/63] Compiling OpenAIKit EmbeddingsResponse.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[5/63] Compiling OpenAIKit EmbeddingsUsage.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[6/63] Compiling OpenAIKit File.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[7/63] Compiling OpenAIKit FileContent.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[8/63] Compiling OpenAIKit ListFilesResponse.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[9/63] Compiling OpenAIKit ImageResponse.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[10/63] Compiling OpenAIKit ListModelResponse.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[11/71] Compiling OpenAIKit Configuration.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[12/71] Compiling OpenAIKit DeleteObject.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[13/71] Compiling OpenAIKit FormData.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[14/71] Compiling OpenAIKit FunctionCall.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[15/71] Compiling OpenAIKit OpenAIErrorMessage.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[16/71] Compiling OpenAIKit OpenAIErrorResponse.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[17/71] Compiling OpenAIKit Usage.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[18/71] Compiling OpenAIKit ClampedPropertyWrapper.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[19/71] Compiling OpenAIKit ChatRole.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[20/71] Compiling OpenAIKit CompletionModels.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[21/71] Compiling OpenAIKit FileStatus.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[22/71] Compiling OpenAIKit ImageData.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[23/71] Compiling OpenAIKit ImageModel.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[24/71] Compiling OpenAIKit ImageQuality.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[25/71] Compiling OpenAIKit ImageResolutions.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[26/71] Compiling OpenAIKit ImageStyle.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[27/71] Compiling OpenAIKit ResponseFormat.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[28/71] Compiling OpenAIKit EmbeddingsParameters.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[29/71] Compiling OpenAIKit UploadFileParameters.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[30/71] Compiling OpenAIKit ImageEditParameters.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[31/71] Compiling OpenAIKit ImageParameters.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[32/71] Compiling OpenAIKit ImageVariationParameters.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[33/71] Compiling OpenAIKit ConentPolicyParameters.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[34/71] Compiling OpenAIKit TranscriptionResponse.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[35/71] Compiling OpenAIKit ChatResponse.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[36/71] Compiling OpenAIKit CompletionResponse.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[37/71] Compiling OpenAIKit Model.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[38/71] Compiling OpenAIKit ContentPolicyCategories.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[39/71] Compiling OpenAIKit ContentPolicyCategoryScore.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[40/71] Compiling OpenAIKit ContentPolicyResponse.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[41/71] Compiling OpenAIKit ContentPolicyResult.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[42/71] Compiling OpenAIKit ChatChoice.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[43/71] Compiling OpenAIKit ChatMessage.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[44/71] Compiling OpenAIKit Choice.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/71] Emitting module OpenAIKit
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[46/71] Compiling OpenAIKit NSImageExtension.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[47/71] Compiling OpenAIKit NSMutableDataExtension.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[48/71] Compiling OpenAIKit String.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[49/71] Compiling OpenAIKit StringPropertyMap.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[50/71] Compiling OpenAIKit OpenAI.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[51/71] Compiling OpenAIKit Property.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[52/71] Compiling OpenAIKit OpenAIProtocol.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[53/71] Compiling OpenAIKit AudioResponseFormat.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[54/71] Compiling OpenAIKit ChatModels.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[55/71] Compiling OpenAIKit ContentPolicyModels.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[56/71] Compiling OpenAIKit OpenAIErrors.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[57/71] Compiling OpenAIKit OpenAIObject.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[58/71] Compiling OpenAIKit TranscriptionParameters.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[59/71] Compiling OpenAIKit ChatParameters.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[60/71] Compiling OpenAIKit Function.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[61/71] Compiling OpenAIKit Parameter.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[62/71] Compiling OpenAIKit ParameterDetail.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[63/71] Compiling OpenAIKit CompletionParameters.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[64/71] Compiling OpenAIKit FormDataHelper.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[65/71] Compiling OpenAIKit GenericCodingKeys.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[66/71] Compiling OpenAIKit OpenAIKitSession.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[67/71] Compiling OpenAIKit OpenAIEvent.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[68/71] Compiling OpenAIKit OpenAISource.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[69/71] Compiling OpenAIKit OpenAIStreamParser.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[70/71] Compiling OpenAIKit SRT.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
[71/71] Compiling OpenAIKit WebVTT.swift
/host/spi-builder-workspace/Sources/OpenAIKit/Extensions/NSMutableDataExtension.swift:26:8: error: no such module 'Foundation'
24 | //
25 |
26 | import Foundation
| `- error: no such module 'Foundation'
27 |
28 | // Used for the form data to append strings to the data variable of NSMutableData type.
BUILD FAILURE 6.2 wasm