The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build OpenAI, reference main (110b63), with Swift 6.0 for Linux on 25 Jun 2025 07:13:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/m1guelpf/swift-openai-responses
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 110b63e Fix (#13)
Cloned https://github.com/m1guelpf/swift-openai-responses.git
Revision (git rev-parse @):
110b63eb4141bb01e630f0f662399b66432fa04f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/swift-openai-responses.git at main
========================================
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-3":/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/54093] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable.git from cache (8.88s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.4.0 (5.08s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/16650] Fetching swift-collections
[667/32030] Fetching swift-collections, swift-argument-parser
[16776/102981] Fetching swift-collections, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.76s)
[29422/87601] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (2.28s)
[24833/70951] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.86s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.73s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (3.03s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.24s)
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.5.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/SwiftyLab/MetaCodable.git
Working copy of https://github.com/SwiftyLab/MetaCodable.git resolved at 1.4.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 GenerateManual
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:53:53: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
 51 |
 52 |         // Setup folder
 53 |         let genFolder = context.pluginWorkDirectory.appending(["ProtocolGen"])
    |                                                     `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
 54 |         try FileManager.default.createDirectory(
 55 |             atPath: genFolder.string, withIntermediateDirectories: true
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:55:31: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
 53 |         let genFolder = context.pluginWorkDirectory.appending(["ProtocolGen"])
 54 |         try FileManager.default.createDirectory(
 55 |             atPath: genFolder.string, withIntermediateDirectories: true
    |                               `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
 56 |         )
 57 |
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:63:37: warning: 'path' is deprecated: renamed to 'url'
 61 |             return target.sourceFiles(withSuffix: "swift").map { file in
 62 |                 let moduleName = target.moduleName
 63 |                 let fileName = file.path.stem
    |                                     |- warning: 'path' is deprecated: renamed to 'url'
    |                                     `- note: use 'url' instead
 64 |                 let genFileName = "\(moduleName)-\(fileName)-gen.json"
 65 |                 let genFile = genFolder.appending([genFileName])
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:63:42: warning: 'stem' is deprecated: Use `URL` type instead of `Path`.
 61 |             return target.sourceFiles(withSuffix: "swift").map { file in
 62 |                 let moduleName = target.moduleName
 63 |                 let fileName = file.path.stem
    |                                          `- warning: 'stem' is deprecated: Use `URL` type instead of `Path`.
 64 |                 let genFileName = "\(moduleName)-\(fileName)-gen.json"
 65 |                 let genFile = genFolder.appending([genFileName])
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:65:41: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
 63 |                 let fileName = file.path.stem
 64 |                 let genFileName = "\(moduleName)-\(fileName)-gen.json"
 65 |                 let genFile = genFolder.appending([genFileName])
    |                                         `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
 66 |                 intermFiles.append(genFile)
 67 |                 return Command.buildCommand(
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:67:32: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
 65 |                 let genFile = genFolder.appending([genFileName])
 66 |                 intermFiles.append(genFile)
 67 |                 return Command.buildCommand(
    |                                `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
 68 |                     displayName: """
 69 |                         Parse source file "\(fileName)" in module "\(moduleName)"
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:71:38: warning: 'path' is deprecated: renamed to 'url'
 69 |                         Parse source file "\(fileName)" in module "\(moduleName)"
 70 |                         """,
 71 |                     executable: tool.path,
    |                                      |- warning: 'path' is deprecated: renamed to 'url'
    |                                      `- note: use 'url' instead
 72 |                     arguments: [
 73 |                         "parse",
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:74:30: warning: 'path' is deprecated: renamed to 'url'
 72 |                     arguments: [
 73 |                         "parse",
 74 |                         file.path.string,
    |                              |- warning: 'path' is deprecated: renamed to 'url'
    |                              `- note: use 'url' instead
 75 |                         "--output",
 76 |                         genFile.string,
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:74:35: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
 72 |                     arguments: [
 73 |                         "parse",
 74 |                         file.path.string,
    |                                   `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
 75 |                         "--output",
 76 |                         genFile.string,
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:76:33: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
 74 |                         file.path.string,
 75 |                         "--output",
 76 |                         genFile.string,
    |                                 `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
 77 |                     ],
 78 |                     inputFiles: [file.path],
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:78:39: warning: 'path' is deprecated: renamed to 'url'
 76 |                         genFile.string,
 77 |                     ],
 78 |                     inputFiles: [file.path],
    |                                       |- warning: 'path' is deprecated: renamed to 'url'
    |                                       `- note: use 'url' instead
 79 |                     outputFiles: [genFile]
 80 |                 )
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:87:33: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
 85 |         let moduleName = target.moduleName
 86 |         let genFileName = "\(moduleName)+ProtocolHelperCoders.swift"
 87 |         let genPath = genFolder.appending(genFileName)
    |                                 `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
 88 |         var genArgs = ["generate", "--output", genPath.string]
 89 |         for `import` in imports {
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:88:56: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
 86 |         let genFileName = "\(moduleName)+ProtocolHelperCoders.swift"
 87 |         let genPath = genFolder.appending(genFileName)
 88 |         var genArgs = ["generate", "--output", genPath.string]
    |                                                        `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
 89 |         for `import` in imports {
 90 |             genArgs.append(contentsOf: ["--module", `import`])
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:93:33: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
 91 |         }
 92 |         for file in intermFiles {
 93 |             genArgs.append(file.string)
    |                                 `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
 94 |         }
 95 |         buildCommands.append(
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:96:14: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
 94 |         }
 95 |         buildCommands.append(
 96 |             .buildCommand(
    |              `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
 97 |                 displayName: """
 98 |                     Generate protocol decoding/encoding syntax for "\(moduleName)"
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:100:34: warning: 'path' is deprecated: renamed to 'url'
 98 |                     Generate protocol decoding/encoding syntax for "\(moduleName)"
 99 |                     """,
100 |                 executable: tool.path,
    |                                  |- warning: 'path' is deprecated: renamed to 'url'
    |                                  `- note: use 'url' instead
101 |                 arguments: genArgs,
102 |                 inputFiles: intermFiles,
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:67:42: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
65 |     func configPath(named name: String) throws -> String? {
66 |         let fileManager = FileManager.default
67 |         let directory = module.directory.string
   |                                          `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
68 |         let contents = try fileManager.contentsOfDirectory(atPath: directory)
69 |         let file = contents.first { file in
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:70:24: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
68 |         let contents = try fileManager.contentsOfDirectory(atPath: directory)
69 |         let file = contents.first { file in
70 |             let path = Path(file)
   |                        `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
71 |             return name.lowercased()
72 |                 == path.stem
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:72:25: warning: 'stem' is deprecated: Use `URL` type instead of `Path`.
70 |             let path = Path(file)
71 |             return name.lowercased()
72 |                 == path.stem
   |                         `- warning: 'stem' is deprecated: Use `URL` type instead of `Path`.
73 |                 .components(separatedBy: .alphanumerics.inverted)
74 |                 .joined(separator: "")
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:78:33: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
76 |         }
77 |         guard let file else { return nil }
78 |         return module.directory.appending([file]).string
   |                                 `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
79 |     }
80 | }
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:78:51: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
76 |         }
77 |         guard let file else { return nil }
78 |         return module.directory.appending([file]).string
   |                                                   `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
79 |     }
80 | }
[2/2] Compiling plugin MetaProtocolCodable
Building for debugging...
[2/50] Write sources
[23/50] Compiling _SwiftSyntaxCShims dummy.c
[24/50] Write swift-version-24593BA9C3E375BF.txt
[26/70] Emitting module SwiftSyntax510
[27/70] Compiling SwiftSyntax510 Empty.swift
[28/71] Emitting module SwiftSyntax509
[29/71] Compiling SwiftSyntax509 Empty.swift
[30/72] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[32/73] Emitting module InternalCollectionsUtilities
[34/73] Compiling SwiftSyntax600 Empty.swift
[35/73] Emitting module SwiftSyntax600
[35/74] Wrapping AST for SwiftSyntax510 for debugging
[38/74] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/74] Compiling InternalCollectionsUtilities _SortedCollection.swift
[40/74] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[41/74] Compiling InternalCollectionsUtilities Debugging.swift
[41/74] Wrapping AST for SwiftSyntax509 for debugging
[43/74] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[44/74] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[45/74] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[46/74] Compiling InternalCollectionsUtilities Integer rank.swift
[47/74] Compiling InternalCollectionsUtilities Descriptions.swift
[48/74] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[49/74] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[50/74] Compiling InternalCollectionsUtilities UInt+reversed.swift
[51/74] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[51/74] Wrapping AST for SwiftSyntax600 for debugging
[53/75] Wrapping AST for InternalCollectionsUtilities for debugging
[55/194] Compiling SwiftSyntax MemoryLayout.swift
[56/194] Compiling SwiftSyntax MissingNodeInitializers.swift
[57/194] Compiling SwiftSyntax RawSyntax.swift
[58/194] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[59/194] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[60/194] Compiling SwiftSyntax RawSyntaxTokenView.swift
[61/194] Compiling SwiftSyntax SourceEdit.swift
[62/194] Compiling SwiftSyntax SourceLength.swift
[63/201] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[64/201] Compiling SwiftSyntax SyntaxBaseNodes.swift
[65/201] Compiling SwiftSyntax SyntaxCollections.swift
[66/201] Compiling SwiftSyntax SyntaxEnum.swift
[67/201] Compiling SwiftSyntax SyntaxNodeFactory.swift
[68/201] Compiling SwiftSyntax SyntaxNodeStructure.swift
[69/201] Compiling SwiftSyntax SyntaxProtocol.swift
[70/201] Compiling SwiftSyntax SyntaxText.swift
[71/201] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[72/201] Compiling SwiftSyntax TokenDiagnostic.swift
[73/201] Compiling SwiftSyntax TokenSequence.swift
[74/201] Compiling SwiftSyntax TokenSyntax.swift
[75/201] Compiling SwiftSyntax Trivia.swift
[76/201] Compiling SwiftSyntax SyntaxKind.swift
[77/201] Compiling SwiftSyntax SourceLocation.swift
[78/201] Compiling SwiftSyntax AbsolutePosition.swift
[79/201] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[80/201] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[81/201] Compiling SwiftSyntax Assert.swift
[82/201] Compiling SwiftSyntax BumpPtrAllocator.swift
[83/201] Compiling SwiftSyntax CommonAncestor.swift
[84/201] Compiling SwiftSyntax Convenience.swift
[85/201] Compiling SwiftSyntax CustomTraits.swift
[86/201] Compiling SwiftSyntax Identifier.swift
[87/201] Compiling SwiftSyntax RawSyntaxNodesD.swift
[88/201] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[89/201] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[90/201] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[91/201] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[92/201] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[93/201] Compiling SwiftSyntax SyntaxRewriter.swift
[94/201] Compiling SwiftSyntax SyntaxTraits.swift
[95/201] Compiling SwiftSyntax SyntaxVisitor.swift
[96/201] Compiling SwiftSyntax TokenKind.swift
[97/201] Compiling SwiftSyntax Tokens.swift
[98/201] Compiling SwiftSyntax TriviaPieces.swift
[99/201] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[100/201] Compiling SwiftSyntax RawSyntaxNodesC.swift
[101/201] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[102/201] Compiling SwiftSyntax RawSyntaxValidation.swift
[103/201] Compiling SwiftSyntax SyntaxNodesAB.swift
[104/201] Compiling SwiftSyntax Utils.swift
[105/201] Compiling SwiftSyntax ChildNameForKeyPath.swift
[106/201] Compiling SwiftSyntax Keyword.swift
[107/201] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[108/201] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[109/201] Emitting module OrderedCollections
[110/201] Compiling OrderedCollections OrderedSet+Sendable.swift
[111/201] Compiling OrderedCollections OrderedSet+SubSequence.swift
[112/201] Compiling OrderedCollections OrderedSet+Testing.swift
[113/201] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[114/201] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[115/201] Compiling OrderedCollections OrderedSet.swift
[116/201] Compiling OrderedCollections _UnsafeBitset.swift
[117/202] Wrapping AST for OrderedCollections for debugging
[162/210] Compiling SwiftSyntax SyntaxHashable.swift
[163/210] Compiling SwiftSyntax SyntaxIdentifier.swift
[173/210] Emitting module SwiftSyntax
[183/210] Compiling SwiftSyntax SyntaxNodesC.swift
[184/210] Compiling SwiftSyntax SyntaxNodesD.swift
[185/210] Compiling SwiftSyntax SyntaxNodesEF.swift
[186/210] Compiling SwiftSyntax SyntaxNodesGHI.swift
[187/210] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[188/210] Compiling SwiftSyntax SyntaxNodesOP.swift
[189/210] Compiling SwiftSyntax SyntaxNodesQRS.swift
[190/210] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[191/211] Wrapping AST for SwiftSyntax for debugging
[193/268] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[194/269] Compiling SwiftDiagnostics Note.swift
[195/269] Compiling SwiftDiagnostics Message.swift
[196/269] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[197/269] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[198/269] Compiling SwiftDiagnostics FixIt.swift
[199/269] Compiling SwiftBasicFormat InferIndentation.swift
[200/269] Compiling SwiftBasicFormat Syntax+Extensions.swift
[201/269] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[202/269] Compiling SwiftParser CharacterInfo.swift
[203/269] Compiling SwiftParser CollectionNodes+Parsable.swift
[204/269] Compiling SwiftParser Attributes.swift
[205/269] Compiling SwiftParser Availability.swift
[206/269] Emitting module SwiftDiagnostics
[207/269] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[208/270] Wrapping AST for SwiftDiagnostics for debugging
[210/270] Emitting module SwiftBasicFormat
[211/270] Compiling SwiftBasicFormat BasicFormat.swift
[212/271] Wrapping AST for SwiftBasicFormat for debugging
[214/271] Compiling SwiftParser LexemeSequence.swift
[215/271] Compiling SwiftParser Lexer.swift
[216/271] Compiling SwiftParser RegexLiteralLexer.swift
[217/271] Compiling SwiftParser UnicodeScalarExtensions.swift
[218/271] Compiling SwiftParser Lookahead.swift
[219/271] Compiling SwiftParser LoopProgressCondition.swift
[220/276] Compiling SwiftParser Modifiers.swift
[221/276] Compiling SwiftParser Names.swift
[222/276] Compiling SwiftParser Nominals.swift
[223/276] Compiling SwiftParser Parameters.swift
[224/276] Compiling SwiftParser ParseSourceFile.swift
[225/276] Compiling SwiftParser Parser.swift
[226/276] Compiling SwiftParser Patterns.swift
[227/276] Compiling SwiftParser Recovery.swift
[228/276] Compiling SwiftParser Specifiers.swift
[229/276] Compiling SwiftParser Statements.swift
[230/276] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[231/276] Compiling SwiftParser StringLiterals.swift
[232/276] Compiling SwiftParser SwiftParserCompatibility.swift
[233/276] Compiling SwiftParser SwiftVersion.swift
[234/276] Compiling SwiftParser SyntaxUtils.swift
[235/276] Compiling SwiftParser TokenConsumer.swift
[236/276] Compiling SwiftParser TokenPrecedence.swift
[237/276] Compiling SwiftParser TokenSpec.swift
[238/276] Compiling SwiftParser TokenSpecSet.swift
[239/276] Compiling SwiftParser TopLevel.swift
[240/276] Compiling SwiftParser TriviaParser.swift
[241/276] Compiling SwiftParser Types.swift
[242/276] Emitting module SwiftParser
[247/276] Compiling SwiftParser Declarations.swift
[248/276] Compiling SwiftParser Directives.swift
[249/276] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[250/276] Compiling SwiftParser Expressions.swift
[251/276] Compiling SwiftParser IncrementalParseTransition.swift
[252/276] Compiling SwiftParser IsValidIdentifier.swift
[253/276] Compiling SwiftParser Cursor.swift
[254/276] Compiling SwiftParser Lexeme.swift
[255/276] Compiling SwiftParser ExperimentalFeatures.swift
[256/276] Compiling SwiftParser IsLexerClassified.swift
[257/276] Compiling SwiftParser LayoutNodes+Parsable.swift
[258/276] Compiling SwiftParser Parser+TokenSpecSet.swift
[259/276] Compiling SwiftParser TokenSpecStaticMembers.swift
[260/277] Wrapping AST for SwiftParser for debugging
[262/300] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[263/300] Compiling SwiftOperators PrecedenceGroup.swift
[264/302] Compiling SwiftOperators PrecedenceGraph.swift
[265/302] Emitting module SwiftOperators
[266/302] Compiling SwiftOperators OperatorError.swift
[267/302] Compiling SwiftOperators OperatorTable+Defaults.swift
[268/302] Compiling SwiftOperators OperatorTable.swift
[269/302] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[270/302] Compiling SwiftOperators OperatorTable+Folding.swift
[271/302] Compiling SwiftOperators OperatorTable+Semantics.swift
[272/302] Compiling SwiftOperators Operator.swift
[273/302] Compiling SwiftOperators OperatorError+Diagnostics.swift
[274/302] Compiling SwiftOperators SyntaxSynthesis.swift
[275/303] Wrapping AST for SwiftOperators for debugging
[277/303] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[278/303] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[279/303] Compiling SwiftParserDiagnostics Utils.swift
[282/303] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[283/303] Compiling SwiftParserDiagnostics PresenceUtils.swift
[284/303] Emitting module SwiftParserDiagnostics
[285/303] Compiling SwiftParserDiagnostics MissingNodesError.swift
[286/303] Compiling SwiftParserDiagnostics MissingTokenError.swift
[289/304] Wrapping AST for SwiftParserDiagnostics for debugging
[291/319] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[292/319] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[293/320] Emitting module SwiftSyntaxBuilder
[294/320] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[295/320] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[296/320] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[297/320] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[298/320] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[299/320] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[300/320] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[301/320] Compiling SwiftSyntaxBuilder Indenter.swift
[302/320] Compiling SwiftSyntaxBuilder ListBuilder.swift
[303/320] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[304/320] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[305/320] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[306/320] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[307/321] Wrapping AST for SwiftSyntaxBuilder for debugging
[309/338] Emitting module SwiftSyntaxMacros
[310/340] Compiling SwiftSyntaxMacros MemberMacro.swift
[311/340] Compiling SwiftSyntaxMacros PeerMacro.swift
[312/340] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[313/340] Compiling SwiftSyntaxMacros Macro+Format.swift
[314/340] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[315/340] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[316/340] Compiling SwiftSyntaxMacros Macro.swift
[317/340] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[318/340] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[319/340] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[320/340] Compiling SwiftSyntaxMacros AccessorMacro.swift
[321/340] Compiling SwiftSyntaxMacros AttachedMacro.swift
[322/340] Compiling SwiftSyntaxMacros BodyMacro.swift
[323/340] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[324/340] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[325/340] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[326/340] Compiling SwiftSyntaxMacros PreambleMacro.swift
[327/340] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[328/341] Wrapping AST for SwiftSyntaxMacros for debugging
[330/432] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[331/433] Emitting module SwiftSyntaxMacroExpansion
[332/433] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[333/433] Compiling PluginCore AttributableDeclSyntax.swift
[334/433] Compiling PluginCore Attribute.swift
[335/433] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[336/433] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[337/433] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[338/433] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[339/433] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[340/434] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[342/446] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[343/447] Emitting module PluginCore
[344/458] Compiling PluginCore CombinedUsage.swift
[345/458] Compiling PluginCore ArgumentCountCondition.swift
[346/458] Compiling PluginCore DeclarationCondition.swift
[347/458] Compiling PluginCore DiagnosticCondition.swift
[348/458] Compiling PluginCore ConditionalDiagnosticProducer.swift
[349/458] Compiling PluginCore DiagnosticProducer.swift
[350/458] Compiling PluginCore DuplicateUsage.swift
[351/458] Compiling PluginCore GroupedVariableDeclaration.swift
[352/458] Compiling PluginCore InvalidCombination.swift
[353/458] Compiling PluginCore InvalidDeclaration.swift
[354/458] Compiling PluginCore MetaCodableMessage.swift
[355/458] Compiling PluginCore StaticVariableDeclaration.swift
[356/458] Emitting module SwiftCompilerPluginMessageHandling
[357/458] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[358/458] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[359/458] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[360/458] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[361/458] Compiling PluginCore Default.swift
[362/458] Compiling PluginCore IgnoreCoding.swift
[363/458] Compiling PluginCore IgnoreDecoding.swift
[364/458] Compiling PluginCore IgnoreEncoding.swift
[365/458] Compiling PluginCore CodedAt.swift
[366/458] Compiling PluginCore CodedIn.swift
[367/458] Compiling PluginCore ContentAt.swift
[368/458] Compiling PluginCore KeyPathProvider.swift
[369/458] Compiling PluginCore MemberInit+Expansion.swift
[370/458] Compiling PluginCore MemberInit.swift
[371/458] Compiling PluginCore PeerAttribute.swift
[372/458] Compiling PluginCore AggregatedDiagnosticProducer.swift
[373/458] Compiling PluginCore KeyedVariable.swift
[374/458] Compiling PluginCore PropertyVariable.swift
[375/458] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[376/458] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[377/458] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[378/458] Compiling PluginCore PropertyVariableTreeNode.swift
[379/458] Compiling PluginCore AssociatedDeclSyntax.swift
[380/458] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[381/458] Compiling PluginCore MemberGroupSyntax.swift
[382/458] Compiling PluginCore PropertyDeclSyntax.swift
[383/458] Compiling PluginCore VariableSyntax.swift
[384/458] Compiling PluginCore RequiredInitialization.swift
[385/458] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[386/458] Compiling PluginCore RequiredVariableInitialization.swift
[387/458] Compiling PluginCore VariableInitialization.swift
[388/458] Compiling PluginCore AliasedPropertyVariable.swift
[389/458] Compiling PluginCore AnyPropertyVariable.swift
[390/458] Compiling PluginCore BasicPropertyVariable.swift
[391/458] Compiling PluginCore DecodingFallback.swift
[392/458] Compiling PluginCore DefaultValueVariable.swift
[393/458] Compiling PluginCore HelperCodedVariable.swift
[394/458] Compiling PluginCore InitializationVariable.swift
[395/458] Compiling PluginCore AnyEnumSwitcher.swift
[396/458] Compiling PluginCore EnumSwitcherVariable.swift
[397/458] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[398/458] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[399/458] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[400/458] Compiling PluginCore UnTaggedEnumSwitcher.swift
[401/458] Compiling PluginCore AnyInitialization.swift
[402/458] Compiling PluginCore AnyRequiredVariableInitialization.swift
[403/458] Compiling PluginCore IgnoredInitialization.swift
[404/458] Compiling PluginCore MemberwiseInitGenerator.swift
[405/458] Compiling PluginCore OptionalInitialization.swift
[406/458] Compiling PluginCore UninitializedVariableDecl.swift
[407/458] Compiling PluginCore AttributeExpander.swift
[408/458] Compiling PluginCore DeclModifiersGenerator.swift
[409/458] Compiling PluginCore Options.swift
[410/458] Compiling PluginCore ComposedVariable.swift
[411/458] Compiling PluginCore ConditionalCodingVariable.swift
[412/458] Compiling PluginCore AssociatedVariable.swift
[413/458] Compiling PluginCore BasicAssociatedVariable.swift
[414/458] Compiling PluginCore BasicEnumCaseVariable.swift
[415/458] Compiling PluginCore EnumCaseVariable.swift
[416/458] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[417/458] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[418/458] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[419/458] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[420/458] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[423/458] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[424/458] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[425/458] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[426/458] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[427/458] Compiling PluginCore Inherits.swift
[428/458] Compiling PluginCore UnTagged.swift
[429/458] Compiling PluginCore CodedAs.swift
[430/458] Compiling PluginCore CodedBy.swift
[437/459] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[439/459] Compiling PluginCore ActorVariable.swift
[440/459] Compiling PluginCore ClassVariable.swift
[441/459] Compiling PluginCore Case.swift
[442/459] Compiling PluginCore CodingKeysMap.swift
[443/459] Compiling PluginCore Key.swift
[444/459] Compiling PluginCore ConstraintGenerator.swift
[445/459] Compiling PluginCore Registration.swift
[446/459] Compiling PluginCore EnumVariable.swift
[447/459] Compiling PluginCore MemberGroup.swift
[448/459] Compiling PluginCore TypeVariable.swift
[449/459] Compiling PluginCore Variable.swift
[451/462] Emitting module SwiftCompilerPlugin
[452/462] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[452/462] Wrapping AST for PluginCore for debugging
[454/463] Wrapping AST for SwiftCompilerPlugin for debugging
[456/466] Emitting module MacroPlugin
[457/466] Compiling MacroPlugin Definitions.swift
[458/466] Compiling MacroPlugin Plugin.swift
[459/467] Wrapping AST for MacroPlugin for debugging
[460/467] Write Objects.LinkFileList
[461/467] Linking MacroPlugin-tool
[463/484] Compiling MetaCodable UnTagged.swift
[464/484] Compiling MetaCodable CodedAs.swift
[465/484] Compiling MetaCodable CodedAt.swift
[466/486] Compiling MetaCodable CodedBy.swift
[467/486] Compiling MetaCodable CodedIn.swift
[468/486] Compiling MetaCodable DynamicCodable.swift
[469/486] Compiling MetaCodable DynamicCodableIdentifier+CodingKey.swift
[470/486] Compiling MetaCodable ContentAt.swift
[471/486] Compiling MetaCodable Default.swift
[472/486] Compiling MetaCodable Codable.swift
[473/486] Compiling MetaCodable CodingKeys.swift
[474/486] Compiling MetaCodable IgnoreCodingInitialized.swift
[475/486] Emitting module MetaCodable
[476/486] Compiling MetaCodable HelperCoder.swift
[477/486] Compiling MetaCodable LossySequence.swift
[478/486] Compiling MetaCodable DynamicCodableIdentifier+Expressible.swift
[479/486] Compiling MetaCodable DynamicCodableIdentifier.swift
[480/486] Compiling MetaCodable IgnoreCoding.swift
[481/486] Compiling MetaCodable MemberInit.swift
[482/487] Wrapping AST for MetaCodable for debugging
[484/500] Emitting module HelperCoders
[485/501] Compiling HelperCoders String.swift
[486/501] Compiling HelperCoders Number.swift
[487/501] Compiling HelperCoders DateCoder.swift
[488/501] Compiling HelperCoders Since1970DateCoder.swift
[489/501] Compiling HelperCoders Base64Coder.swift
[490/501] Compiling HelperCoders ConditionalCoder.swift
[491/501] Compiling HelperCoders ValueCoder.swift
[492/501] Compiling HelperCoders DefaultSequenceElementCoding.swift
[493/501] Compiling HelperCoders SequenceCoder.swift
[494/501] Compiling HelperCoders NonConformingCoder.swift
[495/501] Compiling HelperCoders PropertyWrapperCoder.swift
[496/501] Compiling HelperCoders SequenceCoderConfiguration.swift
[497/501] Compiling HelperCoders Bool.swift
[498/502] Wrapping AST for HelperCoders for debugging
[500/516] 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) }
[501/517] Compiling OpenAI MultiPartData.swift
/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
[502/517] Compiling OpenAI File.swift
macro expansion @Codable:42:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:75:4: note: expanded code originates here
 73 | 				filename: String? = nil
 74 | 			)
 75 | 		}
    +--- macro expansion @Codable --------------------------------------
    |40 | extension Input.Content.ContentItem: Encodable {
    |41 |     public func encode(to encoder: any Encoder) throws {
    |42 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |43 |         var typeContainer = container
    |44 |         switch self {
    +-------------------------------------------------------------------
 76 |
 77 | 		/// A text input to the model, equivalent to a text input.
macro expansion @Codable:32:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:39:3: note: expanded code originates here
 37 | 		/// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
 38 | 		case item(Item.Input)
 39 | 	}
    +--- macro expansion @Codable --------------------------------------
    |30 | extension Input.ListItem: Encodable {
    |31 |     public func encode(to encoder: any Encoder) throws {
    |32 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |33 |         var typeContainer = container
    |34 |         switch self {
    +-------------------------------------------------------------------
 40 |
 41 | 	/// Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses.
[503/517] Compiling OpenAI Input.swift
macro expansion @Codable:42:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:75:4: note: expanded code originates here
 73 | 				filename: String? = nil
 74 | 			)
 75 | 		}
    +--- macro expansion @Codable --------------------------------------
    |40 | extension Input.Content.ContentItem: Encodable {
    |41 |     public func encode(to encoder: any Encoder) throws {
    |42 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |43 |         var typeContainer = container
    |44 |         switch self {
    +-------------------------------------------------------------------
 76 |
 77 | 		/// A text input to the model, equivalent to a text input.
macro expansion @Codable:32:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:39:3: note: expanded code originates here
 37 | 		/// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
 38 | 		case item(Item.Input)
 39 | 	}
    +--- macro expansion @Codable --------------------------------------
    |30 | extension Input.ListItem: Encodable {
    |31 |     public func encode(to encoder: any Encoder) throws {
    |32 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |33 |         var typeContainer = container
    |34 |         switch self {
    +-------------------------------------------------------------------
 40 |
 41 | 	/// Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses.
[504/517] Compiling OpenAI Item.swift
macro expansion @Codable:24:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:590:4: note: expanded code originates here
588 | 			@CodedAs("summary_text")
589 | 			case text(_ text: String)
590 | 		}
    +--- macro expansion @Codable --------------------------------------
    |22 | extension Item.Reasoning.Summary: Encodable {
    |23 |     public func encode(to encoder: any Encoder) throws {
    |24 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |25 |         var typeContainer = container
    |26 |         switch self {
    +-------------------------------------------------------------------
591 |
592 | 		/// The status of the reasoning data.
macro expansion @Codable:74:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:444:4: note: expanded code originates here
442 | 			/// > Note: This action is not part of the official API. An invalid action gets returned in some cases when streaming back responses, so this catches it.
443 | 			case none
444 | 		}
    +--- macro expansion @Codable --------------------------------------
    | 72 | extension Item.ComputerToolCall.Action: Encodable {
    | 73 |     public func encode(to encoder: any Encoder) throws {
    | 74 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |    |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    | 75 |         var typeContainer = container
    | 76 |         switch self {
    +-------------------------------------------------------------------
445 |
446 | 		/// Indicates which mouse button was pressed during the click.
macro expansion @Codable:31:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:141:4: note: expanded code originates here
139 | 				}
140 | 			}
141 | 		}
    +--- macro expansion @Codable --------------------------------------
    |29 | extension Item.Output.Content: Encodable {
    |30 |     public func encode(to encoder: any Encoder) throws {
    |31 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |32 |         var typeContainer = container
    |33 |         switch self {
    +-------------------------------------------------------------------
142 |
143 | 		/// An output message from the model.
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:72:3: note: expanded code originates here
 70 | 			}
 71 | 		}
 72 | 	}
    +--- 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)
    +-------------------------------------------------------------------
 73 |
 74 | 	/// Content items generated by the model.
macro expansion @Codable:55:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:72:3: note: expanded code originates here
 70 | 			}
 71 | 		}
 72 | 	}
    +--- macro expansion @Codable --------------------------------------
    |53 | extension Item.Input: Encodable {
    |54 |     public func encode(to encoder: any Encoder) throws {
    |55 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |56 |         var typeContainer = container
    |57 |         switch self {
    +-------------------------------------------------------------------
 73 |
 74 | 	/// Content items generated by the model.
macro expansion @Codable:44:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:112:5: note: expanded code originates here
110 | 					index: UInt
111 | 				)
112 | 			}
    +--- macro expansion @Codable --------------------------------------
    |42 | extension Item.Output.Content.Annotation: Encodable {
    |43 |     public func encode(to encoder: any Encoder) throws {
    |44 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |45 |         var typeContainer = container
    |46 |         switch self {
    +-------------------------------------------------------------------
113 |
114 | 			/// A text output from the model.
macro expansion @Codable:43:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:176:3: note: expanded code originates here
174 | 			}
175 | 		}
176 | 	}
    +--- macro expansion @Codable --------------------------------------
    |41 | extension Item.Output: Encodable {
    |42 |     public func encode(to encoder: any Encoder) throws {
    |43 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |44 |         var typeContainer = container
    |45 |         switch self {
    +-------------------------------------------------------------------
177 |
178 | 	/// The results of a file search tool call.
macro expansion @Codable:26:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:544:4: note: expanded code originates here
542 | 				imageUrl: String?
543 | 			)
544 | 		}
    +--- macro expansion @Codable --------------------------------------
    |24 | extension Item.ComputerToolCallOutput.Output: Encodable {
    |25 |     public func encode(to encoder: any Encoder) throws {
    |26 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |27 |         var typeContainer = container
    |28 |         switch self {
    +-------------------------------------------------------------------
545 |
546 | 		/// The ID of the computer tool call output. Populated when this item is returned via API.
[505/517] Compiling OpenAI Message.swift
macro expansion @Codable:24:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:590:4: note: expanded code originates here
588 | 			@CodedAs("summary_text")
589 | 			case text(_ text: String)
590 | 		}
    +--- macro expansion @Codable --------------------------------------
    |22 | extension Item.Reasoning.Summary: Encodable {
    |23 |     public func encode(to encoder: any Encoder) throws {
    |24 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |25 |         var typeContainer = container
    |26 |         switch self {
    +-------------------------------------------------------------------
591 |
592 | 		/// The status of the reasoning data.
macro expansion @Codable:74:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:444:4: note: expanded code originates here
442 | 			/// > Note: This action is not part of the official API. An invalid action gets returned in some cases when streaming back responses, so this catches it.
443 | 			case none
444 | 		}
    +--- macro expansion @Codable --------------------------------------
    | 72 | extension Item.ComputerToolCall.Action: Encodable {
    | 73 |     public func encode(to encoder: any Encoder) throws {
    | 74 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |    |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    | 75 |         var typeContainer = container
    | 76 |         switch self {
    +-------------------------------------------------------------------
445 |
446 | 		/// Indicates which mouse button was pressed during the click.
macro expansion @Codable:31:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:141:4: note: expanded code originates here
139 | 				}
140 | 			}
141 | 		}
    +--- macro expansion @Codable --------------------------------------
    |29 | extension Item.Output.Content: Encodable {
    |30 |     public func encode(to encoder: any Encoder) throws {
    |31 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |32 |         var typeContainer = container
    |33 |         switch self {
    +-------------------------------------------------------------------
142 |
143 | 		/// An output message from the model.
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:72:3: note: expanded code originates here
 70 | 			}
 71 | 		}
 72 | 	}
    +--- 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)
    +-------------------------------------------------------------------
 73 |
 74 | 	/// Content items generated by the model.
macro expansion @Codable:55:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:72:3: note: expanded code originates here
 70 | 			}
 71 | 		}
 72 | 	}
    +--- macro expansion @Codable --------------------------------------
    |53 | extension Item.Input: Encodable {
    |54 |     public func encode(to encoder: any Encoder) throws {
    |55 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |56 |         var typeContainer = container
    |57 |         switch self {
    +-------------------------------------------------------------------
 73 |
 74 | 	/// Content items generated by the model.
macro expansion @Codable:44:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:112:5: note: expanded code originates here
110 | 					index: UInt
111 | 				)
112 | 			}
    +--- macro expansion @Codable --------------------------------------
    |42 | extension Item.Output.Content.Annotation: Encodable {
    |43 |     public func encode(to encoder: any Encoder) throws {
    |44 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |45 |         var typeContainer = container
    |46 |         switch self {
    +-------------------------------------------------------------------
113 |
114 | 			/// A text output from the model.
macro expansion @Codable:43:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:176:3: note: expanded code originates here
174 | 			}
175 | 		}
176 | 	}
    +--- macro expansion @Codable --------------------------------------
    |41 | extension Item.Output: Encodable {
    |42 |     public func encode(to encoder: any Encoder) throws {
    |43 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |44 |         var typeContainer = container
    |45 |         switch self {
    +-------------------------------------------------------------------
177 |
178 | 	/// The results of a file search tool call.
macro expansion @Codable:26:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:544:4: note: expanded code originates here
542 | 				imageUrl: String?
543 | 			)
544 | 		}
    +--- macro expansion @Codable --------------------------------------
    |24 | extension Item.ComputerToolCallOutput.Output: Encodable {
    |25 |     public func encode(to encoder: any Encoder) throws {
    |26 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |27 |         var typeContainer = container
    |28 |         switch self {
    +-------------------------------------------------------------------
545 |
546 | 		/// The ID of the computer tool call output. Populated when this item is returned via API.
[506/517] Compiling OpenAI Response.swift
macro expansion @Codable:35:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Tool.swift:428:2: note: expanded code originates here
426 | 	@CodedAs("web_search_preview")
427 | 	case webSearch(WebSearch)
428 | }
    +--- macro expansion @Codable --------------------------------------
    |33 | extension Tool: Encodable {
    |34 |     public func encode(to encoder: any Encoder) throws {
    |35 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |36 |         var typeContainer = container
    |37 |         switch self {
    +-------------------------------------------------------------------
429 |
430 | public extension Tool {
[507/517] Compiling OpenAI Tool.swift
macro expansion @Codable:35:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Tool.swift:428:2: note: expanded code originates here
426 | 	@CodedAs("web_search_preview")
427 | 	case webSearch(WebSearch)
428 | }
    +--- macro expansion @Codable --------------------------------------
    |33 | extension Tool: Encodable {
    |34 |     public func encode(to encoder: any Encoder) throws {
    |35 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |36 |         var typeContainer = container
    |37 |         switch self {
    +-------------------------------------------------------------------
429 |
430 | public extension Tool {
[508/517] Compiling OpenAI Model.swift
[509/517] Compiling OpenAI Request.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[510/517] Compiling OpenAI Config.swift
macro expansion @Codable:34:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Config.swift:73:3: note: expanded code originates here
 71 | 		@CodedAs("json_object")
 72 | 		case jsonObject
 73 | 	}
    +--- macro expansion @Codable --------------------------------------
    |32 | extension TextConfig.Format: Encodable {
    |33 |     public func encode(to encoder: any Encoder) throws {
    |34 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |35 |         var typeContainer = container
    |36 |         switch self {
    +-------------------------------------------------------------------
 74 |
 75 | 	/// An object specifying the format that the model must output.
macro expansion @Codable:202:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Event.swift:239:2: note: expanded code originates here
237 | 	@CodedAs("error")
238 | 	case error(error: Response.Error)
239 | }
    +--- macro expansion @Codable --------------------------------------
    |200 | extension Event: Encodable {
    |201 |     public func encode(to encoder: any Encoder) throws {
    |202 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |    |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |203 |         var typeContainer = container
    |204 |         switch self {
    +-------------------------------------------------------------------
240 |
[511/517] Compiling OpenAI Event.swift
macro expansion @Codable:34:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Config.swift:73:3: note: expanded code originates here
 71 | 		@CodedAs("json_object")
 72 | 		case jsonObject
 73 | 	}
    +--- macro expansion @Codable --------------------------------------
    |32 | extension TextConfig.Format: Encodable {
    |33 |     public func encode(to encoder: any Encoder) throws {
    |34 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |35 |         var typeContainer = container
    |36 |         switch self {
    +-------------------------------------------------------------------
 74 |
 75 | 	/// An object specifying the format that the model must output.
macro expansion @Codable:202:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Event.swift:239:2: note: expanded code originates here
237 | 	@CodedAs("error")
238 | 	case error(error: Response.Error)
239 | }
    +--- macro expansion @Codable --------------------------------------
    |200 | extension Event: Encodable {
    |201 |     public func encode(to encoder: any Encoder) throws {
    |202 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |    |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |203 |         var typeContainer = container
    |204 |         switch self {
    +-------------------------------------------------------------------
240 |
[512/517] Emitting module OpenAI
/host/spi-builder-workspace/src/Conversation.swift:4:2: error: unknown attribute 'Observable'
  2 |
  3 | /// A wrapper around the Responses API for managing a conversation.
  4 | @Observable public final class Conversation: Sendable {
    |  `- 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
[513/517] Compiling OpenAI Conversation.swift
/host/spi-builder-workspace/src/Conversation.swift:4:2: error: unknown attribute 'Observable'
  2 |
  3 | /// A wrapper around the Responses API for managing a conversation.
  4 | @Observable public final class Conversation: Sendable {
    |  `- 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()
[514/517] Compiling OpenAI AsyncBytes+collect.swift
/host/spi-builder-workspace/src/Conversation.swift:4:2: error: unknown attribute 'Observable'
  2 |
  3 | /// A wrapper around the Responses API for managing a conversation.
  4 | @Observable public final class Conversation: Sendable {
    |  `- 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()
BUILD FAILURE 6.0 linux