Build Information
Failed to build OpenAI, reference 1.0.4 (2e8a97
), with Swift 6.1 for Linux on 1 May 2025 10:56:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/swift-openai-responses.git
Reference: 1.0.4
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.4 -> FETCH_HEAD
HEAD is now at 2e8a97e Add service tier param
Cloned https://github.com/m1guelpf/swift-openai-responses.git
Revision (git rev-parse @):
2e8a97e7eba88792c04f9a53e2dfa89489d35614
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/swift-openai-responses.git at 1.0.4
========================================
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-0":/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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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/53917] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable.git from cache (3.21s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.4.0 (5.65s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/16306] Fetching swift-collections
[2774/31256] Fetching swift-collections, swift-argument-parser
[22452/101547] Fetching swift-collections, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.89s)
[25444/86597] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (4.38s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.41s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (4.99s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.45s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.75s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/SwiftyLab/MetaCodable.git
Working copy of https://github.com/SwiftyLab/MetaCodable.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
/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/73] Emitting module InternalCollectionsUtilities
[27/75] Emitting module SwiftSyntax509
[28/75] Compiling SwiftSyntax509 Empty.swift
[29/76] Emitting module SwiftSyntax510
[30/76] Compiling SwiftSyntax510 Empty.swift
[31/77] Emitting module SwiftSyntax600
[32/77] Compiling SwiftSyntax600 Empty.swift
[35/78] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[36/78] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[37/78] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[38/78] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[39/78] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[40/78] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[41/78] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[42/78] Compiling InternalCollectionsUtilities _SortedCollection.swift
[43/78] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[44/78] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[45/78] Compiling InternalCollectionsUtilities Integer rank.swift
[46/78] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[48/78] Compiling InternalCollectionsUtilities UInt+reversed.swift
[49/78] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[50/78] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[51/78] Compiling InternalCollectionsUtilities Specialize.swift
[52/78] Compiling InternalCollectionsUtilities Debugging.swift
[53/78] Compiling InternalCollectionsUtilities Descriptions.swift
[53/79] Wrapping AST for SwiftSyntax509 for debugging
[54/79] Wrapping AST for SwiftSyntax510 for debugging
[56/79] Wrapping AST for SwiftSyntax600 for debugging
[57/93] Wrapping AST for InternalCollectionsUtilities for debugging
[59/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[60/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[61/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[62/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[63/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[64/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[65/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[66/205] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[67/205] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[68/205] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[69/205] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[70/205] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[71/205] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[72/205] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[73/205] Compiling OrderedCollections OrderedDictionary.swift
[74/205] Compiling OrderedCollections OrderedSet+Codable.swift
[75/205] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[76/205] Compiling OrderedCollections OrderedSet+Descriptions.swift
[77/205] Compiling OrderedCollections OrderedSet+Diffing.swift
[78/205] Compiling OrderedCollections OrderedSet+Equatable.swift
[79/205] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[80/205] Compiling OrderedCollections OrderedSet+Hashable.swift
[81/205] Compiling OrderedCollections OrderedSet+Initializers.swift
[82/205] Compiling OrderedCollections OrderedSet+Insertions.swift
[83/205] Compiling OrderedCollections OrderedSet+Invariants.swift
[84/205] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[85/205] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[86/205] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[87/205] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[88/205] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[89/205] Compiling OrderedCollections OrderedDictionary+Codable.swift
[90/205] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[91/205] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[92/205] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[93/205] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[94/205] Compiling OrderedCollections OrderedDictionary+Elements.swift
[95/205] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[96/205] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[97/205] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[98/205] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[99/205] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[100/205] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[101/205] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[102/205] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[103/205] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[104/205] Compiling OrderedCollections OrderedDictionary+Values.swift
[105/205] Compiling OrderedCollections _HashTable+Bucket.swift
[106/205] Compiling OrderedCollections _HashTable+BucketIterator.swift
[107/205] Compiling OrderedCollections _HashTable+Constants.swift
[108/205] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[109/205] Compiling OrderedCollections _HashTable+Testing.swift
[110/205] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[111/205] Compiling OrderedCollections _HashTable.swift
[112/205] Compiling OrderedCollections _Hashtable+Header.swift
[113/205] Emitting module OrderedCollections
[114/205] Compiling OrderedCollections OrderedSet+Sendable.swift
[115/205] Compiling OrderedCollections OrderedSet+SubSequence.swift
[116/205] Compiling OrderedCollections OrderedSet+Testing.swift
[117/205] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[118/205] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[119/205] Compiling OrderedCollections OrderedSet.swift
[120/205] Compiling OrderedCollections _UnsafeBitset.swift
[121/206] Wrapping AST for OrderedCollections for debugging
[141/214] Emitting module SwiftSyntax
[167/214] Compiling SwiftSyntax RawSyntaxValidation.swift
[168/214] Compiling SwiftSyntax SyntaxNodesAB.swift
[187/214] Compiling SwiftSyntax SyntaxNodesC.swift
[188/214] Compiling SwiftSyntax SyntaxNodesD.swift
[189/214] Compiling SwiftSyntax SyntaxNodesEF.swift
[190/214] Compiling SwiftSyntax SyntaxNodesGHI.swift
[191/214] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[192/214] Compiling SwiftSyntax SyntaxNodesOP.swift
[193/214] Compiling SwiftSyntax SyntaxNodesQRS.swift
[194/214] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[195/215] Wrapping AST for SwiftSyntax for debugging
[197/272] Emitting module SwiftDiagnostics
[198/272] Compiling SwiftParser Attributes.swift
[199/272] Compiling SwiftParser Availability.swift
[200/273] Compiling SwiftDiagnostics Message.swift
[201/273] Compiling SwiftBasicFormat Syntax+Extensions.swift
[202/273] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[203/273] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[204/273] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[205/273] Compiling SwiftParser CharacterInfo.swift
[206/273] Compiling SwiftParser CollectionNodes+Parsable.swift
[207/273] Compiling SwiftDiagnostics Note.swift
[208/273] Compiling SwiftBasicFormat InferIndentation.swift
[209/273] Compiling SwiftDiagnostics FixIt.swift
[210/273] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[211/273] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[213/274] Emitting module SwiftBasicFormat
[214/274] Compiling SwiftBasicFormat BasicFormat.swift
[214/275] Wrapping AST for SwiftDiagnostics for debugging
[216/275] Wrapping AST for SwiftBasicFormat for debugging
[218/275] Compiling SwiftParser LexemeSequence.swift
[219/275] Compiling SwiftParser Lexer.swift
[220/275] Compiling SwiftParser RegexLiteralLexer.swift
[221/275] Compiling SwiftParser UnicodeScalarExtensions.swift
[222/275] Compiling SwiftParser Lookahead.swift
[223/275] Compiling SwiftParser LoopProgressCondition.swift
[224/275] Compiling SwiftParser Modifiers.swift
[225/275] Compiling SwiftParser Names.swift
[226/275] Compiling SwiftParser Nominals.swift
[227/275] Compiling SwiftParser Parameters.swift
[228/275] Compiling SwiftParser ParseSourceFile.swift
[229/275] Compiling SwiftParser Parser.swift
[230/280] Compiling SwiftParser Patterns.swift
[231/280] Compiling SwiftParser Recovery.swift
[232/280] Compiling SwiftParser Specifiers.swift
[233/280] Compiling SwiftParser Statements.swift
[234/280] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[235/280] Compiling SwiftParser StringLiterals.swift
[236/280] Compiling SwiftParser SwiftParserCompatibility.swift
[237/280] Compiling SwiftParser SwiftVersion.swift
[238/280] Compiling SwiftParser SyntaxUtils.swift
[239/280] Compiling SwiftParser TokenConsumer.swift
[240/280] Compiling SwiftParser TokenPrecedence.swift
[241/280] Compiling SwiftParser TokenSpec.swift
[242/280] Compiling SwiftParser TokenSpecSet.swift
[243/280] Compiling SwiftParser TopLevel.swift
[244/280] Compiling SwiftParser TriviaParser.swift
[245/280] Compiling SwiftParser Types.swift
[246/280] Emitting module SwiftParser
[251/280] Compiling SwiftParser Declarations.swift
[252/280] Compiling SwiftParser Directives.swift
[253/280] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[254/280] Compiling SwiftParser Expressions.swift
[255/280] Compiling SwiftParser IncrementalParseTransition.swift
[256/280] Compiling SwiftParser IsValidIdentifier.swift
[257/280] Compiling SwiftParser Cursor.swift
[258/280] Compiling SwiftParser Lexeme.swift
[259/280] Compiling SwiftParser ExperimentalFeatures.swift
[260/280] Compiling SwiftParser IsLexerClassified.swift
[261/280] Compiling SwiftParser LayoutNodes+Parsable.swift
[262/280] Compiling SwiftParser Parser+TokenSpecSet.swift
[263/280] Compiling SwiftParser TokenSpecStaticMembers.swift
[264/281] Wrapping AST for SwiftParser for debugging
[266/304] Compiling SwiftOperators PrecedenceGraph.swift
[267/305] Compiling SwiftOperators PrecedenceGroup.swift
[268/305] Compiling SwiftOperators OperatorTable.swift
[269/305] Compiling SwiftOperators Operator.swift
[270/305] Compiling SwiftOperators OperatorError+Diagnostics.swift
[271/305] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[272/306] Compiling SwiftOperators OperatorTable+Semantics.swift
[273/306] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[274/306] Emitting module SwiftOperators
[275/306] Compiling SwiftOperators OperatorError.swift
[276/306] Compiling SwiftOperators OperatorTable+Defaults.swift
[277/306] Compiling SwiftOperators OperatorTable+Folding.swift
[278/306] Compiling SwiftOperators SyntaxSynthesis.swift
[280/307] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[280/307] Wrapping AST for SwiftOperators for debugging
[284/307] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[285/307] Compiling SwiftParserDiagnostics Utils.swift
[286/307] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[287/307] Compiling SwiftParserDiagnostics PresenceUtils.swift
[290/307] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[291/307] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[292/307] Emitting module SwiftParserDiagnostics
[293/308] Wrapping AST for SwiftParserDiagnostics for debugging
[295/323] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[296/323] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[297/324] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[298/324] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[299/324] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[300/324] Compiling SwiftSyntaxBuilder Indenter.swift
[301/324] Compiling SwiftSyntaxBuilder ListBuilder.swift
[302/324] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[303/324] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[304/324] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[305/324] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[306/324] Emitting module SwiftSyntaxBuilder
[307/324] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[308/324] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[309/324] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[310/324] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[311/325] Wrapping AST for SwiftSyntaxBuilder for debugging
[313/342] Compiling SwiftSyntaxMacros Macro.swift
[314/342] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[315/342] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[316/342] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[317/342] Compiling SwiftSyntaxMacros MemberMacro.swift
[318/342] Compiling SwiftSyntaxMacros PeerMacro.swift
[319/344] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[320/344] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[321/344] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[322/344] Compiling SwiftSyntaxMacros Macro+Format.swift
[323/344] Compiling SwiftSyntaxMacros AccessorMacro.swift
[324/344] Compiling SwiftSyntaxMacros AttachedMacro.swift
[325/344] Compiling SwiftSyntaxMacros BodyMacro.swift
[326/344] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[327/344] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[328/344] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[329/344] Emitting module SwiftSyntaxMacros
[330/344] Compiling SwiftSyntaxMacros PreambleMacro.swift
[331/344] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[332/345] Wrapping AST for SwiftSyntaxMacros for debugging
[334/374] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[335/437] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[336/437] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[337/437] Emitting module SwiftSyntaxMacroExpansion
[338/437] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[339/437] Compiling PluginCore CombinedUsage.swift
[340/437] Compiling PluginCore ArgumentCountCondition.swift
[341/437] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[342/437] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[343/437] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[344/438] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[346/450] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[347/450] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[348/451] Emitting module SwiftCompilerPluginMessageHandling
[349/451] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[350/451] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[351/451] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[352/451] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[353/451] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[354/451] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[355/451] Emitting module PluginCore
[356/462] Compiling PluginCore KeyedVariable.swift
[357/462] Compiling PluginCore PropertyVariable.swift
[358/462] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[359/462] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[360/462] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[361/462] Compiling PluginCore PropertyVariableTreeNode.swift
[362/462] Compiling PluginCore AssociatedDeclSyntax.swift
[363/462] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[364/462] Compiling PluginCore MemberGroupSyntax.swift
[365/462] Compiling PluginCore PropertyDeclSyntax.swift
[366/462] Compiling PluginCore VariableSyntax.swift
[367/462] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[368/462] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[369/462] Compiling PluginCore RequiredInitialization.swift
[370/462] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[371/462] Compiling PluginCore RequiredVariableInitialization.swift
[372/462] Compiling PluginCore VariableInitialization.swift
[373/462] Compiling PluginCore AliasedPropertyVariable.swift
[374/462] Compiling PluginCore AnyPropertyVariable.swift
[375/462] Compiling PluginCore BasicPropertyVariable.swift
[376/462] Compiling PluginCore DecodingFallback.swift
[377/462] Compiling PluginCore DefaultValueVariable.swift
[378/462] Compiling PluginCore HelperCodedVariable.swift
[379/462] Compiling PluginCore InitializationVariable.swift
[380/462] Compiling PluginCore AnyEnumSwitcher.swift
[381/462] Compiling PluginCore EnumSwitcherVariable.swift
[382/462] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[383/462] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[384/462] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[385/462] Compiling PluginCore UnTaggedEnumSwitcher.swift
[386/462] Compiling PluginCore AnyInitialization.swift
[387/462] Compiling PluginCore AnyRequiredVariableInitialization.swift
[388/462] Compiling PluginCore IgnoredInitialization.swift
[389/462] Compiling PluginCore MemberwiseInitGenerator.swift
[390/462] Compiling PluginCore OptionalInitialization.swift
[391/462] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[392/462] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[393/463] Compiling PluginCore Default.swift
[394/463] Compiling PluginCore IgnoreCoding.swift
[395/463] Compiling PluginCore IgnoreDecoding.swift
[396/463] Compiling PluginCore IgnoreEncoding.swift
[397/463] Compiling PluginCore CodedAt.swift
[398/463] Compiling PluginCore CodedIn.swift
[399/463] Compiling PluginCore ContentAt.swift
[400/463] Compiling PluginCore KeyPathProvider.swift
[401/463] Compiling PluginCore MemberInit+Expansion.swift
[402/463] Compiling PluginCore MemberInit.swift
[403/463] Compiling PluginCore PeerAttribute.swift
[404/463] Compiling PluginCore AggregatedDiagnosticProducer.swift
[405/463] Compiling PluginCore UninitializedVariableDecl.swift
[406/463] Compiling PluginCore AttributeExpander.swift
[407/463] Compiling PluginCore DeclModifiersGenerator.swift
[408/463] Compiling PluginCore Options.swift
[409/463] Compiling PluginCore ComposedVariable.swift
[410/463] Compiling PluginCore ConditionalCodingVariable.swift
[411/463] Compiling PluginCore AssociatedVariable.swift
[412/463] Compiling PluginCore BasicAssociatedVariable.swift
[413/463] Compiling PluginCore BasicEnumCaseVariable.swift
[414/463] Compiling PluginCore EnumCaseVariable.swift
[415/463] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[416/463] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[425/463] Compiling PluginCore InvalidCombination.swift
[426/463] Compiling PluginCore InvalidDeclaration.swift
[427/463] Compiling PluginCore MetaCodableMessage.swift
[428/463] Compiling PluginCore StaticVariableDeclaration.swift
[429/463] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[431/465] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[432/465] Emitting module SwiftCompilerPlugin
[434/466] Compiling PluginCore AttributableDeclSyntax.swift
[435/466] Compiling PluginCore Attribute.swift
[436/466] Compiling PluginCore Codable+Expansion.swift
[437/466] Compiling PluginCore Codable.swift
[438/466] Compiling PluginCore CodingKeyTransformer.swift
[439/466] Compiling PluginCore CodingKeys.swift
[440/466] Compiling PluginCore Strategy.swift
[441/466] Compiling PluginCore IgnoreCodingInitialized.swift
[442/466] Compiling PluginCore Inherits.swift
[443/466] Compiling PluginCore UnTagged.swift
[444/466] Compiling PluginCore CodedAs.swift
[445/466] Compiling PluginCore CodedBy.swift
[445/466] Wrapping AST for SwiftCompilerPlugin for debugging
[447/466] Compiling PluginCore ActorVariable.swift
[448/466] Compiling PluginCore ClassVariable.swift
[449/466] Compiling PluginCore Case.swift
[450/466] Compiling PluginCore CodingKeysMap.swift
[451/466] Compiling PluginCore Key.swift
[452/466] Compiling PluginCore ConstraintGenerator.swift
[453/466] Compiling PluginCore Registration.swift
[454/466] Compiling PluginCore EnumVariable.swift
[455/466] Compiling PluginCore MemberGroup.swift
[456/466] Compiling PluginCore TypeVariable.swift
[457/466] Compiling PluginCore Variable.swift
[458/467] Wrapping AST for PluginCore for debugging
[460/470] Emitting module MacroPlugin
[461/470] Compiling MacroPlugin Definitions.swift
[462/470] Compiling MacroPlugin Plugin.swift
[463/471] Wrapping AST for MacroPlugin for debugging
[464/471] Write Objects.LinkFileList
[465/471] Linking MacroPlugin-tool
[467/488] Compiling MetaCodable DynamicCodableIdentifier+Expressible.swift
[468/488] Compiling MetaCodable DynamicCodableIdentifier.swift
[469/488] Compiling MetaCodable HelperCoder.swift
[470/488] Compiling MetaCodable LossySequence.swift
[471/490] Compiling MetaCodable DynamicCodable.swift
[472/490] Compiling MetaCodable DynamicCodableIdentifier+CodingKey.swift
[473/490] Compiling MetaCodable ContentAt.swift
[474/490] Compiling MetaCodable Default.swift
[475/490] Compiling MetaCodable CodedBy.swift
[476/490] Compiling MetaCodable CodedIn.swift
[477/490] Compiling MetaCodable UnTagged.swift
[478/490] Compiling MetaCodable CodedAs.swift
[479/490] Compiling MetaCodable CodedAt.swift
[480/490] Compiling MetaCodable Codable.swift
[481/490] Compiling MetaCodable CodingKeys.swift
[482/490] Compiling MetaCodable IgnoreCodingInitialized.swift
[483/490] Emitting module MetaCodable
[484/490] Compiling MetaCodable IgnoreCoding.swift
[485/490] Compiling MetaCodable MemberInit.swift
[486/491] Wrapping AST for MetaCodable for debugging
[488/504] Compiling HelperCoders Base64Coder.swift
[489/504] Compiling HelperCoders ConditionalCoder.swift
[490/505] Compiling HelperCoders DateCoder.swift
[491/505] Compiling HelperCoders Since1970DateCoder.swift
[492/505] Compiling HelperCoders NonConformingCoder.swift
[493/505] Compiling HelperCoders PropertyWrapperCoder.swift
[494/505] Compiling HelperCoders String.swift
[495/505] Compiling HelperCoders SequenceCoderConfiguration.swift
[496/505] Compiling HelperCoders Bool.swift
[497/505] Compiling HelperCoders DefaultSequenceElementCoding.swift
[498/505] Compiling HelperCoders SequenceCoder.swift
[499/505] Compiling HelperCoders Number.swift
[500/505] Compiling HelperCoders ValueCoder.swift
[501/505] Emitting module HelperCoders
[502/506] Wrapping AST for HelperCoders for debugging
[504/520] 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) }
[505/521] 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
[506/521] 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()
[507/521] 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()
[508/521] 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:588:4: note: expanded code originates here
586 | @CodedAs("summary_text")
587 | case text(_ text: String)
588 | }
+--- 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 {
+-------------------------------------------------------------------
589 |
590 | /// 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:442:4: note: expanded code originates here
440 | /// > 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.
441 | case none
442 | }
+--- 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 {
+-------------------------------------------------------------------
443 |
444 | /// 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:139:4: note: expanded code originates here
137 | }
138 | }
139 | }
+--- 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 {
+-------------------------------------------------------------------
140 |
141 | /// 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:70:3: note: expanded code originates here
68 | }
69 | }
70 | }
+--- 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)
+-------------------------------------------------------------------
71 |
72 | /// 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:70:3: note: expanded code originates here
68 | }
69 | }
70 | }
+--- 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 {
+-------------------------------------------------------------------
71 |
72 | /// 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:110:5: note: expanded code originates here
108 | index: UInt
109 | )
110 | }
+--- 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 {
+-------------------------------------------------------------------
111 |
112 | /// 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:174:3: note: expanded code originates here
172 | }
173 | }
174 | }
+--- 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 {
+-------------------------------------------------------------------
175 |
176 | /// 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:542:4: note: expanded code originates here
540 | imageUrl: String?
541 | )
542 | }
+--- 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 {
+-------------------------------------------------------------------
543 |
544 | /// The ID of the computer tool call output. Populated when this item is returned via API.
[509/521] 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:588:4: note: expanded code originates here
586 | @CodedAs("summary_text")
587 | case text(_ text: String)
588 | }
+--- 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 {
+-------------------------------------------------------------------
589 |
590 | /// 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:442:4: note: expanded code originates here
440 | /// > 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.
441 | case none
442 | }
+--- 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 {
+-------------------------------------------------------------------
443 |
444 | /// 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:139:4: note: expanded code originates here
137 | }
138 | }
139 | }
+--- 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 {
+-------------------------------------------------------------------
140 |
141 | /// 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:70:3: note: expanded code originates here
68 | }
69 | }
70 | }
+--- 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)
+-------------------------------------------------------------------
71 |
72 | /// 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:70:3: note: expanded code originates here
68 | }
69 | }
70 | }
+--- 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 {
+-------------------------------------------------------------------
71 |
72 | /// 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:110:5: note: expanded code originates here
108 | index: UInt
109 | )
110 | }
+--- 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 {
+-------------------------------------------------------------------
111 |
112 | /// 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:174:3: note: expanded code originates here
172 | }
173 | }
174 | }
+--- 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 {
+-------------------------------------------------------------------
175 |
176 | /// 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:542:4: note: expanded code originates here
540 | imageUrl: String?
541 | )
542 | }
+--- 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 {
+-------------------------------------------------------------------
543 |
544 | /// The ID of the computer tool call output. Populated when this item is returned via API.
[510/521] 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.
[511/521] 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.
[512/521] Compiling OpenAI Model.swift
[513/521] Compiling OpenAI Request.swift
[514/521] 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 |
[515/521] 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 |
[516/521] 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 {
[517/521] 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)
[518/521] 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-0":/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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
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/47] Emitting module SwiftSyntax510
[5/47] Compiling SwiftSyntax510 Empty.swift
[6/52] Compiling SwiftSyntax600 Empty.swift
[7/52] Emitting module SwiftSyntax600
[8/53] Emitting module SwiftSyntax509
[9/53] Compiling SwiftSyntax509 Empty.swift
[12/54] Compiling InternalCollectionsUtilities _SortedCollection.swift
[13/54] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[15/53] Compiling InternalCollectionsUtilities Debugging.swift
[16/53] Compiling InternalCollectionsUtilities Descriptions.swift
[17/53] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[18/53] Compiling InternalCollectionsUtilities Specialize.swift
[19/53] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[20/53] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[21/53] Emitting module InternalCollectionsUtilities
[22/117] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[23/117] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[24/117] Compiling SwiftSyntax RawSyntaxTokenView.swift
[25/117] Compiling SwiftSyntax SourceEdit.swift
[26/117] Compiling SwiftSyntax SourceLength.swift
[27/117] Compiling SwiftSyntax MemoryLayout.swift
[28/117] Compiling SwiftSyntax MissingNodeInitializers.swift
[29/117] Compiling SwiftSyntax RawSyntax.swift
[30/117] Compiling SwiftSyntax SourceLocation.swift
[31/117] Compiling SwiftSyntax SourcePresence.swift
[33/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[34/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[35/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[36/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[37/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[38/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[39/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[40/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[41/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[42/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[43/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[44/172] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[45/172] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[46/172] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[47/179] Compiling OrderedCollections OrderedSet+Initializers.swift
[48/179] Compiling OrderedCollections OrderedSet+Insertions.swift
[49/179] Compiling OrderedCollections OrderedSet+Invariants.swift
[50/179] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[51/179] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[52/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[53/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[54/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[55/179] Compiling OrderedCollections OrderedDictionary+Codable.swift
[56/179] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[57/179] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[58/179] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[59/179] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[60/179] Compiling OrderedCollections OrderedDictionary+Elements.swift
[61/179] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[62/179] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[63/179] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[64/179] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[65/179] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[66/179] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[67/179] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[68/179] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[69/179] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[70/179] Compiling OrderedCollections OrderedDictionary+Values.swift
[71/179] Compiling OrderedCollections OrderedDictionary.swift
[72/179] Compiling OrderedCollections OrderedSet+Codable.swift
[73/179] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[74/179] Compiling OrderedCollections OrderedSet+Descriptions.swift
[75/179] Compiling OrderedCollections OrderedSet+Diffing.swift
[76/179] Compiling OrderedCollections OrderedSet+Equatable.swift
[77/179] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[78/179] Compiling OrderedCollections OrderedSet+Hashable.swift
[79/179] Compiling OrderedCollections OrderedSet+Sendable.swift
[80/179] Compiling OrderedCollections OrderedSet+SubSequence.swift
[81/179] Compiling OrderedCollections OrderedSet+Testing.swift
[82/179] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[83/179] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[84/179] Compiling OrderedCollections OrderedSet.swift
[85/179] Compiling OrderedCollections _UnsafeBitset.swift
[95/187] Compiling OrderedCollections _HashTable+Bucket.swift
[96/187] Compiling OrderedCollections _HashTable+BucketIterator.swift
[97/187] Compiling OrderedCollections _HashTable+Constants.swift
[98/187] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[99/187] Compiling OrderedCollections _HashTable+Testing.swift
[100/187] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[101/187] Compiling OrderedCollections _HashTable.swift
[102/187] Compiling OrderedCollections _Hashtable+Header.swift
[103/187] Emitting module OrderedCollections
[123/187] Emitting module SwiftSyntax
[140/187] Compiling SwiftSyntax RawSyntaxValidation.swift
[141/187] Compiling SwiftSyntax SyntaxNodesAB.swift
[142/187] Compiling SwiftSyntax SyntaxNodesC.swift
[143/187] Compiling SwiftSyntax SyntaxNodesD.swift
[144/187] Compiling SwiftSyntax SyntaxNodesEF.swift
[145/187] Compiling SwiftSyntax SyntaxNodesGHI.swift
[146/187] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[147/187] Compiling SwiftSyntax SyntaxNodesOP.swift
[148/187] Compiling SwiftSyntax SyntaxNodesQRS.swift
[149/187] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[169/244] Emitting module SwiftDiagnostics
[170/245] Compiling SwiftDiagnostics Message.swift
[171/245] Compiling SwiftBasicFormat Syntax+Extensions.swift
[172/245] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[173/245] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[174/245] Compiling SwiftDiagnostics Note.swift
[175/245] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[176/245] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[177/245] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[178/245] Compiling SwiftParser Expressions.swift
[179/245] Compiling SwiftParser IncrementalParseTransition.swift
[180/245] Compiling SwiftParser IsValidIdentifier.swift
[181/245] Compiling SwiftBasicFormat InferIndentation.swift
[182/245] Compiling SwiftDiagnostics FixIt.swift
[183/245] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[185/245] Emitting module SwiftBasicFormat
[186/245] Compiling SwiftBasicFormat BasicFormat.swift
[188/245] Emitting module SwiftParser
[189/250] Compiling SwiftParser SwiftParserCompatibility.swift
[190/250] Compiling SwiftParser SwiftVersion.swift
[191/250] Compiling SwiftParser SyntaxUtils.swift
[192/250] Compiling SwiftParser TokenConsumer.swift
[193/250] Compiling SwiftParser TokenPrecedence.swift
[194/250] Compiling SwiftParser TokenSpec.swift
[195/250] Compiling SwiftParser TokenSpecSet.swift
[196/250] Compiling SwiftParser TopLevel.swift
[197/250] Compiling SwiftParser TriviaParser.swift
[198/250] Compiling SwiftParser Types.swift
[199/250] Compiling SwiftParser Patterns.swift
[200/250] Compiling SwiftParser Recovery.swift
[201/250] Compiling SwiftParser Specifiers.swift
[202/250] Compiling SwiftParser Statements.swift
[203/250] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[204/250] Compiling SwiftParser StringLiterals.swift
[205/250] Compiling SwiftParser Modifiers.swift
[206/250] Compiling SwiftParser Names.swift
[207/250] Compiling SwiftParser Nominals.swift
[208/250] Compiling SwiftParser Parameters.swift
[209/250] Compiling SwiftParser ParseSourceFile.swift
[210/250] Compiling SwiftParser Parser.swift
[211/250] Compiling SwiftParser LexemeSequence.swift
[212/250] Compiling SwiftParser Lexer.swift
[213/250] Compiling SwiftParser RegexLiteralLexer.swift
[214/250] Compiling SwiftParser UnicodeScalarExtensions.swift
[215/250] Compiling SwiftParser Lookahead.swift
[216/250] Compiling SwiftParser LoopProgressCondition.swift
[221/250] Compiling SwiftParser Cursor.swift
[222/250] Compiling SwiftParser Lexeme.swift
[223/250] Compiling SwiftParser Attributes.swift
[224/250] Compiling SwiftParser Availability.swift
[225/250] Compiling SwiftParser CharacterInfo.swift
[226/250] Compiling SwiftParser CollectionNodes+Parsable.swift
[227/250] Compiling SwiftParser Declarations.swift
[228/250] Compiling SwiftParser Directives.swift
[229/250] Compiling SwiftParser ExperimentalFeatures.swift
[230/250] Compiling SwiftParser IsLexerClassified.swift
[231/250] Compiling SwiftParser LayoutNodes+Parsable.swift
[232/250] Compiling SwiftParser Parser+TokenSpecSet.swift
[233/250] Compiling SwiftParser TokenSpecStaticMembers.swift
[235/273] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[236/274] Compiling SwiftOperators PrecedenceGroup.swift
[237/275] Compiling SwiftOperators OperatorTable.swift
[238/275] Compiling SwiftOperators PrecedenceGraph.swift
[239/275] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[240/275] Compiling SwiftOperators SyntaxSynthesis.swift
[241/275] Compiling SwiftOperators OperatorTable+Semantics.swift
[242/275] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[243/275] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[244/275] Emitting module SwiftOperators
[245/275] Compiling SwiftParserDiagnostics MissingNodesError.swift
[246/275] Compiling SwiftParserDiagnostics MissingTokenError.swift
[247/275] Compiling SwiftOperators OperatorTable+Folding.swift
[248/276] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[249/276] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[250/276] Compiling SwiftParserDiagnostics Utils.swift
[252/275] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[253/275] Compiling SwiftParserDiagnostics PresenceUtils.swift
[256/275] Emitting module SwiftParserDiagnostics
[257/275] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[258/275] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[262/290] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[263/290] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[264/291] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[265/291] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[266/291] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[267/291] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[268/291] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[269/291] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[270/291] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[271/291] Compiling SwiftSyntaxBuilder Indenter.swift
[272/291] Compiling SwiftSyntaxBuilder ListBuilder.swift
[273/291] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[274/291] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[275/291] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[276/291] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[277/291] Emitting module SwiftSyntaxBuilder
[279/308] Compiling SwiftSyntaxMacros MemberMacro.swift
[280/308] Compiling SwiftSyntaxMacros PeerMacro.swift
[281/310] Compiling SwiftSyntaxMacros Macro.swift
[282/310] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[283/310] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[284/310] Compiling SwiftSyntaxMacros Macro+Format.swift
[285/310] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[286/310] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[287/310] Compiling SwiftSyntaxMacros AccessorMacro.swift
[288/310] Compiling SwiftSyntaxMacros AttachedMacro.swift
[289/310] Compiling SwiftSyntaxMacros BodyMacro.swift
[290/310] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[291/310] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[292/310] Emitting module SwiftSyntaxMacros
[293/310] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[294/310] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[295/310] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[296/310] Compiling SwiftSyntaxMacros PreambleMacro.swift
[297/310] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[299/392] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[300/402] Compiling PluginCore AttributableDeclSyntax.swift
[301/402] Compiling PluginCore Attribute.swift
[302/402] Emitting module SwiftSyntaxMacroExpansion
[303/402] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[304/402] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[305/402] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[306/402] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[307/402] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[308/402] Compiling PluginCore CombinedUsage.swift
[309/402] Compiling PluginCore ArgumentCountCondition.swift
[310/402] Compiling PluginCore DeclarationCondition.swift
[311/402] Compiling PluginCore DiagnosticCondition.swift
[312/402] Compiling PluginCore ConditionalDiagnosticProducer.swift
[313/402] Compiling PluginCore DiagnosticProducer.swift
[314/402] Compiling PluginCore DuplicateUsage.swift
[315/402] Compiling PluginCore GroupedVariableDeclaration.swift
[316/402] Compiling PluginCore InvalidCombination.swift
[317/402] Compiling PluginCore InvalidDeclaration.swift
[318/402] Compiling PluginCore MetaCodableMessage.swift
[319/402] Compiling PluginCore StaticVariableDeclaration.swift
[320/413] Emitting module PluginCore
[323/413] Compiling PluginCore Codable+Expansion.swift
[324/413] Compiling PluginCore Codable.swift
[325/413] Compiling PluginCore CodingKeyTransformer.swift
[326/413] Compiling PluginCore CodingKeys.swift
[327/413] Compiling PluginCore Strategy.swift
[328/413] Compiling PluginCore IgnoreCodingInitialized.swift
[329/413] Compiling PluginCore Inherits.swift
[330/413] Compiling PluginCore UnTagged.swift
[331/413] Compiling PluginCore CodedAs.swift
[332/413] Compiling PluginCore CodedBy.swift
[333/413] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[334/414] Compiling PluginCore KeyedVariable.swift
[335/414] Compiling PluginCore PropertyVariable.swift
[336/414] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[337/414] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[338/414] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[339/414] Compiling PluginCore PropertyVariableTreeNode.swift
[340/414] Compiling PluginCore AssociatedDeclSyntax.swift
[341/414] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[342/414] Compiling PluginCore MemberGroupSyntax.swift
[343/414] Compiling PluginCore PropertyDeclSyntax.swift
[344/414] Compiling PluginCore VariableSyntax.swift
[345/414] Compiling PluginCore AnyEnumSwitcher.swift
[346/414] Compiling PluginCore EnumSwitcherVariable.swift
[347/414] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[348/414] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[349/414] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[350/414] Compiling PluginCore UnTaggedEnumSwitcher.swift
[351/414] Compiling PluginCore AnyInitialization.swift
[352/414] Compiling PluginCore AnyRequiredVariableInitialization.swift
[353/414] Compiling PluginCore IgnoredInitialization.swift
[354/414] Compiling PluginCore MemberwiseInitGenerator.swift
[355/414] Compiling PluginCore OptionalInitialization.swift
[356/414] Compiling PluginCore UninitializedVariableDecl.swift
[357/414] Compiling PluginCore AttributeExpander.swift
[358/414] Compiling PluginCore DeclModifiersGenerator.swift
[359/414] Compiling PluginCore Options.swift
[360/414] Compiling PluginCore ComposedVariable.swift
[361/414] Compiling PluginCore ConditionalCodingVariable.swift
[362/414] Compiling PluginCore AssociatedVariable.swift
[363/414] Compiling PluginCore BasicAssociatedVariable.swift
[364/414] Compiling PluginCore BasicEnumCaseVariable.swift
[365/414] Compiling PluginCore EnumCaseVariable.swift
[366/414] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[367/414] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[368/414] Compiling PluginCore Default.swift
[369/414] Compiling PluginCore IgnoreCoding.swift
[370/414] Compiling PluginCore IgnoreDecoding.swift
[371/414] Compiling PluginCore IgnoreEncoding.swift
[372/414] Compiling PluginCore CodedAt.swift
[373/414] Compiling PluginCore CodedIn.swift
[374/414] Compiling PluginCore ContentAt.swift
[375/414] Compiling PluginCore KeyPathProvider.swift
[376/414] Compiling PluginCore MemberInit+Expansion.swift
[377/414] Compiling PluginCore MemberInit.swift
[378/414] Compiling PluginCore PeerAttribute.swift
[379/414] Compiling PluginCore AggregatedDiagnosticProducer.swift
[380/414] Compiling PluginCore RequiredInitialization.swift
[381/414] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[382/414] Compiling PluginCore RequiredVariableInitialization.swift
[383/414] Compiling PluginCore VariableInitialization.swift
[384/414] Compiling PluginCore AliasedPropertyVariable.swift
[385/414] Compiling PluginCore AnyPropertyVariable.swift
[386/414] Compiling PluginCore BasicPropertyVariable.swift
[387/414] Compiling PluginCore DecodingFallback.swift
[388/414] Compiling PluginCore DefaultValueVariable.swift
[389/414] Compiling PluginCore HelperCodedVariable.swift
[390/414] Compiling PluginCore InitializationVariable.swift
[392/413] Compiling PluginCore ActorVariable.swift
[393/413] Compiling PluginCore ClassVariable.swift
[394/413] Compiling PluginCore Case.swift
[395/413] Compiling PluginCore CodingKeysMap.swift
[396/413] Compiling PluginCore Key.swift
[397/413] Compiling PluginCore ConstraintGenerator.swift
[398/413] Compiling PluginCore Registration.swift
[399/413] Compiling PluginCore EnumVariable.swift
[400/413] Compiling PluginCore MemberGroup.swift
[401/413] Compiling PluginCore TypeVariable.swift
[402/413] Compiling PluginCore Variable.swift
[404/425] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[405/425] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[406/425] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[407/426] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[408/426] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[409/426] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[410/426] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[411/426] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[412/426] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[413/426] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[414/426] Emitting module SwiftCompilerPluginMessageHandling
[415/426] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[416/426] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[418/428] Emitting module SwiftCompilerPlugin
[419/428] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[421/431] Compiling MacroPlugin Plugin.swift
[422/431] Emitting module MacroPlugin
[423/431] Compiling MacroPlugin Definitions.swift
[424/431] Write Objects.LinkFileList
[425/431] Linking MacroPlugin-tool
[427/448] Compiling MetaCodable UnTagged.swift
[428/448] Compiling MetaCodable CodedAs.swift
[429/448] Compiling MetaCodable CodedAt.swift
[430/450] Compiling MetaCodable Codable.swift
[431/450] Compiling MetaCodable CodingKeys.swift
[432/450] Compiling MetaCodable IgnoreCodingInitialized.swift
[433/450] Emitting module MetaCodable
[434/450] Compiling MetaCodable HelperCoder.swift
[435/450] Compiling MetaCodable LossySequence.swift
[436/450] Compiling MetaCodable DynamicCodableIdentifier+Expressible.swift
[437/450] Compiling MetaCodable DynamicCodableIdentifier.swift
[438/450] Compiling MetaCodable ContentAt.swift
[439/450] Compiling MetaCodable Default.swift
[440/450] Compiling MetaCodable CodedBy.swift
[441/450] Compiling MetaCodable CodedIn.swift
[442/450] Compiling MetaCodable DynamicCodable.swift
[443/450] Compiling MetaCodable DynamicCodableIdentifier+CodingKey.swift
[444/450] Compiling MetaCodable IgnoreCoding.swift
[445/450] Compiling MetaCodable MemberInit.swift
[447/463] Compiling HelperCoders Number.swift
[448/463] Compiling HelperCoders String.swift
[449/464] Compiling HelperCoders Base64Coder.swift
[450/464] Compiling HelperCoders ConditionalCoder.swift
[451/464] Emitting module HelperCoders
[452/464] Compiling HelperCoders SequenceCoderConfiguration.swift
[453/464] Compiling HelperCoders Bool.swift
[454/464] Compiling HelperCoders DateCoder.swift
[455/464] Compiling HelperCoders Since1970DateCoder.swift
[456/464] Compiling HelperCoders NonConformingCoder.swift
[457/464] Compiling HelperCoders PropertyWrapperCoder.swift
[458/464] Compiling HelperCoders DefaultSequenceElementCoding.swift
[459/464] Compiling HelperCoders SequenceCoder.swift
[460/464] Compiling HelperCoders ValueCoder.swift
[462/478] 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.
[463/478] 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.
[464/479] 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
[465/479] 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) }
[466/479] 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:588:4: note: expanded code originates here
586 | @CodedAs("summary_text")
587 | case text(_ text: String)
588 | }
+--- 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 {
+-------------------------------------------------------------------
589 |
590 | /// 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:442:4: note: expanded code originates here
440 | /// > 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.
441 | case none
442 | }
+--- 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 {
+-------------------------------------------------------------------
443 |
444 | /// 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:139:4: note: expanded code originates here
137 | }
138 | }
139 | }
+--- 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 {
+-------------------------------------------------------------------
140 |
141 | /// 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:70:3: note: expanded code originates here
68 | }
69 | }
70 | }
+--- 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)
+-------------------------------------------------------------------
71 |
72 | /// 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:70:3: note: expanded code originates here
68 | }
69 | }
70 | }
+--- 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 {
+-------------------------------------------------------------------
71 |
72 | /// 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:110:5: note: expanded code originates here
108 | index: UInt
109 | )
110 | }
+--- 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 {
+-------------------------------------------------------------------
111 |
112 | /// 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:174:3: note: expanded code originates here
172 | }
173 | }
174 | }
+--- 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 {
+-------------------------------------------------------------------
175 |
176 | /// 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:542:4: note: expanded code originates here
540 | imageUrl: String?
541 | )
542 | }
+--- 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 {
+-------------------------------------------------------------------
543 |
544 | /// The ID of the computer tool call output. Populated when this item is returned via API.
[467/479] 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:588:4: note: expanded code originates here
586 | @CodedAs("summary_text")
587 | case text(_ text: String)
588 | }
+--- 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 {
+-------------------------------------------------------------------
589 |
590 | /// 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:442:4: note: expanded code originates here
440 | /// > 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.
441 | case none
442 | }
+--- 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 {
+-------------------------------------------------------------------
443 |
444 | /// 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:139:4: note: expanded code originates here
137 | }
138 | }
139 | }
+--- 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 {
+-------------------------------------------------------------------
140 |
141 | /// 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:70:3: note: expanded code originates here
68 | }
69 | }
70 | }
+--- 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)
+-------------------------------------------------------------------
71 |
72 | /// 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:70:3: note: expanded code originates here
68 | }
69 | }
70 | }
+--- 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 {
+-------------------------------------------------------------------
71 |
72 | /// 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:110:5: note: expanded code originates here
108 | index: UInt
109 | )
110 | }
+--- 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 {
+-------------------------------------------------------------------
111 |
112 | /// 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:174:3: note: expanded code originates here
172 | }
173 | }
174 | }
+--- 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 {
+-------------------------------------------------------------------
175 |
176 | /// 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:542:4: note: expanded code originates here
540 | imageUrl: String?
541 | )
542 | }
+--- 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 {
+-------------------------------------------------------------------
543 |
544 | /// The ID of the computer tool call output. Populated when this item is returned via API.
[468/479] Compiling OpenAI Model.swift
[469/479] Compiling OpenAI Request.swift
[470/479] 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/479] 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 {
[472/479] 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 |
[473/479] 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 |
[474/479] 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()
[475/479] 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()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[476/479] 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