Build Information
Failed to build OpenAI, reference main (15ecf9), with Swift 6.3 for Wasm on 17 Apr 2026 06:19:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftedMind/swift-openai-responses.git
Reference: main
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/SwiftedMind/swift-openai-responses
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 15ecf94 update minimum version
Cloned https://github.com/SwiftedMind/swift-openai-responses.git
Revision (git rev-parse @):
15ecf94ce31aa0f4b739ed3cadca305b0c4b30a1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftedMind/swift-openai-responses.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/SwiftedMind/swift-openai-responses.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/SwiftyLab/MetaCodable.git
[1/158250] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable.git from cache (9.98s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.6.0 (14.04s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-collections.git
[1/23569] Fetching swift-collections
[709/41092] Fetching swift-collections, swift-argument-parser
[25538/116075] Fetching swift-collections, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (2.24s)
[73761/92506] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (11.89s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.95s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (15.56s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.57s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.77s)
Creating working copy for https://github.com/SwiftyLab/MetaCodable.git
Working copy of https://github.com/SwiftyLab/MetaCodable.git resolved at 1.6.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.3-RELEASE-ubuntu_jammy_x86_64-MacroSupport.tar.gz (0.64s)
[1/1] Compiling plugin MetaProtocolCodable
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/22] Write sources
[10/22] Write swift-version-24593BA9C3E375BF.txt
[12/40] Emitting module InternalCollectionsUtilities
[13/42] Compiling InternalCollectionsUtilities Debugging.swift
[14/42] Compiling InternalCollectionsUtilities Descriptions.swift
[15/42] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[16/42] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/42] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[18/42] Compiling InternalCollectionsUtilities Integer rank.swift
[19/42] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[20/42] Compiling InternalCollectionsUtilities UInt+reversed.swift
[21/42] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[22/42] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[23/42] Compiling InternalCollectionsUtilities String+Padding.swift
[24/42] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[25/42] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[26/42] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[27/42] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[28/42] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/42] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[30/42] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[31/42] Compiling InternalCollectionsUtilities Span+Extras.swift
[32/43] Wrapping AST for InternalCollectionsUtilities for debugging
[34/98] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[35/98] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[36/98] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[37/98] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[38/98] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[39/98] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[40/98] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[41/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[42/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[43/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[44/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[45/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[46/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[47/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[48/105] Compiling OrderedCollections OrderedSet+Initializers.swift
[49/105] Compiling OrderedCollections OrderedSet+Insertions.swift
[50/105] Compiling OrderedCollections OrderedSet+Invariants.swift
[51/105] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[52/105] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[53/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[54/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[55/105] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[56/105] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[57/105] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[58/105] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[59/105] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[60/105] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[61/105] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[62/105] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[63/105] Compiling OrderedCollections OrderedDictionary+Values.swift
[64/105] Compiling OrderedCollections OrderedDictionary+Codable.swift
[65/105] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[66/105] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[67/105] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[68/105] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[69/105] Compiling OrderedCollections OrderedDictionary+Elements.swift
[70/105] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[71/105] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[72/105] Compiling OrderedCollections _HashTable+Bucket.swift
[73/105] Compiling OrderedCollections _HashTable+BucketIterator.swift
[74/105] Compiling OrderedCollections _HashTable+Constants.swift
[75/105] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[76/105] Compiling OrderedCollections _HashTable+Testing.swift
[77/105] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[78/105] Compiling OrderedCollections _HashTable.swift
[79/105] Compiling OrderedCollections _Hashtable+Header.swift
[80/105] Compiling OrderedCollections OrderedSet+Sendable.swift
[81/105] Compiling OrderedCollections OrderedSet+SubSequence.swift
[82/105] Compiling OrderedCollections OrderedSet+Testing.swift
[83/105] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[84/105] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[85/105] Compiling OrderedCollections OrderedSet.swift
[86/105] Compiling OrderedCollections _UnsafeBitset.swift
[87/105] Compiling OrderedCollections OrderedDictionary.swift
[88/105] Compiling OrderedCollections OrderedSet+Codable.swift
[89/105] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[90/105] Compiling OrderedCollections OrderedSet+Descriptions.swift
[91/105] Compiling OrderedCollections OrderedSet+Diffing.swift
[92/105] Compiling OrderedCollections OrderedSet+Equatable.swift
[93/105] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[94/105] Compiling OrderedCollections OrderedSet+Hashable.swift
[95/105] Emitting module OrderedCollections
[96/106] Wrapping AST for OrderedCollections for debugging
[98/198] Compiling PluginCore DecodedAt.swift
[99/198] Compiling PluginCore EncodedAt.swift
[100/198] Compiling PluginCore KeyPathProvider.swift
[101/198] Compiling PluginCore MemberInit+Expansion.swift
[102/198] Compiling PluginCore MemberInit.swift
[103/198] Compiling PluginCore PeerAttribute.swift
[104/198] Compiling PluginCore AggregatedDiagnosticProducer.swift
[105/198] Compiling PluginCore CombinedUsage.swift
[106/198] Compiling PluginCore ArgumentCountCondition.swift
[107/198] Compiling PluginCore DeclarationCondition.swift
[108/198] Compiling PluginCore DiagnosticCondition.swift
[109/198] Compiling PluginCore RawRepresentableEnumCondition.swift
[110/198] Compiling PluginCore ConditionalDiagnosticProducer.swift
[111/210] Emitting module PluginCore
[112/210] Compiling PluginCore DiagnosticProducer.swift
[113/210] Compiling PluginCore DuplicateUsage.swift
[114/210] Compiling PluginCore GroupedVariableDeclaration.swift
[115/210] Compiling PluginCore InvalidCombination.swift
[116/210] Compiling PluginCore InvalidDeclaration.swift
[117/210] Compiling PluginCore MetaCodableMessage.swift
[118/210] Compiling PluginCore StaticVariableDeclaration.swift
[119/210] Compiling PluginCore UninitializedVariableDecl.swift
[120/210] Compiling PluginCore AttributeExpander.swift
[121/210] Compiling PluginCore DeclModifiersGenerator.swift
[122/210] Compiling PluginCore Options.swift
[123/210] Compiling PluginCore ComposedVariable.swift
[124/210] Compiling PluginCore ConditionalCodingVariable.swift
[125/210] Compiling PluginCore IgnoreCodingInitialized.swift
[126/210] Compiling PluginCore Inherits.swift
[127/210] Compiling PluginCore StrategyFinder.swift
[128/210] Compiling PluginCore UnTagged.swift
[129/210] Compiling PluginCore CodedAs.swift
[130/210] Compiling PluginCore CodedBy.swift
[131/210] Compiling PluginCore Default.swift
[132/210] Compiling PluginCore IgnoreCoding.swift
[133/210] Compiling PluginCore IgnoreDecoding.swift
[134/210] Compiling PluginCore IgnoreEncoding.swift
[135/210] Compiling PluginCore CodedAt.swift
[136/210] Compiling PluginCore CodedIn.swift
[137/210] Compiling PluginCore ContentAt.swift
[138/210] Compiling PluginCore AnyRequiredVariableInitialization.swift
[139/210] Compiling PluginCore IgnoredInitialization.swift
[140/210] Compiling PluginCore MemberwiseInitGenerator.swift
[141/210] Compiling PluginCore OptionalInitialization.swift
[142/210] Compiling PluginCore RequiredInitialization.swift
[143/210] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[144/210] Compiling PluginCore RequiredVariableInitialization.swift
[145/210] Compiling PluginCore VariableInitialization.swift
[146/210] Compiling PluginCore AliasedPropertyVariable.swift
[147/210] Compiling PluginCore AnyPropertyVariable.swift
[148/210] Compiling PluginCore BasicPropertyVariable.swift
[149/210] Compiling PluginCore DecodingFallback.swift
[150/210] Compiling PluginCore DefaultValueVariable.swift
[151/210] Compiling PluginCore HelperCodedVariable.swift
[152/210] Compiling PluginCore InitializationVariable.swift
[153/210] Compiling PluginCore KeyedVariable.swift
[154/210] Compiling PluginCore PropertyVariable.swift
[155/210] Compiling PluginCore StrategyVariable.swift
[156/210] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[157/210] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[158/210] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[159/210] Compiling PluginCore PropertyVariableTreeNode.swift
[160/210] Compiling PluginCore AssociatedDeclSyntax.swift
[161/210] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[162/210] Compiling PluginCore MemberGroupSyntax.swift
[163/210] Compiling PluginCore PropertyDeclSyntax.swift
[164/210] Compiling PluginCore AssociatedVariable.swift
[165/210] Compiling PluginCore BasicAssociatedVariable.swift
[166/210] Compiling PluginCore BasicEnumCaseVariable.swift
[167/210] Compiling PluginCore EnumCaseVariable.swift
[168/210] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[169/210] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[170/210] Compiling PluginCore AnyEnumSwitcher.swift
[171/210] Compiling PluginCore EnumSwitcherVariable.swift
[172/210] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[173/210] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[174/210] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[175/210] Compiling PluginCore UnTaggedEnumSwitcher.swift
[176/210] Compiling PluginCore AnyInitialization.swift
[177/210] Compiling PluginCore AttributableDeclSyntax.swift
[178/210] Compiling PluginCore Attribute.swift
[179/210] Compiling PluginCore Codable+Expansion.swift
[180/210] Compiling PluginCore Codable.swift
[181/210] Compiling PluginCore CodingKeyTransformer.swift
[182/210] Compiling PluginCore CodingKeys.swift
[183/210] Compiling PluginCore Strategy.swift
[184/210] Compiling PluginCore AttributeExpander+Decodable.swift
[185/210] Compiling PluginCore Decodable+Expansion.swift
[186/210] Compiling PluginCore Decodable.swift
[187/210] Compiling PluginCore AttributeExpander+Encodable.swift
[188/210] Compiling PluginCore Encodable+Expansion.swift
[189/210] Compiling PluginCore Encodable.swift
[190/210] Compiling PluginCore VariableSyntax.swift
[191/210] Compiling PluginCore ActorVariable.swift
[192/210] Compiling PluginCore ClassVariable.swift
[193/210] Compiling PluginCore Case.swift
[194/210] Compiling PluginCore CodingKeysMap.swift
[195/210] Compiling PluginCore Key.swift
[196/210] Compiling PluginCore ConstraintGenerator.swift
[197/210] Compiling PluginCore Registration.swift
[198/210] Compiling PluginCore EnumVariable.swift
[199/210] Compiling PluginCore MemberGroup.swift
[200/210] Compiling PluginCore TypeVariable.swift
[201/210] Compiling PluginCore Variable.swift
[202/211] Wrapping AST for PluginCore for debugging
[204/214] Compiling MacroPlugin Plugin.swift
[205/214] Compiling MacroPlugin Definitions.swift
[206/214] Emitting module MacroPlugin
[207/215] Wrapping AST for MacroPlugin for debugging
[208/215] Write Objects.LinkFileList
[209/215] Linking MacroPlugin-tool
[211/238] Emitting module MetaCodable
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[212/241] Compiling MetaCodable ContentAt.swift
[213/241] Compiling MetaCodable DecodedAt.swift
[214/241] Compiling MetaCodable Default.swift
[215/241] Compiling MetaCodable LossySequence.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[216/241] Compiling MetaCodable IgnoreCoding.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[217/241] Compiling MetaCodable MemberInit.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[218/241] Compiling MetaCodable CodedAt.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[219/241] Compiling MetaCodable CodedBy.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[220/241] Compiling MetaCodable CodedIn.swift
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[221/241] Compiling MetaCodable Encodable.swift
[222/241] Compiling MetaCodable IgnoreCodingInitialized.swift
[223/241] Compiling MetaCodable UnTagged.swift
[224/241] Compiling MetaCodable Codable.swift
[225/241] Compiling MetaCodable CodableCommonStrategy.swift
[226/241] Compiling MetaCodable CodingKeys.swift
[227/241] Compiling MetaCodable Decodable.swift
[228/241] Compiling MetaCodable AnyCodableLiteral.swift
[229/241] Compiling MetaCodable CodedAs+Dynamic.swift
[230/241] Compiling MetaCodable CodedAs.swift
[231/241] Compiling MetaCodable DynamicCodable.swift
[232/241] Compiling MetaCodable DynamicCodableIdentifier+CodingKey.swift
[233/241] Compiling MetaCodable DynamicCodableIdentifier+Expressible.swift
[234/241] Compiling MetaCodable DynamicCodableIdentifier.swift
[235/241] Compiling MetaCodable EncodedAt.swift
[236/241] Compiling MetaCodable HelperCoder.swift
[237/256] Wrapping AST for MetaCodable for debugging
[239/256] Compiling HelperCoders String.swift
[240/257] Compiling HelperCoders ValueCoder.swift
[241/257] Compiling HelperCoders SequenceCoderConfiguration.swift
[242/257] Compiling HelperCoders HelperCoderStrategy.swift
[243/257] Compiling HelperCoders Bool.swift
[244/257] Compiling HelperCoders Number.swift
[245/257] Compiling HelperCoders DefaultSequenceElementCoding.swift
[246/257] Compiling HelperCoders SequenceCoder.swift
[247/257] Compiling HelperCoders NonConformingCoder.swift
[248/257] Compiling HelperCoders PropertyWrapperCoder.swift
[249/257] Compiling HelperCoders Base64Coder.swift
[250/257] Compiling HelperCoders ConditionalCoder.swift
[251/257] Emitting module HelperCoders
[252/257] Compiling HelperCoders DateCoder.swift
[253/257] Compiling HelperCoders Since1970DateCoder.swift
[254/258] Wrapping AST for HelperCoders for debugging
[256/275] Compiling OpenAI Request.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[257/275] Compiling OpenAI Response.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[258/277] Compiling OpenAI Schemable.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
[259/277] Compiling OpenAI MultiPartData.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
[260/277] Compiling OpenAI Message.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[261/277] Compiling OpenAI Model.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[262/277] Compiling OpenAI Tool.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[263/277] Compiling OpenAI WebhookEvent.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[264/277] Compiling OpenAI URL+appendOptionalQueryItems.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
[265/277] Compiling OpenAI Config.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
[266/277] Compiling OpenAI Event.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
[267/277] Compiling OpenAI AsyncBytes+collect.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
[268/277] Compiling OpenAI Collection+safeAccess.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
[269/277] Compiling OpenAI JSONEncoder+string.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
[270/277] Compiling OpenAI Item.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
[271/277] Compiling OpenAI JSONSchema.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
[272/277] Compiling OpenAI File.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
[273/277] Compiling OpenAI Input.swift
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
error: emit-module command failed with exit code 1 (use -v to see invocation)
[274/277] Emitting module OpenAI
/host/spi-builder-workspace/src/Models/Config.swift:4:8: error: no such module 'FoundationModels'
2 |
3 | import Foundation
4 | import FoundationModels
| `- error: no such module 'FoundationModels'
5 | import MetaCodable
6 |
BUILD FAILURE 6.3 wasm