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 1.0.7 (110b63), with Swift 6.2 (beta) for Linux on 25 Jun 2025 07:10:49 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.2-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.0.7
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.0.7      -> FETCH_HEAD
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 1.0.7
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/SwiftyLab/MetaCodable.git
[1/54093] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable.git from cache (6.24s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.4.0 (11.51s)
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
[17853/102981] Fetching swift-collections, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.96s)
[41483/87601] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (3.02s)
[25543/70951] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (11.00s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (11.98s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (5.10s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.36s)
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
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/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/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:53:53: warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 51 |
 52 |         // Setup folder
 53 |         let genFolder = context.pluginWorkDirectory.appending(["ProtocolGen"])
    |                                                     `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 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`. [#DeprecatedDeclaration]
 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`. [#DeprecatedDeclaration]
 56 |         )
 57 |
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:63:37: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
 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' [#DeprecatedDeclaration]
    |                                     `- 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`. [#DeprecatedDeclaration]
 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`. [#DeprecatedDeclaration]
 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`. [#DeprecatedDeclaration]
 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`. [#DeprecatedDeclaration]
 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`. [#DeprecatedDeclaration]
 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`. [#DeprecatedDeclaration]
 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' [#DeprecatedDeclaration]
 69 |                         Parse source file "\(fileName)" in module "\(moduleName)"
 70 |                         """,
 71 |                     executable: tool.path,
    |                                      |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                                      `- 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' [#DeprecatedDeclaration]
 72 |                     arguments: [
 73 |                         "parse",
 74 |                         file.path.string,
    |                              |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                              `- 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`. [#DeprecatedDeclaration]
 72 |                     arguments: [
 73 |                         "parse",
 74 |                         file.path.string,
    |                                   `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 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`. [#DeprecatedDeclaration]
 74 |                         file.path.string,
 75 |                         "--output",
 76 |                         genFile.string,
    |                                 `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 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' [#DeprecatedDeclaration]
 76 |                         genFile.string,
 77 |                     ],
 78 |                     inputFiles: [file.path],
    |                                       |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                                       `- 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`. [#DeprecatedDeclaration]
 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`. [#DeprecatedDeclaration]
 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`. [#DeprecatedDeclaration]
 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`. [#DeprecatedDeclaration]
 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`. [#DeprecatedDeclaration]
 91 |         }
 92 |         for file in intermFiles {
 93 |             genArgs.append(file.string)
    |                                 `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 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`. [#DeprecatedDeclaration]
 94 |         }
 95 |         buildCommands.append(
 96 |             .buildCommand(
    |              `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 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' [#DeprecatedDeclaration]
 98 |                     Generate protocol decoding/encoding syntax for "\(moduleName)"
 99 |                     """,
100 |                 executable: tool.path,
    |                                  |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
    |                                  `- note: use 'url' instead
101 |                 arguments: genArgs,
102 |                 inputFiles: intermFiles,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:67:42: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
70 |             let path = Path(file)
71 |             return name.lowercased()
72 |                 == path.stem
   |                         `- warning: 'stem' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
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`. [#DeprecatedDeclaration]
79 |     }
80 | }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin MetaProtocolCodable
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/50] Write sources
[23/50] Compiling _SwiftSyntaxCShims dummy.c
[24/50] Write swift-version-24593BA9C3E375BF.txt
[26/70] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[27/71] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[28/71] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[29/71] Emitting module SwiftSyntax510
[30/71] Compiling SwiftSyntax510 Empty.swift
[32/72] Emitting module SwiftSyntax600
[33/72] Compiling SwiftSyntax600 Empty.swift
[35/73] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[35/73] Wrapping AST for SwiftSyntax510 for debugging
[37/73] Compiling InternalCollectionsUtilities Descriptions.swift
[38/73] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[39/73] Emitting module SwiftSyntax509
[40/73] Compiling SwiftSyntax509 Empty.swift
[40/74] Wrapping AST for SwiftSyntax600 for debugging
[42/74] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[43/74] Compiling InternalCollectionsUtilities UInt+reversed.swift
[44/74] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[45/74] Compiling InternalCollectionsUtilities _SortedCollection.swift
[46/74] Emitting module InternalCollectionsUtilities
[47/74] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[48/74] Compiling InternalCollectionsUtilities Debugging.swift
[49/74] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[50/74] Compiling InternalCollectionsUtilities Integer rank.swift
[52/75] Wrapping AST for SwiftSyntax509 for debugging
[53/75] Wrapping AST for InternalCollectionsUtilities for debugging
[55/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[56/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[57/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[58/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[59/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[60/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[61/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[62/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[63/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[64/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[65/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[66/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[67/194] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[68/194] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[69/201] Compiling OrderedCollections OrderedDictionary.swift
[70/201] Compiling OrderedCollections OrderedSet+Codable.swift
[71/201] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[72/201] Compiling OrderedCollections OrderedSet+Descriptions.swift
[73/201] Compiling OrderedCollections OrderedSet+Diffing.swift
[74/201] Compiling OrderedCollections OrderedSet+Equatable.swift
[75/201] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[76/201] Compiling OrderedCollections OrderedSet+Hashable.swift
[77/201] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[78/201] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[79/201] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[80/201] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[81/201] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[82/201] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[83/201] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[84/201] Compiling OrderedCollections OrderedDictionary+Values.swift
[85/201] Compiling OrderedCollections OrderedSet+Initializers.swift
[86/201] Compiling OrderedCollections OrderedSet+Insertions.swift
[87/201] Compiling OrderedCollections OrderedSet+Invariants.swift
[88/201] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[89/201] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[90/201] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[91/201] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[92/201] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[93/201] Compiling OrderedCollections OrderedDictionary+Codable.swift
[94/201] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[95/201] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[96/201] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[97/201] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[98/201] Compiling OrderedCollections OrderedDictionary+Elements.swift
[99/201] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[100/201] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[101/201] Compiling OrderedCollections OrderedSet+Sendable.swift
[102/201] Compiling OrderedCollections OrderedSet+SubSequence.swift
[103/201] Compiling OrderedCollections OrderedSet+Testing.swift
[104/201] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[105/201] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[106/201] Compiling OrderedCollections OrderedSet.swift
[107/201] Compiling OrderedCollections _UnsafeBitset.swift
[108/201] Compiling OrderedCollections _HashTable+Bucket.swift
[109/201] Compiling OrderedCollections _HashTable+BucketIterator.swift
[110/201] Compiling OrderedCollections _HashTable+Constants.swift
[111/201] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[112/201] Compiling OrderedCollections _HashTable+Testing.swift
[113/201] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[114/201] Compiling OrderedCollections _HashTable.swift
[115/201] Compiling OrderedCollections _Hashtable+Header.swift
[116/201] Emitting module OrderedCollections
[117/202] Wrapping AST for OrderedCollections for debugging
[128/210] Emitting module SwiftSyntax
[145/210] Compiling SwiftSyntax RawSyntaxValidation.swift
[146/210] Compiling SwiftSyntax SyntaxNodesAB.swift
[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/227] Wrapping AST for SwiftSyntax for debugging
[193/268] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[194/269] Compiling SwiftDiagnostics Message.swift
[195/269] Compiling SwiftBasicFormat Syntax+Extensions.swift
[196/269] Compiling SwiftDiagnostics Note.swift
[197/269] Compiling SwiftParser Attributes.swift
[198/269] Compiling SwiftParser Availability.swift
[199/269] Emitting module SwiftDiagnostics
[200/269] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[201/269] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[202/269] Compiling SwiftBasicFormat InferIndentation.swift
[203/269] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[204/269] Compiling SwiftDiagnostics FixIt.swift
[205/269] Compiling SwiftParser CharacterInfo.swift
[206/269] Compiling SwiftParser CollectionNodes+Parsable.swift
[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 SwiftParserCompatibility.swift
[221/276] Compiling SwiftParser SwiftVersion.swift
[222/276] Compiling SwiftParser SyntaxUtils.swift
[223/276] Compiling SwiftParser TokenConsumer.swift
[224/276] Compiling SwiftParser TokenPrecedence.swift
[225/276] Compiling SwiftParser TokenSpec.swift
[226/276] Compiling SwiftParser TokenSpecSet.swift
[227/276] Compiling SwiftParser TopLevel.swift
[228/276] Compiling SwiftParser TriviaParser.swift
[229/276] Compiling SwiftParser Types.swift
[230/276] Compiling SwiftParser Modifiers.swift
[231/276] Compiling SwiftParser Names.swift
[232/276] Compiling SwiftParser Nominals.swift
[233/276] Compiling SwiftParser Parameters.swift
[234/276] Compiling SwiftParser ParseSourceFile.swift
[235/276] Compiling SwiftParser Parser.swift
[236/276] Compiling SwiftParser Patterns.swift
[237/276] Compiling SwiftParser Recovery.swift
[238/276] Compiling SwiftParser Specifiers.swift
[239/276] Compiling SwiftParser Statements.swift
[240/276] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[241/276] Compiling SwiftParser StringLiterals.swift
[246/276] Compiling SwiftParser Declarations.swift
[247/276] Compiling SwiftParser Directives.swift
[248/276] Emitting module SwiftParser
[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/301] Compiling SwiftOperators PrecedenceGroup.swift
[264/302] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[265/302] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[266/302] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[267/302] Compiling SwiftOperators OperatorTable.swift
[268/302] Compiling SwiftOperators PrecedenceGraph.swift
[269/302] Compiling SwiftOperators SyntaxSynthesis.swift
[270/302] Emitting module SwiftOperators
[271/302] Compiling SwiftOperators OperatorTable+Folding.swift
[272/302] Compiling SwiftOperators OperatorError.swift
[273/302] Compiling SwiftOperators OperatorTable+Defaults.swift
[274/302] Compiling SwiftOperators OperatorTable+Semantics.swift
[275/303] Wrapping AST for SwiftOperators for debugging
[277/303] Emitting module SwiftParserDiagnostics
[278/303] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[279/303] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[280/303] Compiling SwiftParserDiagnostics Utils.swift
[283/303] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[284/303] Compiling SwiftParserDiagnostics PresenceUtils.swift
[287/303] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[288/303] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[289/304] Wrapping AST for SwiftParserDiagnostics for debugging
[291/319] Emitting module SwiftSyntaxBuilder
[292/320] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[293/320] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[294/320] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[295/320] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[296/320] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[297/320] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[298/320] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[299/320] Compiling SwiftSyntaxBuilder Indenter.swift
[300/320] Compiling SwiftSyntaxBuilder ListBuilder.swift
[301/320] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[302/320] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[303/320] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[304/320] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[305/320] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[306/320] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[307/321] Wrapping AST for SwiftSyntaxBuilder for debugging
[309/338] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[310/338] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[311/340] Compiling SwiftSyntaxMacros AccessorMacro.swift
[312/340] Compiling SwiftSyntaxMacros AttachedMacro.swift
[313/340] Compiling SwiftSyntaxMacros BodyMacro.swift
[314/340] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[315/340] Compiling SwiftSyntaxMacros Macro+Format.swift
[316/340] Compiling SwiftSyntaxMacros Macro.swift
[317/340] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[318/340] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[319/340] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[320/340] Compiling SwiftSyntaxMacros MemberMacro.swift
[321/340] Compiling SwiftSyntaxMacros PeerMacro.swift
[322/340] Compiling SwiftSyntaxMacros PreambleMacro.swift
[323/340] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[324/340] Emitting module SwiftSyntaxMacros
[325/340] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[326/340] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[327/340] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[328/350] Wrapping AST for SwiftSyntaxMacros for debugging
[330/432] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[331/433] Compiling PluginCore AttributableDeclSyntax.swift
[332/433] Compiling PluginCore Attribute.swift
[333/433] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[334/433] Emitting module SwiftSyntaxMacroExpansion
[335/433] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[336/433] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[337/433] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.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] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[344/447] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[345/447] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[346/447] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[347/447] Emitting module SwiftCompilerPluginMessageHandling
[348/447] Compiling PluginCore CombinedUsage.swift
[349/447] Compiling PluginCore ArgumentCountCondition.swift
[350/447] Compiling PluginCore DeclarationCondition.swift
[351/447] Compiling PluginCore DiagnosticCondition.swift
[352/447] Compiling PluginCore ConditionalDiagnosticProducer.swift
[353/447] Compiling PluginCore DiagnosticProducer.swift
[354/447] Compiling PluginCore DuplicateUsage.swift
[355/447] Compiling PluginCore GroupedVariableDeclaration.swift
[356/447] Compiling PluginCore InvalidCombination.swift
[357/447] Compiling PluginCore InvalidDeclaration.swift
[358/447] Compiling PluginCore MetaCodableMessage.swift
[359/447] Compiling PluginCore StaticVariableDeclaration.swift
[360/458] Compiling PluginCore Default.swift
[361/458] Compiling PluginCore IgnoreCoding.swift
[362/458] Compiling PluginCore IgnoreDecoding.swift
[363/458] Compiling PluginCore IgnoreEncoding.swift
[364/458] Compiling PluginCore CodedAt.swift
[365/458] Compiling PluginCore CodedIn.swift
[366/458] Compiling PluginCore ContentAt.swift
[367/458] Compiling PluginCore KeyPathProvider.swift
[368/458] Compiling PluginCore MemberInit+Expansion.swift
[369/458] Compiling PluginCore MemberInit.swift
[370/458] Compiling PluginCore PeerAttribute.swift
[371/458] Compiling PluginCore AggregatedDiagnosticProducer.swift
[372/458] Compiling PluginCore KeyedVariable.swift
[373/458] Compiling PluginCore PropertyVariable.swift
[374/458] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[375/458] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[376/458] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[377/458] Compiling PluginCore PropertyVariableTreeNode.swift
[378/458] Compiling PluginCore AssociatedDeclSyntax.swift
[379/458] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[380/458] Compiling PluginCore MemberGroupSyntax.swift
[381/458] Compiling PluginCore PropertyDeclSyntax.swift
[382/458] Compiling PluginCore VariableSyntax.swift
[383/458] Compiling PluginCore AnyEnumSwitcher.swift
[384/458] Compiling PluginCore EnumSwitcherVariable.swift
[385/458] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[386/458] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[387/458] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[388/458] Compiling PluginCore UnTaggedEnumSwitcher.swift
[389/458] Compiling PluginCore AnyInitialization.swift
[390/458] Compiling PluginCore AnyRequiredVariableInitialization.swift
[391/458] Compiling PluginCore IgnoredInitialization.swift
[392/458] Compiling PluginCore MemberwiseInitGenerator.swift
[393/458] Compiling PluginCore OptionalInitialization.swift
[394/458] Compiling PluginCore UninitializedVariableDecl.swift
[395/458] Compiling PluginCore AttributeExpander.swift
[396/458] Compiling PluginCore DeclModifiersGenerator.swift
[397/458] Compiling PluginCore Options.swift
[398/458] Compiling PluginCore ComposedVariable.swift
[399/458] Compiling PluginCore ConditionalCodingVariable.swift
[400/458] Compiling PluginCore AssociatedVariable.swift
[401/458] Compiling PluginCore BasicAssociatedVariable.swift
[402/458] Compiling PluginCore BasicEnumCaseVariable.swift
[403/458] Compiling PluginCore EnumCaseVariable.swift
[404/458] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[405/458] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[406/458] Compiling PluginCore RequiredInitialization.swift
[407/458] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[408/458] Compiling PluginCore RequiredVariableInitialization.swift
[409/458] Compiling PluginCore VariableInitialization.swift
[410/458] Compiling PluginCore AliasedPropertyVariable.swift
[411/458] Compiling PluginCore AnyPropertyVariable.swift
[412/458] Compiling PluginCore BasicPropertyVariable.swift
[413/458] Compiling PluginCore DecodingFallback.swift
[414/458] Compiling PluginCore DefaultValueVariable.swift
[415/458] Compiling PluginCore HelperCodedVariable.swift
[416/458] Compiling PluginCore InitializationVariable.swift
[417/458] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[418/458] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[419/458] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[420/458] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[421/458] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[422/458] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[423/458] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[433/459] Compiling PluginCore Inherits.swift
[434/459] Compiling PluginCore UnTagged.swift
[435/459] Compiling PluginCore CodedAs.swift
[436/459] Compiling PluginCore CodedBy.swift
[437/459] Emitting module PluginCore
[437/461] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[439/461] Emitting module SwiftCompilerPlugin
[440/461] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[441/461] Compiling PluginCore ActorVariable.swift
[442/461] Compiling PluginCore ClassVariable.swift
[443/461] Compiling PluginCore Case.swift
[444/461] Compiling PluginCore CodingKeysMap.swift
[445/461] Compiling PluginCore Key.swift
[446/461] Compiling PluginCore ConstraintGenerator.swift
[447/461] Compiling PluginCore Registration.swift
[448/461] Compiling PluginCore EnumVariable.swift
[449/461] Compiling PluginCore MemberGroup.swift
[450/461] Compiling PluginCore TypeVariable.swift
[451/461] Compiling PluginCore Variable.swift
[453/463] Wrapping AST for SwiftCompilerPlugin for debugging
[454/464] Wrapping AST for PluginCore for debugging
[456/466] Compiling MacroPlugin Plugin.swift
[457/466] Emitting module MacroPlugin
[458/466] Compiling MacroPlugin Definitions.swift
[459/467] Wrapping AST for MacroPlugin for debugging
[460/467] Write Objects.LinkFileList
[461/467] Linking MacroPlugin-tool
[463/484] Compiling MetaCodable CodedBy.swift
[464/484] Compiling MetaCodable CodedIn.swift
[465/486] Emitting module MetaCodable
[466/486] Compiling MetaCodable IgnoreCoding.swift
[467/486] Compiling MetaCodable MemberInit.swift
[468/486] Compiling MetaCodable Codable.swift
[469/486] Compiling MetaCodable CodingKeys.swift
[470/486] Compiling MetaCodable IgnoreCodingInitialized.swift
[471/486] Compiling MetaCodable HelperCoder.swift
[472/486] Compiling MetaCodable LossySequence.swift
[473/486] Compiling MetaCodable DynamicCodable.swift
[474/486] Compiling MetaCodable DynamicCodableIdentifier+CodingKey.swift
[475/486] Compiling MetaCodable ContentAt.swift
[476/486] Compiling MetaCodable Default.swift
[477/486] Compiling MetaCodable UnTagged.swift
[478/486] Compiling MetaCodable CodedAs.swift
[479/486] Compiling MetaCodable CodedAt.swift
[480/486] Compiling MetaCodable DynamicCodableIdentifier+Expressible.swift
[481/486] Compiling MetaCodable DynamicCodableIdentifier.swift
[482/490] Wrapping AST for MetaCodable for debugging
[484/500] Compiling HelperCoders String.swift
[485/500] Compiling HelperCoders Number.swift
[486/501] Compiling HelperCoders ValueCoder.swift
[487/501] Compiling HelperCoders Base64Coder.swift
[488/501] Compiling HelperCoders ConditionalCoder.swift
[489/501] Emitting module HelperCoders
[490/501] Compiling HelperCoders DefaultSequenceElementCoding.swift
[491/501] Compiling HelperCoders SequenceCoder.swift
[492/501] Compiling HelperCoders NonConformingCoder.swift
[493/501] Compiling HelperCoders PropertyWrapperCoder.swift
[494/501] Compiling HelperCoders DateCoder.swift
[495/501] Compiling HelperCoders Since1970DateCoder.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 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()
[503/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()
[504/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:137:2: note: expanded code originates here
 42 | 	@Codable @UnTagged public enum Content: Equatable, Hashable, Sendable {
 43 | 		/// Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses.
 44 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum ContentItem: Equatable, Hashable, Sendable {
    |   `- note: in expansion of macro 'Codable' on enum 'ContentItem' here
 45 | 			/// The detail level of the image sent to the model.
 46 | 			public enum ImageDetail: String, CaseIterable, Equatable, Hashable, Codable, Sendable {
    :
135 | 		self = .list(items)
136 | 	}
137 | }
    +--- 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 {
    +-------------------------------------------------------------------
138 |
139 | // MARK: - Text helpers
macro expansion @Codable:32:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:137:2: note: expanded code originates here
 19 | 	}
 20 |
 21 | 	@Codable @CodedAt("type") public enum ListItem: Equatable, Hashable, Sendable {
    |  `- note: in expansion of macro 'Codable' on enum 'ListItem' here
 22 | 		/// A message input to the model with a role indicating instruction following hierarchy.
 23 | 		///
    :
135 | 		self = .list(items)
136 | 	}
137 | }
    +--- 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 {
    +-------------------------------------------------------------------
138 |
139 | // MARK: - Text helpers
[505/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:137:2: note: expanded code originates here
 42 | 	@Codable @UnTagged public enum Content: Equatable, Hashable, Sendable {
 43 | 		/// Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses.
 44 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum ContentItem: Equatable, Hashable, Sendable {
    |   `- note: in expansion of macro 'Codable' on enum 'ContentItem' here
 45 | 			/// The detail level of the image sent to the model.
 46 | 			public enum ImageDetail: String, CaseIterable, Equatable, Hashable, Codable, Sendable {
    :
135 | 		self = .list(items)
136 | 	}
137 | }
    +--- 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 {
    +-------------------------------------------------------------------
138 |
139 | // MARK: - Text helpers
macro expansion @Codable:32:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:137:2: note: expanded code originates here
 19 | 	}
 20 |
 21 | 	@Codable @CodedAt("type") public enum ListItem: Equatable, Hashable, Sendable {
    |  `- note: in expansion of macro 'Codable' on enum 'ListItem' here
 22 | 		/// A message input to the model with a role indicating instruction following hierarchy.
 23 | 		///
    :
135 | 		self = .list(items)
136 | 	}
137 | }
    +--- 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 {
    +-------------------------------------------------------------------
138 |
139 | // MARK: - Text helpers
[506/517] 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:622:2: note: expanded code originates here
  9 | 	///
 10 | 	/// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
 11 | 	@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Input: Equatable, Hashable, Sendable {
    |  |- note: in expansion of macro 'Codable' on enum 'Input' here
    |  `- note: in expansion of macro 'Codable' on enum 'Input' here
 12 | 		/// A message input to the model with a role indicating instruction following hierarchy.
 13 | 		///
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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)
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:55:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
  9 | 	///
 10 | 	/// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
 11 | 	@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Input: Equatable, Hashable, Sendable {
    |  `- note: in expansion of macro 'Codable' on enum 'Input' here
 12 | 		/// A message input to the model with a role indicating instruction following hierarchy.
 13 | 		///
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:24:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
584 | 	public struct Reasoning: Equatable, Hashable, Codable, Sendable {
585 | 		/// Reasoning text contents.
586 | 		@Codable @CodedAt("type") public enum Summary: Equatable, Hashable, Sendable {
    |   `- note: in expansion of macro 'Codable' on enum 'Summary' here
587 | 			/// A short summary of the reasoning used by the model when generating the response.
588 | 			@CodedAs("summary_text")
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:74:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
367 | 		///
368 | 		/// See the [computer action guide](https://platform.openai.com/docs/guides/tools-computer-use) for more information.
369 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Action: Equatable, Hashable, Sendable {
    |   `- note: in expansion of macro 'Codable' on enum 'Action' here
370 | 			/// A click action.
371 | 			///
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:31:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
 75 | 	@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
 76 | 		/// The content of the output message.
 77 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Content: Equatable, Hashable, Sendable {
    |   `- note: in expansion of macro 'Codable' on enum 'Content' here
 78 | 			/// An annotation of the text output.
 79 | 			@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Annotation: Equatable, Hashable, Sendable {
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:44:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
 77 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Content: Equatable, Hashable, Sendable {
 78 | 			/// An annotation of the text output.
 79 | 			@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Annotation: Equatable, Hashable, Sendable {
    |    `- note: in expansion of macro 'Codable' on enum 'Annotation' here
 80 | 				/// A citation to a file.
 81 | 				///
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:43:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
 73 |
 74 | 	/// Content items generated by the model.
 75 | 	@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
    |  `- note: in expansion of macro 'Codable' on enum 'Output' here
 76 | 		/// The content of the output message.
 77 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Content: Equatable, Hashable, Sendable {
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:26:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
533 | 	@Codable @CodingKeys(.snake_case) public struct ComputerToolCallOutput: Equatable, Hashable, Sendable {
534 | 		/// A computer screenshot image used with the computer use tool.
535 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
    |   `- note: in expansion of macro 'Codable' on enum 'Output' here
536 | 			/// A computer screenshot image used with the computer use tool.
537 | 			/// - Parameter fileId: The identifier of an uploaded file that contains the screenshot.
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
[507/517] Compiling OpenAI Message.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:622:2: note: expanded code originates here
  9 | 	///
 10 | 	/// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
 11 | 	@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Input: Equatable, Hashable, Sendable {
    |  |- note: in expansion of macro 'Codable' on enum 'Input' here
    |  `- note: in expansion of macro 'Codable' on enum 'Input' here
 12 | 		/// A message input to the model with a role indicating instruction following hierarchy.
 13 | 		///
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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)
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:55:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
  9 | 	///
 10 | 	/// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
 11 | 	@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Input: Equatable, Hashable, Sendable {
    |  `- note: in expansion of macro 'Codable' on enum 'Input' here
 12 | 		/// A message input to the model with a role indicating instruction following hierarchy.
 13 | 		///
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:24:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
584 | 	public struct Reasoning: Equatable, Hashable, Codable, Sendable {
585 | 		/// Reasoning text contents.
586 | 		@Codable @CodedAt("type") public enum Summary: Equatable, Hashable, Sendable {
    |   `- note: in expansion of macro 'Codable' on enum 'Summary' here
587 | 			/// A short summary of the reasoning used by the model when generating the response.
588 | 			@CodedAs("summary_text")
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:74:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
367 | 		///
368 | 		/// See the [computer action guide](https://platform.openai.com/docs/guides/tools-computer-use) for more information.
369 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Action: Equatable, Hashable, Sendable {
    |   `- note: in expansion of macro 'Codable' on enum 'Action' here
370 | 			/// A click action.
371 | 			///
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:31:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
 75 | 	@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
 76 | 		/// The content of the output message.
 77 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Content: Equatable, Hashable, Sendable {
    |   `- note: in expansion of macro 'Codable' on enum 'Content' here
 78 | 			/// An annotation of the text output.
 79 | 			@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Annotation: Equatable, Hashable, Sendable {
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:44:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
 77 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Content: Equatable, Hashable, Sendable {
 78 | 			/// An annotation of the text output.
 79 | 			@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Annotation: Equatable, Hashable, Sendable {
    |    `- note: in expansion of macro 'Codable' on enum 'Annotation' here
 80 | 				/// A citation to a file.
 81 | 				///
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:43:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
 73 |
 74 | 	/// Content items generated by the model.
 75 | 	@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
    |  `- note: in expansion of macro 'Codable' on enum 'Output' here
 76 | 		/// The content of the output message.
 77 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Content: Equatable, Hashable, Sendable {
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
macro expansion @Codable:26:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:622:2: note: expanded code originates here
533 | 	@Codable @CodingKeys(.snake_case) public struct ComputerToolCallOutput: Equatable, Hashable, Sendable {
534 | 		/// A computer screenshot image used with the computer use tool.
535 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
    |   `- note: in expansion of macro 'Codable' on enum 'Output' here
536 | 			/// A computer screenshot image used with the computer use tool.
537 | 			/// - Parameter fileId: The identifier of an uploaded file that contains the screenshot.
    :
620 | 	case input(Input)
621 | 	case output(Output)
622 | }
    +--- 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 {
    +-------------------------------------------------------------------
623 |
624 | // MARK: - Item.Input Creating helpers
[508/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:84:2: note: expanded code originates here
 49 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 50 | 	/// An object specifying the format that the model must output.
 51 | 	@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |  `- note: in expansion of macro 'Codable' on enum 'Format' here
 52 | 		/// Used to generate text responses.
 53 | 		case text
    :
 82 | 		self.format = format
 83 | 	}
 84 | }
    +--- 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 {
    +-------------------------------------------------------------------
 85 |
 86 | /// The truncation strategy to use for the model response.
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
  3 |
  4 | /// A streaming event emitted by the Responses API
  5 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Event: Equatable, Sendable {
    | `- note: in expansion of macro 'Codable' on enum 'Event' here
  6 | 	/// An event that is emitted when a response is created.
  7 | 	///
    :
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 |
[509/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:84:2: note: expanded code originates here
 49 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 50 | 	/// An object specifying the format that the model must output.
 51 | 	@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |  `- note: in expansion of macro 'Codable' on enum 'Format' here
 52 | 		/// Used to generate text responses.
 53 | 		case text
    :
 82 | 		self.format = format
 83 | 	}
 84 | }
    +--- 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 {
    +-------------------------------------------------------------------
 85 |
 86 | /// The truncation strategy to use for the model response.
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
  3 |
  4 | /// A streaming event emitted by the Responses API
  5 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Event: Equatable, Sendable {
    | `- note: in expansion of macro 'Codable' on enum 'Event' here
  6 | 	/// An event that is emitted when a response is created.
  7 | 	///
    :
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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[510/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
[511/517] Compiling OpenAI Model.swift
[512/517] Compiling OpenAI Request.swift
[513/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
  7 | /// - **Built-in tools**: Tools that are provided by OpenAI that extend the model's capabilities, like [web search](https://platform.openai.com/docs/guides/tools-web-search) or [file search](https://platform.openai.com/docs/guides/tools-file-search). Learn more about [built-in tools](https://platform.openai.com/docs/guides/tools).
  8 | /// - **Function calls (custom tools)**: Functions that are defined by you, enabling the model to call your own code. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).
  9 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Tool: Equatable, Hashable, Sendable {
    | `- note: in expansion of macro 'Codable' on enum 'Tool' here
 10 | 	public enum Choice: Equatable, Hashable, Sendable {
 11 | 		case none
    :
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 {
[514/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
  7 | /// - **Built-in tools**: Tools that are provided by OpenAI that extend the model's capabilities, like [web search](https://platform.openai.com/docs/guides/tools-web-search) or [file search](https://platform.openai.com/docs/guides/tools-file-search). Learn more about [built-in tools](https://platform.openai.com/docs/guides/tools).
  8 | /// - **Function calls (custom tools)**: Functions that are defined by you, enabling the model to call your own code. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).
  9 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Tool: Equatable, Hashable, Sendable {
    | `- note: in expansion of macro 'Codable' on enum 'Tool' here
 10 | 	public enum Choice: Equatable, Hashable, Sendable {
 11 | 		case none
    :
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 {
BUILD FAILURE 6.2 linux