Build Information
Failed to build OpenAI, reference 1.1.1 (de472c
), with Swift 6.0 for Linux on 17 Jul 2025 00:06:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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 /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/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/m1guelpf/swift-openai-responses.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:f0ebbd71bee66c692411a61ab9a7ee6edc82316b7a7b4c6173cc06c00f20ed39
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/SwiftyLab/MetaCodable.git
[1/105866] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable.git from cache (5.68s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.5.0 (2.44s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/16746] Fetching swift-collections
[3518/32270] Fetching swift-collections, swift-argument-parser
[24066/103711] Fetching swift-collections, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.94s)
[23724/88187] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (4.97s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.02s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.83s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 601.0.1 (3.91s)
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.6.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 601.0.1
Creating working copy for https://github.com/SwiftyLab/MetaCodable.git
Working copy of https://github.com/SwiftyLab/MetaCodable.git resolved at 1.5.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.2.0
[1/1] Compiling plugin GenerateDoccReference
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin MetaProtocolCodable
Building for debugging...
[3/53] Write sources
[25/53] Compiling _SwiftSyntaxCShims dummy.c
[26/53] Write swift-version-24593BA9C3E375BF.txt
[28/75] Emitting module SwiftSyntax601
[29/75] Emitting module SwiftSyntax600
[30/75] Compiling SwiftSyntax600 Empty.swift
[32/76] Emitting module SwiftSyntax509
[33/76] Compiling SwiftSyntax509 Empty.swift
[34/77] Emitting module SwiftSyntax510
[35/77] Compiling SwiftSyntax510 Empty.swift
[36/77] Emitting module InternalCollectionsUtilities
[37/77] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[38/77] Compiling InternalCollectionsUtilities Integer rank.swift
[39/78] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[40/78] Compiling InternalCollectionsUtilities _SortedCollection.swift
[41/79] Compiling SwiftSyntax601 Empty.swift
[42/80] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[43/80] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[44/80] Compiling InternalCollectionsUtilities Debugging.swift
[45/80] Compiling InternalCollectionsUtilities Descriptions.swift
[46/80] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[46/80] Wrapping AST for SwiftSyntax600 for debugging
[50/80] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[51/80] Compiling InternalCollectionsUtilities UInt+reversed.swift
[52/80] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[53/80] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[54/80] Wrapping AST for SwiftSyntax509 for debugging
[55/80] Wrapping AST for SwiftSyntax510 for debugging
[56/80] Wrapping AST for SwiftSyntax601 for debugging
[58/80] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[59/82] Wrapping AST for InternalCollectionsUtilities for debugging
[61/200] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[62/200] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[63/200] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[64/200] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[65/200] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[66/200] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[67/200] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[68/207] Compiling OrderedCollections OrderedSet+Initializers.swift
[69/207] Compiling OrderedCollections OrderedSet+Insertions.swift
[70/207] Compiling OrderedCollections OrderedSet+Invariants.swift
[71/207] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[72/207] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[73/207] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[74/207] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[75/207] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[76/207] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[77/207] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[78/207] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[79/207] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[80/207] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[81/207] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[82/207] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[83/207] Compiling OrderedCollections OrderedDictionary.swift
[84/207] Compiling OrderedCollections OrderedSet+Codable.swift
[85/207] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[86/207] Compiling OrderedCollections OrderedSet+Descriptions.swift
[87/207] Compiling OrderedCollections OrderedSet+Diffing.swift
[88/207] Compiling OrderedCollections OrderedSet+Equatable.swift
[89/207] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[90/207] Compiling OrderedCollections OrderedSet+Hashable.swift
[91/207] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[92/207] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[93/207] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[94/207] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[95/207] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[96/207] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[97/207] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[98/207] Compiling OrderedCollections OrderedDictionary+Values.swift
[99/207] Compiling OrderedCollections OrderedDictionary+Codable.swift
[100/207] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[101/207] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[102/207] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[103/207] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[104/207] Compiling OrderedCollections OrderedDictionary+Elements.swift
[105/207] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[106/207] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[107/207] Compiling OrderedCollections _HashTable+Bucket.swift
[108/207] Compiling OrderedCollections _HashTable+BucketIterator.swift
[109/207] Compiling OrderedCollections _HashTable+Constants.swift
[110/207] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[111/207] Compiling OrderedCollections _HashTable+Testing.swift
[112/207] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[113/207] Compiling OrderedCollections _HashTable.swift
[114/207] Compiling OrderedCollections _Hashtable+Header.swift
[115/207] Compiling OrderedCollections OrderedSet+Sendable.swift
[116/207] Compiling OrderedCollections OrderedSet+SubSequence.swift
[117/207] Compiling OrderedCollections OrderedSet+Testing.swift
[118/207] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[119/207] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[120/207] Compiling OrderedCollections OrderedSet.swift
[121/207] Compiling OrderedCollections _UnsafeBitset.swift
[122/207] Emitting module OrderedCollections
[123/208] Wrapping AST for OrderedCollections for debugging
[143/217] Emitting module SwiftSyntax
[169/217] Compiling SwiftSyntax TokenSequence.swift
[170/217] Compiling SwiftSyntax TokenSyntax.swift
[189/217] Compiling SwiftSyntax SyntaxNodesAB.swift
[190/217] Compiling SwiftSyntax SyntaxNodesC.swift
[191/217] Compiling SwiftSyntax SyntaxNodesD.swift
[192/217] Compiling SwiftSyntax SyntaxNodesEF.swift
[193/217] Compiling SwiftSyntax SyntaxNodesGHI.swift
[194/217] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[195/217] Compiling SwiftSyntax SyntaxNodesOP.swift
[196/217] Compiling SwiftSyntax SyntaxNodesQRS.swift
[197/217] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[198/218] Wrapping AST for SwiftSyntax for debugging
[200/276] Compiling SwiftBasicFormat InferIndentation.swift
[201/276] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[202/276] Compiling SwiftDiagnostics Message.swift
[203/277] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[204/277] Compiling SwiftBasicFormat Syntax+Extensions.swift
[205/277] Compiling SwiftDiagnostics FixIt.swift
[206/277] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[207/277] Compiling SwiftDiagnostics Convenience.swift
[208/277] Compiling SwiftDiagnostics Diagnostic.swift
[209/277] Emitting module SwiftDiagnostics
[210/277] Compiling SwiftDiagnostics Note.swift
[211/277] Compiling SwiftBasicFormat Indenter.swift
[212/277] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[213/277] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[214/277] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[215/277] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[216/278] Wrapping AST for SwiftDiagnostics for debugging
[218/278] Emitting module SwiftBasicFormat
[219/278] Compiling SwiftBasicFormat BasicFormat.swift
[221/279] Emitting module SwiftParser
[221/284] Wrapping AST for SwiftBasicFormat for debugging
[223/284] Compiling SwiftParser LexemeSequence.swift
[224/284] Compiling SwiftParser Lexer.swift
[225/284] Compiling SwiftParser RegexLiteralLexer.swift
[226/284] Compiling SwiftParser UnicodeScalarExtensions.swift
[227/284] Compiling SwiftParser Lookahead.swift
[228/284] Compiling SwiftParser LoopProgressCondition.swift
[229/284] Compiling SwiftParser TokenSpec.swift
[230/284] Compiling SwiftParser TokenSpecSet.swift
[231/284] Compiling SwiftParser TopLevel.swift
[232/284] Compiling SwiftParser TriviaParser.swift
[233/284] Compiling SwiftParser Types.swift
[234/284] Compiling SwiftParser Modifiers.swift
[235/284] Compiling SwiftParser Names.swift
[236/284] Compiling SwiftParser Nominals.swift
[237/284] Compiling SwiftParser Parameters.swift
[238/284] Compiling SwiftParser ParseSourceFile.swift
[239/284] Compiling SwiftParser Parser.swift
[244/284] Compiling SwiftParser Declarations.swift
[245/284] Compiling SwiftParser Directives.swift
[246/284] Compiling SwiftParser Patterns.swift
[247/284] Compiling SwiftParser Recovery.swift
[248/284] Compiling SwiftParser Specifiers.swift
[249/284] Compiling SwiftParser Statements.swift
[250/284] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[251/284] Compiling SwiftParser StringLiterals.swift
[252/284] Compiling SwiftParser SwiftParserCompatibility.swift
[253/284] Compiling SwiftParser SwiftVersion.swift
[254/284] Compiling SwiftParser SyntaxUtils.swift
[255/284] Compiling SwiftParser TokenConsumer.swift
[256/284] Compiling SwiftParser TokenPrecedence.swift
[257/284] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[258/284] Compiling SwiftParser Expressions.swift
[259/284] Compiling SwiftParser IncrementalParseTransition.swift
[260/284] Compiling SwiftParser IsValidIdentifier.swift
[261/284] Compiling SwiftParser Cursor.swift
[262/284] Compiling SwiftParser Lexeme.swift
[263/284] Compiling SwiftParser ExperimentalFeatures.swift
[264/284] Compiling SwiftParser IsLexerClassified.swift
[265/284] Compiling SwiftParser LayoutNodes+Parsable.swift
[266/284] Compiling SwiftParser Parser+TokenSpecSet.swift
[267/284] Compiling SwiftParser TokenSpecStaticMembers.swift
[268/285] Wrapping AST for SwiftParser for debugging
[270/308] Compiling SwiftOperators Operator.swift
[271/308] Compiling SwiftOperators OperatorError+Diagnostics.swift
[272/309] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[273/310] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[274/310] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[275/310] Compiling SwiftOperators PrecedenceGroup.swift
[276/310] Compiling SwiftOperators SyntaxSynthesis.swift
[277/310] Compiling SwiftOperators OperatorTable.swift
[278/310] Compiling SwiftOperators PrecedenceGraph.swift
[279/310] Emitting module SwiftOperators
[280/310] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[281/310] Compiling SwiftParserDiagnostics Utils.swift
[282/310] Compiling SwiftOperators OperatorTable+Semantics.swift
[283/310] Emitting module SwiftParserDiagnostics
[284/310] Compiling SwiftOperators OperatorTable+Folding.swift
[285/310] Compiling SwiftOperators OperatorError.swift
[286/310] Compiling SwiftOperators OperatorTable+Defaults.swift
[288/311] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[289/311] Compiling SwiftParserDiagnostics PresenceUtils.swift
[289/311] Wrapping AST for SwiftOperators for debugging
[295/311] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[296/311] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[297/312] Wrapping AST for SwiftParserDiagnostics for debugging
[299/327] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[300/327] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[301/327] Compiling SwiftSyntaxBuilder Indenter.swift
[302/327] Compiling SwiftSyntaxBuilder ListBuilder.swift
[303/328] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[304/328] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[305/328] Emitting module SwiftSyntaxBuilder
[306/328] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[307/328] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[308/328] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[309/328] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[310/328] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[311/328] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[312/328] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[313/328] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[314/328] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[315/329] Wrapping AST for SwiftSyntaxBuilder for debugging
[317/346] Emitting module SwiftSyntaxMacros
[318/348] Compiling SwiftSyntaxMacros PreambleMacro.swift
[319/348] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[320/348] Compiling SwiftSyntaxMacros MemberMacro.swift
[321/348] Compiling SwiftSyntaxMacros PeerMacro.swift
[322/348] Compiling SwiftSyntaxMacros Macro.swift
[323/348] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[324/348] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[325/348] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[326/348] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[327/348] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[328/348] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[329/348] Compiling SwiftSyntaxMacros Macro+Format.swift
[330/348] Compiling SwiftSyntaxMacros AccessorMacro.swift
[331/348] Compiling SwiftSyntaxMacros AttachedMacro.swift
[332/348] Compiling SwiftSyntaxMacros BodyMacro.swift
[333/348] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[334/348] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[335/348] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[336/349] Wrapping AST for SwiftSyntaxMacros for debugging
[338/449] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[339/450] Emitting module SwiftSyntaxMacroExpansion
[340/450] Compiling PluginCore IgnoreCodingInitialized.swift
[341/450] Compiling PluginCore Inherits.swift
[342/450] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[343/450] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[344/450] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[345/450] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[346/450] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[347/450] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[348/451] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[350/463] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[351/464] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[352/464] Emitting module PluginCore
[353/476] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[354/476] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[355/476] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[356/476] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[357/476] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[358/476] Emitting module SwiftCompilerPluginMessageHandling
[359/476] Compiling PluginCore IgnoredInitialization.swift
[360/476] Compiling PluginCore MemberwiseInitGenerator.swift
[361/476] Compiling PluginCore OptionalInitialization.swift
[362/476] Compiling PluginCore RequiredInitialization.swift
[363/476] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[364/476] Compiling PluginCore RequiredVariableInitialization.swift
[365/476] Compiling PluginCore VariableInitialization.swift
[366/476] Compiling PluginCore AliasedPropertyVariable.swift
[367/476] Compiling PluginCore AnyPropertyVariable.swift
[368/476] Compiling PluginCore BasicPropertyVariable.swift
[369/476] Compiling PluginCore DecodingFallback.swift
[370/476] Compiling PluginCore DefaultValueVariable.swift
[371/476] Compiling PluginCore HelperCodedVariable.swift
[372/476] Compiling PluginCore InitializationVariable.swift
[373/476] Compiling PluginCore KeyedVariable.swift
[374/476] Compiling PluginCore PropertyVariable.swift
[375/476] Compiling PluginCore StrategyVariable.swift
[376/476] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[377/476] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[378/476] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[379/476] Compiling PluginCore PropertyVariableTreeNode.swift
[380/476] Compiling PluginCore AssociatedDeclSyntax.swift
[381/476] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[382/476] Compiling PluginCore MemberGroupSyntax.swift
[383/476] Compiling PluginCore PropertyDeclSyntax.swift
[384/476] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[387/476] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[388/476] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[389/476] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[390/476] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[393/476] Compiling PluginCore IgnoreDecoding.swift
[394/476] Compiling PluginCore IgnoreEncoding.swift
[395/476] Compiling PluginCore CodedAt.swift
[396/476] Compiling PluginCore CodedIn.swift
[397/476] Compiling PluginCore ContentAt.swift
[398/476] Compiling PluginCore BasicAssociatedVariable.swift
[399/476] Compiling PluginCore BasicEnumCaseVariable.swift
[400/476] Compiling PluginCore EnumCaseVariable.swift
[401/476] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[402/476] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[403/476] Compiling PluginCore AnyEnumSwitcher.swift
[404/476] Compiling PluginCore EnumSwitcherVariable.swift
[405/476] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[406/476] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[407/476] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[408/476] Compiling PluginCore UnTaggedEnumSwitcher.swift
[409/476] Compiling PluginCore AnyInitialization.swift
[410/476] Compiling PluginCore AnyRequiredVariableInitialization.swift
[411/476] Compiling PluginCore DuplicateUsage.swift
[412/476] Compiling PluginCore GroupedVariableDeclaration.swift
[413/476] Compiling PluginCore InvalidCombination.swift
[414/476] Compiling PluginCore InvalidDeclaration.swift
[415/476] Compiling PluginCore MetaCodableMessage.swift
[416/476] Compiling PluginCore StaticVariableDeclaration.swift
[417/476] Compiling PluginCore UninitializedVariableDecl.swift
[418/476] Compiling PluginCore AttributeExpander.swift
[419/476] Compiling PluginCore DeclModifiersGenerator.swift
[420/476] Compiling PluginCore Options.swift
[421/476] Compiling PluginCore ComposedVariable.swift
[422/476] Compiling PluginCore ConditionalCodingVariable.swift
[423/476] Compiling PluginCore AssociatedVariable.swift
[424/476] Compiling PluginCore DecodedAt.swift
[425/476] Compiling PluginCore EncodedAt.swift
[426/476] Compiling PluginCore KeyPathProvider.swift
[427/476] Compiling PluginCore MemberInit+Expansion.swift
[428/476] Compiling PluginCore MemberInit.swift
[429/476] Compiling PluginCore PeerAttribute.swift
[430/476] Compiling PluginCore AggregatedDiagnosticProducer.swift
[431/476] Compiling PluginCore CombinedUsage.swift
[432/476] Compiling PluginCore ArgumentCountCondition.swift
[433/476] Compiling PluginCore DeclarationCondition.swift
[434/476] Compiling PluginCore DiagnosticCondition.swift
[435/476] Compiling PluginCore ConditionalDiagnosticProducer.swift
[436/476] Compiling PluginCore DiagnosticProducer.swift
[437/476] Compiling PluginCore AttributableDeclSyntax.swift
[438/476] Compiling PluginCore Attribute.swift
[439/476] Compiling PluginCore Codable+Expansion.swift
[440/476] Compiling PluginCore Codable.swift
[441/476] Compiling PluginCore CodingKeyTransformer.swift
[442/476] Compiling PluginCore CodingKeys.swift
[443/476] Compiling PluginCore Strategy.swift
[444/476] Compiling PluginCore AttributeExpander+Decodable.swift
[445/476] Compiling PluginCore Decodable+Expansion.swift
[446/476] Compiling PluginCore Decodable.swift
[447/476] Compiling PluginCore AttributeExpander+Encodable.swift
[448/476] Compiling PluginCore Encodable+Expansion.swift
[449/476] Compiling PluginCore Encodable.swift
[454/477] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[456/479] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[457/479] Emitting module SwiftCompilerPlugin
[459/480] Compiling PluginCore VariableSyntax.swift
[460/480] Compiling PluginCore ActorVariable.swift
[461/480] Compiling PluginCore ClassVariable.swift
[462/480] Compiling PluginCore Case.swift
[463/480] Compiling PluginCore CodingKeysMap.swift
[464/480] Compiling PluginCore Key.swift
[465/480] Compiling PluginCore ConstraintGenerator.swift
[466/480] Compiling PluginCore Registration.swift
[467/480] Compiling PluginCore EnumVariable.swift
[468/480] Compiling PluginCore MemberGroup.swift
[469/480] Compiling PluginCore TypeVariable.swift
[470/480] Compiling PluginCore Variable.swift
[470/481] Wrapping AST for SwiftCompilerPlugin for debugging
[472/481] Wrapping AST for PluginCore for debugging
[474/484] Compiling MacroPlugin Plugin.swift
[475/484] Compiling MacroPlugin Definitions.swift
[476/484] Emitting module MacroPlugin
[477/485] Wrapping AST for MacroPlugin for debugging
[478/485] Write Objects.LinkFileList
[479/485] Linking MacroPlugin-tool
[481/507] Compiling MetaCodable DecodedAt.swift
[482/507] Compiling MetaCodable Default.swift
[483/507] Compiling MetaCodable DynamicCodable.swift
[484/509] Compiling MetaCodable Codable.swift
[485/509] Compiling MetaCodable CodableCommonStrategy.swift
[486/509] Compiling MetaCodable CodingKeys.swift
[487/509] Emitting module MetaCodable
[488/509] Compiling MetaCodable UnTagged.swift
[489/509] Compiling MetaCodable CodedAs.swift
[490/509] Compiling MetaCodable CodedAt.swift
[491/509] Compiling MetaCodable CodedBy.swift
[492/509] Compiling MetaCodable CodedIn.swift
[493/509] Compiling MetaCodable ContentAt.swift
[494/509] Compiling MetaCodable Decodable.swift
[495/509] Compiling MetaCodable Encodable.swift
[496/509] Compiling MetaCodable IgnoreCodingInitialized.swift
[497/509] Compiling MetaCodable DynamicCodableIdentifier+CodingKey.swift
[498/509] Compiling MetaCodable DynamicCodableIdentifier+Expressible.swift
[499/509] Compiling MetaCodable DynamicCodableIdentifier.swift
[500/509] Compiling MetaCodable IgnoreCoding.swift
[501/509] Compiling MetaCodable MemberInit.swift
[502/509] Compiling MetaCodable EncodedAt.swift
[503/509] Compiling MetaCodable HelperCoder.swift
[504/509] Compiling MetaCodable LossySequence.swift
[505/510] Wrapping AST for MetaCodable for debugging
[507/524] Compiling HelperCoders String.swift
[508/525] Compiling HelperCoders ValueCoder.swift
[509/525] Compiling HelperCoders NonConformingCoder.swift
[510/525] Compiling HelperCoders PropertyWrapperCoder.swift
[511/525] Emitting module HelperCoders
[512/525] Compiling HelperCoders Base64Coder.swift
[513/525] Compiling HelperCoders ConditionalCoder.swift
[514/525] Compiling HelperCoders Bool.swift
[515/525] Compiling HelperCoders Number.swift
[516/525] Compiling HelperCoders DateCoder.swift
[517/525] Compiling HelperCoders Since1970DateCoder.swift
[518/525] Compiling HelperCoders DefaultSequenceElementCoding.swift
[519/525] Compiling HelperCoders SequenceCoder.swift
[520/525] Compiling HelperCoders SequenceCoderConfiguration.swift
[521/525] Compiling HelperCoders HelperCoderStrategy.swift
[522/526] Wrapping AST for HelperCoders for debugging
[524/541] Compiling OpenAI Message.swift
[525/541] Compiling OpenAI Model.swift
[526/543] Compiling OpenAI Tool.swift
[527/543] Compiling OpenAI WebhookEvent.swift
[528/543] Compiling OpenAI OpenAI.swift
/host/spi-builder-workspace/src/OpenAI.swift:203:62: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
201 | ///
202 | /// - Throws: If the request fails to send or has a non-200 status code.
203 | func stream(request: URLRequest) async throws -> URLSession.AsyncBytes {
| `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
204 | let (data, res) = try await URLSession.shared.bytes(for: request)
205 |
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
1 | open class URLSession : NSObject, @unchecked Sendable {
| `- note: 'URLSession' declared here
2 | open class var shared: URLSession { get }
3 | public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/src/OpenAI.swift:92:31: error: extraneous argument label 'request:' in call
90 | req.addValue("application/json", forHTTPHeaderField: "Content-Type")
91 |
92 | let bytes = try await stream(request: req)
| `- error: extraneous argument label 'request:' in call
93 |
94 | let (stream, continuation) = AsyncThrowingStream.makeStream(of: Event.self)
/host/spi-builder-workspace/src/OpenAI.swift:92:41: error: cannot convert value of type 'URLRequest' to expected argument type 'Request'
90 | req.addValue("application/json", forHTTPHeaderField: "Content-Type")
91 |
92 | let bytes = try await stream(request: req)
| `- error: cannot convert value of type 'URLRequest' to expected argument type 'Request'
93 |
94 | let (stream, continuation) = AsyncThrowingStream.makeStream(of: Event.self)
/host/spi-builder-workspace/src/OpenAI.swift:162:7: error: value of type 'URLRequest' has no member 'attach'
160 | var req = request
161 | req.httpMethod = "POST"
162 | req.attach(formData: form)
| `- error: value of type 'URLRequest' has no member 'attach'
163 | req.url!.append(path: "v1/files")
164 |
/host/spi-builder-workspace/src/OpenAI.swift:204:49: error: value of type 'URLSession' has no member 'bytes'
202 | /// - Throws: If the request fails to send or has a non-200 status code.
203 | func stream(request: URLRequest) async throws -> URLSession.AsyncBytes {
204 | let (data, res) = try await URLSession.shared.bytes(for: request)
| `- error: value of type 'URLSession' has no member 'bytes'
205 |
206 | guard let res = res as? HTTPURLResponse else { throw Error.invalidResponse(res) }
/host/spi-builder-workspace/src/Support/MultiPartData.swift:55:11: error: cannot find type 'URLRequest' in scope
53 | }
54 |
55 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
56 | mutating func attach(formData form: FormData) {
57 | httpBody = form.data
[529/543] Compiling OpenAI MultiPartData.swift
/host/spi-builder-workspace/src/OpenAI.swift:203:62: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
201 | ///
202 | /// - Throws: If the request fails to send or has a non-200 status code.
203 | func stream(request: URLRequest) async throws -> URLSession.AsyncBytes {
| `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
204 | let (data, res) = try await URLSession.shared.bytes(for: request)
205 |
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
1 | open class URLSession : NSObject, @unchecked Sendable {
| `- note: 'URLSession' declared here
2 | open class var shared: URLSession { get }
3 | public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/src/OpenAI.swift:92:31: error: extraneous argument label 'request:' in call
90 | req.addValue("application/json", forHTTPHeaderField: "Content-Type")
91 |
92 | let bytes = try await stream(request: req)
| `- error: extraneous argument label 'request:' in call
93 |
94 | let (stream, continuation) = AsyncThrowingStream.makeStream(of: Event.self)
/host/spi-builder-workspace/src/OpenAI.swift:92:41: error: cannot convert value of type 'URLRequest' to expected argument type 'Request'
90 | req.addValue("application/json", forHTTPHeaderField: "Content-Type")
91 |
92 | let bytes = try await stream(request: req)
| `- error: cannot convert value of type 'URLRequest' to expected argument type 'Request'
93 |
94 | let (stream, continuation) = AsyncThrowingStream.makeStream(of: Event.self)
/host/spi-builder-workspace/src/OpenAI.swift:162:7: error: value of type 'URLRequest' has no member 'attach'
160 | var req = request
161 | req.httpMethod = "POST"
162 | req.attach(formData: form)
| `- error: value of type 'URLRequest' has no member 'attach'
163 | req.url!.append(path: "v1/files")
164 |
/host/spi-builder-workspace/src/OpenAI.swift:204:49: error: value of type 'URLSession' has no member 'bytes'
202 | /// - Throws: If the request fails to send or has a non-200 status code.
203 | func stream(request: URLRequest) async throws -> URLSession.AsyncBytes {
204 | let (data, res) = try await URLSession.shared.bytes(for: request)
| `- error: value of type 'URLSession' has no member 'bytes'
205 |
206 | guard let res = res as? HTTPURLResponse else { throw Error.invalidResponse(res) }
/host/spi-builder-workspace/src/Support/MultiPartData.swift:55:11: error: cannot find type 'URLRequest' in scope
53 | }
54 |
55 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
56 | mutating func attach(formData form: FormData) {
57 | httpBody = form.data
[530/543] Compiling OpenAI Request.swift
[531/543] Compiling OpenAI Response.swift
[532/543] Compiling OpenAI Conversation.swift
/host/spi-builder-workspace/src/Conversation.swift:184:3: warning: '@concurrent' has been renamed to '@Sendable'
182 | ///
183 | /// - Parameter input: Text, image, or file inputs to the model, used to generate a response.
184 | @concurrent public nonisolated func sendAndWaitForResponses(_ input: Input) async throws {
| `- warning: '@concurrent' has been renamed to '@Sendable'
185 | let request = await Request(
186 | model: config.model,
/host/spi-builder-workspace/src/Conversation.swift:219:3: warning: '@concurrent' has been renamed to '@Sendable'
217 | /// - Parameter file: The file to upload.
218 | /// - Parameter purpose: The intended purpose of the file.
219 | @concurrent public nonisolated func upload(file: File.Upload) async throws -> File {
| `- warning: '@concurrent' has been renamed to '@Sendable'
220 | try await client.upload(file: file, purpose: .userData)
221 | }
/host/spi-builder-workspace/src/Conversation.swift:4:13: error: unknown attribute 'Observable'
2 |
3 | /// A wrapper around the Responses API for managing a conversation.
4 | @MainActor @Observable public final class Conversation {
| `- error: unknown attribute 'Observable'
5 | /// An entry in the conversation.
6 | public enum Entry: Equatable, Sendable {
/host/spi-builder-workspace/src/Conversation.swift:345:29: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it
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
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/host/spi-builder-workspace/src/Conversation.swift:345:37: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it
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
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/host/spi-builder-workspace/src/Conversation.swift:345:50: warning: immutable value 'contentIndex' was never used; consider replacing with '_' or removing it
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
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/host/spi-builder-workspace/src/Conversation.swift:345:64: warning: immutable value 'delta' was never used; consider replacing with '_' or removing it
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
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/host/spi-builder-workspace/src/Conversation.swift:347:28: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it
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
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/host/spi-builder-workspace/src/Conversation.swift:347:36: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it
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
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/host/spi-builder-workspace/src/Conversation.swift:347:49: warning: immutable value 'contentIndex' was never used; consider replacing with '_' or removing it
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
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/host/spi-builder-workspace/src/Conversation.swift:347:63: warning: immutable value 'text' was never used; consider replacing with '_' or removing it
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
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/host/spi-builder-workspace/src/Conversation.swift:349:80: warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it
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
350 | updateItem(index: outputIndex, id: itemId) { item in
351 | guard case var .reasoning(reasoning) = item else { return }
/host/spi-builder-workspace/src/Conversation.swift:365:57: warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it
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
366 | updateItem(index: outputIndex, id: itemId) { item in
367 | guard case var .reasoning(reasoning) = item else { return }
/host/spi-builder-workspace/src/Conversation.swift:365:71: warning: immutable value 'delta' was never used; consider replacing with '_' or removing it
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
366 | updateItem(index: outputIndex, id: itemId) { item in
367 | guard case var .reasoning(reasoning) = item else { return }
/host/spi-builder-workspace/src/Conversation.swift:367:32: warning: variable 'reasoning' was never used; consider replacing with '_' or removing it
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
368 |
369 | // figure out where to put the reasoning
/host/spi-builder-workspace/src/Conversation.swift:371:56: warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it
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
372 | updateItem(index: outputIndex, id: itemId) { item in
373 | guard case var .reasoning(reasoning) = item else { return }
/host/spi-builder-workspace/src/Conversation.swift:371:70: warning: immutable value 'text' was never used; consider replacing with '_' or removing it
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
372 | updateItem(index: outputIndex, id: itemId) { item in
373 | guard case var .reasoning(reasoning) = item else { return }
/host/spi-builder-workspace/src/Conversation.swift:373:32: warning: variable 'reasoning' was never used; consider replacing with '_' or removing it
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
374 |
375 | // figure out where to put the reasoning
/host/spi-builder-workspace/src/Conversation.swift:449:32: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it
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
450 | break // mcpToolCall does not have a status field we can track
451 | case let .mcpListToolsCompleted(itemId, outputIndex):
/host/spi-builder-workspace/src/Conversation.swift:449:40: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it
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
450 | break // mcpToolCall does not have a status field we can track
451 | case let .mcpListToolsCompleted(itemId, outputIndex):
/host/spi-builder-workspace/src/Conversation.swift:451:36: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it
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
452 | break // mcpListTools does not have a status field we can track
453 | case .mcpListToolsFailed:
/host/spi-builder-workspace/src/Conversation.swift:451:44: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it
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
452 | break // mcpListTools does not have a status field we can track
453 | case .mcpListToolsFailed:
/host/spi-builder-workspace/src/Conversation.swift:455:37: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it
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
456 | break // mcpListTools does not have a status field we can track
457 | case let .codeInterpreterCallInProgress(itemId, outputIndex):
/host/spi-builder-workspace/src/Conversation.swift:455:45: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it
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
456 | break // mcpListTools does not have a status field we can track
457 | case let .codeInterpreterCallInProgress(itemId, outputIndex):
/host/spi-builder-workspace/src/Extensions/AsyncBytes+collect.swift:3:22: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
1 | import Foundation
2 |
3 | extension URLSession.AsyncBytes {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
4 | func collect() async throws -> Data {
5 | var data = Data()
[533/543] Compiling OpenAI AsyncBytes+collect.swift
/host/spi-builder-workspace/src/Conversation.swift:184:3: warning: '@concurrent' has been renamed to '@Sendable'
182 | ///
183 | /// - Parameter input: Text, image, or file inputs to the model, used to generate a response.
184 | @concurrent public nonisolated func sendAndWaitForResponses(_ input: Input) async throws {
| `- warning: '@concurrent' has been renamed to '@Sendable'
185 | let request = await Request(
186 | model: config.model,
/host/spi-builder-workspace/src/Conversation.swift:219:3: warning: '@concurrent' has been renamed to '@Sendable'
217 | /// - Parameter file: The file to upload.
218 | /// - Parameter purpose: The intended purpose of the file.
219 | @concurrent public nonisolated func upload(file: File.Upload) async throws -> File {
| `- warning: '@concurrent' has been renamed to '@Sendable'
220 | try await client.upload(file: file, purpose: .userData)
221 | }
/host/spi-builder-workspace/src/Conversation.swift:4:13: error: unknown attribute 'Observable'
2 |
3 | /// A wrapper around the Responses API for managing a conversation.
4 | @MainActor @Observable public final class Conversation {
| `- error: unknown attribute 'Observable'
5 | /// An entry in the conversation.
6 | public enum Entry: Equatable, Sendable {
/host/spi-builder-workspace/src/Conversation.swift:345:29: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it
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
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/host/spi-builder-workspace/src/Conversation.swift:345:37: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it
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
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/host/spi-builder-workspace/src/Conversation.swift:345:50: warning: immutable value 'contentIndex' was never used; consider replacing with '_' or removing it
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
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/host/spi-builder-workspace/src/Conversation.swift:345:64: warning: immutable value 'delta' was never used; consider replacing with '_' or removing it
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
346 | break // this doesn't seem to ever get sent
347 | case let .reasoningDone(itemId, outputIndex, contentIndex, text):
/host/spi-builder-workspace/src/Conversation.swift:347:28: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it
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
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/host/spi-builder-workspace/src/Conversation.swift:347:36: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it
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
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/host/spi-builder-workspace/src/Conversation.swift:347:49: warning: immutable value 'contentIndex' was never used; consider replacing with '_' or removing it
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
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/host/spi-builder-workspace/src/Conversation.swift:347:63: warning: immutable value 'text' was never used; consider replacing with '_' or removing it
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
348 | break // this doesn't seem to ever get sent
349 | case let .reasoningSummaryPartAdded(itemId, outputIndex: outputIndex, part, summaryIndex):
/host/spi-builder-workspace/src/Conversation.swift:349:80: warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it
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
350 | updateItem(index: outputIndex, id: itemId) { item in
351 | guard case var .reasoning(reasoning) = item else { return }
/host/spi-builder-workspace/src/Conversation.swift:365:57: warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it
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
366 | updateItem(index: outputIndex, id: itemId) { item in
367 | guard case var .reasoning(reasoning) = item else { return }
/host/spi-builder-workspace/src/Conversation.swift:365:71: warning: immutable value 'delta' was never used; consider replacing with '_' or removing it
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
366 | updateItem(index: outputIndex, id: itemId) { item in
367 | guard case var .reasoning(reasoning) = item else { return }
/host/spi-builder-workspace/src/Conversation.swift:367:32: warning: variable 'reasoning' was never used; consider replacing with '_' or removing it
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
368 |
369 | // figure out where to put the reasoning
/host/spi-builder-workspace/src/Conversation.swift:371:56: warning: immutable value 'summaryIndex' was never used; consider replacing with '_' or removing it
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
372 | updateItem(index: outputIndex, id: itemId) { item in
373 | guard case var .reasoning(reasoning) = item else { return }
/host/spi-builder-workspace/src/Conversation.swift:371:70: warning: immutable value 'text' was never used; consider replacing with '_' or removing it
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
372 | updateItem(index: outputIndex, id: itemId) { item in
373 | guard case var .reasoning(reasoning) = item else { return }
/host/spi-builder-workspace/src/Conversation.swift:373:32: warning: variable 'reasoning' was never used; consider replacing with '_' or removing it
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
374 |
375 | // figure out where to put the reasoning
/host/spi-builder-workspace/src/Conversation.swift:449:32: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it
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
450 | break // mcpToolCall does not have a status field we can track
451 | case let .mcpListToolsCompleted(itemId, outputIndex):
/host/spi-builder-workspace/src/Conversation.swift:449:40: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it
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
450 | break // mcpToolCall does not have a status field we can track
451 | case let .mcpListToolsCompleted(itemId, outputIndex):
/host/spi-builder-workspace/src/Conversation.swift:451:36: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it
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
452 | break // mcpListTools does not have a status field we can track
453 | case .mcpListToolsFailed:
/host/spi-builder-workspace/src/Conversation.swift:451:44: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it
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
452 | break // mcpListTools does not have a status field we can track
453 | case .mcpListToolsFailed:
/host/spi-builder-workspace/src/Conversation.swift:455:37: warning: immutable value 'itemId' was never used; consider replacing with '_' or removing it
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
456 | break // mcpListTools does not have a status field we can track
457 | case let .codeInterpreterCallInProgress(itemId, outputIndex):
/host/spi-builder-workspace/src/Conversation.swift:455:45: warning: immutable value 'outputIndex' was never used; consider replacing with '_' or removing it
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
456 | break // mcpListTools does not have a status field we can track
457 | case let .codeInterpreterCallInProgress(itemId, outputIndex):
/host/spi-builder-workspace/src/Extensions/AsyncBytes+collect.swift:3:22: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
1 | import Foundation
2 |
3 | extension URLSession.AsyncBytes {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
4 | func collect() async throws -> Data {
5 | var data = Data()
[534/543] Compiling OpenAI Event.swift
[535/543] Compiling OpenAI File.swift
[536/543] Compiling OpenAI Collection+safeAccess.swift
[537/543] Compiling OpenAI Config.swift
[538/543] Compiling OpenAI Input.swift
macro expansion @Codable:11:14: warning: literal value is already handled by previous pattern; consider removing it
`- /host/spi-builder-workspace/src/Models/Item.swift:104:3: note: expanded code originates here
102 | }
103 | }
104 | }
+--- macro expansion @Codable -------------------------------------
| 5 | type = try container.decode(String.self, forKey: CodingKeys.type)
| 6 | switch type {
| 7 | case "message":
| | `- note: first occurrence of identical literal pattern is here
| 8 | let _0: Message.Input
| 9 | _0 = try Message.Input(from: decoder)
| 10 | self = .inputMessage(_0)
| 11 | case "message":
| | `- warning: literal value is already handled by previous pattern; consider removing it
| 12 | let _0: Message.Output
| 13 | _0 = try Message.Output(from: decoder)
+------------------------------------------------------------------
105 |
106 | /// Content items generated by the model.
[539/543] Compiling OpenAI Item.swift
macro expansion @Codable:11:14: warning: literal value is already handled by previous pattern; consider removing it
`- /host/spi-builder-workspace/src/Models/Item.swift:104:3: note: expanded code originates here
102 | }
103 | }
104 | }
+--- macro expansion @Codable -------------------------------------
| 5 | type = try container.decode(String.self, forKey: CodingKeys.type)
| 6 | switch type {
| 7 | case "message":
| | `- note: first occurrence of identical literal pattern is here
| 8 | let _0: Message.Input
| 9 | _0 = try Message.Input(from: decoder)
| 10 | self = .inputMessage(_0)
| 11 | case "message":
| | `- warning: literal value is already handled by previous pattern; consider removing it
| 12 | let _0: Message.Output
| 13 | _0 = try Message.Output(from: decoder)
+------------------------------------------------------------------
105 |
106 | /// Content items generated by the model.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[540/543] Emitting module OpenAI
/host/spi-builder-workspace/src/Conversation.swift:184:3: warning: '@concurrent' has been renamed to '@Sendable'
182 | ///
183 | /// - Parameter input: Text, image, or file inputs to the model, used to generate a response.
184 | @concurrent public nonisolated func sendAndWaitForResponses(_ input: Input) async throws {
| `- warning: '@concurrent' has been renamed to '@Sendable'
185 | let request = await Request(
186 | model: config.model,
/host/spi-builder-workspace/src/Conversation.swift:219:3: warning: '@concurrent' has been renamed to '@Sendable'
217 | /// - Parameter file: The file to upload.
218 | /// - Parameter purpose: The intended purpose of the file.
219 | @concurrent public nonisolated func upload(file: File.Upload) async throws -> File {
| `- warning: '@concurrent' has been renamed to '@Sendable'
220 | try await client.upload(file: file, purpose: .userData)
221 | }
/host/spi-builder-workspace/src/Conversation.swift:4:13: error: unknown attribute 'Observable'
2 |
3 | /// A wrapper around the Responses API for managing a conversation.
4 | @MainActor @Observable public final class Conversation {
| `- error: unknown attribute 'Observable'
5 | /// An entry in the conversation.
6 | public enum Entry: Equatable, Sendable {
/host/spi-builder-workspace/src/Extensions/AsyncBytes+collect.swift:3:22: error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
1 | import Foundation
2 |
3 | extension URLSession.AsyncBytes {
| `- error: 'AsyncBytes' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
4 | func collect() async throws -> Data {
5 | var data = Data()
/host/spi-builder-workspace/src/OpenAI.swift:203:62: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
201 | ///
202 | /// - Throws: If the request fails to send or has a non-200 status code.
203 | func stream(request: URLRequest) async throws -> URLSession.AsyncBytes {
| `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
204 | let (data, res) = try await URLSession.shared.bytes(for: request)
205 |
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
1 | open class URLSession : NSObject, @unchecked Sendable {
| `- note: 'URLSession' declared here
2 | open class var shared: URLSession { get }
3 | public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/src/Support/MultiPartData.swift:55:11: error: cannot find type 'URLRequest' in scope
53 | }
54 |
55 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
56 | mutating func attach(formData form: FormData) {
57 | httpBody = form.data
BUILD FAILURE 6.0 linux