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 1.0.4 (2e8a97), with Swift 6.0 for Linux on 17 Apr 2025 22:26:22 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/m1guelpf/swift-openai-responses.git
Reference: 1.0.4
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/m1guelpf/swift-openai-responses
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at 2e8a97e Add service tier param
Cloned https://github.com/m1guelpf/swift-openai-responses.git
Revision (git rev-parse @):
2e8a97e7eba88792c04f9a53e2dfa89489d35614
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/m1guelpf/swift-openai-responses.git at 1.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/SwiftyLab/MetaCodable.git
[1/53917] Fetching metacodable
Fetched https://github.com/SwiftyLab/MetaCodable.git from cache (4.34s)
Computing version for https://github.com/SwiftyLab/MetaCodable.git
Computed https://github.com/SwiftyLab/MetaCodable.git at 1.4.0 (2.00s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-collections.git
[1/16103] Fetching swift-collections
[4188/30945] Fetching swift-collections, swift-argument-parser
[23378/101100] Fetching swift-collections, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.77s)
[25224/86258] Fetching swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections.git from cache (1.09s)
[13330/70155] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.25s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.68s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (2.52s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (0.89s)
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
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/SwiftyLab/MetaCodable.git
Working copy of https://github.com/SwiftyLab/MetaCodable.git resolved at 1.4.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
[1/1] Compiling plugin GenerateManual
/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 | }
[2/2] Compiling plugin MetaProtocolCodable
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] Emitting module InternalCollectionsUtilities
[28/75] Emitting module SwiftSyntax510
[29/75] Compiling SwiftSyntax510 Empty.swift
[30/76] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[31/76] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[33/76] Compiling SwiftSyntax509 Empty.swift
[34/77] Compiling InternalCollectionsUtilities Debugging.swift
[35/77] Compiling InternalCollectionsUtilities Descriptions.swift
[36/77] Compiling InternalCollectionsUtilities _SortedCollection.swift
[37/77] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[38/77] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[39/77] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[40/77] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[41/77] Compiling InternalCollectionsUtilities Specialize.swift
[42/77] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[43/77] Compiling InternalCollectionsUtilities Integer rank.swift
[44/77] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[45/77] Compiling InternalCollectionsUtilities UInt+reversed.swift
[46/77] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[47/77] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[48/77] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[49/77] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[51/78] Compiling SwiftSyntax600 Empty.swift
[52/78] Emitting module SwiftSyntax600
[53/79] Wrapping AST for SwiftSyntax510 for debugging
[55/79] Wrapping AST for SwiftSyntax509 for debugging
[56/79] Wrapping AST for InternalCollectionsUtilities for debugging
[57/79] Wrapping AST for SwiftSyntax600 for debugging
[59/198] Compiling SwiftSyntax RawSyntaxNodesGHI.swift
[60/198] Compiling SwiftSyntax RawSyntaxNodesJKLMN.swift
[61/198] Compiling SwiftSyntax RawSyntaxNodesOP.swift
[62/198] Compiling SwiftSyntax RawSyntaxNodesQRS.swift
[63/198] Compiling SwiftSyntax RawSyntaxNodesTUVWXYZ.swift
[64/198] Compiling SwiftSyntax RawSyntaxValidation.swift
[65/198] Compiling SwiftSyntax SyntaxNodesAB.swift
[66/205] Compiling SwiftSyntax TokenDiagnostic.swift
[67/205] Compiling SwiftSyntax TokenSequence.swift
[68/205] Compiling SwiftSyntax TokenSyntax.swift
[69/205] Compiling SwiftSyntax Trivia.swift
[70/205] Compiling SwiftSyntax Utils.swift
[71/205] Compiling SwiftSyntax ChildNameForKeyPath.swift
[72/205] Compiling SwiftSyntax Keyword.swift
[73/205] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[74/205] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[75/205] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[76/205] Compiling SwiftSyntax SyntaxBaseNodes.swift
[77/205] Compiling SwiftSyntax SyntaxCollections.swift
[78/205] Compiling SwiftSyntax SyntaxEnum.swift
[79/205] Compiling SwiftSyntax RawSyntaxNodesD.swift
[80/205] Compiling SwiftSyntax RawSyntaxNodesEF.swift
[81/205] Compiling SwiftSyntax Convenience.swift
[82/205] Compiling SwiftSyntax CustomTraits.swift
[83/205] Compiling SwiftSyntax Identifier.swift
[84/205] Compiling SwiftSyntax SyntaxNodeFactory.swift
[85/205] Compiling SwiftSyntax SyntaxNodeStructure.swift
[86/205] Compiling SwiftSyntax SyntaxProtocol.swift
[87/205] Compiling SwiftSyntax SyntaxText.swift
[88/205] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[89/205] Compiling SwiftSyntax SourceLocation.swift
[90/205] Compiling SwiftSyntax SourcePresence.swift
[91/205] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[92/205] Compiling SwiftSyntax Syntax.swift
[93/205] Compiling SwiftSyntax SyntaxArena.swift
[94/205] Compiling SwiftSyntax SyntaxArenaAllocatedBuffer.swift
[95/205] Compiling SwiftSyntax SyntaxChildren.swift
[96/205] Compiling SwiftSyntax SyntaxCollection.swift
[97/205] Compiling SwiftSyntax SyntaxHashable.swift
[98/205] Compiling SwiftSyntax SyntaxIdentifier.swift
[99/205] Compiling SwiftSyntax AbsolutePosition.swift
[100/205] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[101/205] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[102/205] Compiling SwiftSyntax Assert.swift
[103/205] Compiling SwiftSyntax BumpPtrAllocator.swift
[104/205] Compiling SwiftSyntax CommonAncestor.swift
[105/205] Compiling SwiftSyntax MemoryLayout.swift
[106/205] Compiling SwiftSyntax MissingNodeInitializers.swift
[107/205] Compiling SwiftSyntax RawSyntax.swift
[108/205] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[109/205] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[110/205] Compiling SwiftSyntax RawSyntaxTokenView.swift
[111/205] Compiling SwiftSyntax SourceEdit.swift
[112/205] Compiling SwiftSyntax SourceLength.swift
[113/205] Compiling OrderedCollections OrderedSet+Sendable.swift
[114/205] Compiling OrderedCollections OrderedSet+SubSequence.swift
[115/205] Compiling OrderedCollections OrderedSet+Testing.swift
[116/205] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[117/205] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[118/205] Compiling OrderedCollections OrderedSet.swift
[119/205] Compiling OrderedCollections _UnsafeBitset.swift
[120/205] Emitting module OrderedCollections
[130/214] Wrapping AST for OrderedCollections for debugging
[150/214] Emitting module SwiftSyntax
[158/214] Compiling SwiftSyntax RawSyntaxNodesAB.swift
[159/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] Emitting module SwiftDiagnostics
[199/272] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[200/272] Compiling SwiftParser Expressions.swift
[201/272] Compiling SwiftDiagnostics Message.swift
[202/273] Compiling SwiftBasicFormat Syntax+Extensions.swift
[203/273] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[204/273] Compiling SwiftDiagnostics FixIt.swift
[205/273] Compiling SwiftDiagnostics Note.swift
[206/273] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[207/273] Compiling SwiftParser IncrementalParseTransition.swift
[208/273] Compiling SwiftParser IsValidIdentifier.swift
[209/273] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[210/273] Compiling SwiftBasicFormat InferIndentation.swift
[211/273] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[213/274] Compiling SwiftBasicFormat BasicFormat.swift
[214/274] Emitting module SwiftBasicFormat
[215/275] Wrapping AST for SwiftDiagnostics for debugging
[216/275] Wrapping AST for SwiftBasicFormat for debugging
[218/275] Compiling SwiftParser Modifiers.swift
[219/275] Compiling SwiftParser Names.swift
[220/275] Compiling SwiftParser Nominals.swift
[221/275] Compiling SwiftParser Parameters.swift
[222/275] Compiling SwiftParser ParseSourceFile.swift
[223/275] Compiling SwiftParser Parser.swift
[224/280] Compiling SwiftParser TokenSpec.swift
[225/280] Compiling SwiftParser TokenSpecSet.swift
[226/280] Compiling SwiftParser TopLevel.swift
[227/280] Compiling SwiftParser TriviaParser.swift
[228/280] Compiling SwiftParser Types.swift
[229/280] Compiling SwiftParser SwiftParserCompatibility.swift
[230/280] Compiling SwiftParser SwiftVersion.swift
[231/280] Compiling SwiftParser SyntaxUtils.swift
[232/280] Compiling SwiftParser TokenConsumer.swift
[233/280] Compiling SwiftParser TokenPrecedence.swift
[234/280] Emitting module SwiftParser
[235/280] Compiling SwiftParser Patterns.swift
[236/280] Compiling SwiftParser Recovery.swift
[237/280] Compiling SwiftParser Specifiers.swift
[238/280] Compiling SwiftParser Statements.swift
[239/280] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[240/280] Compiling SwiftParser StringLiterals.swift
[241/280] Compiling SwiftParser LexemeSequence.swift
[242/280] Compiling SwiftParser Lexer.swift
[243/280] Compiling SwiftParser RegexLiteralLexer.swift
[244/280] Compiling SwiftParser UnicodeScalarExtensions.swift
[245/280] Compiling SwiftParser Lookahead.swift
[246/280] Compiling SwiftParser LoopProgressCondition.swift
[247/280] Compiling SwiftParser Attributes.swift
[248/280] Compiling SwiftParser Availability.swift
[249/280] Compiling SwiftParser CharacterInfo.swift
[250/280] Compiling SwiftParser CollectionNodes+Parsable.swift
[251/280] Compiling SwiftParser Declarations.swift
[252/280] Compiling SwiftParser Directives.swift
[257/280] Compiling SwiftParser Cursor.swift
[258/280] Compiling SwiftParser Lexeme.swift
[259/280] Compiling SwiftParser ExperimentalFeatures.swift
[260/280] Compiling SwiftParser IsLexerClassified.swift
[261/280] Compiling SwiftParser LayoutNodes+Parsable.swift
[262/280] Compiling SwiftParser Parser+TokenSpecSet.swift
[263/280] Compiling SwiftParser TokenSpecStaticMembers.swift
[264/281] Wrapping AST for SwiftParser for debugging
[266/304] Compiling SwiftOperators Operator.swift
[267/304] Compiling SwiftOperators OperatorError+Diagnostics.swift
[268/305] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[269/306] Compiling SwiftOperators PrecedenceGraph.swift
[270/306] Compiling SwiftOperators OperatorTable.swift
[271/306] Compiling SwiftOperators PrecedenceGroup.swift
[272/306] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[273/306] Emitting module SwiftOperators
[274/306] Compiling SwiftOperators SyntaxSynthesis.swift
[275/306] Compiling SwiftOperators OperatorTable+Folding.swift
[276/306] Compiling SwiftOperators OperatorError.swift
[277/306] Compiling SwiftOperators OperatorTable+Defaults.swift
[278/306] Compiling SwiftOperators OperatorTable+Semantics.swift
[279/307] Wrapping AST for SwiftOperators for debugging
[281/307] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[282/307] Compiling SwiftParserDiagnostics Utils.swift
[283/307] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[284/307] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[285/307] Compiling SwiftParserDiagnostics PresenceUtils.swift
[290/307] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[291/307] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[292/307] Emitting module SwiftParserDiagnostics
[293/308] Wrapping AST for SwiftParserDiagnostics for debugging
[295/323] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[296/323] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[297/324] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[298/324] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[299/324] Compiling SwiftSyntaxBuilder Indenter.swift
[300/324] Compiling SwiftSyntaxBuilder ListBuilder.swift
[301/324] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[302/324] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[303/324] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[304/324] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[305/324] Emitting module SwiftSyntaxBuilder
[306/324] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[307/324] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[308/324] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[309/324] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[310/324] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[311/325] Wrapping AST for SwiftSyntaxBuilder for debugging
[313/342] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[314/342] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[315/344] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[316/344] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[317/344] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[318/344] Compiling SwiftSyntaxMacros Macro+Format.swift
[319/344] Emitting module SwiftSyntaxMacros
[320/344] Compiling SwiftSyntaxMacros MemberMacro.swift
[321/344] Compiling SwiftSyntaxMacros PeerMacro.swift
[322/344] Compiling SwiftSyntaxMacros Macro.swift
[323/344] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[324/344] Compiling SwiftSyntaxMacros AccessorMacro.swift
[325/344] Compiling SwiftSyntaxMacros AttachedMacro.swift
[326/344] Compiling SwiftSyntaxMacros BodyMacro.swift
[327/344] Compiling SwiftSyntaxMacros PreambleMacro.swift
[328/344] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[329/344] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[330/344] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[331/344] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[332/345] Wrapping AST for SwiftSyntaxMacros for debugging
[334/436] Compiling SwiftSyntaxMacroExpansion MacroSpec.swift
[335/437] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[336/437] Compiling PluginCore AttributableDeclSyntax.swift
[337/437] Compiling PluginCore Attribute.swift
[338/437] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[339/437] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[340/437] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[341/437] Emitting module SwiftSyntaxMacroExpansion
[342/437] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[343/437] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[344/438] Wrapping AST for SwiftSyntaxMacroExpansion for debugging
[346/448] Compiling PluginCore CombinedUsage.swift
[347/448] Compiling PluginCore ArgumentCountCondition.swift
[348/448] Compiling PluginCore DeclarationCondition.swift
[349/448] Compiling PluginCore DiagnosticCondition.swift
[350/448] Compiling PluginCore ConditionalDiagnosticProducer.swift
[351/448] Compiling PluginCore DiagnosticProducer.swift
[352/448] Compiling PluginCore DuplicateUsage.swift
[353/448] Compiling PluginCore GroupedVariableDeclaration.swift
[354/448] Compiling PluginCore InvalidCombination.swift
[355/448] Compiling PluginCore InvalidDeclaration.swift
[356/448] Compiling PluginCore MetaCodableMessage.swift
[357/448] Compiling PluginCore StaticVariableDeclaration.swift
[358/461] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[359/461] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[360/462] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[361/462] Compiling PluginCore Default.swift
[362/462] Compiling PluginCore IgnoreCoding.swift
[363/462] Compiling PluginCore IgnoreDecoding.swift
[364/462] Compiling PluginCore IgnoreEncoding.swift
[365/462] Compiling PluginCore CodedAt.swift
[366/462] Compiling PluginCore CodedIn.swift
[367/462] Compiling PluginCore ContentAt.swift
[368/462] Compiling PluginCore KeyPathProvider.swift
[369/462] Compiling PluginCore MemberInit+Expansion.swift
[370/462] Compiling PluginCore MemberInit.swift
[371/462] Compiling PluginCore PeerAttribute.swift
[372/462] Compiling PluginCore AggregatedDiagnosticProducer.swift
[373/462] Compiling PluginCore UninitializedVariableDecl.swift
[374/462] Compiling PluginCore AttributeExpander.swift
[375/462] Compiling PluginCore DeclModifiersGenerator.swift
[376/462] Compiling PluginCore Options.swift
[377/462] Compiling PluginCore ComposedVariable.swift
[378/462] Compiling PluginCore ConditionalCodingVariable.swift
[379/462] Compiling PluginCore AssociatedVariable.swift
[380/462] Compiling PluginCore BasicAssociatedVariable.swift
[381/462] Compiling PluginCore BasicEnumCaseVariable.swift
[382/462] Compiling PluginCore EnumCaseVariable.swift
[383/462] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[384/462] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[385/462] Compiling PluginCore KeyedVariable.swift
[386/462] Compiling PluginCore PropertyVariable.swift
[387/462] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[388/462] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[389/462] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[390/462] Compiling PluginCore PropertyVariableTreeNode.swift
[391/462] Compiling PluginCore AssociatedDeclSyntax.swift
[392/462] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[393/462] Compiling PluginCore MemberGroupSyntax.swift
[394/462] Compiling PluginCore PropertyDeclSyntax.swift
[395/462] Compiling PluginCore VariableSyntax.swift
[396/462] Emitting module SwiftCompilerPluginMessageHandling
[397/462] Compiling PluginCore AnyEnumSwitcher.swift
[398/462] Compiling PluginCore EnumSwitcherVariable.swift
[399/462] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[400/462] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[401/462] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[402/462] Compiling PluginCore UnTaggedEnumSwitcher.swift
[403/462] Compiling PluginCore AnyInitialization.swift
[404/462] Compiling PluginCore AnyRequiredVariableInitialization.swift
[405/462] Compiling PluginCore IgnoredInitialization.swift
[406/462] Compiling PluginCore MemberwiseInitGenerator.swift
[407/462] Compiling PluginCore OptionalInitialization.swift
[408/462] Compiling PluginCore RequiredInitialization.swift
[409/462] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[410/462] Compiling PluginCore RequiredVariableInitialization.swift
[411/462] Compiling PluginCore VariableInitialization.swift
[412/462] Compiling PluginCore AliasedPropertyVariable.swift
[413/462] Compiling PluginCore AnyPropertyVariable.swift
[414/462] Compiling PluginCore BasicPropertyVariable.swift
[415/462] Compiling PluginCore DecodingFallback.swift
[416/462] Compiling PluginCore DefaultValueVariable.swift
[417/462] Compiling PluginCore HelperCodedVariable.swift
[418/462] Compiling PluginCore InitializationVariable.swift
[419/462] Compiling SwiftCompilerPluginMessageHandling CodingUtilities.swift
[420/462] Compiling SwiftCompilerPluginMessageHandling JSON.swift
[421/462] Compiling SwiftCompilerPluginMessageHandling JSONDecoding.swift
[422/462] Compiling SwiftCompilerPluginMessageHandling JSONEncoding.swift
[423/462] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[424/462] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[425/462] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[426/462] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[427/462] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[428/463] Wrapping AST for SwiftCompilerPluginMessageHandling for debugging
[430/465] Emitting module SwiftCompilerPlugin
[431/465] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[432/466] Wrapping AST for SwiftCompilerPlugin for debugging
[434/466] Emitting module PluginCore
[443/466] Compiling PluginCore Inherits.swift
[444/466] Compiling PluginCore UnTagged.swift
[445/466] Compiling PluginCore CodedAs.swift
[446/466] Compiling PluginCore CodedBy.swift
[447/466] Compiling PluginCore ActorVariable.swift
[448/466] Compiling PluginCore ClassVariable.swift
[449/466] Compiling PluginCore Case.swift
[450/466] Compiling PluginCore CodingKeysMap.swift
[451/466] Compiling PluginCore Key.swift
[452/466] Compiling PluginCore ConstraintGenerator.swift
[453/466] Compiling PluginCore Registration.swift
[454/466] Compiling PluginCore EnumVariable.swift
[455/466] Compiling PluginCore MemberGroup.swift
[456/466] Compiling PluginCore TypeVariable.swift
[457/466] Compiling PluginCore Variable.swift
[458/467] Wrapping AST for PluginCore for debugging
[460/470] Compiling MacroPlugin Plugin.swift
[461/470] Compiling MacroPlugin Definitions.swift
[462/470] Emitting module MacroPlugin
[463/471] Wrapping AST for MacroPlugin for debugging
[464/471] Write Objects.LinkFileList
[465/471] Linking MacroPlugin-tool
[467/488] Compiling MetaCodable Codable.swift
[468/488] Compiling MetaCodable CodingKeys.swift
[469/488] Compiling MetaCodable IgnoreCodingInitialized.swift
[470/490] Compiling MetaCodable IgnoreCoding.swift
[471/490] Compiling MetaCodable MemberInit.swift
[472/490] Emitting module MetaCodable
[473/490] Compiling MetaCodable DynamicCodable.swift
[474/490] Compiling MetaCodable DynamicCodableIdentifier+CodingKey.swift
[475/490] Compiling MetaCodable CodedBy.swift
[476/490] Compiling MetaCodable CodedIn.swift
[477/490] Compiling MetaCodable ContentAt.swift
[478/490] Compiling MetaCodable Default.swift
[479/490] Compiling MetaCodable UnTagged.swift
[480/490] Compiling MetaCodable CodedAs.swift
[481/490] Compiling MetaCodable CodedAt.swift
[482/490] Compiling MetaCodable HelperCoder.swift
[483/490] Compiling MetaCodable LossySequence.swift
[484/490] Compiling MetaCodable DynamicCodableIdentifier+Expressible.swift
[485/490] Compiling MetaCodable DynamicCodableIdentifier.swift
[486/491] Wrapping AST for MetaCodable for debugging
[488/504] Compiling HelperCoders String.swift
[489/505] Compiling HelperCoders Base64Coder.swift
[490/505] Compiling HelperCoders ConditionalCoder.swift
[491/505] Compiling HelperCoders NonConformingCoder.swift
[492/505] Compiling HelperCoders PropertyWrapperCoder.swift
[493/505] Compiling HelperCoders Number.swift
[494/505] Emitting module HelperCoders
[495/505] Compiling HelperCoders DateCoder.swift
[496/505] Compiling HelperCoders Since1970DateCoder.swift
[497/505] Compiling HelperCoders DefaultSequenceElementCoding.swift
[498/505] Compiling HelperCoders SequenceCoder.swift
[499/505] Compiling HelperCoders ValueCoder.swift
[500/505] Compiling HelperCoders SequenceCoderConfiguration.swift
[501/505] Compiling HelperCoders Bool.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 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 |
[509/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 |
[510/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.
[511/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.
[512/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 {
[513/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 {
[514/521] Compiling OpenAI Model.swift
[515/521] Compiling OpenAI Request.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
/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 | }
[2/2] Compiling plugin MetaProtocolCodable
Building for debugging...
[2/28] Write swift-version-24593BA9C3E375BF.txt
[4/49] Emitting module SwiftSyntax600
[5/49] Compiling SwiftSyntax600 Empty.swift
[6/52] Emitting module SwiftSyntax510
[7/52] Compiling SwiftSyntax510 Empty.swift
[8/53] Compiling SwiftSyntax509 Empty.swift
[9/53] Emitting module SwiftSyntax509
[13/51] Compiling InternalCollectionsUtilities UInt+reversed.swift
[14/51] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[15/53] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[16/53] Compiling InternalCollectionsUtilities Specialize.swift
[17/53] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/53] Compiling InternalCollectionsUtilities Integer rank.swift
[19/53] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[20/53] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[21/53] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[22/53] Emitting module InternalCollectionsUtilities
[23/53] Compiling InternalCollectionsUtilities Debugging.swift
[24/53] Compiling InternalCollectionsUtilities Descriptions.swift
[25/53] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+SE-0370.swift
[26/53] Compiling InternalCollectionsUtilities UnsafeMutablePointer+SE-0370.swift
[27/53] Compiling InternalCollectionsUtilities UnsafeRawPointer extensions.swift
[28/53] Compiling InternalCollectionsUtilities _SortedCollection.swift
[29/53] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[30/53] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[31/53] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[33/172] Compiling OrderedCollections _HashTable+Bucket.swift
[34/172] Compiling OrderedCollections _HashTable+BucketIterator.swift
[35/172] Compiling OrderedCollections _HashTable+Constants.swift
[36/172] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[37/172] Compiling OrderedCollections _HashTable+Testing.swift
[38/172] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[39/172] Compiling OrderedCollections _HashTable.swift
[40/172] Compiling OrderedCollections _Hashtable+Header.swift
[41/172] Compiling OrderedCollections OrderedDictionary+Codable.swift
[42/180] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[43/180] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[44/180] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[45/180] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[46/180] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[47/180] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[48/180] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[49/180] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[50/180] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[51/180] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[52/180] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[53/180] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[54/180] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[55/180] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[56/187] Compiling OrderedCollections OrderedDictionary.swift
[57/187] Compiling OrderedCollections OrderedSet+Codable.swift
[58/187] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[59/187] Compiling OrderedCollections OrderedSet+Descriptions.swift
[60/187] Compiling OrderedCollections OrderedSet+Diffing.swift
[61/187] Compiling OrderedCollections OrderedSet+Equatable.swift
[62/187] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[63/187] Compiling OrderedCollections OrderedSet+Hashable.swift
[64/187] Compiling OrderedCollections OrderedSet+Initializers.swift
[65/187] Compiling OrderedCollections OrderedSet+Insertions.swift
[66/187] Compiling OrderedCollections OrderedSet+Invariants.swift
[67/187] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[68/187] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[69/187] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[70/187] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[71/187] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[73/187] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[74/187] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[75/187] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[76/187] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[77/187] Compiling OrderedCollections OrderedDictionary+Elements.swift
[78/187] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[79/187] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[80/187] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[81/187] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[82/187] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[83/187] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[84/187] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[85/187] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[86/187] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[87/187] Compiling OrderedCollections OrderedDictionary+Values.swift
[96/187] Compiling OrderedCollections OrderedSet+Sendable.swift
[97/187] Compiling OrderedCollections OrderedSet+SubSequence.swift
[98/187] Compiling OrderedCollections OrderedSet+Testing.swift
[99/187] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[100/187] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[101/187] Compiling OrderedCollections OrderedSet.swift
[102/187] Compiling OrderedCollections _UnsafeBitset.swift
[103/187] Emitting module OrderedCollections
[112/188] Compiling SwiftSyntax SourceLength.swift
[113/188] Compiling SwiftSyntax SourceLocation.swift
[132/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 SwiftBasicFormat Trivia+FormatExtensions.swift
[170/244] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[171/244] Compiling SwiftBasicFormat Syntax+Extensions.swift
[172/244] Compiling SwiftDiagnostics Message.swift
[173/245] Compiling SwiftBasicFormat InferIndentation.swift
[174/245] Emitting module SwiftDiagnostics
[175/245] Emitting module SwiftBasicFormat
[176/245] Compiling SwiftBasicFormat BasicFormat.swift
[177/245] Compiling SwiftDiagnostics FixIt.swift
[178/245] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[179/246] Compiling SwiftDiagnostics Note.swift
[180/246] Compiling SwiftParser ExpressionInterpretedAsVersionTuple.swift
[181/246] Compiling SwiftParser Expressions.swift
[182/246] Compiling SwiftParser IncrementalParseTransition.swift
[183/246] Compiling SwiftParser IsValidIdentifier.swift
[185/246] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[186/246] Compiling SwiftDiagnostics DiagnosticDecorator.swift
[188/245] Compiling SwiftParser LexemeSequence.swift
[189/245] Compiling SwiftParser Lexer.swift
[190/245] Compiling SwiftParser RegexLiteralLexer.swift
[191/245] Compiling SwiftParser UnicodeScalarExtensions.swift
[192/245] Compiling SwiftParser Lookahead.swift
[193/245] Compiling SwiftParser LoopProgressCondition.swift
[194/250] Compiling SwiftParser Modifiers.swift
[195/250] Compiling SwiftParser Names.swift
[196/250] Compiling SwiftParser Nominals.swift
[197/250] Compiling SwiftParser Parameters.swift
[198/250] Compiling SwiftParser ParseSourceFile.swift
[199/250] Compiling SwiftParser Parser.swift
[200/250] Compiling SwiftParser Patterns.swift
[201/250] Compiling SwiftParser Recovery.swift
[202/250] Compiling SwiftParser Specifiers.swift
[203/250] Compiling SwiftParser Statements.swift
[204/250] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[205/250] Compiling SwiftParser StringLiterals.swift
[206/250] Emitting module SwiftParser
[207/250] Compiling SwiftParser SwiftParserCompatibility.swift
[208/250] Compiling SwiftParser SwiftVersion.swift
[209/250] Compiling SwiftParser SyntaxUtils.swift
[210/250] Compiling SwiftParser TokenConsumer.swift
[211/250] Compiling SwiftParser TokenPrecedence.swift
[212/250] Compiling SwiftParser TokenSpec.swift
[213/250] Compiling SwiftParser TokenSpecSet.swift
[214/250] Compiling SwiftParser TopLevel.swift
[215/250] Compiling SwiftParser TriviaParser.swift
[216/250] Compiling SwiftParser Types.swift
[217/250] Compiling SwiftParser Attributes.swift
[218/250] Compiling SwiftParser Availability.swift
[219/250] Compiling SwiftParser CharacterInfo.swift
[220/250] Compiling SwiftParser CollectionNodes+Parsable.swift
[221/250] Compiling SwiftParser Declarations.swift
[222/250] Compiling SwiftParser Directives.swift
[227/250] Compiling SwiftParser Cursor.swift
[228/250] Compiling SwiftParser Lexeme.swift
[229/250] Compiling SwiftParser ExperimentalFeatures.swift
[230/250] Compiling SwiftParser IsLexerClassified.swift
[231/250] Compiling SwiftParser LayoutNodes+Parsable.swift
[232/250] Compiling SwiftParser Parser+TokenSpecSet.swift
[233/250] Compiling SwiftParser TokenSpecStaticMembers.swift
[235/273] Compiling SwiftOperators PrecedenceGroup.swift
[236/274] Emitting module SwiftOperators
[237/274] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[238/274] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[239/274] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[240/275] Compiling SwiftOperators PrecedenceGraph.swift
[241/275] Compiling SwiftOperators SyntaxSynthesis.swift
[242/275] Compiling SwiftParserDiagnostics MissingNodesError.swift
[243/275] Compiling SwiftParserDiagnostics MissingTokenError.swift
[244/275] Compiling SwiftOperators OperatorTable+Folding.swift
[245/275] Compiling SwiftOperators OperatorTable+Semantics.swift
[246/275] Compiling SwiftOperators OperatorTable.swift
[247/276] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[249/275] Emitting module SwiftParserDiagnostics
[250/275] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[251/275] Compiling SwiftParserDiagnostics Utils.swift
[252/275] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[253/275] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[254/275] Compiling SwiftParserDiagnostics PresenceUtils.swift
[257/275] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[258/275] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[262/290] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[263/290] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[264/290] Compiling SwiftSyntaxBuilder Indenter.swift
[265/290] Compiling SwiftSyntaxBuilder ListBuilder.swift
[266/291] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[267/291] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[268/291] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[269/291] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[270/291] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[271/291] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[272/291] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[273/291] Emitting module SwiftSyntaxBuilder
[274/291] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[275/291] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[276/291] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[277/291] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[279/308] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[280/308] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[281/310] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[282/310] Compiling SwiftSyntaxMacros Macro+Format.swift
[283/310] Compiling SwiftSyntaxMacros Macro.swift
[284/310] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[285/310] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[286/310] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[287/310] Compiling SwiftSyntaxMacros AccessorMacro.swift
[288/310] Compiling SwiftSyntaxMacros AttachedMacro.swift
[289/310] Compiling SwiftSyntaxMacros BodyMacro.swift
[290/310] Compiling SwiftSyntaxMacros MemberMacro.swift
[291/310] Compiling SwiftSyntaxMacros PeerMacro.swift
[292/310] Emitting module SwiftSyntaxMacros
[293/310] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[294/310] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[295/310] Compiling SwiftSyntaxMacros MacroExpansionDiagnosticMessages.swift
[296/310] Compiling SwiftSyntaxMacros PreambleMacro.swift
[297/310] Compiling SwiftSyntaxMacros Syntax+LexicalContext.swift
[299/320] 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 MacroExpansion.swift
[305/402] Compiling SwiftSyntaxMacroExpansion MacroArgument.swift
[306/402] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[307/402] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[308/402] Compiling PluginCore Default.swift
[309/402] Compiling PluginCore IgnoreCoding.swift
[310/402] Compiling PluginCore IgnoreDecoding.swift
[311/402] Compiling PluginCore IgnoreEncoding.swift
[312/402] Compiling PluginCore CodedAt.swift
[313/402] Compiling PluginCore CodedIn.swift
[314/402] Compiling PluginCore ContentAt.swift
[315/402] Compiling PluginCore KeyPathProvider.swift
[316/402] Compiling PluginCore MemberInit+Expansion.swift
[317/402] Compiling PluginCore MemberInit.swift
[318/402] Compiling PluginCore PeerAttribute.swift
[319/402] Compiling PluginCore AggregatedDiagnosticProducer.swift
[320/413] Emitting module PluginCore
[321/413] Compiling PluginCore AnyEnumSwitcher.swift
[322/413] Compiling PluginCore EnumSwitcherVariable.swift
[323/413] Compiling PluginCore ExternallyTaggedEnumSwitcher.swift
[324/413] Compiling PluginCore InternallyTaggedEnumSwitcher.swift
[325/413] Compiling PluginCore TaggedEnumSwitcherVariable.swift
[326/413] Compiling PluginCore UnTaggedEnumSwitcher.swift
[327/413] Compiling PluginCore AnyInitialization.swift
[328/413] Compiling PluginCore AnyRequiredVariableInitialization.swift
[329/413] Compiling PluginCore IgnoredInitialization.swift
[330/413] Compiling PluginCore MemberwiseInitGenerator.swift
[331/413] Compiling PluginCore OptionalInitialization.swift
[334/413] Compiling PluginCore Codable+Expansion.swift
[335/413] Compiling PluginCore Codable.swift
[336/413] Compiling PluginCore CodingKeyTransformer.swift
[337/413] Compiling PluginCore CodingKeys.swift
[338/413] Compiling PluginCore Strategy.swift
[339/413] Compiling PluginCore IgnoreCodingInitialized.swift
[340/413] Compiling PluginCore Inherits.swift
[341/413] Compiling PluginCore UnTagged.swift
[342/413] Compiling PluginCore CodedAs.swift
[343/413] Compiling PluginCore CodedBy.swift
[344/413] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[346/414] Compiling PluginCore CombinedUsage.swift
[347/414] Compiling PluginCore ArgumentCountCondition.swift
[348/414] Compiling PluginCore DeclarationCondition.swift
[349/414] Compiling PluginCore DiagnosticCondition.swift
[350/414] Compiling PluginCore ConditionalDiagnosticProducer.swift
[351/414] Compiling PluginCore DiagnosticProducer.swift
[352/414] Compiling PluginCore DuplicateUsage.swift
[353/414] Compiling PluginCore GroupedVariableDeclaration.swift
[354/414] Compiling PluginCore InvalidCombination.swift
[355/414] Compiling PluginCore InvalidDeclaration.swift
[356/414] Compiling PluginCore MetaCodableMessage.swift
[357/414] Compiling PluginCore StaticVariableDeclaration.swift
[358/414] Compiling PluginCore UninitializedVariableDecl.swift
[359/414] Compiling PluginCore AttributeExpander.swift
[360/414] Compiling PluginCore DeclModifiersGenerator.swift
[361/414] Compiling PluginCore Options.swift
[362/414] Compiling PluginCore ComposedVariable.swift
[363/414] Compiling PluginCore ConditionalCodingVariable.swift
[364/414] Compiling PluginCore AssociatedVariable.swift
[365/414] Compiling PluginCore BasicAssociatedVariable.swift
[366/414] Compiling PluginCore BasicEnumCaseVariable.swift
[367/414] Compiling PluginCore EnumCaseVariable.swift
[368/414] Compiling PluginCore AdjacentlyTaggableSwitcher.swift
[369/414] Compiling PluginCore AdjacentlyTaggedEnumSwitcher.swift
[370/414] Compiling PluginCore KeyedVariable.swift
[371/414] Compiling PluginCore PropertyVariable.swift
[372/414] Compiling PluginCore PropertyVariableTreeNode+CodingData.swift
[373/414] Compiling PluginCore PropertyVariableTreeNode+CodingLocation.swift
[374/414] Compiling PluginCore PropertyVariableTreeNode+Generated.swift
[375/414] Compiling PluginCore PropertyVariableTreeNode.swift
[376/414] Compiling PluginCore AssociatedDeclSyntax.swift
[377/414] Compiling PluginCore EnumCaseVariableDeclSyntax.swift
[378/414] Compiling PluginCore MemberGroupSyntax.swift
[379/414] Compiling PluginCore PropertyDeclSyntax.swift
[380/414] Compiling PluginCore VariableSyntax.swift
[381/414] Compiling PluginCore RequiredInitialization.swift
[382/414] Compiling PluginCore RequiredInitializationWithDefaultValue.swift
[383/414] Compiling PluginCore RequiredVariableInitialization.swift
[384/414] Compiling PluginCore VariableInitialization.swift
[385/414] Compiling PluginCore AliasedPropertyVariable.swift
[386/414] Compiling PluginCore AnyPropertyVariable.swift
[387/414] Compiling PluginCore BasicPropertyVariable.swift
[388/414] Compiling PluginCore DecodingFallback.swift
[389/414] Compiling PluginCore DefaultValueVariable.swift
[390/414] Compiling PluginCore HelperCodedVariable.swift
[391/414] Compiling PluginCore InitializationVariable.swift
[392/425] Compiling PluginCore ActorVariable.swift
[393/425] Compiling PluginCore ClassVariable.swift
[394/425] Compiling PluginCore Case.swift
[395/425] Compiling PluginCore CodingKeysMap.swift
[396/425] Compiling PluginCore Key.swift
[397/425] Compiling PluginCore ConstraintGenerator.swift
[398/425] Compiling PluginCore Registration.swift
[399/425] Compiling PluginCore EnumVariable.swift
[400/425] Compiling PluginCore MemberGroup.swift
[401/425] Compiling PluginCore TypeVariable.swift
[402/425] Compiling PluginCore Variable.swift
[404/426] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[405/427] Compiling SwiftCompilerPluginMessageHandling StandardIOMessageConnection.swift
[406/426] Compiling SwiftCompilerPluginMessageHandling LRUCache.swift
[407/426] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[408/426] Compiling SwiftCompilerPluginMessageHandling PluginMessages.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 UnTagged.swift
[428/448] Compiling MetaCodable CodedAs.swift
[429/448] Compiling MetaCodable CodedAt.swift
[430/450] Compiling MetaCodable Codable.swift
[431/450] Compiling MetaCodable CodingKeys.swift
[432/450] Compiling MetaCodable IgnoreCodingInitialized.swift
[433/450] Compiling MetaCodable DynamicCodable.swift
[434/450] Compiling MetaCodable DynamicCodableIdentifier+CodingKey.swift
[435/450] Compiling MetaCodable CodedBy.swift
[436/450] Compiling MetaCodable CodedIn.swift
[437/450] Compiling MetaCodable DynamicCodableIdentifier+Expressible.swift
[438/450] Compiling MetaCodable DynamicCodableIdentifier.swift
[439/450] Compiling MetaCodable HelperCoder.swift
[440/450] Compiling MetaCodable LossySequence.swift
[441/450] Compiling MetaCodable ContentAt.swift
[442/450] Compiling MetaCodable Default.swift
[443/450] Emitting module MetaCodable
[444/450] Compiling MetaCodable IgnoreCoding.swift
[445/450] Compiling MetaCodable MemberInit.swift
[447/463] Compiling HelperCoders String.swift
[448/464] Compiling HelperCoders Base64Coder.swift
[449/464] Compiling HelperCoders ConditionalCoder.swift
[450/464] Emitting module HelperCoders
[451/464] Compiling HelperCoders DateCoder.swift
[452/464] Compiling HelperCoders Since1970DateCoder.swift
[453/464] Compiling HelperCoders DefaultSequenceElementCoding.swift
[454/464] Compiling HelperCoders SequenceCoder.swift
[455/464] Compiling HelperCoders NonConformingCoder.swift
[456/464] Compiling HelperCoders PropertyWrapperCoder.swift
[457/464] Compiling HelperCoders Number.swift
[458/464] Compiling HelperCoders SequenceCoderConfiguration.swift
[459/464] Compiling HelperCoders Bool.swift
[460/464] Compiling HelperCoders ValueCoder.swift
[462/478] Compiling OpenAI Model.swift
[463/478] Compiling OpenAI Request.swift
[464/479] Compiling OpenAI MultiPartData.swift
/host/spi-builder-workspace/src/Support/MultiPartData.swift:55:11: error: cannot find type 'URLRequest' in scope
53 | }
54 |
55 | extension URLRequest {
   |           `- error: cannot find type 'URLRequest' in scope
56 | 	mutating func attach(formData form: FormData) {
57 | 		httpBody = form.data
[465/479] Compiling OpenAI OpenAI.swift
/host/spi-builder-workspace/src/OpenAI.swift:203:62: error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
201 | 	///
202 | 	/// - Throws: If the request fails to send or has a non-200 status code.
203 | 	func stream(request: URLRequest) async throws -> URLSession.AsyncBytes {
    |                                                              `- error: 'AsyncBytes' is not a member type of class 'FoundationNetworking.URLSession'
204 | 		let (data, res) = try await URLSession.shared.bytes(for: request)
205 |
FoundationNetworking.URLSession:1:12: note: 'URLSession' declared here
 1 | open class URLSession : NSObject, @unchecked Sendable {
   |            `- note: 'URLSession' declared here
 2 |     open class var shared: URLSession { get }
 3 |     public init(configuration: URLSessionConfiguration)
/host/spi-builder-workspace/src/OpenAI.swift:92:31: error: extraneous argument label 'request:' in call
 90 | 		req.addValue("application/json", forHTTPHeaderField: "Content-Type")
 91 |
 92 | 		let bytes = try await stream(request: req)
    |                               `- error: extraneous argument label 'request:' in call
 93 |
 94 | 		let (stream, continuation) = AsyncThrowingStream.makeStream(of: Event.self)
/host/spi-builder-workspace/src/OpenAI.swift:92:41: error: cannot convert value of type 'URLRequest' to expected argument type 'Request'
 90 | 		req.addValue("application/json", forHTTPHeaderField: "Content-Type")
 91 |
 92 | 		let bytes = try await stream(request: req)
    |                                         `- error: cannot convert value of type 'URLRequest' to expected argument type 'Request'
 93 |
 94 | 		let (stream, continuation) = AsyncThrowingStream.makeStream(of: Event.self)
/host/spi-builder-workspace/src/OpenAI.swift:162:7: error: value of type 'URLRequest' has no member 'attach'
160 | 		var req = request
161 | 		req.httpMethod = "POST"
162 | 		req.attach(formData: form)
    |       `- error: value of type 'URLRequest' has no member 'attach'
163 | 		req.url!.append(path: "v1/files")
164 |
/host/spi-builder-workspace/src/OpenAI.swift:204:49: error: value of type 'URLSession' has no member 'bytes'
202 | 	/// - Throws: If the request fails to send or has a non-200 status code.
203 | 	func stream(request: URLRequest) async throws -> URLSession.AsyncBytes {
204 | 		let (data, res) = try await URLSession.shared.bytes(for: request)
    |                                                 `- error: value of type 'URLSession' has no member 'bytes'
205 |
206 | 		guard let res = res as? HTTPURLResponse else { throw Error.invalidResponse(res) }
[466/479] Compiling OpenAI 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 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.
[469/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.
[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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[472/479] Compiling OpenAI Config.swift
macro expansion @Codable:34:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Config.swift:73:3: note: expanded code originates here
 71 | 		@CodedAs("json_object")
 72 | 		case jsonObject
 73 | 	}
    +--- macro expansion @Codable --------------------------------------
    |32 | extension TextConfig.Format: Encodable {
    |33 |     public func encode(to encoder: any Encoder) throws {
    |34 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |35 |         var typeContainer = container
    |36 |         switch self {
    +-------------------------------------------------------------------
 74 |
 75 | 	/// An object specifying the format that the model must output.
macro expansion @Codable:202:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Event.swift:239:2: note: expanded code originates here
237 | 	@CodedAs("error")
238 | 	case error(error: Response.Error)
239 | }
    +--- macro expansion @Codable --------------------------------------
    |200 | extension Event: Encodable {
    |201 |     public func encode(to encoder: any Encoder) throws {
    |202 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |    |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |203 |         var typeContainer = container
    |204 |         switch self {
    +-------------------------------------------------------------------
240 |
[473/479] Compiling OpenAI Event.swift
macro expansion @Codable:34:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Config.swift:73:3: note: expanded code originates here
 71 | 		@CodedAs("json_object")
 72 | 		case jsonObject
 73 | 	}
    +--- macro expansion @Codable --------------------------------------
    |32 | extension TextConfig.Format: Encodable {
    |33 |     public func encode(to encoder: any Encoder) throws {
    |34 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |   |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |35 |         var typeContainer = container
    |36 |         switch self {
    +-------------------------------------------------------------------
 74 |
 75 | 	/// An object specifying the format that the model must output.
macro expansion @Codable:202:13: warning: variable 'container' was never mutated; consider changing to 'let' constant
`- /host/spi-builder-workspace/src/Models/Event.swift:239:2: note: expanded code originates here
237 | 	@CodedAs("error")
238 | 	case error(error: Response.Error)
239 | }
    +--- macro expansion @Codable --------------------------------------
    |200 | extension Event: Encodable {
    |201 |     public func encode(to encoder: any Encoder) throws {
    |202 |         var container = encoder.container(keyedBy: CodingKeys.self)
    |    |             `- warning: variable 'container' was never mutated; consider changing to 'let' constant
    |203 |         var typeContainer = container
    |204 |         switch self {
    +-------------------------------------------------------------------
240 |
[474/479] 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
[475/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()
[476/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()
BUILD FAILURE 6.0 linux