The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build OpenAI, reference main (2e8a97), with Swift 6.1 for Linux on 1 May 2025 10:55:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/swift-openai-responses.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/m1guelpf/swift-openai-responses
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 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 main
========================================
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-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256: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.61s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.4.0 (6.06s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/16306] Fetching swift-collections
[3100/31256] Fetching swift-collections, swift-argument-parser
[22452/101547] Fetching swift-collections, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (1.25s)
[33226/85241] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.74s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.78s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (5.32s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.04s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.65s)
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/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/SwiftyLab/MetaCodable.git
Working copy of https://github.com/SwiftyLab/MetaCodable.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-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 SwiftSyntax509
[27/73] Compiling SwiftSyntax509 Empty.swift
[28/74] Emitting module InternalCollectionsUtilities
[29/74] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[30/74] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[31/74] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[32/76] Compiling InternalCollectionsUtilities Debugging.swift
[33/76] Compiling InternalCollectionsUtilities Descriptions.swift
[34/76] Compiling InternalCollectionsUtilities _SortedCollection.swift
[35/76] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[36/76] Emitting module SwiftSyntax510
[37/76] Compiling SwiftSyntax600 Empty.swift
[38/76] Emitting module SwiftSyntax600
[39/76] Compiling SwiftSyntax510 Empty.swift
[40/77] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[41/77] Compiling InternalCollectionsUtilities _UnsafeBitSet.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
[47/78] Compiling InternalCollectionsUtilities UInt+reversed.swift
[48/78] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[50/78] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[51/78] Compiling InternalCollectionsUtilities Specialize.swift
[51/78] Wrapping AST for SwiftSyntax600 for debugging
[52/78] Wrapping AST for SwiftSyntax509 for debugging
[54/78] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[55/78] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[55/79] Wrapping AST for SwiftSyntax510 for debugging
[57/143] Wrapping AST for InternalCollectionsUtilities for debugging
[59/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[60/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[61/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[62/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[63/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[64/198] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[65/198] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[66/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[67/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[68/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[69/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[70/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[71/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[72/198] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.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+Hashable.swift
[90/205] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[91/205] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[92/205] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[93/205] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[94/205] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[95/205] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[96/205] Compiling OrderedCollections OrderedDictionary+Values.swift
[97/205] Compiling OrderedCollections OrderedDictionary+Codable.swift
[98/205] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[99/205] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[100/205] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[101/205] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[102/205] Compiling OrderedCollections OrderedDictionary+Elements.swift
[103/205] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[104/205] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.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
[122/213] Compiling OrderedCollections OrderedSet+Sendable.swift
[123/213] Compiling OrderedCollections OrderedSet+SubSequence.swift
[124/213] Compiling OrderedCollections OrderedSet+Testing.swift
[125/213] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[126/213] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[127/213] Compiling OrderedCollections OrderedSet.swift
[128/213] Compiling OrderedCollections _UnsafeBitset.swift
[129/213] Emitting module OrderedCollections
[130/214] Wrapping AST for OrderedCollections for debugging
[150/214] Emitting module SwiftSyntax
[167/214] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[168/214] Compiling SwiftSyntax RawSyntaxNodesC.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] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[198/272] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[199/272] Compiling SwiftBasicFormat Syntax+Extensions.swift
[200/272] Compiling SwiftBasicFormat InferIndentation.swift
[201/272] Compiling SwiftDiagnostics Message.swift
[202/273] Compiling SwiftDiagnostics Convenience.swift
[203/273] Compiling SwiftDiagnostics Diagnostic.swift
[204/273] Compiling SwiftDiagnostics Note.swift
[205/273] Compiling SwiftDiagnostics ANSIDiagnosticDecorator.swift
[206/273] Compiling SwiftDiagnostics BasicDiagnosticDecorator.swift
[207/273] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[208/273] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[209/273] Emitting module SwiftDiagnostics
[210/273] Compiling SwiftDiagnostics FixIt.swift
[211/273] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[213/274] Emitting module SwiftBasicFormat
[214/274] Compiling SwiftBasicFormat BasicFormat.swift
[215/275] Wrapping AST for SwiftDiagnostics for debugging
[216/275] Wrapping AST for SwiftBasicFormat for debugging
[218/275] Emitting module SwiftParser
[223/275] Compiling SwiftParser Declarations.swift
[224/275] Compiling SwiftParser Directives.swift
[225/280] Compiling SwiftParser TokenSpec.swift
[226/280] Compiling SwiftParser TokenSpecSet.swift
[227/280] Compiling SwiftParser TopLevel.swift
[228/280] Compiling SwiftParser TriviaParser.swift
[229/280] Compiling SwiftParser Types.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 Modifiers.swift
[237/280] Compiling SwiftParser Names.swift
[238/280] Compiling SwiftParser Nominals.swift
[239/280] Compiling SwiftParser Parameters.swift
[240/280] Compiling SwiftParser ParseSourceFile.swift
[241/280] Compiling SwiftParser Parser.swift
[242/280] Compiling SwiftParser LexemeSequence.swift
[243/280] Compiling SwiftParser Lexer.swift
[244/280] Compiling SwiftParser RegexLiteralLexer.swift
[245/280] Compiling SwiftParser UnicodeScalarExtensions.swift
[246/280] Compiling SwiftParser Lookahead.swift
[247/280] Compiling SwiftParser LoopProgressCondition.swift
[248/280] Compiling SwiftParser SwiftParserCompatibility.swift
[249/280] Compiling SwiftParser SwiftVersion.swift
[250/280] Compiling SwiftParser SyntaxUtils.swift
[251/280] Compiling SwiftParser TokenConsumer.swift
[252/280] Compiling SwiftParser TokenPrecedence.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 SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[267/305] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[268/305] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[269/306] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[270/306] Compiling SwiftOperators PrecedenceGroup.swift
[271/306] Compiling SwiftOperators PrecedenceGraph.swift
[272/306] Compiling SwiftOperators OperatorTable.swift
[273/306] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[274/306] Compiling SwiftParserDiagnostics PresenceUtils.swift
[275/306] Compiling SwiftOperators SyntaxSynthesis.swift
[276/306] Emitting module SwiftOperators
[277/306] Compiling SwiftOperators OperatorTable+Semantics.swift
[278/306] Compiling SwiftOperators OperatorTable+Folding.swift
[279/307] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[281/307] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[282/307] Compiling SwiftParserDiagnostics Utils.swift
[282/307] Wrapping AST for SwiftOperators for debugging
[288/307] Compiling SwiftParserDiagnostics MissingNodesError.swift
[289/307] Compiling SwiftParserDiagnostics MissingTokenError.swift
[290/307] Emitting module SwiftParserDiagnostics
[291/307] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[292/307] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[293/308] Wrapping AST for SwiftParserDiagnostics for debugging
[295/323] Compiling SwiftSyntaxBuilder Indenter.swift
[296/323] Compiling SwiftSyntaxBuilder ListBuilder.swift
[297/324] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[298/324] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[299/324] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[300/324] Emitting module SwiftSyntaxBuilder
[301/324] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[302/324] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[303/324] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[304/324] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[305/324] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[306/324] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[307/324] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[308/324] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[309/324] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[310/324] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[311/325] Wrapping AST for SwiftSyntaxBuilder for debugging
[313/342] Compiling SwiftSyntaxMacros AccessorMacro.swift
[314/342] Compiling SwiftSyntaxMacros AttachedMacro.swift
[315/342] Compiling SwiftSyntaxMacros BodyMacro.swift
[316/344] Compiling SwiftSyntaxMacros MemberMacro.swift
[317/344] Compiling SwiftSyntaxMacros PeerMacro.swift
[318/344] Compiling SwiftSyntaxMacros Macro.swift
[319/344] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[320/344] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[321/344] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[322/344] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[323/344] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[324/344] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[325/344] Compiling SwiftSyntaxMacros Macro+Format.swift
[326/344] Emitting module SwiftSyntaxMacros
[327/344] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[328/344] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[329/344] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[330/344] Compiling SwiftSyntaxMacros PreambleMacro.swift
[331/344] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[332/354] Wrapping AST for SwiftSyntaxMacros for debugging
[334/436] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[335/437] Compiling PluginCore AttributableDeclSyntax.swift
[336/437] Compiling PluginCore Attribute.swift
[337/437] Emitting module SwiftSyntaxMacroExpansion
[338/437] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[339/437] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[340/437] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[341/437] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[342/437] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[343/437] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[345/438] Compiling PluginCore CombinedUsage.swift
[346/438] Compiling PluginCore ArgumentCountCondition.swift
[347/438] Compiling PluginCore DeclarationCondition.swift
[348/438] Compiling PluginCore DiagnosticCondition.swift
[349/438] Compiling PluginCore ConditionalDiagnosticProducer.swift
[350/438] Compiling PluginCore DiagnosticProducer.swift
[351/438] Compiling PluginCore DuplicateUsage.swift
[352/438] Compiling PluginCore GroupedVariableDeclaration.swift
[353/438] Compiling PluginCore InvalidCombination.swift
[354/438] Compiling PluginCore InvalidDeclaration.swift
[355/438] Compiling PluginCore MetaCodableMessage.swift
[356/438] Compiling PluginCore StaticVariableDeclaration.swift
[356/449] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[358/461] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[359/462] Emitting module PluginCore
[360/462] Compiling PluginCore KeyedVariable.swift
[361/462] Compiling PluginCore PropertyVariable.swift
[362/462] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[363/462] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[364/462] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[365/462] Compiling PluginCore PropertyVariableTreeNode.swift
[366/462] Compiling PluginCore AssociatedDeclSyntax.swift
[367/462] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[368/462] Compiling PluginCore MemberGroupSyntax.swift
[369/462] Compiling PluginCore PropertyDeclSyntax.swift
[370/462] Compiling PluginCore VariableSyntax.swift
[371/462] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[372/462] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[373/462] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[374/462] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[375/462] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[376/462] Emitting module SwiftCompilerPluginMessageHandling
[377/462] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[378/462] Compiling PluginCore UninitializedVariableDecl.swift
[379/462] Compiling PluginCore AttributeExpander.swift
[380/462] Compiling PluginCore DeclModifiersGenerator.swift
[381/462] Compiling PluginCore Options.swift
[382/462] Compiling PluginCore ComposedVariable.swift
[383/462] Compiling PluginCore ConditionalCodingVariable.swift
[384/462] Compiling PluginCore AssociatedVariable.swift
[385/462] Compiling PluginCore BasicAssociatedVariable.swift
[386/462] Compiling PluginCore BasicEnumCaseVariable.swift
[387/462] Compiling PluginCore EnumCaseVariable.swift
[388/462] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[389/462] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[390/462] Compiling PluginCore Default.swift
[391/462] Compiling PluginCore IgnoreCoding.swift
[392/462] Compiling PluginCore IgnoreDecoding.swift
[393/462] Compiling PluginCore IgnoreEncoding.swift
[394/462] Compiling PluginCore CodedAt.swift
[395/462] Compiling PluginCore CodedIn.swift
[396/462] Compiling PluginCore ContentAt.swift
[397/462] Compiling PluginCore KeyPathProvider.swift
[398/462] Compiling PluginCore MemberInit+Expansion.swift
[399/462] Compiling PluginCore MemberInit.swift
[400/462] Compiling PluginCore PeerAttribute.swift
[401/462] Compiling PluginCore AggregatedDiagnosticProducer.swift
[402/462] Compiling PluginCore RequiredInitialization.swift
[403/462] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[404/462] Compiling PluginCore RequiredVariableInitialization.swift
[405/462] Compiling PluginCore VariableInitialization.swift
[406/462] Compiling PluginCore AliasedPropertyVariable.swift
[407/462] Compiling PluginCore AnyPropertyVariable.swift
[408/462] Compiling PluginCore BasicPropertyVariable.swift
[409/462] Compiling PluginCore DecodingFallback.swift
[410/462] Compiling PluginCore DefaultValueVariable.swift
[411/462] Compiling PluginCore HelperCodedVariable.swift
[412/462] Compiling PluginCore InitializationVariable.swift
[413/462] Compiling PluginCore AnyEnumSwitcher.swift
[414/462] Compiling PluginCore EnumSwitcherVariable.swift
[415/462] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[416/462] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[417/462] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[418/462] Compiling PluginCore UnTaggedEnumSwitcher.swift
[419/462] Compiling PluginCore AnyInitialization.swift
[420/462] Compiling PluginCore AnyRequiredVariableInitialization.swift
[421/462] Compiling PluginCore IgnoredInitialization.swift
[422/462] Compiling PluginCore MemberwiseInitGenerator.swift
[423/462] Compiling PluginCore OptionalInitialization.swift
[424/462] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[427/462] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[428/462] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[429/462] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[430/462] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[433/462] Compiling PluginCore Inherits.swift
[434/462] Compiling PluginCore UnTagged.swift
[435/462] Compiling PluginCore CodedAs.swift
[436/462] Compiling PluginCore CodedBy.swift
[442/463] Compiling PluginCore ActorVariable.swift
[443/463] Compiling PluginCore ClassVariable.swift
[444/463] Compiling PluginCore Case.swift
[445/463] Compiling PluginCore CodingKeysMap.swift
[446/463] Compiling PluginCore Key.swift
[447/463] Compiling PluginCore ConstraintGenerator.swift
[448/463] Compiling PluginCore Registration.swift
[449/463] Compiling PluginCore EnumVariable.swift
[450/463] Compiling PluginCore MemberGroup.swift
[451/463] Compiling PluginCore TypeVariable.swift
[452/463] Compiling PluginCore Variable.swift
[452/464] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[455/466] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[456/466] Emitting module SwiftCompilerPlugin
[456/466] Wrapping AST for PluginCore for debugging
[458/467] Wrapping AST for SwiftCompilerPlugin 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 CodedBy.swift
[468/488] Compiling MetaCodable CodedIn.swift
[469/488] Compiling MetaCodable UnTagged.swift
[470/488] Compiling MetaCodable CodedAs.swift
[471/488] Compiling MetaCodable CodedAt.swift
[472/490] Compiling MetaCodable DynamicCodable.swift
[473/490] Compiling MetaCodable DynamicCodableIdentifier+CodingKey.swift
[474/490] Compiling MetaCodable ContentAt.swift
[475/490] Compiling MetaCodable Default.swift
[476/490] Compiling MetaCodable HelperCoder.swift
[477/490] Compiling MetaCodable LossySequence.swift
[478/490] Compiling MetaCodable Codable.swift
[479/490] Compiling MetaCodable CodingKeys.swift
[480/490] Compiling MetaCodable IgnoreCodingInitialized.swift
[481/490] Emitting module MetaCodable
[482/490] Compiling MetaCodable DynamicCodableIdentifier+Expressible.swift
[483/490] Compiling MetaCodable DynamicCodableIdentifier.swift
[484/490] Compiling MetaCodable IgnoreCoding.swift
[485/490] Compiling MetaCodable MemberInit.swift
[486/491] Wrapping AST for MetaCodable for debugging
[488/504] Compiling HelperCoders String.swift
[489/505] Compiling HelperCoders DateCoder.swift
[490/505] Compiling HelperCoders Since1970DateCoder.swift
[491/505] Compiling HelperCoders Base64Coder.swift
[492/505] Compiling HelperCoders ConditionalCoder.swift
[493/505] Compiling HelperCoders Number.swift
[494/505] Compiling HelperCoders SequenceCoderConfiguration.swift
[495/505] Compiling HelperCoders Bool.swift
[496/505] Compiling HelperCoders NonConformingCoder.swift
[497/505] Compiling HelperCoders PropertyWrapperCoder.swift
[498/505] Compiling HelperCoders DefaultSequenceElementCoding.swift
[499/505] Compiling HelperCoders SequenceCoder.swift
[500/505] Emitting module HelperCoders
[501/505] Compiling HelperCoders ValueCoder.swift
[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 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.
[507/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.
[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 Response.swift
macro expansion @Codable:35:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Tool.swift:428:2: note: expanded code originates here
426 | 	@CodedAs("web_search_preview")
427 | 	case webSearch(WebSearch)
428 | }
    +--- macro expansion @Codable --------------------------------------
    |33 | extension Tool: Encodable {
    |34 |     public func encode(to encoder: any Encoder) throws {
    |35 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |36 |         var typeContainer = container
    |37 |         switch self {
    +-------------------------------------------------------------------
429 |
430 | public extension Tool {
[511/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 {
[512/521] Compiling OpenAI Model.swift
[513/521] Compiling OpenAI Request.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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] 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
[517/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()
[518/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()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256: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/34] Compiling SwiftSyntax509 Empty.swift
[5/34] Compiling SwiftSyntax510 Empty.swift
[6/41] Emitting module SwiftSyntax510
[7/50] Emitting module SwiftSyntax509
[8/53] Emitting module SwiftSyntax600
[9/53] Compiling SwiftSyntax600 Empty.swift
[13/51] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[14/51] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[15/51] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[16/53] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[17/53] Compiling InternalCollectionsUtilities Specialize.swift
[18/53] Compiling InternalCollectionsUtilities _SortedCollection.swift
[19/53] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[20/53] Compiling InternalCollectionsUtilities Debugging.swift
[21/53] Compiling InternalCollectionsUtilities Descriptions.swift
[22/53] Compiling InternalCollectionsUtilities UInt+reversed.swift
[23/53] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[24/53] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[25/53] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[26/53] Emitting module InternalCollectionsUtilities
[27/53] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[28/53] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[29/53] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[30/53] Compiling InternalCollectionsUtilities Integer rank.swift
[31/53] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[33/172] Compiling OrderedCollections OrderedDictionary.swift
[34/172] Compiling OrderedCollections OrderedSet+Codable.swift
[35/172] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[36/172] Compiling OrderedCollections OrderedSet+Descriptions.swift
[37/172] Compiling OrderedCollections OrderedSet+Diffing.swift
[38/172] Compiling OrderedCollections OrderedSet+Equatable.swift
[39/172] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[40/172] Compiling OrderedCollections OrderedSet+Hashable.swift
[41/179] Compiling OrderedCollections OrderedDictionary+Codable.swift
[42/179] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[43/179] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[44/179] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[45/179] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[46/179] Compiling OrderedCollections OrderedDictionary+Elements.swift
[47/179] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[48/179] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[49/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[50/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[51/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[52/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[53/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[54/179] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[55/179] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[56/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[57/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[58/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[59/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[60/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[61/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[62/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.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 OrderedSet+Initializers.swift
[72/179] Compiling OrderedCollections OrderedSet+Insertions.swift
[73/179] Compiling OrderedCollections OrderedSet+Invariants.swift
[74/179] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[75/179] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[76/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[77/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[78/179] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.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
[104/187] Compiling OrderedCollections _HashTable+Bucket.swift
[105/187] Compiling OrderedCollections _HashTable+BucketIterator.swift
[106/187] Compiling OrderedCollections _HashTable+Constants.swift
[107/187] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[108/187] Compiling OrderedCollections _HashTable+Testing.swift
[109/187] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[110/187] Compiling OrderedCollections _HashTable.swift
[111/187] Compiling OrderedCollections _Hashtable+Header.swift
[112/187] Emitting module OrderedCollections
[130/187] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[131/187] Compiling SwiftSyntax RawSyntaxNodesC.swift
[150/187] Emitting module SwiftSyntax
[160/187] Compiling SwiftSyntax SyntaxNodesC.swift
[161/187] Compiling SwiftSyntax SyntaxNodesD.swift
[162/187] Compiling SwiftSyntax SyntaxNodesEF.swift
[163/187] Compiling SwiftSyntax SyntaxNodesGHI.swift
[164/187] Compiling SwiftSyntax SyntaxNodesJKLMN.swift
[165/187] Compiling SwiftSyntax SyntaxNodesOP.swift
[166/187] Compiling SwiftSyntax SyntaxNodesQRS.swift
[167/187] Compiling SwiftSyntax SyntaxNodesTUVWXYZ.swift
[169/244] Compiling SwiftDiagnostics Message.swift
[170/245] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[171/245] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[172/245] Compiling SwiftBasicFormat Syntax+Extensions.swift
[173/245] Compiling SwiftDiagnostics Note.swift
[174/245] Compiling SwiftBasicFormat InferIndentation.swift
[175/245] Compiling SwiftDiagnostics FixIt.swift
[176/245] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[177/245] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[178/245] Compiling SwiftParser Patterns.swift
[179/245] Compiling SwiftParser Recovery.swift
[180/245] Compiling SwiftParser Specifiers.swift
[181/245] Compiling SwiftParser Statements.swift
[182/245] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[183/245] Emitting module SwiftDiagnostics
[184/245] Compiling SwiftParser SwiftParserCompatibility.swift
[185/245] Compiling SwiftParser SwiftVersion.swift
[186/245] Compiling SwiftParser SyntaxUtils.swift
[187/245] Compiling SwiftParser TokenConsumer.swift
[188/245] Compiling SwiftParser TokenPrecedence.swift
[190/251] Compiling SwiftBasicFormat BasicFormat.swift
[191/251] Emitting module SwiftBasicFormat
[193/250] Compiling SwiftParser LexemeSequence.swift
[194/250] Compiling SwiftParser Lexer.swift
[195/250] Compiling SwiftParser RegexLiteralLexer.swift
[196/250] Compiling SwiftParser UnicodeScalarExtensions.swift
[197/250] Compiling SwiftParser Lookahead.swift
[198/250] Compiling SwiftParser LoopProgressCondition.swift
[199/250] Emitting module SwiftParser
[200/250] Compiling SwiftParser TokenSpec.swift
[201/250] Compiling SwiftParser TokenSpecSet.swift
[202/250] Compiling SwiftParser TopLevel.swift
[203/250] Compiling SwiftParser TriviaParser.swift
[204/250] Compiling SwiftParser Types.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
[215/250] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[216/250] Compiling SwiftParser StringLiterals.swift
[217/250] Compiling SwiftParser ExperimentalFeatures.swift
[218/250] Compiling SwiftParser IsLexerClassified.swift
[219/250] Compiling SwiftParser LayoutNodes+Parsable.swift
[220/250] Compiling SwiftParser Parser+TokenSpecSet.swift
[221/250] Compiling SwiftParser TokenSpecStaticMembers.swift
[222/250] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[223/250] Compiling SwiftParser Expressions.swift
[224/250] Compiling SwiftParser IncrementalParseTransition.swift
[225/250] Compiling SwiftParser IsValidIdentifier.swift
[226/250] Compiling SwiftParser Cursor.swift
[227/250] Compiling SwiftParser Lexeme.swift
[228/250] Compiling SwiftParser Attributes.swift
[229/250] Compiling SwiftParser Availability.swift
[230/250] Compiling SwiftParser CharacterInfo.swift
[231/250] Compiling SwiftParser CollectionNodes+Parsable.swift
[232/250] Compiling SwiftParser Declarations.swift
[233/250] Compiling SwiftParser Directives.swift
[235/273] Compiling SwiftOperators PrecedenceGraph.swift
[236/273] Compiling SwiftOperators OperatorTable.swift
[237/274] Compiling SwiftOperators PrecedenceGroup.swift
[238/274] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[239/275] Compiling SwiftOperators OperatorTable+Semantics.swift
[240/275] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[241/275] Compiling SwiftParserDiagnostics Utils.swift
[242/275] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[243/275] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[244/275] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[245/275] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[246/275] Emitting module SwiftOperators
[247/275] Compiling SwiftOperators OperatorTable+Folding.swift
[248/275] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[249/275] Compiling SwiftOperators SyntaxSynthesis.swift
[250/276] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[254/276] Emitting module SwiftParserDiagnostics
[255/275] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[256/275] Compiling SwiftParserDiagnostics PresenceUtils.swift
[257/275] Compiling SwiftParserDiagnostics MissingNodesError.swift
[258/275] Compiling SwiftParserDiagnostics MissingTokenError.swift
[262/290] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[263/290] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[264/291] Compiling SwiftSyntaxBuilder Indenter.swift
[265/291] Compiling SwiftSyntaxBuilder ListBuilder.swift
[266/291] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[267/291] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[268/291] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[269/291] Emitting module SwiftSyntaxBuilder
[270/291] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[271/291] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[272/291] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[273/291] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[274/291] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[275/291] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[276/291] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[277/291] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[279/308] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[280/308] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[281/308] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[282/308] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[283/310] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[284/310] Compiling SwiftSyntaxMacros Macro+Format.swift
[285/310] Compiling SwiftSyntaxMacros Macro.swift
[286/310] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[287/310] Compiling SwiftSyntaxMacros MemberMacro.swift
[288/310] Compiling SwiftSyntaxMacros PeerMacro.swift
[289/310] Emitting module SwiftSyntaxMacros
[290/310] Compiling SwiftSyntaxMacros AccessorMacro.swift
[291/310] Compiling SwiftSyntaxMacros AttachedMacro.swift
[292/310] Compiling SwiftSyntaxMacros BodyMacro.swift
[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/348] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[300/402] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[301/402] Compiling PluginCore AttributableDeclSyntax.swift
[302/402] Compiling PluginCore Attribute.swift
[303/402] Emitting module SwiftSyntaxMacroExpansion
[304/402] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[305/402] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[306/402] Compiling SwiftSyntaxMacroExpansion MacroReplacement.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] Compiling PluginCore Default.swift
[321/413] Compiling PluginCore IgnoreCoding.swift
[322/413] Compiling PluginCore IgnoreDecoding.swift
[323/413] Compiling PluginCore IgnoreEncoding.swift
[324/413] Compiling PluginCore CodedAt.swift
[325/413] Compiling PluginCore CodedIn.swift
[326/413] Compiling PluginCore ContentAt.swift
[327/413] Compiling PluginCore KeyPathProvider.swift
[328/413] Compiling PluginCore MemberInit+Expansion.swift
[329/413] Compiling PluginCore MemberInit.swift
[330/413] Compiling PluginCore PeerAttribute.swift
[331/413] Compiling PluginCore AggregatedDiagnosticProducer.swift
[332/413] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[333/414] Compiling PluginCore UninitializedVariableDecl.swift
[334/414] Compiling PluginCore AttributeExpander.swift
[335/414] Compiling PluginCore DeclModifiersGenerator.swift
[336/414] Compiling PluginCore Options.swift
[337/414] Compiling PluginCore ComposedVariable.swift
[338/414] Compiling PluginCore ConditionalCodingVariable.swift
[339/414] Compiling PluginCore AssociatedVariable.swift
[340/414] Compiling PluginCore BasicAssociatedVariable.swift
[341/414] Compiling PluginCore BasicEnumCaseVariable.swift
[342/414] Compiling PluginCore EnumCaseVariable.swift
[343/414] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[344/414] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[346/414] Compiling PluginCore AnyEnumSwitcher.swift
[347/414] Compiling PluginCore EnumSwitcherVariable.swift
[348/414] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[349/414] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[350/414] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[351/414] Compiling PluginCore UnTaggedEnumSwitcher.swift
[352/414] Compiling PluginCore AnyInitialization.swift
[353/414] Compiling PluginCore AnyRequiredVariableInitialization.swift
[354/414] Compiling PluginCore IgnoredInitialization.swift
[355/414] Compiling PluginCore MemberwiseInitGenerator.swift
[356/414] Compiling PluginCore OptionalInitialization.swift
[357/414] Compiling PluginCore RequiredInitialization.swift
[358/414] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[359/414] Compiling PluginCore RequiredVariableInitialization.swift
[360/414] Compiling PluginCore VariableInitialization.swift
[361/414] Compiling PluginCore AliasedPropertyVariable.swift
[362/414] Compiling PluginCore AnyPropertyVariable.swift
[363/414] Compiling PluginCore BasicPropertyVariable.swift
[364/414] Compiling PluginCore DecodingFallback.swift
[365/414] Compiling PluginCore DefaultValueVariable.swift
[366/414] Compiling PluginCore HelperCodedVariable.swift
[367/414] Compiling PluginCore InitializationVariable.swift
[370/414] Compiling PluginCore Codable+Expansion.swift
[371/414] Compiling PluginCore Codable.swift
[372/414] Compiling PluginCore CodingKeyTransformer.swift
[373/414] Compiling PluginCore CodingKeys.swift
[374/414] Compiling PluginCore Strategy.swift
[375/414] Compiling PluginCore IgnoreCodingInitialized.swift
[376/414] Compiling PluginCore Inherits.swift
[377/414] Compiling PluginCore UnTagged.swift
[378/414] Compiling PluginCore CodedAs.swift
[379/414] Compiling PluginCore CodedBy.swift
[380/414] Emitting module PluginCore
[381/414] Compiling PluginCore KeyedVariable.swift
[382/414] Compiling PluginCore PropertyVariable.swift
[383/414] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[384/414] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[385/414] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[386/414] Compiling PluginCore PropertyVariableTreeNode.swift
[387/414] Compiling PluginCore AssociatedDeclSyntax.swift
[388/414] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[389/414] Compiling PluginCore MemberGroupSyntax.swift
[390/414] Compiling PluginCore PropertyDeclSyntax.swift
[391/414] Compiling PluginCore VariableSyntax.swift
[392/425] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[393/426] Compiling PluginCore ActorVariable.swift
[394/426] Compiling PluginCore ClassVariable.swift
[395/426] Compiling PluginCore Case.swift
[396/426] Compiling PluginCore CodingKeysMap.swift
[397/426] Compiling PluginCore Key.swift
[398/426] Compiling PluginCore ConstraintGenerator.swift
[399/426] Compiling PluginCore Registration.swift
[400/426] Compiling PluginCore EnumVariable.swift
[401/426] Compiling PluginCore MemberGroup.swift
[402/426] Compiling PluginCore TypeVariable.swift
[403/426] Compiling PluginCore Variable.swift
[405/427] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[406/426] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[407/426] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[408/426] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[409/426] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[410/426] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[411/426] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[412/426] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[413/426] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[414/426] Emitting module SwiftCompilerPluginMessageHandling
[415/426] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[416/426] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[418/428] Emitting module SwiftCompilerPlugin
[419/428] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[421/431] Compiling MacroPlugin Plugin.swift
[422/431] Compiling MacroPlugin Definitions.swift
[423/431] Emitting module MacroPlugin
[424/431] Write Objects.LinkFileList
[425/431] Linking MacroPlugin-tool
[427/448] Compiling MetaCodable ContentAt.swift
[428/448] Compiling MetaCodable Default.swift
[429/448] Compiling MetaCodable HelperCoder.swift
[430/448] Compiling MetaCodable LossySequence.swift
[431/450] Compiling MetaCodable DynamicCodableIdentifier+Expressible.swift
[432/450] Compiling MetaCodable DynamicCodableIdentifier.swift
[433/450] Compiling MetaCodable UnTagged.swift
[434/450] Compiling MetaCodable CodedAs.swift
[435/450] Compiling MetaCodable CodedAt.swift
[436/450] Compiling MetaCodable CodedBy.swift
[437/450] Compiling MetaCodable CodedIn.swift
[438/450] Compiling MetaCodable Codable.swift
[439/450] Compiling MetaCodable CodingKeys.swift
[440/450] Compiling MetaCodable IgnoreCodingInitialized.swift
[441/450] Compiling MetaCodable DynamicCodable.swift
[442/450] Compiling MetaCodable DynamicCodableIdentifier+CodingKey.swift
[443/450] Emitting module MetaCodable
[444/450] Compiling MetaCodable IgnoreCoding.swift
[445/450] Compiling MetaCodable MemberInit.swift
[447/463] Compiling HelperCoders Number.swift
[448/464] Compiling HelperCoders String.swift
[449/464] Compiling HelperCoders SequenceCoderConfiguration.swift
[450/464] Compiling HelperCoders Bool.swift
[451/464] Compiling HelperCoders NonConformingCoder.swift
[452/464] Compiling HelperCoders PropertyWrapperCoder.swift
[453/464] Compiling HelperCoders DefaultSequenceElementCoding.swift
[454/464] Compiling HelperCoders SequenceCoder.swift
[455/464] Emitting module HelperCoders
[456/464] Compiling HelperCoders Base64Coder.swift
[457/464] Compiling HelperCoders ConditionalCoder.swift
[458/464] Compiling HelperCoders DateCoder.swift
[459/464] Compiling HelperCoders Since1970DateCoder.swift
[460/464] Compiling HelperCoders ValueCoder.swift
[462/478] 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) }
[463/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
[464/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.
[465/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.
[466/479] 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.
[467/479] 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.
[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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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()
[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