Build Information
Successful build of OpenAI, reference 1.1.1 (de472c), with Swift 6.3 for macOS (SPM) on 16 Apr 2026 14:05:27 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/swift-openai-responses.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/m1guelpf/swift-openai-responses
* tag 1.1.1 -> FETCH_HEAD
HEAD is now at de472c3 add `input_fidelity` to image generation tool
Cloned https://github.com/m1guelpf/swift-openai-responses.git
Revision (git rev-parse @):
de472c3e8d9fce9ab04498b9e4a7c477ead2aae1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/swift-openai-responses.git at 1.1.1
Fetching https://github.com/SwiftyLab/MetaCodable.git
[1/158250] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable.git from cache (11.17s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.6.0 (14.38s)
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/23551] Fetching swift-collections
[237/41074] Fetching swift-collections, swift-argument-parser
[2176/116059] Fetching swift-collections, swift-argument-parser, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (18.70s)
Fetched https://github.com/apple/swift-collections.git from cache (18.70s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (18.70s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (21.23s)
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.66s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.67s)
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
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/SwiftyLab/MetaCodable.git
Working copy of https://github.com/SwiftyLab/MetaCodable.git resolved at 1.6.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.3.0.123.5-macosx26.4-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.3.0.123.5-macosx26.4-MacroSupport.zip (0.30s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-openai-responses",
"name": "OpenAI",
"url": "https://github.com/m1guelpf/swift-openai-responses.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-openai-responses",
"traits": [
"default"
],
"dependencies": [
{
"identity": "metacodable",
"name": "MetaCodable",
"url": "https://github.com/SwiftyLab/MetaCodable.git",
"version": "1.6.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MetaCodable",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax.git",
"version": "602.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.4.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
],
"dependencies": [
]
},
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.7.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/m1guelpf/swift-openai-responses.git
[1/1161] Fetching swift-openai-responses
Fetched https://github.com/m1guelpf/swift-openai-responses.git from cache (0.95s)
Fetching https://github.com/SwiftyLab/MetaCodable.git from cache
Fetched https://github.com/SwiftyLab/MetaCodable.git from cache (0.52s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.6.0 (0.61s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/swiftlang/swift-syntax.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/swiftlang/swift-syntax.git from cache (0.94s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.94s)
Fetched https://github.com/apple/swift-collections.git from cache (0.94s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (1.02s)
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.05s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.05s)
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
Creating working copy for https://github.com/m1guelpf/swift-openai-responses.git
Working copy of https://github.com/m1guelpf/swift-openai-responses.git resolved at 1.1.1 (de472c3)
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/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
warning: '.resolve-product-dependencies': dependency 'swift-openai-responses' is not used by any target
Found 1 product dependencies
- MetaCodable
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/m1guelpf/swift-openai-responses.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin MetaProtocolCodable
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/15] Write sources
[10/15] Write swift-version--6988338F2F200930.txt
[12/34] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[13/34] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[14/34] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[15/34] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[16/34] Emitting module InternalCollectionsUtilities
[17/34] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/34] Compiling InternalCollectionsUtilities Integer rank.swift
[19/35] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[20/35] Compiling InternalCollectionsUtilities Span+Extras.swift
[21/35] Compiling InternalCollectionsUtilities String+Padding.swift
[22/35] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[23/35] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[24/35] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[25/35] Compiling InternalCollectionsUtilities _SortedCollection.swift
[26/35] Compiling InternalCollectionsUtilities Debugging.swift
[27/35] Compiling InternalCollectionsUtilities Descriptions.swift
[28/35] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[29/35] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[30/35] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[31/35] Compiling InternalCollectionsUtilities UInt+reversed.swift
[32/91] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[33/91] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[34/91] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[35/91] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[36/91] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[37/91] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[38/91] Compiling OrderedCollections OrderedSet+Codable.swift
[39/91] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[40/91] Compiling OrderedCollections OrderedSet+Descriptions.swift
[41/91] Compiling OrderedCollections OrderedSet+Diffing.swift
[42/91] Compiling OrderedCollections OrderedSet+Equatable.swift
[43/91] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[44/97] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[45/97] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[46/97] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[47/97] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[48/97] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[49/97] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[50/97] Compiling OrderedCollections OrderedDictionary+Elements.swift
[51/97] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[52/97] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[53/97] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[54/97] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[55/97] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[56/97] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[57/97] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[58/97] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[59/97] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[60/97] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[61/97] Compiling OrderedCollections OrderedSet+Sendable.swift
[62/97] Compiling OrderedCollections _Hashtable+Header.swift
[63/97] Compiling OrderedCollections OrderedDictionary+Codable.swift
[64/97] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[65/97] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[66/97] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[67/97] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[68/97] Compiling OrderedCollections OrderedSet+Hashable.swift
[69/97] Compiling OrderedCollections OrderedSet+Initializers.swift
[70/97] Compiling OrderedCollections OrderedSet+Insertions.swift
[71/97] Compiling OrderedCollections OrderedSet+Invariants.swift
[72/97] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[73/97] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[74/97] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[75/97] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[76/97] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[77/97] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[78/97] Compiling OrderedCollections OrderedDictionary+Values.swift
[79/97] Compiling OrderedCollections OrderedDictionary.swift
[80/97] Compiling OrderedCollections _HashTable+Bucket.swift
[81/97] Compiling OrderedCollections _HashTable+BucketIterator.swift
[82/97] Compiling OrderedCollections _HashTable+Constants.swift
[83/97] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[84/97] Compiling OrderedCollections _HashTable+Testing.swift
[85/97] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[86/97] Compiling OrderedCollections _HashTable.swift
[87/97] Compiling OrderedCollections OrderedSet+SubSequence.swift
[88/97] Compiling OrderedCollections OrderedSet+Testing.swift
[89/97] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[90/97] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[91/97] Compiling OrderedCollections OrderedSet.swift
[92/97] Compiling OrderedCollections _UnsafeBitset.swift
[93/97] Emitting module OrderedCollections
[94/191] Compiling PluginCore UnTaggedEnumSwitcher.swift
[95/191] Compiling PluginCore AnyInitialization.swift
[96/191] Compiling PluginCore AnyRequiredVariableInitialization.swift
[97/191] Compiling PluginCore IgnoredInitialization.swift
[98/191] Compiling PluginCore MemberwiseInitGenerator.swift
[99/191] Compiling PluginCore OptionalInitialization.swift
[100/191] Compiling PluginCore RequiredInitialization.swift
[101/191] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[102/191] Compiling PluginCore RequiredVariableInitialization.swift
[103/191] Compiling PluginCore VariableInitialization.swift
[104/191] Compiling PluginCore IgnoreEncoding.swift
[105/191] Compiling PluginCore CodedAt.swift
[106/191] Compiling PluginCore CodedIn.swift
[107/191] Compiling PluginCore ContentAt.swift
[108/191] Compiling PluginCore DecodedAt.swift
[109/191] Compiling PluginCore EncodedAt.swift
[110/191] Compiling PluginCore KeyPathProvider.swift
[111/191] Compiling PluginCore MemberInit+Expansion.swift
[112/191] Compiling PluginCore MemberInit.swift
[113/191] Compiling PluginCore PeerAttribute.swift
[114/191] Compiling PluginCore AggregatedDiagnosticProducer.swift
[115/201] Emitting module PluginCore
[116/201] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[117/201] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[118/201] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[119/201] Compiling PluginCore PropertyVariableTreeNode.swift
[120/201] Compiling PluginCore AssociatedDeclSyntax.swift
[121/201] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[122/201] Compiling PluginCore MemberGroupSyntax.swift
[123/201] Compiling PluginCore PropertyDeclSyntax.swift
[124/201] Compiling PluginCore VariableSyntax.swift
[125/201] Compiling PluginCore ActorVariable.swift
[126/201] Compiling PluginCore InvalidDeclaration.swift
[127/201] Compiling PluginCore MetaCodableMessage.swift
[128/201] Compiling PluginCore StaticVariableDeclaration.swift
[129/201] Compiling PluginCore UninitializedVariableDecl.swift
[130/201] Compiling PluginCore AttributeExpander.swift
[131/201] Compiling PluginCore DeclModifiersGenerator.swift
[132/201] Compiling PluginCore Options.swift
[133/201] Compiling PluginCore ComposedVariable.swift
[134/201] Compiling PluginCore ConditionalCodingVariable.swift
[135/201] Compiling PluginCore AssociatedVariable.swift
[136/201] Compiling PluginCore AliasedPropertyVariable.swift
[137/201] Compiling PluginCore AnyPropertyVariable.swift
[138/201] Compiling PluginCore BasicPropertyVariable.swift
[139/201] Compiling PluginCore DecodingFallback.swift
[140/201] Compiling PluginCore DefaultValueVariable.swift
[141/201] Compiling PluginCore HelperCodedVariable.swift
[142/201] Compiling PluginCore InitializationVariable.swift
[143/201] Compiling PluginCore KeyedVariable.swift
[144/201] Compiling PluginCore PropertyVariable.swift
[145/201] Compiling PluginCore StrategyVariable.swift
[146/201] Compiling PluginCore CombinedUsage.swift
[147/201] Compiling PluginCore ArgumentCountCondition.swift
[148/201] Compiling PluginCore DeclarationCondition.swift
[149/201] Compiling PluginCore DiagnosticCondition.swift
[150/201] Compiling PluginCore RawRepresentableEnumCondition.swift
[151/201] Compiling PluginCore ConditionalDiagnosticProducer.swift
[152/201] Compiling PluginCore DiagnosticProducer.swift
[153/201] Compiling PluginCore DuplicateUsage.swift
[154/201] Compiling PluginCore GroupedVariableDeclaration.swift
[155/201] Compiling PluginCore InvalidCombination.swift
[156/201] Compiling PluginCore BasicAssociatedVariable.swift
[157/201] Compiling PluginCore BasicEnumCaseVariable.swift
[158/201] Compiling PluginCore EnumCaseVariable.swift
[159/201] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[160/201] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[161/201] Compiling PluginCore AnyEnumSwitcher.swift
[162/201] Compiling PluginCore EnumSwitcherVariable.swift
[163/201] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[164/201] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[165/201] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[166/201] Compiling PluginCore Encodable+Expansion.swift
[167/201] Compiling PluginCore Encodable.swift
[168/201] Compiling PluginCore IgnoreCodingInitialized.swift
[169/201] Compiling PluginCore Inherits.swift
[170/201] Compiling PluginCore StrategyFinder.swift
[171/201] Compiling PluginCore UnTagged.swift
[172/201] Compiling PluginCore CodedAs.swift
[173/201] Compiling PluginCore CodedBy.swift
[174/201] Compiling PluginCore Default.swift
[175/201] Compiling PluginCore IgnoreCoding.swift
[176/201] Compiling PluginCore IgnoreDecoding.swift
[177/201] Compiling PluginCore AttributableDeclSyntax.swift
[178/201] Compiling PluginCore Attribute.swift
[179/201] Compiling PluginCore Codable+Expansion.swift
[180/201] Compiling PluginCore Codable.swift
[181/201] Compiling PluginCore CodingKeyTransformer.swift
[182/201] Compiling PluginCore CodingKeys.swift
[183/201] Compiling PluginCore Strategy.swift
[184/201] Compiling PluginCore AttributeExpander+Decodable.swift
[185/201] Compiling PluginCore Decodable+Expansion.swift
[186/201] Compiling PluginCore Decodable.swift
[187/201] Compiling PluginCore AttributeExpander+Encodable.swift
[188/201] Compiling PluginCore ClassVariable.swift
[189/201] Compiling PluginCore Case.swift
[190/201] Compiling PluginCore CodingKeysMap.swift
[191/201] Compiling PluginCore Key.swift
[192/201] Compiling PluginCore ConstraintGenerator.swift
[193/201] Compiling PluginCore Registration.swift
[194/201] Compiling PluginCore EnumVariable.swift
[195/201] Compiling PluginCore MemberGroup.swift
[196/201] Compiling PluginCore TypeVariable.swift
[197/201] Compiling PluginCore Variable.swift
[198/204] Compiling MacroPlugin Plugin.swift
[199/204] Compiling MacroPlugin Definitions.swift
[200/204] Emitting module MacroPlugin
[200/204] Write Objects.LinkFileList
[201/204] Linking MacroPlugin-tool
[203/228] Compiling MetaCodable Default.swift
[204/228] Compiling MetaCodable DynamicCodable.swift
[205/228] Compiling MetaCodable DynamicCodableIdentifier+CodingKey.swift
[206/228] Compiling MetaCodable DynamicCodableIdentifier+Expressible.swift
[207/230] Compiling MetaCodable Decodable.swift
[208/230] Compiling MetaCodable Encodable.swift
[209/230] Compiling MetaCodable IgnoreCodingInitialized.swift
[210/230] Compiling MetaCodable CodedIn.swift
[211/230] Compiling MetaCodable ContentAt.swift
[212/230] Compiling MetaCodable DecodedAt.swift
[213/230] Compiling MetaCodable DynamicCodableIdentifier.swift
[214/230] Compiling MetaCodable EncodedAt.swift
[215/230] Compiling MetaCodable CodedAs.swift
[216/230] Compiling MetaCodable CodedAt.swift
[217/230] Compiling MetaCodable CodedBy.swift
[218/230] Compiling MetaCodable Codable.swift
[219/230] Compiling MetaCodable CodableCommonStrategy.swift
[220/230] Compiling MetaCodable CodingKeys.swift
[221/230] Emitting module MetaCodable
[222/230] Compiling MetaCodable HelperCoder.swift
[223/230] Compiling MetaCodable LossySequence.swift
[224/230] Compiling MetaCodable UnTagged.swift
[225/230] Compiling MetaCodable AnyCodableLiteral.swift
[226/230] Compiling MetaCodable CodedAs+Dynamic.swift
[227/230] Compiling MetaCodable IgnoreCoding.swift
[228/230] Compiling MetaCodable MemberInit.swift
[229/244] Compiling HelperCoders String.swift
[230/244] Compiling HelperCoders Number.swift
[231/245] Compiling HelperCoders SequenceCoderConfiguration.swift
[232/245] Compiling HelperCoders HelperCoderStrategy.swift
[233/245] Compiling HelperCoders Bool.swift
[234/245] Compiling HelperCoders DefaultSequenceElementCoding.swift
[235/245] Compiling HelperCoders SequenceCoder.swift
[236/245] Compiling HelperCoders NonConformingCoder.swift
[237/245] Compiling HelperCoders PropertyWrapperCoder.swift
[238/245] Compiling HelperCoders Base64Coder.swift
[239/245] Compiling HelperCoders ConditionalCoder.swift
[240/245] Emitting module HelperCoders
[241/245] Compiling HelperCoders DateCoder.swift
[242/245] Compiling HelperCoders Since1970DateCoder.swift
[243/245] Compiling HelperCoders ValueCoder.swift
[244/261] Compiling OpenAI OpenAI.swift
[245/261] Compiling OpenAI WebhookEvent.swift
[246/262] Compiling OpenAI MultiPartData.swift
[247/262] Compiling OpenAI Message.swift
[248/262] Compiling OpenAI Model.swift
[249/262] Compiling OpenAI Request.swift
[250/262] Compiling OpenAI Response.swift
[251/262] Compiling OpenAI Tool.swift
macro expansion @Codable:10:51: warning: immutable value 'container' was never used; consider replacing with '_' or removing it [#no-usage]
`- /Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:645:2: note: expanded code originates here
7 | /// - **Built-in tools**: Tools that are provided by OpenAI that extend the model's capabilities, like [web search](https://platform.openai.com/docs/guides/tools-web-search) or [file search](https://platform.openai.com/docs/guides/tools-file-search). Learn more about [built-in tools](https://platform.openai.com/docs/guides/tools).
8 | /// - **Function calls (custom tools)**: Functions that are defined by you, enabling the model to call your own code. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).
9 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Tool: Equatable, Hashable, Sendable {
| `- note: in expansion of macro 'Codable' on enum 'Tool' here
10 | public enum Choice: Equatable, Hashable, Sendable {
11 | /// The model will not call any tool and instead generates a message.
:
643 | @CodedAs("local_shell")
644 | case localShell
645 | }
+--- macro expansion @Codable --------------------------------------
| 8 | typeContainer = nil
| 9 | }
| 10 | if let typeContainer = typeContainer, let container = container {
| | `- warning: immutable value 'container' was never used; consider replacing with '_' or removing it [#no-usage]
| 11 | let typeString: String?
| 12 | do {
+-------------------------------------------------------------------
646 |
647 | public extension Tool {
[252/262] Compiling OpenAI Event.swift
[253/262] Compiling OpenAI File.swift
[254/262] Compiling OpenAI Conversation.swift
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:345:29: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
343 | item = .fileSearch(fileSearch)
344 | }
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
| `- warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:345:37: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
343 | item = .fileSearch(fileSearch)
344 | }
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
| `- warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:345:50: warning: immutable value 'contentIndex' was never used; consider replacing with '_' or removing it [#no-usage]
343 | item = .fileSearch(fileSearch)
344 | }
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
| `- warning: immutable value 'contentIndex' was never used; consider replacing with '_' or removing it [#no-usage]
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:345:64: warning: immutable value 'delta' was never used; consider replacing with '_' or removing it [#no-usage]
343 | item = .fileSearch(fileSearch)
344 | }
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
| `- warning: immutable value 'delta' was never used; consider replacing with '_' or removing it [#no-usage]
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:347:28: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
| `- warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:347:36: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
| `- warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:347:49: warning: immutable value 'contentIndex' was never used; consider replacing with '_' or removing it [#no-usage]
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
| `- warning: immutable value 'contentIndex' was never used; consider replacing with '_' or removing it [#no-usage]
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:347:63: warning: immutable value 'text' was never used; consider replacing with '_' or removing it [#no-usage]
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
| `- warning: immutable value 'text' was never used; consider replacing with '_' or removing it [#no-usage]
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:349:80: warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it [#no-usage]
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
| `- warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it [#no-usage]
350 | updateItem(index: outputIndex, id: itemId) { item in
351 | guard case var .reasoning(reasoning) = item else { return }
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:365:57: warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it [#no-usage]
363 | item = .reasoning(reasoning)
364 | }
365 | case let .reasoningSummaryDelta(itemId, outputIndex, summaryIndex, delta):
| `- warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it [#no-usage]
366 | updateItem(index: outputIndex, id: itemId) { item in
367 | guard case var .reasoning(reasoning) = item else { return }
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:365:71: warning: immutable value 'delta' was never used; consider replacing with '_' or removing it [#no-usage]
363 | item = .reasoning(reasoning)
364 | }
365 | case let .reasoningSummaryDelta(itemId, outputIndex, summaryIndex, delta):
| `- warning: immutable value 'delta' was never used; consider replacing with '_' or removing it [#no-usage]
366 | updateItem(index: outputIndex, id: itemId) { item in
367 | guard case var .reasoning(reasoning) = item else { return }
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:367:32: warning: variable 'reasoning' was never used; consider replacing with '_' or removing it [#no-usage]
365 | case let .reasoningSummaryDelta(itemId, outputIndex, summaryIndex, delta):
366 | updateItem(index: outputIndex, id: itemId) { item in
367 | guard case var .reasoning(reasoning) = item else { return }
| `- warning: variable 'reasoning' was never used; consider replacing with '_' or removing it [#no-usage]
368 |
369 | // figure out where to put the reasoning
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:371:56: warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it [#no-usage]
369 | // figure out where to put the reasoning
370 | }
371 | case let .reasoningSummaryDone(itemId, outputIndex, summaryIndex, text):
| `- warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it [#no-usage]
372 | updateItem(index: outputIndex, id: itemId) { item in
373 | guard case var .reasoning(reasoning) = item else { return }
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:371:70: warning: immutable value 'text' was never used; consider replacing with '_' or removing it [#no-usage]
369 | // figure out where to put the reasoning
370 | }
371 | case let .reasoningSummaryDone(itemId, outputIndex, summaryIndex, text):
| `- warning: immutable value 'text' was never used; consider replacing with '_' or removing it [#no-usage]
372 | updateItem(index: outputIndex, id: itemId) { item in
373 | guard case var .reasoning(reasoning) = item else { return }
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:373:32: warning: variable 'reasoning' was never used; consider replacing with '_' or removing it [#no-usage]
371 | case let .reasoningSummaryDone(itemId, outputIndex, summaryIndex, text):
372 | updateItem(index: outputIndex, id: itemId) { item in
373 | guard case var .reasoning(reasoning) = item else { return }
| `- warning: variable 'reasoning' was never used; consider replacing with '_' or removing it [#no-usage]
374 |
375 | // figure out where to put the reasoning
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:449:32: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
447 | case .mcpCallFailed:
448 | break // mcpToolCall does not have a status field we can track
449 | case let .mcpCallInProgress(itemId, outputIndex):
| `- warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
450 | break // mcpToolCall does not have a status field we can track
451 | case let .mcpListToolsCompleted(itemId, outputIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:449:40: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
447 | case .mcpCallFailed:
448 | break // mcpToolCall does not have a status field we can track
449 | case let .mcpCallInProgress(itemId, outputIndex):
| `- warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
450 | break // mcpToolCall does not have a status field we can track
451 | case let .mcpListToolsCompleted(itemId, outputIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:451:36: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
449 | case let .mcpCallInProgress(itemId, outputIndex):
450 | break // mcpToolCall does not have a status field we can track
451 | case let .mcpListToolsCompleted(itemId, outputIndex):
| `- warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
452 | break // mcpListTools does not have a status field we can track
453 | case .mcpListToolsFailed:
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:451:44: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
449 | case let .mcpCallInProgress(itemId, outputIndex):
450 | break // mcpToolCall does not have a status field we can track
451 | case let .mcpListToolsCompleted(itemId, outputIndex):
| `- warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
452 | break // mcpListTools does not have a status field we can track
453 | case .mcpListToolsFailed:
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:455:37: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
453 | case .mcpListToolsFailed:
454 | break // mcpListTools does not have a status field we can track
455 | case let .mcpListToolsInProgress(itemId, outputIndex):
| `- warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
456 | break // mcpListTools does not have a status field we can track
457 | case let .codeInterpreterCallInProgress(itemId, outputIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:455:45: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
453 | case .mcpListToolsFailed:
454 | break // mcpListTools does not have a status field we can track
455 | case let .mcpListToolsInProgress(itemId, outputIndex):
| `- warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
456 | break // mcpListTools does not have a status field we can track
457 | case let .codeInterpreterCallInProgress(itemId, outputIndex):
[255/262] Compiling OpenAI AsyncBytes+collect.swift
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:345:29: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
343 | item = .fileSearch(fileSearch)
344 | }
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
| `- warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:345:37: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
343 | item = .fileSearch(fileSearch)
344 | }
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
| `- warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:345:50: warning: immutable value 'contentIndex' was never used; consider replacing with '_' or removing it [#no-usage]
343 | item = .fileSearch(fileSearch)
344 | }
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
| `- warning: immutable value 'contentIndex' was never used; consider replacing with '_' or removing it [#no-usage]
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:345:64: warning: immutable value 'delta' was never used; consider replacing with '_' or removing it [#no-usage]
343 | item = .fileSearch(fileSearch)
344 | }
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
| `- warning: immutable value 'delta' was never used; consider replacing with '_' or removing it [#no-usage]
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:347:28: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
| `- warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:347:36: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
| `- warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:347:49: warning: immutable value 'contentIndex' was never used; consider replacing with '_' or removing it [#no-usage]
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
| `- warning: immutable value 'contentIndex' was never used; consider replacing with '_' or removing it [#no-usage]
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:347:63: warning: immutable value 'text' was never used; consider replacing with '_' or removing it [#no-usage]
345 | case let .reasoningDelta(itemId, outputIndex, contentIndex, delta):
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
| `- warning: immutable value 'text' was never used; consider replacing with '_' or removing it [#no-usage]
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:349:80: warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it [#no-usage]
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
| `- warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it [#no-usage]
350 | updateItem(index: outputIndex, id: itemId) { item in
351 | guard case var .reasoning(reasoning) = item else { return }
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:365:57: warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it [#no-usage]
363 | item = .reasoning(reasoning)
364 | }
365 | case let .reasoningSummaryDelta(itemId, outputIndex, summaryIndex, delta):
| `- warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it [#no-usage]
366 | updateItem(index: outputIndex, id: itemId) { item in
367 | guard case var .reasoning(reasoning) = item else { return }
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:365:71: warning: immutable value 'delta' was never used; consider replacing with '_' or removing it [#no-usage]
363 | item = .reasoning(reasoning)
364 | }
365 | case let .reasoningSummaryDelta(itemId, outputIndex, summaryIndex, delta):
| `- warning: immutable value 'delta' was never used; consider replacing with '_' or removing it [#no-usage]
366 | updateItem(index: outputIndex, id: itemId) { item in
367 | guard case var .reasoning(reasoning) = item else { return }
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:367:32: warning: variable 'reasoning' was never used; consider replacing with '_' or removing it [#no-usage]
365 | case let .reasoningSummaryDelta(itemId, outputIndex, summaryIndex, delta):
366 | updateItem(index: outputIndex, id: itemId) { item in
367 | guard case var .reasoning(reasoning) = item else { return }
| `- warning: variable 'reasoning' was never used; consider replacing with '_' or removing it [#no-usage]
368 |
369 | // figure out where to put the reasoning
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:371:56: warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it [#no-usage]
369 | // figure out where to put the reasoning
370 | }
371 | case let .reasoningSummaryDone(itemId, outputIndex, summaryIndex, text):
| `- warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it [#no-usage]
372 | updateItem(index: outputIndex, id: itemId) { item in
373 | guard case var .reasoning(reasoning) = item else { return }
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:371:70: warning: immutable value 'text' was never used; consider replacing with '_' or removing it [#no-usage]
369 | // figure out where to put the reasoning
370 | }
371 | case let .reasoningSummaryDone(itemId, outputIndex, summaryIndex, text):
| `- warning: immutable value 'text' was never used; consider replacing with '_' or removing it [#no-usage]
372 | updateItem(index: outputIndex, id: itemId) { item in
373 | guard case var .reasoning(reasoning) = item else { return }
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:373:32: warning: variable 'reasoning' was never used; consider replacing with '_' or removing it [#no-usage]
371 | case let .reasoningSummaryDone(itemId, outputIndex, summaryIndex, text):
372 | updateItem(index: outputIndex, id: itemId) { item in
373 | guard case var .reasoning(reasoning) = item else { return }
| `- warning: variable 'reasoning' was never used; consider replacing with '_' or removing it [#no-usage]
374 |
375 | // figure out where to put the reasoning
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:449:32: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
447 | case .mcpCallFailed:
448 | break // mcpToolCall does not have a status field we can track
449 | case let .mcpCallInProgress(itemId, outputIndex):
| `- warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
450 | break // mcpToolCall does not have a status field we can track
451 | case let .mcpListToolsCompleted(itemId, outputIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:449:40: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
447 | case .mcpCallFailed:
448 | break // mcpToolCall does not have a status field we can track
449 | case let .mcpCallInProgress(itemId, outputIndex):
| `- warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
450 | break // mcpToolCall does not have a status field we can track
451 | case let .mcpListToolsCompleted(itemId, outputIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:451:36: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
449 | case let .mcpCallInProgress(itemId, outputIndex):
450 | break // mcpToolCall does not have a status field we can track
451 | case let .mcpListToolsCompleted(itemId, outputIndex):
| `- warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
452 | break // mcpListTools does not have a status field we can track
453 | case .mcpListToolsFailed:
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:451:44: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
449 | case let .mcpCallInProgress(itemId, outputIndex):
450 | break // mcpToolCall does not have a status field we can track
451 | case let .mcpListToolsCompleted(itemId, outputIndex):
| `- warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
452 | break // mcpListTools does not have a status field we can track
453 | case .mcpListToolsFailed:
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:455:37: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
453 | case .mcpListToolsFailed:
454 | break // mcpListTools does not have a status field we can track
455 | case let .mcpListToolsInProgress(itemId, outputIndex):
| `- warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it [#no-usage]
456 | break // mcpListTools does not have a status field we can track
457 | case let .codeInterpreterCallInProgress(itemId, outputIndex):
/Users/admin/builder/spi-builder-workspace/src/Conversation.swift:455:45: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
453 | case .mcpListToolsFailed:
454 | break // mcpListTools does not have a status field we can track
455 | case let .mcpListToolsInProgress(itemId, outputIndex):
| `- warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it [#no-usage]
456 | break // mcpListTools does not have a status field we can track
457 | case let .codeInterpreterCallInProgress(itemId, outputIndex):
[256/262] Compiling OpenAI Collection+safeAccess.swift
[257/262] Compiling OpenAI Config.swift
[258/262] Compiling OpenAI Input.swift
macro expansion @Codable:24:22: warning: literal value is already handled by previous pattern; consider removing it
`- /Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:1103:2: note: expanded code originates here
9 | ///
10 | /// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
11 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Input: Equatable, Hashable, Sendable {
| |- note: in expansion of macro 'Codable' on enum 'Input' here
| `- note: in expansion of macro 'Codable' on enum 'Input' here
12 | /// A message input to the model with a role indicating instruction following hierarchy.
13 | ///
:
1101 | case input(Input)
1102 | case output(Output)
1103 | }
+--- macro expansion @Codable -------------------------------------
| 17 | if let typeString = typeString {
| 18 | switch typeString {
| 19 | case "message":
| | `- note: first occurrence of identical literal pattern is here
| 20 | let _0: Message.Input
| 21 | _0 = try Message.Input(from: decoder)
| 22 | self = .inputMessage(_0)
| 23 | return
| 24 | case "message":
| | `- warning: literal value is already handled by previous pattern; consider removing it
| 25 | let _0: Message.Output
| 26 | _0 = try Message.Output(from: decoder)
+------------------------------------------------------------------
1104 |
1105 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:10:51: warning: immutable value 'container' was never used; consider replacing with '_' or removing it [#no-usage]
`- /Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:1103:2: note: expanded code originates here
9 | ///
10 | /// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
11 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Input: Equatable, Hashable, Sendable {
| `- note: in expansion of macro 'Codable' on enum 'Input' here
12 | /// A message input to the model with a role indicating instruction following hierarchy.
13 | ///
:
1101 | case input(Input)
1102 | case output(Output)
1103 | }
+--- macro expansion @Codable -------------------------------------
| 8 | typeContainer = nil
| 9 | }
| 10 | if let typeContainer = typeContainer, let container = container {
| | `- warning: immutable value 'container' was never used; consider replacing with '_' or removing it [#no-usage]
| 11 | let typeString: String?
| 12 | do {
+------------------------------------------------------------------
1104 |
1105 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:10:51: warning: immutable value 'container' was never used; consider replacing with '_' or removing it [#no-usage]
`- /Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:1103:2: note: expanded code originates here
105 |
106 | /// Content items generated by the model.
107 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
| `- note: in expansion of macro 'Codable' on enum 'Output' here
108 | /// The content of the output message.
109 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Content: Equatable, Hashable, Sendable {
:
1101 | case input(Input)
1102 | case output(Output)
1103 | }
+--- macro expansion @Codable -------------------------------------
| 8 | typeContainer = nil
| 9 | }
| 10 | if let typeContainer = typeContainer, let container = container {
| | `- warning: immutable value 'container' was never used; consider replacing with '_' or removing it [#no-usage]
| 11 | let typeString: String?
| 12 | do {
+------------------------------------------------------------------
1104 |
1105 | // MARK: - Item.Input Creating helpers
[259/262] Compiling OpenAI Item.swift
macro expansion @Codable:24:22: warning: literal value is already handled by previous pattern; consider removing it
`- /Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:1103:2: note: expanded code originates here
9 | ///
10 | /// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
11 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Input: Equatable, Hashable, Sendable {
| |- note: in expansion of macro 'Codable' on enum 'Input' here
| `- note: in expansion of macro 'Codable' on enum 'Input' here
12 | /// A message input to the model with a role indicating instruction following hierarchy.
13 | ///
:
1101 | case input(Input)
1102 | case output(Output)
1103 | }
+--- macro expansion @Codable -------------------------------------
| 17 | if let typeString = typeString {
| 18 | switch typeString {
| 19 | case "message":
| | `- note: first occurrence of identical literal pattern is here
| 20 | let _0: Message.Input
| 21 | _0 = try Message.Input(from: decoder)
| 22 | self = .inputMessage(_0)
| 23 | return
| 24 | case "message":
| | `- warning: literal value is already handled by previous pattern; consider removing it
| 25 | let _0: Message.Output
| 26 | _0 = try Message.Output(from: decoder)
+------------------------------------------------------------------
1104 |
1105 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:10:51: warning: immutable value 'container' was never used; consider replacing with '_' or removing it [#no-usage]
`- /Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:1103:2: note: expanded code originates here
9 | ///
10 | /// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
11 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Input: Equatable, Hashable, Sendable {
| `- note: in expansion of macro 'Codable' on enum 'Input' here
12 | /// A message input to the model with a role indicating instruction following hierarchy.
13 | ///
:
1101 | case input(Input)
1102 | case output(Output)
1103 | }
+--- macro expansion @Codable -------------------------------------
| 8 | typeContainer = nil
| 9 | }
| 10 | if let typeContainer = typeContainer, let container = container {
| | `- warning: immutable value 'container' was never used; consider replacing with '_' or removing it [#no-usage]
| 11 | let typeString: String?
| 12 | do {
+------------------------------------------------------------------
1104 |
1105 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:10:51: warning: immutable value 'container' was never used; consider replacing with '_' or removing it [#no-usage]
`- /Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:1103:2: note: expanded code originates here
105 |
106 | /// Content items generated by the model.
107 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
| `- note: in expansion of macro 'Codable' on enum 'Output' here
108 | /// The content of the output message.
109 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Content: Equatable, Hashable, Sendable {
:
1101 | case input(Input)
1102 | case output(Output)
1103 | }
+--- macro expansion @Codable -------------------------------------
| 8 | typeContainer = nil
| 9 | }
| 10 | if let typeContainer = typeContainer, let container = container {
| | `- warning: immutable value 'container' was never used; consider replacing with '_' or removing it [#no-usage]
| 11 | let typeString: String?
| 12 | do {
+------------------------------------------------------------------
1104 |
1105 | // MARK: - Item.Input Creating helpers
[260/262] Emitting module OpenAI
[260/262] Write Objects.LinkFileList
[261/262] Archiving libOpenAI.a
Build complete! (18.55s)
Build complete.
{
"dependencies" : [
{
"identity" : "metacodable",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftyLab/MetaCodable.git"
}
],
"manifest_display_name" : "OpenAI",
"name" : "OpenAI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "maccatalyst",
"version" : "17.0"
}
],
"products" : [
{
"name" : "OpenAI",
"targets" : [
"OpenAI"
],
"type" : {
"library" : [
"static"
]
}
}
],
"targets" : [
{
"c99name" : "OpenAI",
"module_type" : "SwiftTarget",
"name" : "OpenAI",
"path" : "src",
"product_dependencies" : [
"MetaCodable",
"HelperCoders"
],
"product_memberships" : [
"OpenAI"
],
"sources" : [
"Conversation.swift",
"Extensions/AsyncBytes+collect.swift",
"Extensions/Collection+safeAccess.swift",
"Models/Config.swift",
"Models/Event.swift",
"Models/File.swift",
"Models/Input.swift",
"Models/Item.swift",
"Models/Message.swift",
"Models/Model.swift",
"Models/Request.swift",
"Models/Response.swift",
"Models/Tool.swift",
"Models/WebhookEvent.swift",
"OpenAI.swift",
"Support/MultiPartData.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/m1guelpf/swift-openai-responses/1.1.1
Repository: m1guelpf/swift-openai-responses
Swift version used: 6.3
Target: OpenAI
Extracting symbol information for 'OpenAI'...
Finished extracting symbol information for 'OpenAI'. (28.06s)
Building documentation for 'OpenAI'...
warning: External name 'configuring' used to document parameter
--> src/Conversation.swift:108:18-108:29
106 | /// - Parameter client: A `ResponsesAPI` instance to use for the conversation.
107 | /// - Parameter model: The model to use for the conversation. Can be changed later using the `model` property.
108 + /// - Parameter configuring: A closure to further configure the conversation.
| ╰─suggestion: Replace 'configuring' with 'closure'
109 | public init(client: ResponsesAPI, using model: Model, configuring closure: (inout Config) -> Void = { _ in }) {
110 | self.client = client
warning: External name 'configuring' used to document parameter
--> src/Conversation.swift:121:18-121:29
119 | /// - Parameter projectId: The project associated with the request.
120 | /// - Parameter model: The model to use for the conversation. Can be changed later using the `model` property.
121 + /// - Parameter configuring: A closure to further configure the conversation.
| ╰─suggestion: Replace 'configuring' with 'closure'
122 | public convenience init(
123 | authToken: String,
warning: Parameter 'purpose' not found in instance method declaration
--> src/Conversation.swift:218:6-218:60
216 | ///
217 | /// - Parameter file: The file to upload.
218 + /// - Parameter purpose: The intended purpose of the file.
| ╰─suggestion: Remove 'purpose' parameter documentation
219 | @concurrent public nonisolated func upload(file: File.Upload) async throws -> File {
220 | try await client.upload(file: file, purpose: .userData)
warning: Parameter 'partialImages' is missing documentation
--> src/Models/Item.swift:768:67-768:67
766 | /// - Parameter id: The unique ID of the image generation call.
767 | /// - Parameter result: The generated image encoded in base64, or null if not available.
768 + /// - Parameter status: The status of the image generation call.
| ╰─suggestion: Document 'partialImages' parameter
769 | public init(id: String, result: Data? = nil, status: Status, partialImages: [Data]? = nil) {
770 | self.id = id
Finished building documentation for 'OpenAI' (1.17s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/m1guelpf/swift-openai-responses/1.1.1
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/apple/swift-argument-parser.git
Updating https://github.com/SwiftyLab/MetaCodable.git
Updated https://github.com/apple/swift-argument-parser.git (0.56s)
Updated https://github.com/SwiftyLab/MetaCodable.git (0.56s)
[1/2277] Fetching swift-docc-plugin
Updating https://github.com/swiftlang/swift-syntax.git
Updating https://github.com/apple/swift-collections.git
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.13s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.6.0 (1.88s)
Updated https://github.com/swiftlang/swift-syntax.git (0.84s)
Updated https://github.com/apple/swift-collections.git (0.84s)
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.66s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.63s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.73s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (0.63s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.23s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.93s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
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
Building for debugging...
[0/8] Write sources
[0/8] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version--6988338F2F200930.txt
[6/53] Compiling SymbolKit Mixin+Equals.swift
[7/53] Compiling SymbolKit Mixin+Hash.swift
[8/53] Compiling SymbolKit Mixin.swift
[9/53] Compiling SymbolKit LineList.swift
[10/53] Compiling SymbolKit Position.swift
[11/57] Compiling SymbolKit SemanticVersion.swift
[12/57] Compiling SymbolKit AccessControl.swift
[13/57] Compiling SymbolKit Availability.swift
[14/57] Compiling SymbolKit AvailabilityItem.swift
[15/57] Compiling SymbolKit Domain.swift
[16/57] Emitting module SymbolKit
[17/57] Compiling SymbolKit Names.swift
[18/57] Compiling SymbolKit SPI.swift
[19/57] Compiling SymbolKit Snippet.swift
[20/57] Compiling SymbolKit Extension.swift
[21/57] Compiling SymbolKit Identifier.swift
[22/57] Compiling SymbolKit KindIdentifier.swift
[23/57] Compiling SymbolKit Location.swift
[24/57] Compiling SymbolKit Mutability.swift
[25/57] Compiling Snippets SnippetParser.swift
[26/57] Compiling Snippets Snippet.swift
[27/57] Emitting module Snippets
[28/57] Compiling SymbolKit DeclarationFragments.swift
[29/57] Compiling SymbolKit Fragment.swift
[30/57] Compiling SymbolKit FragmentKind.swift
[31/57] Compiling SymbolKit FunctionParameter.swift
[32/57] Compiling SymbolKit FunctionSignature.swift
[33/57] Compiling SymbolKit GenericConstraint.swift
[34/57] Compiling SymbolKit GenericParameter.swift
[35/57] Compiling SymbolKit Generics.swift
[36/57] Compiling SymbolKit Namespace.swift
[37/57] Compiling SymbolKit Relationship.swift
[38/57] Compiling SymbolKit RelationshipKind.swift
[39/57] Compiling SymbolKit SourceOrigin.swift
[40/57] Compiling SymbolKit GenericConstraints.swift
[41/57] Compiling SymbolKit Swift.swift
[42/57] Compiling SymbolKit SourceRange.swift
[43/57] Compiling SymbolKit Metadata.swift
[44/57] Compiling SymbolKit Module.swift
[45/57] Compiling SymbolKit OperatingSystem.swift
[46/57] Compiling SymbolKit Platform.swift
[47/57] Compiling SymbolKit Symbol.swift
[48/57] Compiling SymbolKit SymbolKind.swift
[49/57] Compiling SymbolKit SymbolGraph.swift
[50/57] Compiling SymbolKit GraphCollector.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (3.67s)
Building for debugging...
[0/1] Write swift-version--6988338F2F200930.txt
Build of target: 'OpenAI' complete! (1.14s)
3136
19 /Users/admin/builder/spi-builder-workspace/.docs/m1guelpf/swift-openai-responses/1.1.1
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/m1guelpf/swift-openai-responses/1.1.1
File count: 3136
Doc size: 19.0MB
Preparing doc bundle ...
Uploading prod-m1guelpf-swift-openai-responses-1.1.1-c249a77d.zip to s3://spi-docs-inbox/prod-m1guelpf-swift-openai-responses-1.1.1-c249a77d.zip
Copying... [11%]
Copying... [21%]
Copying... [31%]
Copying... [41%]
Copying... [51%]
Copying... [60%]
Copying... [70%]
Copying... [82%]
Copying... [91%]
Copying... [100%]
Done.