Build Information
Failed to build OpenAI, reference 1.0.7 (110b63
), with Swift 6.1 for Linux on 25 Jun 2025 07:10:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1
Building package at path: $PWD
https://github.com/m1guelpf/swift-openai-responses.git
https://github.com/m1guelpf/swift-openai-responses.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "metacodable",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftyLab/MetaCodable.git"
}
],
"manifest_display_name" : "OpenAI",
"name" : "OpenAI",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "10.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "maccatalyst",
"version" : "17.0"
}
],
"products" : [
{
"name" : "OpenAI",
"targets" : [
"OpenAI"
],
"type" : {
"library" : [
"static"
]
}
}
],
"targets" : [
{
"c99name" : "OpenAI",
"module_type" : "SwiftTarget",
"name" : "OpenAI",
"path" : "src",
"product_dependencies" : [
"MetaCodable",
"HelperCoders"
],
"product_memberships" : [
"OpenAI"
],
"sources" : [
"Conversation.swift",
"Extensions/AsyncBytes+collect.swift",
"Models/Config.swift",
"Models/Event.swift",
"Models/File.swift",
"Models/Input.swift",
"Models/Item.swift",
"Models/Message.swift",
"Models/Model.swift",
"Models/Request.swift",
"Models/Response.swift",
"Models/Tool.swift",
"OpenAI.swift",
"Support/MultiPartData.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/SwiftyLab/MetaCodable.git
[1/54093] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable.git from cache (4.07s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.4.0 (6.84s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-collections.git
[1/16650] Fetching swift-collections
[2665/32030] Fetching swift-collections, swift-argument-parser
[22874/102981] Fetching swift-collections, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.97s)
[22291/87601] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (2.21s)
[68113/70951] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.98s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (6.16s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (3.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.76s)
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/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/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
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:53:53: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
51 |
52 | // Setup folder
53 | let genFolder = context.pluginWorkDirectory.appending(["ProtocolGen"])
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
54 | try FileManager.default.createDirectory(
55 | atPath: genFolder.string, withIntermediateDirectories: true
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:55:31: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
53 | let genFolder = context.pluginWorkDirectory.appending(["ProtocolGen"])
54 | try FileManager.default.createDirectory(
55 | atPath: genFolder.string, withIntermediateDirectories: true
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
56 | )
57 |
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:63:37: warning: 'path' is deprecated: renamed to 'url'
61 | return target.sourceFiles(withSuffix: "swift").map { file in
62 | let moduleName = target.moduleName
63 | let fileName = file.path.stem
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
64 | let genFileName = "\(moduleName)-\(fileName)-gen.json"
65 | let genFile = genFolder.appending([genFileName])
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:63:42: warning: 'stem' is deprecated: Use `URL` type instead of `Path`.
61 | return target.sourceFiles(withSuffix: "swift").map { file in
62 | let moduleName = target.moduleName
63 | let fileName = file.path.stem
| `- warning: 'stem' is deprecated: Use `URL` type instead of `Path`.
64 | let genFileName = "\(moduleName)-\(fileName)-gen.json"
65 | let genFile = genFolder.appending([genFileName])
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:65:41: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
63 | let fileName = file.path.stem
64 | let genFileName = "\(moduleName)-\(fileName)-gen.json"
65 | let genFile = genFolder.appending([genFileName])
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
66 | intermFiles.append(genFile)
67 | return Command.buildCommand(
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:67:32: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
65 | let genFile = genFolder.appending([genFileName])
66 | intermFiles.append(genFile)
67 | return Command.buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
68 | displayName: """
69 | Parse source file "\(fileName)" in module "\(moduleName)"
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:71:38: warning: 'path' is deprecated: renamed to 'url'
69 | Parse source file "\(fileName)" in module "\(moduleName)"
70 | """,
71 | executable: tool.path,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
72 | arguments: [
73 | "parse",
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:74:30: warning: 'path' is deprecated: renamed to 'url'
72 | arguments: [
73 | "parse",
74 | file.path.string,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
75 | "--output",
76 | genFile.string,
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:74:35: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
72 | arguments: [
73 | "parse",
74 | file.path.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
75 | "--output",
76 | genFile.string,
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:76:33: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
74 | file.path.string,
75 | "--output",
76 | genFile.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
77 | ],
78 | inputFiles: [file.path],
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:78:39: warning: 'path' is deprecated: renamed to 'url'
76 | genFile.string,
77 | ],
78 | inputFiles: [file.path],
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
79 | outputFiles: [genFile]
80 | )
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:87:33: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
85 | let moduleName = target.moduleName
86 | let genFileName = "\(moduleName)+ProtocolHelperCoders.swift"
87 | let genPath = genFolder.appending(genFileName)
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
88 | var genArgs = ["generate", "--output", genPath.string]
89 | for `import` in imports {
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:88:56: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
86 | let genFileName = "\(moduleName)+ProtocolHelperCoders.swift"
87 | let genPath = genFolder.appending(genFileName)
88 | var genArgs = ["generate", "--output", genPath.string]
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
89 | for `import` in imports {
90 | genArgs.append(contentsOf: ["--module", `import`])
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:93:33: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
91 | }
92 | for file in intermFiles {
93 | genArgs.append(file.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
94 | }
95 | buildCommands.append(
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:96:14: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
94 | }
95 | buildCommands.append(
96 | .buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
97 | displayName: """
98 | Generate protocol decoding/encoding syntax for "\(moduleName)"
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:100:34: warning: 'path' is deprecated: renamed to 'url'
98 | Generate protocol decoding/encoding syntax for "\(moduleName)"
99 | """,
100 | executable: tool.path,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
101 | arguments: genArgs,
102 | inputFiles: intermFiles,
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:67:42: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
65 | func configPath(named name: String) throws -> String? {
66 | let fileManager = FileManager.default
67 | let directory = module.directory.string
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
68 | let contents = try fileManager.contentsOfDirectory(atPath: directory)
69 | let file = contents.first { file in
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:70:24: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
68 | let contents = try fileManager.contentsOfDirectory(atPath: directory)
69 | let file = contents.first { file in
70 | let path = Path(file)
| `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
71 | return name.lowercased()
72 | == path.stem
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:72:25: warning: 'stem' is deprecated: Use `URL` type instead of `Path`.
70 | let path = Path(file)
71 | return name.lowercased()
72 | == path.stem
| `- warning: 'stem' is deprecated: Use `URL` type instead of `Path`.
73 | .components(separatedBy: .alphanumerics.inverted)
74 | .joined(separator: "")
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:78:33: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
76 | }
77 | guard let file else { return nil }
78 | return module.directory.appending([file]).string
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
79 | }
80 | }
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:78:51: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
76 | }
77 | guard let file else { return nil }
78 | return module.directory.appending([file]).string
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
79 | }
80 | }
[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] Emitting module SwiftSyntax509
[27/70] Emitting module SwiftSyntax510
[28/70] Emitting module InternalCollectionsUtilities
[29/71] Compiling SwiftSyntax600 Empty.swift
[30/71] Emitting module SwiftSyntax600
[31/72] Compiling SwiftSyntax510 Empty.swift
[33/73] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[34/73] Compiling SwiftSyntax509 Empty.swift
[35/73] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[36/73] Compiling InternalCollectionsUtilities Descriptions.swift
[37/73] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[38/74] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/74] Compiling InternalCollectionsUtilities _SortedCollection.swift
[40/74] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[41/74] Compiling InternalCollectionsUtilities UInt+reversed.swift
[42/74] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[43/74] Compiling InternalCollectionsUtilities Debugging.swift
[44/74] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[45/74] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[46/74] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[47/74] Compiling InternalCollectionsUtilities Integer rank.swift
[50/75] Wrapping AST for SwiftSyntax509 for debugging
[51/75] Wrapping AST for SwiftSyntax600 for debugging
[52/75] Wrapping AST for InternalCollectionsUtilities for debugging
[53/75] Wrapping AST for SwiftSyntax510 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/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[63/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[64/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[65/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[66/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[67/194] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[68/194] 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+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 OrderedDictionary.swift
[86/201] Compiling OrderedCollections OrderedSet+Codable.swift
[87/201] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[88/201] Compiling OrderedCollections OrderedSet+Descriptions.swift
[89/201] Compiling OrderedCollections OrderedSet+Diffing.swift
[90/201] Compiling OrderedCollections OrderedSet+Equatable.swift
[91/201] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[92/201] Compiling OrderedCollections OrderedSet+Hashable.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 _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
[126/202] Compiling SwiftSyntax SyntaxHashable.swift
[127/202] Compiling SwiftSyntax SyntaxIdentifier.swift
[155/210] Emitting module SwiftSyntax
[183/210] Compiling SwiftSyntax SyntaxNodesC.swift
[184/210] Compiling SwiftSyntax SyntaxNodesD.swift
[185/210] Compiling SwiftSyntax SyntaxNodesEF.swift
[186/210] Compiling SwiftSyntax SyntaxNodesGHI.swift
[187/210] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[188/210] Compiling SwiftSyntax SyntaxNodesOP.swift
[189/210] Compiling SwiftSyntax SyntaxNodesQRS.swift
[190/210] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[191/211] Wrapping AST for SwiftSyntax for debugging
[193/268] Compiling SwiftDiagnostics Message.swift
[194/269] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[195/269] Compiling SwiftBasicFormat Syntax+Extensions.swift
[196/269] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[197/269] Emitting module SwiftBasicFormat
[198/269] Compiling SwiftDiagnostics Convenience.swift
[199/269] Compiling SwiftDiagnostics Diagnostic.swift
[200/269] Emitting module SwiftDiagnostics
[201/269] Compiling SwiftDiagnostics Note.swift
[202/269] Compiling SwiftBasicFormat InferIndentation.swift
[203/269] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[204/269] Compiling SwiftDiagnostics FixIt.swift
[205/269] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[206/269] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[207/269] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[208/269] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[209/270] Wrapping AST for SwiftDiagnostics for debugging
[211/270] Compiling SwiftBasicFormat BasicFormat.swift
[212/271] Wrapping AST for SwiftBasicFormat for debugging
[214/271] Compiling SwiftParser TokenSpec.swift
[215/271] Compiling SwiftParser TokenSpecSet.swift
[216/271] Compiling SwiftParser TopLevel.swift
[217/271] Compiling SwiftParser TriviaParser.swift
[218/271] Compiling SwiftParser Types.swift
[219/271] Compiling SwiftParser SwiftParserCompatibility.swift
[220/271] Compiling SwiftParser SwiftVersion.swift
[221/271] Compiling SwiftParser SyntaxUtils.swift
[222/271] Compiling SwiftParser TokenConsumer.swift
[223/271] Compiling SwiftParser TokenPrecedence.swift
[224/271] Compiling SwiftParser Modifiers.swift
[225/271] Compiling SwiftParser Names.swift
[226/271] Compiling SwiftParser Nominals.swift
[227/271] Compiling SwiftParser Parameters.swift
[228/271] Compiling SwiftParser ParseSourceFile.swift
[229/271] Compiling SwiftParser Parser.swift
[230/276] Compiling SwiftParser Patterns.swift
[231/276] Compiling SwiftParser Recovery.swift
[232/276] Compiling SwiftParser Specifiers.swift
[233/276] Compiling SwiftParser Statements.swift
[234/276] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[235/276] Compiling SwiftParser StringLiterals.swift
[236/276] Compiling SwiftParser LexemeSequence.swift
[237/276] Compiling SwiftParser Lexer.swift
[238/276] Compiling SwiftParser RegexLiteralLexer.swift
[239/276] Compiling SwiftParser UnicodeScalarExtensions.swift
[240/276] Compiling SwiftParser Lookahead.swift
[241/276] Compiling SwiftParser LoopProgressCondition.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 SwiftOperators PrecedenceGraph.swift
[265/302] Compiling SwiftOperators Operator.swift
[266/302] Compiling SwiftOperators OperatorError+Diagnostics.swift
[267/302] Compiling SwiftOperators OperatorTable.swift
[268/302] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[269/302] Compiling SwiftOperators OperatorTable+Folding.swift
[270/302] Compiling SwiftOperators OperatorTable+Semantics.swift
[271/302] Compiling SwiftOperators OperatorError.swift
[272/302] Compiling SwiftOperators OperatorTable+Defaults.swift
[273/302] Emitting module SwiftOperators
[274/302] Compiling SwiftOperators SyntaxSynthesis.swift
[276/303] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[277/303] Compiling SwiftParserDiagnostics PresenceUtils.swift
[277/303] Wrapping AST for SwiftOperators for debugging
[279/303] Emitting module SwiftParserDiagnostics
[282/303] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[283/303] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[284/303] Compiling SwiftParserDiagnostics Utils.swift
[285/303] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[286/303] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[289/309] Wrapping AST for SwiftParserDiagnostics for debugging
[291/319] Compiling SwiftSyntaxBuilder Indenter.swift
[292/319] Compiling SwiftSyntaxBuilder ListBuilder.swift
[293/320] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[294/320] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[295/320] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[296/320] Emitting module SwiftSyntaxBuilder
[297/320] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[298/320] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[299/320] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[300/320] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[301/320] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[302/320] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[303/320] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[304/320] Compiling SwiftSyntaxBuilder ResultBuilders.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 Macro.swift
[310/338] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[311/338] Compiling SwiftSyntaxMacros AccessorMacro.swift
[312/338] Compiling SwiftSyntaxMacros AttachedMacro.swift
[313/338] Compiling SwiftSyntaxMacros BodyMacro.swift
[314/338] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[315/338] Compiling SwiftSyntaxMacros Macro+Format.swift
[316/338] Compiling SwiftSyntaxMacros MemberMacro.swift
[317/338] Compiling SwiftSyntaxMacros PeerMacro.swift
[318/338] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[319/338] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[320/340] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[321/340] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[322/340] Emitting module SwiftSyntaxMacros
[323/340] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[324/340] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[325/340] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[326/340] Compiling SwiftSyntaxMacros PreambleMacro.swift
[327/340] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[328/341] Wrapping AST for SwiftSyntaxMacros for debugging
[330/432] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[331/433] Emitting module SwiftSyntaxMacroExpansion
[332/433] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[333/433] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[334/433] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[335/433] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[336/433] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[337/433] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[338/433] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.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 PluginMacroExpansionContext.swift
[344/447] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[345/447] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[346/447] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[347/447] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[348/447] Emitting module PluginCore
[349/458] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[350/458] Compiling PluginCore Default.swift
[351/458] Compiling PluginCore IgnoreCoding.swift
[352/458] Compiling PluginCore IgnoreDecoding.swift
[353/458] Compiling PluginCore IgnoreEncoding.swift
[354/458] Compiling PluginCore CodedAt.swift
[355/458] Compiling PluginCore CodedIn.swift
[356/458] Compiling PluginCore ContentAt.swift
[357/458] Compiling PluginCore KeyPathProvider.swift
[358/458] Compiling PluginCore MemberInit+Expansion.swift
[359/458] Compiling PluginCore MemberInit.swift
[360/458] Compiling PluginCore PeerAttribute.swift
[361/458] Compiling PluginCore AggregatedDiagnosticProducer.swift
[362/458] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[363/458] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[364/458] Emitting module SwiftCompilerPluginMessageHandling
[365/458] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[366/458] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[367/458] Compiling PluginCore CombinedUsage.swift
[368/458] Compiling PluginCore ArgumentCountCondition.swift
[369/458] Compiling PluginCore DeclarationCondition.swift
[370/458] Compiling PluginCore DiagnosticCondition.swift
[371/458] Compiling PluginCore ConditionalDiagnosticProducer.swift
[372/458] Compiling PluginCore DiagnosticProducer.swift
[373/458] Compiling PluginCore DuplicateUsage.swift
[374/458] Compiling PluginCore GroupedVariableDeclaration.swift
[375/458] Compiling PluginCore InvalidCombination.swift
[376/458] Compiling PluginCore InvalidDeclaration.swift
[377/458] Compiling PluginCore MetaCodableMessage.swift
[378/458] Compiling PluginCore StaticVariableDeclaration.swift
[379/458] Compiling PluginCore UninitializedVariableDecl.swift
[380/458] Compiling PluginCore AttributeExpander.swift
[381/458] Compiling PluginCore DeclModifiersGenerator.swift
[382/458] Compiling PluginCore Options.swift
[383/458] Compiling PluginCore ComposedVariable.swift
[384/458] Compiling PluginCore ConditionalCodingVariable.swift
[385/458] Compiling PluginCore AssociatedVariable.swift
[386/458] Compiling PluginCore BasicAssociatedVariable.swift
[387/458] Compiling PluginCore BasicEnumCaseVariable.swift
[388/458] Compiling PluginCore EnumCaseVariable.swift
[389/458] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[390/458] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[391/458] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[393/459] Compiling PluginCore KeyedVariable.swift
[394/459] Compiling PluginCore PropertyVariable.swift
[395/459] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[396/459] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[397/459] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[398/459] Compiling PluginCore PropertyVariableTreeNode.swift
[399/459] Compiling PluginCore AssociatedDeclSyntax.swift
[400/459] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[401/459] Compiling PluginCore MemberGroupSyntax.swift
[402/459] Compiling PluginCore PropertyDeclSyntax.swift
[403/459] Compiling PluginCore VariableSyntax.swift
[404/459] Compiling PluginCore AnyEnumSwitcher.swift
[405/459] Compiling PluginCore EnumSwitcherVariable.swift
[406/459] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[407/459] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[408/459] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[409/459] Compiling PluginCore UnTaggedEnumSwitcher.swift
[410/459] Compiling PluginCore AnyInitialization.swift
[411/459] Compiling PluginCore AnyRequiredVariableInitialization.swift
[412/459] Compiling PluginCore IgnoredInitialization.swift
[413/459] Compiling PluginCore MemberwiseInitGenerator.swift
[414/459] Compiling PluginCore OptionalInitialization.swift
[415/459] Compiling PluginCore RequiredInitialization.swift
[416/459] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[417/459] Compiling PluginCore RequiredVariableInitialization.swift
[418/459] Compiling PluginCore VariableInitialization.swift
[419/459] Compiling PluginCore AliasedPropertyVariable.swift
[420/459] Compiling PluginCore AnyPropertyVariable.swift
[421/459] Compiling PluginCore BasicPropertyVariable.swift
[422/459] Compiling PluginCore DecodingFallback.swift
[423/459] Compiling PluginCore DefaultValueVariable.swift
[424/459] Compiling PluginCore HelperCodedVariable.swift
[425/459] Compiling PluginCore InitializationVariable.swift
[425/459] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[435/459] Compiling PluginCore Inherits.swift
[436/459] Compiling PluginCore UnTagged.swift
[437/459] Compiling PluginCore CodedAs.swift
[438/459] Compiling PluginCore CodedBy.swift
[439/461] Compiling PluginCore ActorVariable.swift
[440/461] Compiling PluginCore ClassVariable.swift
[441/461] Compiling PluginCore Case.swift
[442/461] Compiling PluginCore CodingKeysMap.swift
[443/461] Compiling PluginCore Key.swift
[444/461] Compiling PluginCore ConstraintGenerator.swift
[445/461] Compiling PluginCore Registration.swift
[446/461] Compiling PluginCore EnumVariable.swift
[447/461] Compiling PluginCore MemberGroup.swift
[448/461] Compiling PluginCore TypeVariable.swift
[449/461] Compiling PluginCore Variable.swift
[450/462] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[451/462] Emitting module SwiftCompilerPlugin
[453/463] Wrapping AST for PluginCore for debugging
[454/463] Wrapping AST for SwiftCompilerPlugin 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] Compiling MetaCodable Codable.swift
[466/484] Compiling MetaCodable CodingKeys.swift
[467/484] Compiling MetaCodable IgnoreCodingInitialized.swift
[468/484] Compiling MetaCodable UnTagged.swift
[469/484] Compiling MetaCodable CodedAs.swift
[470/484] Compiling MetaCodable CodedAt.swift
[471/486] Emitting module MetaCodable
[472/486] Compiling MetaCodable HelperCoder.swift
[473/486] Compiling MetaCodable LossySequence.swift
[474/486] Compiling MetaCodable ContentAt.swift
[475/486] Compiling MetaCodable Default.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 IgnoreCoding.swift
[481/486] Compiling MetaCodable MemberInit.swift
[482/487] Wrapping AST for MetaCodable for debugging
[484/500] Compiling HelperCoders Number.swift
[485/500] Compiling HelperCoders String.swift
[486/501] Compiling HelperCoders Base64Coder.swift
[487/501] Compiling HelperCoders ConditionalCoder.swift
[488/501] Compiling HelperCoders DateCoder.swift
[489/501] Compiling HelperCoders Since1970DateCoder.swift
[490/501] Emitting module HelperCoders
[491/501] Compiling HelperCoders NonConformingCoder.swift
[492/501] Compiling HelperCoders PropertyWrapperCoder.swift
[493/501] Compiling HelperCoders ValueCoder.swift
[494/501] Compiling HelperCoders DefaultSequenceElementCoding.swift
[495/501] Compiling HelperCoders SequenceCoder.swift
[496/501] Compiling HelperCoders SequenceCoderConfiguration.swift
[497/501] Compiling HelperCoders Bool.swift
[498/502] Wrapping AST for HelperCoders for debugging
[500/516] Compiling OpenAI OpenAI.swift
/host/spi-builder-workspace/src/OpenAI.swift:203:62: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
201 | ///
202 | /// - Throws: If the request fails to send or has a non-200 status code.
203 | func stream(request: URLRequest) async throws -> URLSession.AsyncBytes {
| `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
204 | let (data, res) = try await URLSession.shared.bytes(for: request)
205 |
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
1 | open class URLSession : NSObject, @unchecked Sendable {
| `- note: 'URLSession' declared here
2 | open class var shared: URLSession { get }
3 | public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/src/OpenAI.swift:92:31: error: extraneous argument label 'request:' in call
90 | req.addValue("application/json", forHTTPHeaderField: "Content-Type")
91 |
92 | let bytes = try await stream(request: req)
| `- error: extraneous argument label 'request:' in call
93 |
94 | let (stream, continuation) = AsyncThrowingStream.makeStream(of: Event.self)
/host/spi-builder-workspace/src/OpenAI.swift:92:41: error: cannot convert value of type 'URLRequest' to expected argument type 'Request'
90 | req.addValue("application/json", forHTTPHeaderField: "Content-Type")
91 |
92 | let bytes = try await stream(request: req)
| `- error: cannot convert value of type 'URLRequest' to expected argument type 'Request'
93 |
94 | let (stream, continuation) = AsyncThrowingStream.makeStream(of: Event.self)
/host/spi-builder-workspace/src/OpenAI.swift:162:7: error: value of type 'URLRequest' has no member 'attach'
160 | var req = request
161 | req.httpMethod = "POST"
162 | req.attach(formData: form)
| `- error: value of type 'URLRequest' has no member 'attach'
163 | req.url!.append(path: "v1/files")
164 |
/host/spi-builder-workspace/src/OpenAI.swift:204:49: error: value of type 'URLSession' has no member 'bytes'
202 | /// - Throws: If the request fails to send or has a non-200 status code.
203 | func stream(request: URLRequest) async throws -> URLSession.AsyncBytes {
204 | let (data, res) = try await URLSession.shared.bytes(for: request)
| `- error: value of type 'URLSession' has no member 'bytes'
205 |
206 | guard let res = res as? HTTPURLResponse else { throw Error.invalidResponse(res) }
[501/517] Compiling OpenAI MultiPartData.swift
/host/spi-builder-workspace/src/Support/MultiPartData.swift:55:11: error: cannot find type 'URLRequest' in scope
53 | }
54 |
55 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
56 | mutating func attach(formData form: FormData) {
57 | httpBody = form.data
[502/517] Compiling OpenAI File.swift
macro expansion @Codable:42:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:75:4: note: expanded code originates here
73 | filename: String? = nil
74 | )
75 | }
+--- macro expansion @Codable --------------------------------------
|40 | extension Input.Content.ContentItem: Encodable {
|41 | public func encode(to encoder: any Encoder) throws {
|42 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|43 | var typeContainer = container
|44 | switch self {
+-------------------------------------------------------------------
76 |
77 | /// A text input to the model, equivalent to a text input.
macro expansion @Codable:32:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:39:3: note: expanded code originates here
37 | /// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
38 | case item(Item.Input)
39 | }
+--- macro expansion @Codable --------------------------------------
|30 | extension Input.ListItem: Encodable {
|31 | public func encode(to encoder: any Encoder) throws {
|32 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|33 | var typeContainer = container
|34 | switch self {
+-------------------------------------------------------------------
40 |
41 | /// Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses.
[503/517] Compiling OpenAI Input.swift
macro expansion @Codable:42:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:75:4: note: expanded code originates here
73 | filename: String? = nil
74 | )
75 | }
+--- macro expansion @Codable --------------------------------------
|40 | extension Input.Content.ContentItem: Encodable {
|41 | public func encode(to encoder: any Encoder) throws {
|42 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|43 | var typeContainer = container
|44 | switch self {
+-------------------------------------------------------------------
76 |
77 | /// A text input to the model, equivalent to a text input.
macro expansion @Codable:32:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:39:3: note: expanded code originates here
37 | /// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
38 | case item(Item.Input)
39 | }
+--- macro expansion @Codable --------------------------------------
|30 | extension Input.ListItem: Encodable {
|31 | public func encode(to encoder: any Encoder) throws {
|32 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|33 | var typeContainer = container
|34 | switch self {
+-------------------------------------------------------------------
40 |
41 | /// Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses.
[504/517] Compiling OpenAI Item.swift
macro expansion @Codable:24:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:590:4: note: expanded code originates here
588 | @CodedAs("summary_text")
589 | case text(_ text: String)
590 | }
+--- macro expansion @Codable --------------------------------------
|22 | extension Item.Reasoning.Summary: Encodable {
|23 | public func encode(to encoder: any Encoder) throws {
|24 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|25 | var typeContainer = container
|26 | switch self {
+-------------------------------------------------------------------
591 |
592 | /// The status of the reasoning data.
macro expansion @Codable:74:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:444:4: note: expanded code originates here
442 | /// > Note: This action is not part of the official API. An invalid action gets returned in some cases when streaming back responses, so this catches it.
443 | case none
444 | }
+--- macro expansion @Codable --------------------------------------
| 72 | extension Item.ComputerToolCall.Action: Encodable {
| 73 | public func encode(to encoder: any Encoder) throws {
| 74 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
| 75 | var typeContainer = container
| 76 | switch self {
+-------------------------------------------------------------------
445 |
446 | /// Indicates which mouse button was pressed during the click.
macro expansion @Codable:31:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:141:4: note: expanded code originates here
139 | }
140 | }
141 | }
+--- macro expansion @Codable --------------------------------------
|29 | extension Item.Output.Content: Encodable {
|30 | public func encode(to encoder: any Encoder) throws {
|31 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|32 | var typeContainer = container
|33 | switch self {
+-------------------------------------------------------------------
142 |
143 | /// An output message from the model.
macro expansion @Codable:11:14: warning: literal value is already handled by previous pattern; consider removing it
`- /host/spi-builder-workspace/src/Models/Item.swift:72:3: note: expanded code originates here
70 | }
71 | }
72 | }
+--- macro expansion @Codable --------------------------------------
| 5 | type = try container.decode(String.self, forKey: CodingKeys.type)
| 6 | switch type {
| 7 | case "message":
| | `- note: first occurrence of identical literal pattern is here
| 8 | let _0: Message.Input
| 9 | _0 = try Message.Input(from: decoder)
|10 | self = .inputMessage(_0)
|11 | case "message":
| | `- warning: literal value is already handled by previous pattern; consider removing it
|12 | let _0: Message.Output
|13 | _0 = try Message.Output(from: decoder)
+-------------------------------------------------------------------
73 |
74 | /// Content items generated by the model.
macro expansion @Codable:55:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:72:3: note: expanded code originates here
70 | }
71 | }
72 | }
+--- macro expansion @Codable --------------------------------------
|53 | extension Item.Input: Encodable {
|54 | public func encode(to encoder: any Encoder) throws {
|55 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|56 | var typeContainer = container
|57 | switch self {
+-------------------------------------------------------------------
73 |
74 | /// Content items generated by the model.
macro expansion @Codable:44:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:112:5: note: expanded code originates here
110 | index: UInt
111 | )
112 | }
+--- macro expansion @Codable --------------------------------------
|42 | extension Item.Output.Content.Annotation: Encodable {
|43 | public func encode(to encoder: any Encoder) throws {
|44 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|45 | var typeContainer = container
|46 | switch self {
+-------------------------------------------------------------------
113 |
114 | /// A text output from the model.
macro expansion @Codable:43:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:176:3: note: expanded code originates here
174 | }
175 | }
176 | }
+--- macro expansion @Codable --------------------------------------
|41 | extension Item.Output: Encodable {
|42 | public func encode(to encoder: any Encoder) throws {
|43 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|44 | var typeContainer = container
|45 | switch self {
+-------------------------------------------------------------------
177 |
178 | /// The results of a file search tool call.
macro expansion @Codable:26:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:544:4: note: expanded code originates here
542 | imageUrl: String?
543 | )
544 | }
+--- macro expansion @Codable --------------------------------------
|24 | extension Item.ComputerToolCallOutput.Output: Encodable {
|25 | public func encode(to encoder: any Encoder) throws {
|26 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|27 | var typeContainer = container
|28 | switch self {
+-------------------------------------------------------------------
545 |
546 | /// The ID of the computer tool call output. Populated when this item is returned via API.
[505/517] Compiling OpenAI Message.swift
macro expansion @Codable:24:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:590:4: note: expanded code originates here
588 | @CodedAs("summary_text")
589 | case text(_ text: String)
590 | }
+--- macro expansion @Codable --------------------------------------
|22 | extension Item.Reasoning.Summary: Encodable {
|23 | public func encode(to encoder: any Encoder) throws {
|24 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|25 | var typeContainer = container
|26 | switch self {
+-------------------------------------------------------------------
591 |
592 | /// The status of the reasoning data.
macro expansion @Codable:74:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:444:4: note: expanded code originates here
442 | /// > Note: This action is not part of the official API. An invalid action gets returned in some cases when streaming back responses, so this catches it.
443 | case none
444 | }
+--- macro expansion @Codable --------------------------------------
| 72 | extension Item.ComputerToolCall.Action: Encodable {
| 73 | public func encode(to encoder: any Encoder) throws {
| 74 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
| 75 | var typeContainer = container
| 76 | switch self {
+-------------------------------------------------------------------
445 |
446 | /// Indicates which mouse button was pressed during the click.
macro expansion @Codable:31:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:141:4: note: expanded code originates here
139 | }
140 | }
141 | }
+--- macro expansion @Codable --------------------------------------
|29 | extension Item.Output.Content: Encodable {
|30 | public func encode(to encoder: any Encoder) throws {
|31 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|32 | var typeContainer = container
|33 | switch self {
+-------------------------------------------------------------------
142 |
143 | /// An output message from the model.
macro expansion @Codable:11:14: warning: literal value is already handled by previous pattern; consider removing it
`- /host/spi-builder-workspace/src/Models/Item.swift:72:3: note: expanded code originates here
70 | }
71 | }
72 | }
+--- macro expansion @Codable --------------------------------------
| 5 | type = try container.decode(String.self, forKey: CodingKeys.type)
| 6 | switch type {
| 7 | case "message":
| | `- note: first occurrence of identical literal pattern is here
| 8 | let _0: Message.Input
| 9 | _0 = try Message.Input(from: decoder)
|10 | self = .inputMessage(_0)
|11 | case "message":
| | `- warning: literal value is already handled by previous pattern; consider removing it
|12 | let _0: Message.Output
|13 | _0 = try Message.Output(from: decoder)
+-------------------------------------------------------------------
73 |
74 | /// Content items generated by the model.
macro expansion @Codable:55:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:72:3: note: expanded code originates here
70 | }
71 | }
72 | }
+--- macro expansion @Codable --------------------------------------
|53 | extension Item.Input: Encodable {
|54 | public func encode(to encoder: any Encoder) throws {
|55 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|56 | var typeContainer = container
|57 | switch self {
+-------------------------------------------------------------------
73 |
74 | /// Content items generated by the model.
macro expansion @Codable:44:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:112:5: note: expanded code originates here
110 | index: UInt
111 | )
112 | }
+--- macro expansion @Codable --------------------------------------
|42 | extension Item.Output.Content.Annotation: Encodable {
|43 | public func encode(to encoder: any Encoder) throws {
|44 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|45 | var typeContainer = container
|46 | switch self {
+-------------------------------------------------------------------
113 |
114 | /// A text output from the model.
macro expansion @Codable:43:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:176:3: note: expanded code originates here
174 | }
175 | }
176 | }
+--- macro expansion @Codable --------------------------------------
|41 | extension Item.Output: Encodable {
|42 | public func encode(to encoder: any Encoder) throws {
|43 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|44 | var typeContainer = container
|45 | switch self {
+-------------------------------------------------------------------
177 |
178 | /// The results of a file search tool call.
macro expansion @Codable:26:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:544:4: note: expanded code originates here
542 | imageUrl: String?
543 | )
544 | }
+--- macro expansion @Codable --------------------------------------
|24 | extension Item.ComputerToolCallOutput.Output: Encodable {
|25 | public func encode(to encoder: any Encoder) throws {
|26 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|27 | var typeContainer = container
|28 | switch self {
+-------------------------------------------------------------------
545 |
546 | /// The ID of the computer tool call output. Populated when this item is returned via API.
[506/517] Compiling OpenAI Config.swift
macro expansion @Codable:34:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Config.swift:73:3: note: expanded code originates here
71 | @CodedAs("json_object")
72 | case jsonObject
73 | }
+--- macro expansion @Codable --------------------------------------
|32 | extension TextConfig.Format: Encodable {
|33 | public func encode(to encoder: any Encoder) throws {
|34 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|35 | var typeContainer = container
|36 | switch self {
+-------------------------------------------------------------------
74 |
75 | /// An object specifying the format that the model must output.
macro expansion @Codable:202:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Event.swift:239:2: note: expanded code originates here
237 | @CodedAs("error")
238 | case error(error: Response.Error)
239 | }
+--- macro expansion @Codable --------------------------------------
|200 | extension Event: Encodable {
|201 | public func encode(to encoder: any Encoder) throws {
|202 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|203 | var typeContainer = container
|204 | switch self {
+-------------------------------------------------------------------
240 |
[507/517] Compiling OpenAI Event.swift
macro expansion @Codable:34:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Config.swift:73:3: note: expanded code originates here
71 | @CodedAs("json_object")
72 | case jsonObject
73 | }
+--- macro expansion @Codable --------------------------------------
|32 | extension TextConfig.Format: Encodable {
|33 | public func encode(to encoder: any Encoder) throws {
|34 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|35 | var typeContainer = container
|36 | switch self {
+-------------------------------------------------------------------
74 |
75 | /// An object specifying the format that the model must output.
macro expansion @Codable:202:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Event.swift:239:2: note: expanded code originates here
237 | @CodedAs("error")
238 | case error(error: Response.Error)
239 | }
+--- macro expansion @Codable --------------------------------------
|200 | extension Event: Encodable {
|201 | public func encode(to encoder: any Encoder) throws {
|202 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|203 | var typeContainer = container
|204 | switch self {
+-------------------------------------------------------------------
240 |
[508/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()
[509/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()
[510/517] Compiling OpenAI Response.swift
macro expansion @Codable:35:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Tool.swift:428:2: note: expanded code originates here
426 | @CodedAs("web_search_preview")
427 | case webSearch(WebSearch)
428 | }
+--- macro expansion @Codable --------------------------------------
|33 | extension Tool: Encodable {
|34 | public func encode(to encoder: any Encoder) throws {
|35 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|36 | var typeContainer = container
|37 | switch self {
+-------------------------------------------------------------------
429 |
430 | public extension Tool {
[511/517] Compiling OpenAI Tool.swift
macro expansion @Codable:35:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Tool.swift:428:2: note: expanded code originates here
426 | @CodedAs("web_search_preview")
427 | case webSearch(WebSearch)
428 | }
+--- macro expansion @Codable --------------------------------------
|33 | extension Tool: Encodable {
|34 | public func encode(to encoder: any Encoder) throws {
|35 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|36 | var typeContainer = container
|37 | switch self {
+-------------------------------------------------------------------
429 |
430 | public extension Tool {
[512/517] Compiling OpenAI Model.swift
[513/517] Compiling OpenAI Request.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[514/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:53:53: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
51 |
52 | // Setup folder
53 | let genFolder = context.pluginWorkDirectory.appending(["ProtocolGen"])
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
54 | try FileManager.default.createDirectory(
55 | atPath: genFolder.string, withIntermediateDirectories: true
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:55:31: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
53 | let genFolder = context.pluginWorkDirectory.appending(["ProtocolGen"])
54 | try FileManager.default.createDirectory(
55 | atPath: genFolder.string, withIntermediateDirectories: true
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
56 | )
57 |
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:63:37: warning: 'path' is deprecated: renamed to 'url'
61 | return target.sourceFiles(withSuffix: "swift").map { file in
62 | let moduleName = target.moduleName
63 | let fileName = file.path.stem
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
64 | let genFileName = "\(moduleName)-\(fileName)-gen.json"
65 | let genFile = genFolder.appending([genFileName])
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:63:42: warning: 'stem' is deprecated: Use `URL` type instead of `Path`.
61 | return target.sourceFiles(withSuffix: "swift").map { file in
62 | let moduleName = target.moduleName
63 | let fileName = file.path.stem
| `- warning: 'stem' is deprecated: Use `URL` type instead of `Path`.
64 | let genFileName = "\(moduleName)-\(fileName)-gen.json"
65 | let genFile = genFolder.appending([genFileName])
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:65:41: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
63 | let fileName = file.path.stem
64 | let genFileName = "\(moduleName)-\(fileName)-gen.json"
65 | let genFile = genFolder.appending([genFileName])
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
66 | intermFiles.append(genFile)
67 | return Command.buildCommand(
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:67:32: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
65 | let genFile = genFolder.appending([genFileName])
66 | intermFiles.append(genFile)
67 | return Command.buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
68 | displayName: """
69 | Parse source file "\(fileName)" in module "\(moduleName)"
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:71:38: warning: 'path' is deprecated: renamed to 'url'
69 | Parse source file "\(fileName)" in module "\(moduleName)"
70 | """,
71 | executable: tool.path,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
72 | arguments: [
73 | "parse",
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:74:30: warning: 'path' is deprecated: renamed to 'url'
72 | arguments: [
73 | "parse",
74 | file.path.string,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
75 | "--output",
76 | genFile.string,
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:74:35: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
72 | arguments: [
73 | "parse",
74 | file.path.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
75 | "--output",
76 | genFile.string,
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:76:33: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
74 | file.path.string,
75 | "--output",
76 | genFile.string,
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
77 | ],
78 | inputFiles: [file.path],
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:78:39: warning: 'path' is deprecated: renamed to 'url'
76 | genFile.string,
77 | ],
78 | inputFiles: [file.path],
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
79 | outputFiles: [genFile]
80 | )
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:87:33: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
85 | let moduleName = target.moduleName
86 | let genFileName = "\(moduleName)+ProtocolHelperCoders.swift"
87 | let genPath = genFolder.appending(genFileName)
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
88 | var genArgs = ["generate", "--output", genPath.string]
89 | for `import` in imports {
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:88:56: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
86 | let genFileName = "\(moduleName)+ProtocolHelperCoders.swift"
87 | let genPath = genFolder.appending(genFileName)
88 | var genArgs = ["generate", "--output", genPath.string]
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
89 | for `import` in imports {
90 | genArgs.append(contentsOf: ["--module", `import`])
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:93:33: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
91 | }
92 | for file in intermFiles {
93 | genArgs.append(file.string)
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
94 | }
95 | buildCommands.append(
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:96:14: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
94 | }
95 | buildCommands.append(
96 | .buildCommand(
| `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
97 | displayName: """
98 | Generate protocol decoding/encoding syntax for "\(moduleName)"
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/Plugin.swift:100:34: warning: 'path' is deprecated: renamed to 'url'
98 | Generate protocol decoding/encoding syntax for "\(moduleName)"
99 | """,
100 | executable: tool.path,
| |- warning: 'path' is deprecated: renamed to 'url'
| `- note: use 'url' instead
101 | arguments: genArgs,
102 | inputFiles: intermFiles,
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:67:42: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
65 | func configPath(named name: String) throws -> String? {
66 | let fileManager = FileManager.default
67 | let directory = module.directory.string
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
68 | let contents = try fileManager.contentsOfDirectory(atPath: directory)
69 | let file = contents.first { file in
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:70:24: warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
68 | let contents = try fileManager.contentsOfDirectory(atPath: directory)
69 | let file = contents.first { file in
70 | let path = Path(file)
| `- warning: 'init(_:)' is deprecated: Use `URL` type instead of `Path`.
71 | return name.lowercased()
72 | == path.stem
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:72:25: warning: 'stem' is deprecated: Use `URL` type instead of `Path`.
70 | let path = Path(file)
71 | return name.lowercased()
72 | == path.stem
| `- warning: 'stem' is deprecated: Use `URL` type instead of `Path`.
73 | .components(separatedBy: .alphanumerics.inverted)
74 | .joined(separator: "")
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:78:33: warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
76 | }
77 | guard let file else { return nil }
78 | return module.directory.appending([file]).string
| `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
79 | }
80 | }
/host/spi-builder-workspace/.build/checkouts/MetaCodable/Plugins/MetaProtocolCodable/SourceTarget/SwiftPackageTarget.swift:78:51: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
76 | }
77 | guard let file else { return nil }
78 | return module.directory.appending([file]).string
| `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
79 | }
80 | }
[1/1] Compiling plugin MetaProtocolCodable
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/28] Write swift-version-24593BA9C3E375BF.txt
[4/48] Compiling SwiftSyntax509 Empty.swift
[5/48] Emitting module SwiftSyntax509
[6/49] Compiling SwiftSyntax510 Empty.swift
[7/49] Compiling SwiftSyntax600 Empty.swift
[8/49] Emitting module SwiftSyntax510
[9/50] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[10/50] Compiling InternalCollectionsUtilities Debugging.swift
[11/50] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[12/51] Emitting module SwiftSyntax600
[16/49] Compiling InternalCollectionsUtilities Descriptions.swift
[17/49] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/49] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[19/49] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[20/49] Compiling InternalCollectionsUtilities Integer rank.swift
[21/49] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[22/49] Compiling InternalCollectionsUtilities UInt+reversed.swift
[23/49] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[24/49] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[25/49] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[26/49] Compiling InternalCollectionsUtilities _SortedCollection.swift
[27/49] Emitting module InternalCollectionsUtilities
[29/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[30/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[31/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[32/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[33/168] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[34/168] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[35/168] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[36/175] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[37/175] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[38/175] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[39/175] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[40/175] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[41/175] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[42/175] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[43/175] Compiling OrderedCollections OrderedDictionary.swift
[44/175] Compiling OrderedCollections OrderedSet+Codable.swift
[45/175] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[46/175] Compiling OrderedCollections OrderedSet+Descriptions.swift
[47/175] Compiling OrderedCollections OrderedSet+Diffing.swift
[48/175] Compiling OrderedCollections OrderedSet+Equatable.swift
[49/175] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[50/175] Compiling OrderedCollections OrderedSet+Hashable.swift
[51/175] Compiling OrderedCollections OrderedSet+Initializers.swift
[52/175] Compiling OrderedCollections OrderedSet+Insertions.swift
[53/175] Compiling OrderedCollections OrderedSet+Invariants.swift
[54/175] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[55/175] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[56/175] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[57/175] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[58/175] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[59/175] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[60/175] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[61/175] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[62/175] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[63/175] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[64/175] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[65/175] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[66/175] Compiling OrderedCollections OrderedDictionary+Values.swift
[67/175] Compiling OrderedCollections OrderedDictionary+Codable.swift
[68/175] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[69/175] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[70/175] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[71/175] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[72/175] Compiling OrderedCollections OrderedDictionary+Elements.swift
[73/175] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[74/175] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[75/175] Compiling OrderedCollections _HashTable+Bucket.swift
[76/175] Compiling OrderedCollections _HashTable+BucketIterator.swift
[77/175] Compiling OrderedCollections _HashTable+Constants.swift
[78/175] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[79/175] Compiling OrderedCollections _HashTable+Testing.swift
[80/175] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[81/175] Compiling OrderedCollections _HashTable.swift
[82/175] Compiling OrderedCollections _Hashtable+Header.swift
[83/175] Compiling OrderedCollections OrderedSet+Sendable.swift
[84/175] Compiling OrderedCollections OrderedSet+SubSequence.swift
[85/175] Compiling OrderedCollections OrderedSet+Testing.swift
[86/175] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[87/175] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[88/175] Compiling OrderedCollections OrderedSet.swift
[89/175] Compiling OrderedCollections _UnsafeBitset.swift
[90/175] Emitting module OrderedCollections
[119/183] Emitting module SwiftSyntax
[127/183] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[128/183] Compiling SwiftSyntax RawSyntaxNodesC.swift
[156/183] Compiling SwiftSyntax SyntaxNodesC.swift
[157/183] Compiling SwiftSyntax SyntaxNodesD.swift
[158/183] Compiling SwiftSyntax SyntaxNodesEF.swift
[159/183] Compiling SwiftSyntax SyntaxNodesGHI.swift
[160/183] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[161/183] Compiling SwiftSyntax SyntaxNodesOP.swift
[162/183] Compiling SwiftSyntax SyntaxNodesQRS.swift
[163/183] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[165/240] Compiling SwiftDiagnostics Message.swift
[166/241] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[167/241] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[168/241] Emitting module SwiftDiagnostics
[169/241] Compiling SwiftBasicFormat Syntax+Extensions.swift
[170/241] Emitting module SwiftBasicFormat
[171/241] Compiling SwiftDiagnostics Note.swift
[172/241] Compiling SwiftDiagnostics FixIt.swift
[173/241] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[174/241] Compiling SwiftParser CharacterInfo.swift
[175/241] Compiling SwiftParser CollectionNodes+Parsable.swift
[176/241] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[177/241] Compiling SwiftBasicFormat InferIndentation.swift
[178/241] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[179/241] Compiling SwiftParser Attributes.swift
[180/241] Compiling SwiftParser Availability.swift
[182/241] Compiling SwiftParser SwiftParserCompatibility.swift
[183/241] Compiling SwiftParser SwiftVersion.swift
[184/241] Compiling SwiftParser SyntaxUtils.swift
[185/241] Compiling SwiftParser TokenConsumer.swift
[186/241] Compiling SwiftParser TokenPrecedence.swift
[187/246] Compiling SwiftBasicFormat BasicFormat.swift
[189/246] Compiling SwiftParser LexemeSequence.swift
[190/246] Compiling SwiftParser Lexer.swift
[191/246] Compiling SwiftParser RegexLiteralLexer.swift
[192/246] Compiling SwiftParser UnicodeScalarExtensions.swift
[193/246] Compiling SwiftParser Lookahead.swift
[194/246] Compiling SwiftParser LoopProgressCondition.swift
[195/246] Compiling SwiftParser TokenSpec.swift
[196/246] Compiling SwiftParser TokenSpecSet.swift
[197/246] Compiling SwiftParser TopLevel.swift
[198/246] Compiling SwiftParser TriviaParser.swift
[199/246] Compiling SwiftParser Types.swift
[200/246] Compiling SwiftParser Patterns.swift
[201/246] Compiling SwiftParser Recovery.swift
[202/246] Compiling SwiftParser Specifiers.swift
[203/246] Compiling SwiftParser Statements.swift
[204/246] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[205/246] Compiling SwiftParser StringLiterals.swift
[206/246] Compiling SwiftParser Modifiers.swift
[207/246] Compiling SwiftParser Names.swift
[208/246] Compiling SwiftParser Nominals.swift
[209/246] Compiling SwiftParser Parameters.swift
[210/246] Compiling SwiftParser ParseSourceFile.swift
[211/246] Compiling SwiftParser Parser.swift
[212/246] Emitting module SwiftParser
[217/246] Compiling SwiftParser Declarations.swift
[218/246] Compiling SwiftParser Directives.swift
[219/246] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[220/246] Compiling SwiftParser Expressions.swift
[221/246] Compiling SwiftParser IncrementalParseTransition.swift
[222/246] Compiling SwiftParser IsValidIdentifier.swift
[223/246] Compiling SwiftParser Cursor.swift
[224/246] Compiling SwiftParser Lexeme.swift
[225/246] Compiling SwiftParser ExperimentalFeatures.swift
[226/246] Compiling SwiftParser IsLexerClassified.swift
[227/246] Compiling SwiftParser LayoutNodes+Parsable.swift
[228/246] Compiling SwiftParser Parser+TokenSpecSet.swift
[229/246] Compiling SwiftParser TokenSpecStaticMembers.swift
[231/269] Compiling SwiftOperators PrecedenceGroup.swift
[232/270] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[233/271] Compiling SwiftOperators OperatorTable.swift
[234/271] Compiling SwiftOperators PrecedenceGraph.swift
[235/271] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[236/271] Compiling SwiftOperators SyntaxSynthesis.swift
[237/271] Compiling SwiftOperators OperatorTable+Semantics.swift
[238/271] Compiling SwiftOperators OperatorError.swift
[239/271] Compiling SwiftOperators OperatorTable+Defaults.swift
[240/271] Compiling SwiftOperators Operator.swift
[241/271] Compiling SwiftOperators OperatorError+Diagnostics.swift
[242/271] Emitting module SwiftOperators
[243/271] Compiling SwiftOperators OperatorTable+Folding.swift
[245/271] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[246/271] Compiling SwiftParserDiagnostics Utils.swift
[247/271] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[248/271] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[249/271] Compiling SwiftParserDiagnostics PresenceUtils.swift
[252/271] Emitting module SwiftParserDiagnostics
[255/271] Compiling SwiftParserDiagnostics MissingNodesError.swift
[256/271] Compiling SwiftParserDiagnostics MissingTokenError.swift
[258/286] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[259/286] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[260/287] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[261/287] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[262/287] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[263/287] Compiling SwiftSyntaxBuilder Indenter.swift
[264/287] Compiling SwiftSyntaxBuilder ListBuilder.swift
[265/287] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[266/287] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[267/287] Emitting module SwiftSyntaxBuilder
[268/287] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[269/287] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[270/287] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[271/287] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[272/287] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[273/287] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[275/304] Compiling SwiftSyntaxMacros AccessorMacro.swift
[276/304] Compiling SwiftSyntaxMacros AttachedMacro.swift
[277/304] Compiling SwiftSyntaxMacros BodyMacro.swift
[278/306] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[279/306] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[280/306] Compiling SwiftSyntaxMacros Macro.swift
[281/306] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[282/306] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[283/306] Compiling SwiftSyntaxMacros Macro+Format.swift
[284/306] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[285/306] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[286/306] Compiling SwiftSyntaxMacros MemberMacro.swift
[287/306] Compiling SwiftSyntaxMacros PeerMacro.swift
[288/306] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[289/306] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[290/306] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[291/306] Emitting module SwiftSyntaxMacros
[292/306] Compiling SwiftSyntaxMacros PreambleMacro.swift
[293/306] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[295/315] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[296/316] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[297/398] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[298/398] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[299/398] Compiling PluginCore AttributableDeclSyntax.swift
[300/398] Compiling PluginCore Attribute.swift
[301/398] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[302/398] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[303/398] Emitting module SwiftSyntaxMacroExpansion
[304/398] Compiling PluginCore Default.swift
[305/398] Compiling PluginCore IgnoreCoding.swift
[306/398] Compiling PluginCore IgnoreDecoding.swift
[307/398] Compiling PluginCore IgnoreEncoding.swift
[308/398] Compiling PluginCore CodedAt.swift
[309/398] Compiling PluginCore CodedIn.swift
[310/398] Compiling PluginCore ContentAt.swift
[311/398] Compiling PluginCore KeyPathProvider.swift
[312/398] Compiling PluginCore MemberInit+Expansion.swift
[313/398] Compiling PluginCore MemberInit.swift
[314/398] Compiling PluginCore PeerAttribute.swift
[315/398] Compiling PluginCore AggregatedDiagnosticProducer.swift
[318/409] Compiling PluginCore Codable+Expansion.swift
[319/409] Compiling PluginCore Codable.swift
[320/409] Compiling PluginCore CodingKeyTransformer.swift
[321/409] Compiling PluginCore CodingKeys.swift
[322/409] Compiling PluginCore Strategy.swift
[323/409] Compiling PluginCore IgnoreCodingInitialized.swift
[324/409] Compiling PluginCore Inherits.swift
[325/409] Compiling PluginCore UnTagged.swift
[326/409] Compiling PluginCore CodedAs.swift
[327/409] Compiling PluginCore CodedBy.swift
[328/409] Emitting module PluginCore
[329/409] Compiling PluginCore KeyedVariable.swift
[330/409] Compiling PluginCore PropertyVariable.swift
[331/409] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[332/409] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[333/409] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[334/409] Compiling PluginCore PropertyVariableTreeNode.swift
[335/409] Compiling PluginCore AssociatedDeclSyntax.swift
[336/409] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[337/409] Compiling PluginCore MemberGroupSyntax.swift
[338/409] Compiling PluginCore PropertyDeclSyntax.swift
[339/409] Compiling PluginCore VariableSyntax.swift
[340/409] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[341/409] Compiling PluginCore AnyEnumSwitcher.swift
[342/409] Compiling PluginCore EnumSwitcherVariable.swift
[343/409] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[344/409] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[345/409] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[346/409] Compiling PluginCore UnTaggedEnumSwitcher.swift
[347/409] Compiling PluginCore AnyInitialization.swift
[348/409] Compiling PluginCore AnyRequiredVariableInitialization.swift
[349/409] Compiling PluginCore IgnoredInitialization.swift
[350/409] Compiling PluginCore MemberwiseInitGenerator.swift
[351/409] Compiling PluginCore OptionalInitialization.swift
[352/409] Compiling PluginCore RequiredInitialization.swift
[353/409] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[354/409] Compiling PluginCore RequiredVariableInitialization.swift
[355/409] Compiling PluginCore VariableInitialization.swift
[356/409] Compiling PluginCore AliasedPropertyVariable.swift
[357/409] Compiling PluginCore AnyPropertyVariable.swift
[358/409] Compiling PluginCore BasicPropertyVariable.swift
[359/409] Compiling PluginCore DecodingFallback.swift
[360/409] Compiling PluginCore DefaultValueVariable.swift
[361/409] Compiling PluginCore HelperCodedVariable.swift
[362/409] Compiling PluginCore InitializationVariable.swift
[363/410] Compiling PluginCore CombinedUsage.swift
[364/410] Compiling PluginCore ArgumentCountCondition.swift
[365/410] Compiling PluginCore DeclarationCondition.swift
[366/410] Compiling PluginCore DiagnosticCondition.swift
[367/410] Compiling PluginCore ConditionalDiagnosticProducer.swift
[368/410] Compiling PluginCore DiagnosticProducer.swift
[369/410] Compiling PluginCore DuplicateUsage.swift
[370/410] Compiling PluginCore GroupedVariableDeclaration.swift
[371/410] Compiling PluginCore InvalidCombination.swift
[372/410] Compiling PluginCore InvalidDeclaration.swift
[373/410] Compiling PluginCore MetaCodableMessage.swift
[374/410] Compiling PluginCore StaticVariableDeclaration.swift
[375/410] Compiling PluginCore UninitializedVariableDecl.swift
[376/410] Compiling PluginCore AttributeExpander.swift
[377/410] Compiling PluginCore DeclModifiersGenerator.swift
[378/410] Compiling PluginCore Options.swift
[379/410] Compiling PluginCore ComposedVariable.swift
[380/410] Compiling PluginCore ConditionalCodingVariable.swift
[381/410] Compiling PluginCore AssociatedVariable.swift
[382/410] Compiling PluginCore BasicAssociatedVariable.swift
[383/410] Compiling PluginCore BasicEnumCaseVariable.swift
[384/410] Compiling PluginCore EnumCaseVariable.swift
[385/410] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[386/410] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[388/421] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[389/422] Compiling PluginCore ActorVariable.swift
[390/422] Compiling PluginCore ClassVariable.swift
[391/422] Compiling PluginCore Case.swift
[392/422] Compiling PluginCore CodingKeysMap.swift
[393/422] Compiling PluginCore Key.swift
[394/422] Compiling PluginCore ConstraintGenerator.swift
[395/422] Compiling PluginCore Registration.swift
[396/422] Compiling PluginCore EnumVariable.swift
[397/422] Compiling PluginCore MemberGroup.swift
[398/422] Compiling PluginCore TypeVariable.swift
[399/422] Compiling PluginCore Variable.swift
[400/423] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[401/423] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[403/423] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[404/423] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[405/422] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[406/422] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[407/422] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[408/422] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[409/422] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[410/422] Emitting module SwiftCompilerPluginMessageHandling
[411/422] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[412/422] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[414/424] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[415/424] Emitting module SwiftCompilerPlugin
[417/427] Compiling MacroPlugin Plugin.swift
[418/427] Emitting module MacroPlugin
[419/427] Compiling MacroPlugin Definitions.swift
[420/427] Write Objects.LinkFileList
[421/427] Linking MacroPlugin-tool
[423/444] Emitting module MetaCodable
[424/446] Compiling MetaCodable DynamicCodableIdentifier+Expressible.swift
[425/446] Compiling MetaCodable DynamicCodableIdentifier.swift
[426/446] Compiling MetaCodable CodedBy.swift
[427/446] Compiling MetaCodable CodedIn.swift
[428/446] Compiling MetaCodable ContentAt.swift
[429/446] Compiling MetaCodable Default.swift
[430/446] Compiling MetaCodable UnTagged.swift
[431/446] Compiling MetaCodable CodedAs.swift
[432/446] Compiling MetaCodable CodedAt.swift
[433/446] Compiling MetaCodable DynamicCodable.swift
[434/446] Compiling MetaCodable DynamicCodableIdentifier+CodingKey.swift
[435/446] Compiling MetaCodable Codable.swift
[436/446] Compiling MetaCodable CodingKeys.swift
[437/446] Compiling MetaCodable IgnoreCodingInitialized.swift
[438/446] Compiling MetaCodable HelperCoder.swift
[439/446] Compiling MetaCodable LossySequence.swift
[440/446] Compiling MetaCodable IgnoreCoding.swift
[441/446] Compiling MetaCodable MemberInit.swift
[443/459] Compiling HelperCoders String.swift
[444/460] Compiling HelperCoders DateCoder.swift
[445/460] Compiling HelperCoders Since1970DateCoder.swift
[446/460] Compiling HelperCoders Number.swift
[447/460] Compiling HelperCoders Base64Coder.swift
[448/460] Compiling HelperCoders ConditionalCoder.swift
[449/460] Emitting module HelperCoders
[450/460] Compiling HelperCoders ValueCoder.swift
[451/460] Compiling HelperCoders DefaultSequenceElementCoding.swift
[452/460] Compiling HelperCoders SequenceCoder.swift
[453/460] Compiling HelperCoders NonConformingCoder.swift
[454/460] Compiling HelperCoders PropertyWrapperCoder.swift
[455/460] Compiling HelperCoders SequenceCoderConfiguration.swift
[456/460] Compiling HelperCoders Bool.swift
[458/474] Compiling OpenAI Model.swift
[459/474] Compiling OpenAI Request.swift
[460/475] 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
[461/475] 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) }
[462/475] Compiling OpenAI Item.swift
macro expansion @Codable:24:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:590:4: note: expanded code originates here
588 | @CodedAs("summary_text")
589 | case text(_ text: String)
590 | }
+--- macro expansion @Codable --------------------------------------
|22 | extension Item.Reasoning.Summary: Encodable {
|23 | public func encode(to encoder: any Encoder) throws {
|24 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|25 | var typeContainer = container
|26 | switch self {
+-------------------------------------------------------------------
591 |
592 | /// The status of the reasoning data.
macro expansion @Codable:74:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:444:4: note: expanded code originates here
442 | /// > Note: This action is not part of the official API. An invalid action gets returned in some cases when streaming back responses, so this catches it.
443 | case none
444 | }
+--- macro expansion @Codable --------------------------------------
| 72 | extension Item.ComputerToolCall.Action: Encodable {
| 73 | public func encode(to encoder: any Encoder) throws {
| 74 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
| 75 | var typeContainer = container
| 76 | switch self {
+-------------------------------------------------------------------
445 |
446 | /// Indicates which mouse button was pressed during the click.
macro expansion @Codable:31:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:141:4: note: expanded code originates here
139 | }
140 | }
141 | }
+--- macro expansion @Codable --------------------------------------
|29 | extension Item.Output.Content: Encodable {
|30 | public func encode(to encoder: any Encoder) throws {
|31 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|32 | var typeContainer = container
|33 | switch self {
+-------------------------------------------------------------------
142 |
143 | /// An output message from the model.
macro expansion @Codable:11:14: warning: literal value is already handled by previous pattern; consider removing it
`- /host/spi-builder-workspace/src/Models/Item.swift:72:3: note: expanded code originates here
70 | }
71 | }
72 | }
+--- macro expansion @Codable --------------------------------------
| 5 | type = try container.decode(String.self, forKey: CodingKeys.type)
| 6 | switch type {
| 7 | case "message":
| | `- note: first occurrence of identical literal pattern is here
| 8 | let _0: Message.Input
| 9 | _0 = try Message.Input(from: decoder)
|10 | self = .inputMessage(_0)
|11 | case "message":
| | `- warning: literal value is already handled by previous pattern; consider removing it
|12 | let _0: Message.Output
|13 | _0 = try Message.Output(from: decoder)
+-------------------------------------------------------------------
73 |
74 | /// Content items generated by the model.
macro expansion @Codable:55:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:72:3: note: expanded code originates here
70 | }
71 | }
72 | }
+--- macro expansion @Codable --------------------------------------
|53 | extension Item.Input: Encodable {
|54 | public func encode(to encoder: any Encoder) throws {
|55 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|56 | var typeContainer = container
|57 | switch self {
+-------------------------------------------------------------------
73 |
74 | /// Content items generated by the model.
macro expansion @Codable:44:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:112:5: note: expanded code originates here
110 | index: UInt
111 | )
112 | }
+--- macro expansion @Codable --------------------------------------
|42 | extension Item.Output.Content.Annotation: Encodable {
|43 | public func encode(to encoder: any Encoder) throws {
|44 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|45 | var typeContainer = container
|46 | switch self {
+-------------------------------------------------------------------
113 |
114 | /// A text output from the model.
macro expansion @Codable:43:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:176:3: note: expanded code originates here
174 | }
175 | }
176 | }
+--- macro expansion @Codable --------------------------------------
|41 | extension Item.Output: Encodable {
|42 | public func encode(to encoder: any Encoder) throws {
|43 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|44 | var typeContainer = container
|45 | switch self {
+-------------------------------------------------------------------
177 |
178 | /// The results of a file search tool call.
macro expansion @Codable:26:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:544:4: note: expanded code originates here
542 | imageUrl: String?
543 | )
544 | }
+--- macro expansion @Codable --------------------------------------
|24 | extension Item.ComputerToolCallOutput.Output: Encodable {
|25 | public func encode(to encoder: any Encoder) throws {
|26 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|27 | var typeContainer = container
|28 | switch self {
+-------------------------------------------------------------------
545 |
546 | /// The ID of the computer tool call output. Populated when this item is returned via API.
[463/475] Compiling OpenAI Message.swift
macro expansion @Codable:24:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:590:4: note: expanded code originates here
588 | @CodedAs("summary_text")
589 | case text(_ text: String)
590 | }
+--- macro expansion @Codable --------------------------------------
|22 | extension Item.Reasoning.Summary: Encodable {
|23 | public func encode(to encoder: any Encoder) throws {
|24 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|25 | var typeContainer = container
|26 | switch self {
+-------------------------------------------------------------------
591 |
592 | /// The status of the reasoning data.
macro expansion @Codable:74:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:444:4: note: expanded code originates here
442 | /// > Note: This action is not part of the official API. An invalid action gets returned in some cases when streaming back responses, so this catches it.
443 | case none
444 | }
+--- macro expansion @Codable --------------------------------------
| 72 | extension Item.ComputerToolCall.Action: Encodable {
| 73 | public func encode(to encoder: any Encoder) throws {
| 74 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
| 75 | var typeContainer = container
| 76 | switch self {
+-------------------------------------------------------------------
445 |
446 | /// Indicates which mouse button was pressed during the click.
macro expansion @Codable:31:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:141:4: note: expanded code originates here
139 | }
140 | }
141 | }
+--- macro expansion @Codable --------------------------------------
|29 | extension Item.Output.Content: Encodable {
|30 | public func encode(to encoder: any Encoder) throws {
|31 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|32 | var typeContainer = container
|33 | switch self {
+-------------------------------------------------------------------
142 |
143 | /// An output message from the model.
macro expansion @Codable:11:14: warning: literal value is already handled by previous pattern; consider removing it
`- /host/spi-builder-workspace/src/Models/Item.swift:72:3: note: expanded code originates here
70 | }
71 | }
72 | }
+--- macro expansion @Codable --------------------------------------
| 5 | type = try container.decode(String.self, forKey: CodingKeys.type)
| 6 | switch type {
| 7 | case "message":
| | `- note: first occurrence of identical literal pattern is here
| 8 | let _0: Message.Input
| 9 | _0 = try Message.Input(from: decoder)
|10 | self = .inputMessage(_0)
|11 | case "message":
| | `- warning: literal value is already handled by previous pattern; consider removing it
|12 | let _0: Message.Output
|13 | _0 = try Message.Output(from: decoder)
+-------------------------------------------------------------------
73 |
74 | /// Content items generated by the model.
macro expansion @Codable:55:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:72:3: note: expanded code originates here
70 | }
71 | }
72 | }
+--- macro expansion @Codable --------------------------------------
|53 | extension Item.Input: Encodable {
|54 | public func encode(to encoder: any Encoder) throws {
|55 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|56 | var typeContainer = container
|57 | switch self {
+-------------------------------------------------------------------
73 |
74 | /// Content items generated by the model.
macro expansion @Codable:44:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:112:5: note: expanded code originates here
110 | index: UInt
111 | )
112 | }
+--- macro expansion @Codable --------------------------------------
|42 | extension Item.Output.Content.Annotation: Encodable {
|43 | public func encode(to encoder: any Encoder) throws {
|44 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|45 | var typeContainer = container
|46 | switch self {
+-------------------------------------------------------------------
113 |
114 | /// A text output from the model.
macro expansion @Codable:43:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:176:3: note: expanded code originates here
174 | }
175 | }
176 | }
+--- macro expansion @Codable --------------------------------------
|41 | extension Item.Output: Encodable {
|42 | public func encode(to encoder: any Encoder) throws {
|43 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|44 | var typeContainer = container
|45 | switch self {
+-------------------------------------------------------------------
177 |
178 | /// The results of a file search tool call.
macro expansion @Codable:26:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Item.swift:544:4: note: expanded code originates here
542 | imageUrl: String?
543 | )
544 | }
+--- macro expansion @Codable --------------------------------------
|24 | extension Item.ComputerToolCallOutput.Output: Encodable {
|25 | public func encode(to encoder: any Encoder) throws {
|26 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|27 | var typeContainer = container
|28 | switch self {
+-------------------------------------------------------------------
545 |
546 | /// The ID of the computer tool call output. Populated when this item is returned via API.
[464/475] Compiling OpenAI File.swift
macro expansion @Codable:42:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:75:4: note: expanded code originates here
73 | filename: String? = nil
74 | )
75 | }
+--- macro expansion @Codable --------------------------------------
|40 | extension Input.Content.ContentItem: Encodable {
|41 | public func encode(to encoder: any Encoder) throws {
|42 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|43 | var typeContainer = container
|44 | switch self {
+-------------------------------------------------------------------
76 |
77 | /// A text input to the model, equivalent to a text input.
macro expansion @Codable:32:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:39:3: note: expanded code originates here
37 | /// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
38 | case item(Item.Input)
39 | }
+--- macro expansion @Codable --------------------------------------
|30 | extension Input.ListItem: Encodable {
|31 | public func encode(to encoder: any Encoder) throws {
|32 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|33 | var typeContainer = container
|34 | switch self {
+-------------------------------------------------------------------
40 |
41 | /// Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses.
[465/475] Compiling OpenAI Input.swift
macro expansion @Codable:42:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:75:4: note: expanded code originates here
73 | filename: String? = nil
74 | )
75 | }
+--- macro expansion @Codable --------------------------------------
|40 | extension Input.Content.ContentItem: Encodable {
|41 | public func encode(to encoder: any Encoder) throws {
|42 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|43 | var typeContainer = container
|44 | switch self {
+-------------------------------------------------------------------
76 |
77 | /// A text input to the model, equivalent to a text input.
macro expansion @Codable:32:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Input.swift:39:3: note: expanded code originates here
37 | /// Can contain text, images, and audio inputs, as well as previous assistant responses and tool call outputs.
38 | case item(Item.Input)
39 | }
+--- macro expansion @Codable --------------------------------------
|30 | extension Input.ListItem: Encodable {
|31 | public func encode(to encoder: any Encoder) throws {
|32 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|33 | var typeContainer = container
|34 | switch self {
+-------------------------------------------------------------------
40 |
41 | /// Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses.
[466/475] 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()
[467/475] 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()
[468/475] Compiling OpenAI Config.swift
macro expansion @Codable:34:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Config.swift:73:3: note: expanded code originates here
71 | @CodedAs("json_object")
72 | case jsonObject
73 | }
+--- macro expansion @Codable --------------------------------------
|32 | extension TextConfig.Format: Encodable {
|33 | public func encode(to encoder: any Encoder) throws {
|34 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|35 | var typeContainer = container
|36 | switch self {
+-------------------------------------------------------------------
74 |
75 | /// An object specifying the format that the model must output.
macro expansion @Codable:202:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Event.swift:239:2: note: expanded code originates here
237 | @CodedAs("error")
238 | case error(error: Response.Error)
239 | }
+--- macro expansion @Codable --------------------------------------
|200 | extension Event: Encodable {
|201 | public func encode(to encoder: any Encoder) throws {
|202 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|203 | var typeContainer = container
|204 | switch self {
+-------------------------------------------------------------------
240 |
[469/475] Compiling OpenAI Event.swift
macro expansion @Codable:34:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Config.swift:73:3: note: expanded code originates here
71 | @CodedAs("json_object")
72 | case jsonObject
73 | }
+--- macro expansion @Codable --------------------------------------
|32 | extension TextConfig.Format: Encodable {
|33 | public func encode(to encoder: any Encoder) throws {
|34 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|35 | var typeContainer = container
|36 | switch self {
+-------------------------------------------------------------------
74 |
75 | /// An object specifying the format that the model must output.
macro expansion @Codable:202:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Event.swift:239:2: note: expanded code originates here
237 | @CodedAs("error")
238 | case error(error: Response.Error)
239 | }
+--- macro expansion @Codable --------------------------------------
|200 | extension Event: Encodable {
|201 | public func encode(to encoder: any Encoder) throws {
|202 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|203 | var typeContainer = container
|204 | switch self {
+-------------------------------------------------------------------
240 |
[470/475] Compiling OpenAI Response.swift
macro expansion @Codable:35:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Tool.swift:428:2: note: expanded code originates here
426 | @CodedAs("web_search_preview")
427 | case webSearch(WebSearch)
428 | }
+--- macro expansion @Codable --------------------------------------
|33 | extension Tool: Encodable {
|34 | public func encode(to encoder: any Encoder) throws {
|35 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|36 | var typeContainer = container
|37 | switch self {
+-------------------------------------------------------------------
429 |
430 | public extension Tool {
[471/475] Compiling OpenAI Tool.swift
macro expansion @Codable:35:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Tool.swift:428:2: note: expanded code originates here
426 | @CodedAs("web_search_preview")
427 | case webSearch(WebSearch)
428 | }
+--- macro expansion @Codable --------------------------------------
|33 | extension Tool: Encodable {
|34 | public func encode(to encoder: any Encoder) throws {
|35 | var container = encoder.container(keyedBy: CodingKeys.self)
| | `- warning: variable 'container' was never mutated; consider changing to 'let' constant
|36 | var typeContainer = container
|37 | switch self {
+-------------------------------------------------------------------
429 |
430 | public extension Tool {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[472/475] 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
BUILD FAILURE 6.1 linux