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.2 (beta) for Android on 25 Jun 2025 07:10:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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:         android
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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/SwiftyLab/MetaCodable.git
[1/54093] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable.git from cache (5.57s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.4.0 (9.50s)
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
[4164/32030] Fetching swift-collections, swift-argument-parser
[21413/102981] Fetching swift-collections, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (7.23s)
Fetched https://github.com/apple/swift-collections.git from cache (7.30s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (7.33s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (8.11s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (4.23s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.88s)
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/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
/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-8C5A4AE7A8CE2BA.txt
[26/70] Emitting module SwiftSyntax509
[27/70] Compiling SwiftSyntax509 Empty.swift
[29/71] Emitting module SwiftSyntax600
[30/71] Compiling SwiftSyntax600 Empty.swift
[31/72] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[31/73] Wrapping AST for SwiftSyntax509 for debugging
[33/73] Emitting module SwiftSyntax510
[34/73] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[35/73] Compiling InternalCollectionsUtilities Debugging.swift
[36/73] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[37/73] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[38/73] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/73] Compiling InternalCollectionsUtilities _SortedCollection.swift
[40/73] Compiling SwiftSyntax510 Empty.swift
[41/73] Compiling InternalCollectionsUtilities Descriptions.swift
[42/73] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[43/73] Emitting module InternalCollectionsUtilities
[44/73] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[45/73] Compiling InternalCollectionsUtilities Integer rank.swift
[46/74] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[47/74] Compiling InternalCollectionsUtilities UInt+reversed.swift
[49/74] Wrapping AST for SwiftSyntax600 for debugging
[50/74] Wrapping AST for SwiftSyntax510 for debugging
[52/74] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[53/139] Wrapping AST for InternalCollectionsUtilities for debugging
[55/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[56/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[57/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[58/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[59/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[60/194] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[61/194] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[62/201] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[63/201] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[64/201] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[65/201] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[66/201] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[67/201] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[68/201] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[69/201] Compiling OrderedCollections OrderedSet+Initializers.swift
[70/201] Compiling OrderedCollections OrderedSet+Insertions.swift
[71/201] Compiling OrderedCollections OrderedSet+Invariants.swift
[72/201] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[73/201] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[74/201] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[75/201] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[76/201] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[77/201] Compiling OrderedCollections OrderedDictionary.swift
[78/201] Compiling OrderedCollections OrderedSet+Codable.swift
[79/201] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[80/201] Compiling OrderedCollections OrderedSet+Descriptions.swift
[81/201] Compiling OrderedCollections OrderedSet+Diffing.swift
[82/201] Compiling OrderedCollections OrderedSet+Equatable.swift
[83/201] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[84/201] Compiling OrderedCollections OrderedSet+Hashable.swift
[85/201] Compiling OrderedCollections OrderedDictionary+Codable.swift
[86/201] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[87/201] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[88/201] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[89/201] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[90/201] Compiling OrderedCollections OrderedDictionary+Elements.swift
[91/201] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[92/201] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[93/201] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[94/201] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[95/201] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[96/201] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[97/201] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[98/201] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[99/201] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[100/201] Compiling OrderedCollections OrderedDictionary+Values.swift
[101/201] Compiling OrderedCollections _HashTable+Bucket.swift
[102/201] Compiling OrderedCollections _HashTable+BucketIterator.swift
[103/201] Compiling OrderedCollections _HashTable+Constants.swift
[104/201] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[105/201] Compiling OrderedCollections _HashTable+Testing.swift
[106/201] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[107/201] Compiling OrderedCollections _HashTable.swift
[108/201] Compiling OrderedCollections _Hashtable+Header.swift
[109/201] Compiling OrderedCollections OrderedSet+Sendable.swift
[110/201] Compiling OrderedCollections OrderedSet+SubSequence.swift
[111/201] Compiling OrderedCollections OrderedSet+Testing.swift
[112/201] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[113/201] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[114/201] Compiling OrderedCollections OrderedSet.swift
[115/201] Compiling OrderedCollections _UnsafeBitset.swift
[116/201] Emitting module OrderedCollections
[117/202] Wrapping AST for OrderedCollections for debugging
[128/210] Emitting module SwiftSyntax
[136/210] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[137/210] Compiling SwiftSyntax RawSyntaxNodesC.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/212] Wrapping AST for SwiftSyntax for debugging
[193/268] Compiling SwiftDiagnostics Message.swift
[194/269] Compiling SwiftBasicFormat Syntax+Extensions.swift
[195/269] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[196/269] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[197/269] Compiling SwiftParser Attributes.swift
[198/269] Compiling SwiftParser Availability.swift
[199/269] Compiling SwiftDiagnostics Note.swift
[200/269] Emitting module SwiftDiagnostics
[201/269] Compiling SwiftParser CharacterInfo.swift
[202/269] Compiling SwiftParser CollectionNodes+Parsable.swift
[203/269] Compiling SwiftDiagnostics FixIt.swift
[204/269] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[205/269] Compiling SwiftBasicFormat InferIndentation.swift
[206/269] Compiling SwiftDiagnostics DiagnosticDecorator.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 Modifiers.swift
[215/271] Compiling SwiftParser Names.swift
[216/271] Compiling SwiftParser Nominals.swift
[217/271] Compiling SwiftParser Parameters.swift
[218/271] Compiling SwiftParser ParseSourceFile.swift
[219/271] Compiling SwiftParser Parser.swift
[220/276] Compiling SwiftParser LexemeSequence.swift
[221/276] Compiling SwiftParser Lexer.swift
[222/276] Compiling SwiftParser RegexLiteralLexer.swift
[223/276] Compiling SwiftParser UnicodeScalarExtensions.swift
[224/276] Compiling SwiftParser Lookahead.swift
[225/276] Compiling SwiftParser LoopProgressCondition.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] Emitting module SwiftParser
[233/276] Compiling SwiftParser SwiftParserCompatibility.swift
[234/276] Compiling SwiftParser SwiftVersion.swift
[235/276] Compiling SwiftParser SyntaxUtils.swift
[236/276] Compiling SwiftParser TokenConsumer.swift
[237/276] Compiling SwiftParser TokenPrecedence.swift
[238/276] Compiling SwiftParser TokenSpec.swift
[239/276] Compiling SwiftParser TokenSpecSet.swift
[240/276] Compiling SwiftParser TopLevel.swift
[241/276] Compiling SwiftParser TriviaParser.swift
[242/276] Compiling SwiftParser Types.swift
[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/301] Compiling SwiftOperators PrecedenceGroup.swift
[264/302] Compiling SwiftOperators PrecedenceGraph.swift
[265/302] Compiling SwiftOperators OperatorTable.swift
[266/302] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[267/302] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[268/302] Compiling SwiftOperators SyntaxSynthesis.swift
[269/302] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[270/302] Compiling SwiftParserDiagnostics Utils.swift
[271/302] Compiling SwiftOperators OperatorTable+Semantics.swift
[272/302] Compiling SwiftOperators OperatorError.swift
[273/302] Compiling SwiftOperators OperatorTable+Defaults.swift
[274/302] Emitting module SwiftOperators
[275/302] Compiling SwiftOperators OperatorTable+Folding.swift
[276/302] Compiling SwiftOperators Operator.swift
[277/302] Compiling SwiftOperators OperatorError+Diagnostics.swift
[278/303] Wrapping AST for SwiftOperators for debugging
[280/303] Emitting module SwiftParserDiagnostics
[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] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[292/319] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[293/320] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[294/320] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[295/320] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[296/320] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[297/320] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[298/320] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[299/320] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[300/320] Compiling SwiftSyntaxBuilder Indenter.swift
[301/320] Compiling SwiftSyntaxBuilder ListBuilder.swift
[302/320] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[303/320] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[304/320] Emitting module SwiftSyntaxBuilder
[305/320] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[306/320] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[307/321] Wrapping AST for SwiftSyntaxBuilder for debugging
[309/338] Compiling SwiftSyntaxMacros AccessorMacro.swift
[310/338] Compiling SwiftSyntaxMacros AttachedMacro.swift
[311/338] Compiling SwiftSyntaxMacros BodyMacro.swift
[312/340] Compiling SwiftSyntaxMacros MemberMacro.swift
[313/340] Compiling SwiftSyntaxMacros PeerMacro.swift
[314/340] Compiling SwiftSyntaxMacros Macro.swift
[315/340] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[316/340] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[317/340] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[318/340] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[319/340] Compiling SwiftSyntaxMacros Macro+Format.swift
[320/340] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[321/340] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[322/340] Emitting module SwiftSyntaxMacros
[323/340] Compiling SwiftSyntaxMacros PreambleMacro.swift
[324/340] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[325/340] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[326/340] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[327/340] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[328/341] Wrapping AST for SwiftSyntaxMacros for debugging
[330/432] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[331/433] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[332/433] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[333/433] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[334/433] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[335/433] Compiling PluginCore AttributableDeclSyntax.swift
[336/433] Compiling PluginCore Attribute.swift
[337/433] Emitting module SwiftSyntaxMacroExpansion
[338/433] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[339/433] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[340/437] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[342/446] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[343/446] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[344/447] Emitting module SwiftCompilerPluginMessageHandling
[345/447] Compiling PluginCore KeyedVariable.swift
[346/447] Compiling PluginCore PropertyVariable.swift
[347/447] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[348/447] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[349/447] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[350/447] Compiling PluginCore PropertyVariableTreeNode.swift
[351/447] Compiling PluginCore AssociatedDeclSyntax.swift
[352/447] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[353/447] Compiling PluginCore MemberGroupSyntax.swift
[354/447] Compiling PluginCore PropertyDeclSyntax.swift
[355/447] Compiling PluginCore VariableSyntax.swift
[356/458] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[357/458] Compiling PluginCore AnyEnumSwitcher.swift
[358/458] Compiling PluginCore EnumSwitcherVariable.swift
[359/458] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[360/458] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[361/458] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[362/458] Compiling PluginCore UnTaggedEnumSwitcher.swift
[363/458] Compiling PluginCore AnyInitialization.swift
[364/458] Compiling PluginCore AnyRequiredVariableInitialization.swift
[365/458] Compiling PluginCore IgnoredInitialization.swift
[366/458] Compiling PluginCore MemberwiseInitGenerator.swift
[367/458] Compiling PluginCore OptionalInitialization.swift
[368/458] Compiling PluginCore RequiredInitialization.swift
[369/458] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[370/458] Compiling PluginCore RequiredVariableInitialization.swift
[371/458] Compiling PluginCore VariableInitialization.swift
[372/458] Compiling PluginCore AliasedPropertyVariable.swift
[373/458] Compiling PluginCore AnyPropertyVariable.swift
[374/458] Compiling PluginCore BasicPropertyVariable.swift
[375/458] Compiling PluginCore DecodingFallback.swift
[376/458] Compiling PluginCore DefaultValueVariable.swift
[377/458] Compiling PluginCore HelperCodedVariable.swift
[378/458] Compiling PluginCore InitializationVariable.swift
[379/458] Compiling PluginCore Default.swift
[380/458] Compiling PluginCore IgnoreCoding.swift
[381/458] Compiling PluginCore IgnoreDecoding.swift
[382/458] Compiling PluginCore IgnoreEncoding.swift
[383/458] Compiling PluginCore CodedAt.swift
[384/458] Compiling PluginCore CodedIn.swift
[385/458] Compiling PluginCore ContentAt.swift
[386/458] Compiling PluginCore KeyPathProvider.swift
[387/458] Compiling PluginCore MemberInit+Expansion.swift
[388/458] Compiling PluginCore MemberInit.swift
[389/458] Compiling PluginCore PeerAttribute.swift
[390/458] Compiling PluginCore AggregatedDiagnosticProducer.swift
[391/458] Compiling PluginCore UninitializedVariableDecl.swift
[392/458] Compiling PluginCore AttributeExpander.swift
[393/458] Compiling PluginCore DeclModifiersGenerator.swift
[394/458] Compiling PluginCore Options.swift
[395/458] Compiling PluginCore ComposedVariable.swift
[396/458] Compiling PluginCore ConditionalCodingVariable.swift
[397/458] Compiling PluginCore AssociatedVariable.swift
[398/458] Compiling PluginCore BasicAssociatedVariable.swift
[399/458] Compiling PluginCore BasicEnumCaseVariable.swift
[400/458] Compiling PluginCore EnumCaseVariable.swift
[401/458] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[402/458] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[403/458] Compiling PluginCore CombinedUsage.swift
[404/458] Compiling PluginCore ArgumentCountCondition.swift
[405/458] Compiling PluginCore DeclarationCondition.swift
[406/458] Compiling PluginCore DiagnosticCondition.swift
[407/458] Compiling PluginCore ConditionalDiagnosticProducer.swift
[408/458] Compiling PluginCore DiagnosticProducer.swift
[409/458] Compiling PluginCore DuplicateUsage.swift
[410/458] Compiling PluginCore GroupedVariableDeclaration.swift
[411/458] Compiling PluginCore InvalidCombination.swift
[412/458] Compiling PluginCore InvalidDeclaration.swift
[413/458] Compiling PluginCore MetaCodableMessage.swift
[414/458] Compiling PluginCore StaticVariableDeclaration.swift
[415/458] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[416/458] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[417/458] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[418/458] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[419/458] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[420/458] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[421/458] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[422/458] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[423/458] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.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/459] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[439/461] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[440/461] Emitting module SwiftCompilerPlugin
[442/462] Compiling PluginCore ActorVariable.swift
[443/462] Compiling PluginCore ClassVariable.swift
[444/462] Compiling PluginCore Case.swift
[445/462] Compiling PluginCore CodingKeysMap.swift
[446/462] Compiling PluginCore Key.swift
[447/462] Compiling PluginCore ConstraintGenerator.swift
[448/462] Compiling PluginCore Registration.swift
[449/462] Compiling PluginCore EnumVariable.swift
[450/462] Compiling PluginCore MemberGroup.swift
[451/462] Compiling PluginCore TypeVariable.swift
[452/462] 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] Compiling MacroPlugin Definitions.swift
[458/466] Emitting module MacroPlugin
[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/484] Emitting module MetaCodable
[466/486] Compiling MetaCodable IgnoreCoding.swift
[467/486] Compiling MetaCodable MemberInit.swift
[468/486] Compiling MetaCodable UnTagged.swift
[469/486] Compiling MetaCodable CodedAs.swift
[470/486] Compiling MetaCodable CodedAt.swift
[471/486] Compiling MetaCodable ContentAt.swift
[472/486] Compiling MetaCodable Default.swift
[473/486] Compiling MetaCodable Codable.swift
[474/486] Compiling MetaCodable CodingKeys.swift
[475/486] Compiling MetaCodable IgnoreCodingInitialized.swift
[476/486] Compiling MetaCodable DynamicCodable.swift
[477/486] Compiling MetaCodable DynamicCodableIdentifier+CodingKey.swift
[478/486] Compiling MetaCodable DynamicCodableIdentifier+Expressible.swift
[479/486] Compiling MetaCodable DynamicCodableIdentifier.swift
[480/486] Compiling MetaCodable HelperCoder.swift
[481/486] Compiling MetaCodable LossySequence.swift
[482/487] Wrapping AST for MetaCodable for debugging
[484/500] Compiling HelperCoders String.swift
[485/501] Compiling HelperCoders Number.swift
[486/501] Compiling HelperCoders ValueCoder.swift
[487/501] Compiling HelperCoders SequenceCoderConfiguration.swift
[488/501] Compiling HelperCoders Bool.swift
[489/501] Compiling HelperCoders DefaultSequenceElementCoding.swift
[490/501] Compiling HelperCoders SequenceCoder.swift
[491/501] Compiling HelperCoders NonConformingCoder.swift
[492/501] Compiling HelperCoders PropertyWrapperCoder.swift
[493/501] Compiling HelperCoders DateCoder.swift
[494/501] Compiling HelperCoders Since1970DateCoder.swift
[495/501] Emitting module HelperCoders
[496/501] Compiling HelperCoders Base64Coder.swift
[497/501] Compiling HelperCoders ConditionalCoder.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 Model.swift
[503/517] Compiling OpenAI Request.swift
[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: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: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: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
[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: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: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: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
[506/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
[507/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
[508/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 {
[509/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 {
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: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 |
[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: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 |
[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.2 android