The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OpenAI, reference main (15ecf9), with Swift 6.4 for visionOS using Xcode 27.0 on 23 Sep 2026 05:04:34 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme OpenAI -destination generic/platform=xrOS

Build Log

  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:966:51: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 964 |
 965 | 	@Codable public struct MCPListTools: Equatable, Hashable, Sendable {
 966 | 		@Codable @CodingKeys(.snake_case) public struct MCPTool: Equatable, Hashable, Sendable {
     |                                                   `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 967 | 			/// Additional annotations about the tool.
 968 | 			public struct Annotations: Equatable, Hashable, Codable, Sendable {
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:1034:39: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
1032 |
1033 | 		/// The label of the MCP server.
1034 | 		@CodedAs("server_label") public var server: String
     |                                       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
1035 |
1036 | 		/// The tools available on the server.
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:966:51: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 964 |
 965 | 	@Codable public struct MCPListTools: Equatable, Hashable, Sendable {
 966 | 		@Codable @CodingKeys(.snake_case) public struct MCPTool: Equatable, Hashable, Sendable {
     |                                                   `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 967 | 			/// Additional annotations about the tool.
 968 | 			public struct Annotations: Equatable, Hashable, Codable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:900:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 898 |
 899 | 	/// The output of a local shell tool call.
 900 | 	@Codable @CodingKeys(.snake_case) public struct LocalShellCallOutput: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 901 | 		/// The status of the item.
 902 | 		public enum Status: String, CaseIterable, Equatable, Hashable, Codable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:835:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 833 | 	}
 834 |
 835 | 	@Codable @CodingKeys(.snake_case) public struct LocalShellCall: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 836 | 		public enum Status: String, CaseIterable, Equatable, Hashable, Codable, Sendable {
 837 | 			case completed, incomplete
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:841:26: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 839 | 		}
 840 |
 841 | 		@Codable public struct Action: Equatable, Hashable, Sendable {
     |                          `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 842 | 			/// The command to run.
 843 | 			public var command: [String]
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:849:38: error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 847 |
 848 | 			/// Optional timeout in milliseconds for the command.
 849 | 			@CodedAt("timeout_ms") public var timeout: TimeInterval?
     |                                      `- error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 850 |
 851 | 			/// Optional user to run the command as.
MetaCodable.CodedAt:2:30: note: 'CodedAt' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAt(_ path: StaticString...) = #externalMacro(module: "MacroPlugin", type: "CodedAt")
  |                              `- note: 'CodedAt' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:787:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 785 |
 786 | 	/// A tool call to run code.
 787 | 	@Codable @CodingKeys(.snake_case) public struct CodeInterpreterCall: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 788 | 		public enum Status: String, CaseIterable, Equatable, Hashable, Codable, Sendable {
 789 | 			case completed, incomplete, interpreting, failed
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:794:41: error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 792 |
 793 | 		/// The outputs generated by the code interpreter, such as logs or images.
 794 | 		@Codable @CodedAt("type") public enum Output: Equatable, Hashable, Sendable {
     |                                         `- error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 795 | 			/// The logs output from the code interpreter.
 796 | 			/// - Parameter logs: The logs output from the code interpreter.
MetaCodable.CodedAt:2:30: note: 'CodedAt' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAt(_ path: StaticString...) = #externalMacro(module: "MacroPlugin", type: "CodedAt")
  |                              `- note: 'CodedAt' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:794:41: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 792 |
 793 | 		/// The outputs generated by the code interpreter, such as logs or images.
 794 | 		@Codable @CodedAt("type") public enum Output: Equatable, Hashable, Sendable {
     |                                         `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 795 | 			/// The logs output from the code interpreter.
 796 | 			/// - Parameter logs: The logs output from the code interpreter.
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:690:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 688 |
 689 | 	/// A description of the chain of thought used by a reasoning model while generating a response.
 690 | 	@Codable @CodingKeys(.snake_case) public struct Reasoning: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 691 | 		/// Reasoning text contents.
 692 | 		@Codable @CodedAt("type") public enum Summary: Equatable, Hashable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:692:41: error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 690 | 	@Codable @CodingKeys(.snake_case) public struct Reasoning: Equatable, Hashable, Sendable {
 691 | 		/// Reasoning text contents.
 692 | 		@Codable @CodedAt("type") public enum Summary: Equatable, Hashable, Sendable {
     |                                         `- error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 693 | 			/// A short summary of the reasoning used by the model when generating the response.
 694 | 			@CodedAs("summary_text")
MetaCodable.CodedAt:2:30: note: 'CodedAt' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAt(_ path: StaticString...) = #externalMacro(module: "MacroPlugin", type: "CodedAt")
  |                              `- note: 'CodedAt' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:692:41: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 690 | 	@Codable @CodingKeys(.snake_case) public struct Reasoning: Equatable, Hashable, Sendable {
 691 | 		/// Reasoning text contents.
 692 | 		@Codable @CodedAt("type") public enum Summary: Equatable, Hashable, Sendable {
     |                                         `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 693 | 			/// A short summary of the reasoning used by the model when generating the response.
 694 | 			@CodedAs("summary_text")
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:391:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 389 | 	///
 390 | 	/// See the [function calling guide](https://platform.openai.com/docs/guides/function-calling) for more information.
 391 | 	@Codable @CodingKeys(.snake_case) public struct FunctionCallOutput: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 392 | 		/// The unique ID of the function tool call output. Populated when this item is returned via API.
 393 | 		public var id: String?
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:346:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 344 | 	///
 345 | 	/// See the [function calling guide](https://platform.openai.com/docs/guides/function-calling) for more information.
 346 | 	@Codable @CodingKeys(.snake_case) public struct FunctionCall: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 347 | 		/// The status of the function call.
 348 | 		///
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:429:41: error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 427 | 		}
 428 |
 429 | 		@Codable @CodedAt("type") public enum Action: Equatable, Hashable, Sendable {
     |                                         `- error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 430 | 			/// Performs a web search query.
 431 | 			/// - Parameter query: The search query.
MetaCodable.CodedAt:2:30: note: 'CodedAt' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAt(_ path: StaticString...) = #externalMacro(module: "MacroPlugin", type: "CodedAt")
  |                              `- note: 'CodedAt' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:429:41: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 427 | 		}
 428 |
 429 | 		@Codable @CodedAt("type") public enum Action: Equatable, Hashable, Sendable {
     |                                         `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 430 | 			/// Performs a web search query.
 431 | 			/// - Parameter query: The search query.
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:639:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 637 |
 638 | 	/// The output of a computer use call.
 639 | 	@Codable @CodingKeys(.snake_case) public struct ComputerToolCallOutput: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 640 | 		/// A computer screenshot image used with the computer use tool.
 641 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:641:66: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 639 | 	@Codable @CodingKeys(.snake_case) public struct ComputerToolCallOutput: Equatable, Hashable, Sendable {
 640 | 		/// A computer screenshot image used with the computer use tool.
 641 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
     |                                                                  `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 642 | 			/// A computer screenshot image used with the computer use tool.
 643 | 			/// - Parameter fileId: The identifier of an uploaded file that contains the screenshot.
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:641:66: error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 639 | 	@Codable @CodingKeys(.snake_case) public struct ComputerToolCallOutput: Equatable, Hashable, Sendable {
 640 | 		/// A computer screenshot image used with the computer use tool.
 641 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
     |                                                                  `- error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 642 | 			/// A computer screenshot image used with the computer use tool.
 643 | 			/// - Parameter fileId: The identifier of an uploaded file that contains the screenshot.
MetaCodable.CodedAt:2:30: note: 'CodedAt' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAt(_ path: StaticString...) = #externalMacro(module: "MacroPlugin", type: "CodedAt")
  |                              `- note: 'CodedAt' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:641:66: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 639 | 	@Codable @CodingKeys(.snake_case) public struct ComputerToolCallOutput: Equatable, Hashable, Sendable {
 640 | 		/// A computer screenshot image used with the computer use tool.
 641 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
     |                                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 642 | 			/// A computer screenshot image used with the computer use tool.
 643 | 			/// - Parameter fileId: The identifier of an uploaded file that contains the screenshot.
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:471:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 469 | 	///
 470 | 	/// See the [computer action guide](https://platform.openai.com/docs/guides/tools-computer-use) for more information.
 471 | 	@Codable @CodingKeys(.snake_case) public struct ComputerToolCall: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 472 | 		/// The action of the computer call.
 473 | 		///
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:475:66: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 473 | 		///
 474 | 		/// See the [computer action guide](https://platform.openai.com/docs/guides/tools-computer-use) for more information.
 475 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Action: Equatable, Hashable, Sendable {
     |                                                                  `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 476 | 			/// A click action.
 477 | 			///
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:475:66: error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 473 | 		///
 474 | 		/// See the [computer action guide](https://platform.openai.com/docs/guides/tools-computer-use) for more information.
 475 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Action: Equatable, Hashable, Sendable {
     |                                                                  `- error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 476 | 			/// A click action.
 477 | 			///
MetaCodable.CodedAt:2:30: note: 'CodedAt' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAt(_ path: StaticString...) = #externalMacro(module: "MacroPlugin", type: "CodedAt")
  |                              `- note: 'CodedAt' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:475:66: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 473 | 		///
 474 | 		/// See the [computer action guide](https://platform.openai.com/docs/guides/tools-computer-use) for more information.
 475 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Action: Equatable, Hashable, Sendable {
     |                                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 476 | 			/// A click action.
 477 | 			///
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:612:14: error: external macro implementation type 'MacroPlugin.Default' could not be found for macro 'Default'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 610 | 		/// The action to execute.
 611 | 		@Default(Action.none)
 612 | 		public var action: Action
     |              `- error: external macro implementation type 'MacroPlugin.Default' could not be found for macro 'Default'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 613 |
 614 | 		/// The unique ID of the computer call.
MetaCodable.Default:2:30: note: 'Default' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro Default<T>(_ default: T) = #externalMacro(module: "MacroPlugin", type: "Default")
  |                              `- note: 'Default' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:109:66: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 107 | 	@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
 108 | 		/// The content of the output message.
 109 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Content: Equatable, Hashable, Sendable {
     |                                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 110 | 			/// An annotation of the text output.
 111 | 			@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Annotation: Equatable, Hashable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Input.swift:42:33: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 40 |
 41 | 	/// Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses.
 42 | 	@Codable @UnTagged public enum Content: Equatable, Hashable, Sendable {
    |                                 `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 43 | 		/// Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses.
 44 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum ContentItem: Equatable, Hashable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Input.swift:44:66: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 42 | 	@Codable @UnTagged public enum Content: Equatable, Hashable, Sendable {
 43 | 		/// Text, image, or audio input to the model, used to generate a response. Can also contain previous assistant responses.
 44 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum ContentItem: Equatable, Hashable, Sendable {
    |                                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 45 | 			/// The detail level of the image sent to the model.
 46 | 			public enum ImageDetail: String, CaseIterable, Equatable, Hashable, Codable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:471:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 469 | 	///
 470 | 	/// See the [computer action guide](https://platform.openai.com/docs/guides/tools-computer-use) for more information.
 471 | 	@Codable @CodingKeys(.snake_case) public struct ComputerToolCall: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 472 | 		/// The action of the computer call.
 473 | 		///
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:639:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 637 |
 638 | 	/// The output of a computer use call.
 639 | 	@Codable @CodingKeys(.snake_case) public struct ComputerToolCallOutput: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 640 | 		/// A computer screenshot image used with the computer use tool.
 641 | 		@Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Output: Equatable, Hashable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:346:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 344 | 	///
 345 | 	/// See the [function calling guide](https://platform.openai.com/docs/guides/function-calling) for more information.
 346 | 	@Codable @CodingKeys(.snake_case) public struct FunctionCall: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 347 | 		/// The status of the function call.
 348 | 		///
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:391:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 389 | 	///
 390 | 	/// See the [function calling guide](https://platform.openai.com/docs/guides/function-calling) for more information.
 391 | 	@Codable @CodingKeys(.snake_case) public struct FunctionCallOutput: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 392 | 		/// The unique ID of the function tool call output. Populated when this item is returned via API.
 393 | 		public var id: String?
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:690:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 688 |
 689 | 	/// A description of the chain of thought used by a reasoning model while generating a response.
 690 | 	@Codable @CodingKeys(.snake_case) public struct Reasoning: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 691 | 		/// Reasoning text contents.
 692 | 		@Codable @CodedAt("type") public enum Summary: Equatable, Hashable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:787:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 785 |
 786 | 	/// A tool call to run code.
 787 | 	@Codable @CodingKeys(.snake_case) public struct CodeInterpreterCall: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 788 | 		public enum Status: String, CaseIterable, Equatable, Hashable, Codable, Sendable {
 789 | 			case completed, incomplete, interpreting, failed
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:835:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 833 | 	}
 834 |
 835 | 	@Codable @CodingKeys(.snake_case) public struct LocalShellCall: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 836 | 		public enum Status: String, CaseIterable, Equatable, Hashable, Codable, Sendable {
 837 | 			case completed, incomplete
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:900:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 898 |
 899 | 	/// The output of a local shell tool call.
 900 | 	@Codable @CodingKeys(.snake_case) public struct LocalShellCallOutput: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 901 | 		/// The status of the item.
 902 | 		public enum Status: String, CaseIterable, Equatable, Hashable, Codable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:965:25: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 963 | 	}
 964 |
 965 | 	@Codable public struct MCPListTools: Equatable, Hashable, Sendable {
     |                         `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 966 | 		@Codable @CodingKeys(.snake_case) public struct MCPTool: Equatable, Hashable, Sendable {
 967 | 			/// Additional annotations about the tool.
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:1056:25: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
1054 | 	}
1055 |
1056 | 	@Codable public struct MCPApprovalRequest: Equatable, Hashable, Sendable {
     |                         `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
1057 | 		/// The unique ID of the approval request.
1058 | 		public var id: String
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:1083:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
1081 | 	}
1082 |
1083 | 	@Codable @CodingKeys(.snake_case) public struct MCPApprovalResponse: Equatable, Hashable, Sendable {
     |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
1084 | 		/// The unique ID of the approval response
1085 | 		public var id: String?
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Models/Item.swift (in target 'OpenAI' from project 'OpenAI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Item.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Models/JSONSchema.swift (in target 'OpenAI' from project 'OpenAI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile JSONSchema.swift
SwiftCompile normal arm64 Compiling\ Request.swift /Users/admin/builder/spi-builder-workspace/src/Models/Request.swift (in target 'OpenAI' from project 'OpenAI')
dyld[1306]: Symbol not found: _swift_initBorrow
  Referenced from: <EC1B44AB-9176-36DF-9987-50AC74F684E0> /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin
  Expected in:     <83794FB3-DE9B-3D23-AB5E-2C1D5D30F134> /usr/lib/swift/libswiftCore.dylib
/Users/admin/builder/spi-builder-workspace/src/Models/Request.swift:5:49: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  3 |
  4 | /// A request to the OpenAI Response API.
  5 | @Codable @CodingKeys(.snake_case) public struct Request: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  6 | 	/// Additional output data to include in the model response.
  7 | 	public enum Include: String, Equatable, Hashable, Codable, Sendable {
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Request.swift:5:49: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  3 |
  4 | /// A request to the OpenAI Response API.
  5 | @Codable @CodingKeys(.snake_case) public struct Request: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  6 | 	/// Additional output data to include in the model response.
  7 | 	public enum Include: String, Equatable, Hashable, Codable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Request.swift:5:49: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  3 |
  4 | /// A request to the OpenAI Response API.
  5 | @Codable @CodingKeys(.snake_case) public struct Request: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  6 | 	/// Additional output data to include in the model response.
  7 | 	public enum Include: String, Equatable, Hashable, Codable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:56:66: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 57 |     /// Used to generate text responses.
 58 |     case text
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Input.swift:5:32: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  3 |
  4 | /// Text, image, or file inputs to the model, used to generate a response.
  5 | @Codable @UnTagged public enum Input: Equatable, Hashable, Sendable {
    |                                `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  6 | 	/// A list of items used to generate a model response.
  7 | 	@Codable @CodingKeys(.snake_case) public struct ItemList: Equatable, Hashable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:9:49: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  7 | /// Configuration options for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
  8 | /// Only available for o-series models.
  9 | @Codable @CodingKeys(.snake_case) public struct ReasoningConfig: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 10 |   /// Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
 11 |   ///
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:12:64: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 10 | /// - **Built-in tools**: Tools that are provided by OpenAI that extend the model's capabilities, like [web search](https://platform.openai.com/docs/guides/tools-web-search) or [file search](https://platform.openai.com/docs/guides/tools-file-search). Learn more about [built-in tools](https://platform.openai.com/docs/guides/tools).
 11 | /// - **Function calls (custom tools)**: Functions that are defined by you, enabling the model to call your own code. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).
 12 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Tool: Equatable, Hashable, Sendable {
    |                                                                `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 13 |   public enum Choice: Equatable, Hashable, Sendable {
 14 |     /// The model will not call any tool and instead generates a message.
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:56:66: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 57 |     /// Used to generate text responses.
 58 |     case text
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:56:66: error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 57 |     /// Used to generate text responses.
 58 |     case text
MetaCodable.CodedAt:2:30: note: 'CodedAt' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAt(_ path: StaticString...) = #externalMacro(module: "MacroPlugin", type: "CodedAt")
  |                              `- note: 'CodedAt' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:9:49: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  7 | /// Configuration options for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
  8 | /// Only available for o-series models.
  9 | @Codable @CodingKeys(.snake_case) public struct ReasoningConfig: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 10 |   /// Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
 11 |   ///
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Input.swift:21:40: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 19 | 	}
 20 |
 21 | 	@Codable @CodedAt("type") public enum ListItem: Equatable, Hashable, Sendable {
    |                                        `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 22 | 		/// A message input to the model with a role indicating instruction following hierarchy.
 23 | 		///
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/src/Extensions/AsyncBytes+collect.swift /Users/admin/builder/spi-builder-workspace/src/Extensions/Collection+safeAccess.swift /Users/admin/builder/spi-builder-workspace/src/Extensions/JSONEncoder+string.swift /Users/admin/builder/spi-builder-workspace/src/Extensions/URL+appendOptionalQueryItems.swift /Users/admin/builder/spi-builder-workspace/src/Models/Config.swift /Users/admin/builder/spi-builder-workspace/src/Models/Event.swift /Users/admin/builder/spi-builder-workspace/src/Models/File.swift /Users/admin/builder/spi-builder-workspace/src/Models/Input.swift /Users/admin/builder/spi-builder-workspace/src/Models/Item.swift /Users/admin/builder/spi-builder-workspace/src/Models/JSONSchema.swift /Users/admin/builder/spi-builder-workspace/src/Models/Message.swift /Users/admin/builder/spi-builder-workspace/src/Models/Model.swift -primary-file /Users/admin/builder/spi-builder-workspace/src/Models/Request.swift /Users/admin/builder/spi-builder-workspace/src/Models/Response.swift /Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift /Users/admin/builder/spi-builder-workspace/src/Models/WebhookEvent.swift /Users/admin/builder/spi-builder-workspace/src/Protocol/Schemable.swift /Users/admin/builder/spi-builder-workspace/src/Support/MultiPartData.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/Request.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/Request.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/Request.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/Request.dia -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin\#MacroPlugin -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/OpenAI-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin\#MacroPlugin -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name OpenAI -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/OpenAI_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/Request.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/OpenAI.swiftmodule -index-unit-output-path /OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/Request.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Models/Request.swift (in target 'OpenAI' from project 'OpenAI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Request.swift
SwiftCompile normal arm64 Compiling\ Tool.swift /Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift (in target 'OpenAI' from project 'OpenAI')
dyld[1309]: Symbol not found: _swift_initBorrow
  Referenced from: <EC1B44AB-9176-36DF-9987-50AC74F684E0> /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin
  Expected in:     <83794FB3-DE9B-3D23-AB5E-2C1D5D30F134> /usr/lib/swift/libswiftCore.dylib
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:12:64: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 10 | /// - **Built-in tools**: Tools that are provided by OpenAI that extend the model's capabilities, like [web search](https://platform.openai.com/docs/guides/tools-web-search) or [file search](https://platform.openai.com/docs/guides/tools-file-search). Learn more about [built-in tools](https://platform.openai.com/docs/guides/tools).
 11 | /// - **Function calls (custom tools)**: Functions that are defined by you, enabling the model to call your own code. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).
 12 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Tool: Equatable, Hashable, Sendable {
    |                                                                `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 13 |   public enum Choice: Equatable, Hashable, Sendable {
 14 |     /// The model will not call any tool and instead generates a message.
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:12:64: error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 10 | /// - **Built-in tools**: Tools that are provided by OpenAI that extend the model's capabilities, like [web search](https://platform.openai.com/docs/guides/tools-web-search) or [file search](https://platform.openai.com/docs/guides/tools-file-search). Learn more about [built-in tools](https://platform.openai.com/docs/guides/tools).
 11 | /// - **Function calls (custom tools)**: Functions that are defined by you, enabling the model to call your own code. Learn more about [function calling](https://platform.openai.com/docs/guides/function-calling).
 12 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Tool: Equatable, Hashable, Sendable {
    |                                                                `- error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 13 |   public enum Choice: Equatable, Hashable, Sendable {
 14 |     /// The model will not call any tool and instead generates a message.
MetaCodable.CodedAt:2:30: note: 'CodedAt' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAt(_ path: StaticString...) = #externalMacro(module: "MacroPlugin", type: "CodedAt")
  |                              `- note: 'CodedAt' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:56:66: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 57 |     /// Used to generate text responses.
 58 |     case text
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:57:29: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
 53 |
 54 |     /// Defines the type of parameters accepted by the function.
 55 |     public enum Parameters: Codable, Sendable {
    |                 `- note: add '@available' attribute to enclosing enum
 56 |       case jsonSchema(JSONSchema)
 57 |       case generationSchema(GenerationSchema)
    |                             `- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
 58 |
 59 |       public init(from decoder: Decoder) throws {
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:98:71: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
 39 |   }
 40 |
 41 |   public struct Function: Equatable, Hashable, Codable, Sendable {
    |                 `- note: add '@available' attribute to enclosing struct
 42 |     /// The name of the function to call.
 43 |     public var name: String
    :
 96 |
 97 |     /// Create a new `Function` instance with a raw JSON string parameter definition.
 98 |     public init(name: String, description: String? = nil, parameters: GenerationSchema, strict: Bool = true) {
    |            |                                                          `- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
    |            `- note: add '@available' attribute to enclosing initializer
 99 |       self.init(name: name, description: description, parameters: .generationSchema(parameters), strict: strict)
100 |     }
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:116:51: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
114 |   ///
115 |   /// Learn more about the [file search tool](https://platform.openai.com/docs/guides/tools-file-search).
116 |   @Codable @CodingKeys(.snake_case) public struct FileSearch: Equatable, Hashable, Sendable {
    |                                                   `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
117 |     /// A filter to apply based on file attributes.
118 |     @Codable @UnTagged public enum Filters: Equatable, Hashable, Sendable {
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:116:51: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
114 |   ///
115 |   /// Learn more about the [file search tool](https://platform.openai.com/docs/guides/tools-file-search).
116 |   @Codable @CodingKeys(.snake_case) public struct FileSearch: Equatable, Hashable, Sendable {
    |                                                   `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
117 |     /// A filter to apply based on file attributes.
118 |     @Codable @UnTagged public enum Filters: Equatable, Hashable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:118:36: error: external macro implementation type 'MacroPlugin.UnTagged' could not be found for macro 'UnTagged()'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
116 |   @Codable @CodingKeys(.snake_case) public struct FileSearch: Equatable, Hashable, Sendable {
117 |     /// A filter to apply based on file attributes.
118 |     @Codable @UnTagged public enum Filters: Equatable, Hashable, Sendable {
    |                                    `- error: external macro implementation type 'MacroPlugin.UnTagged' could not be found for macro 'UnTagged()'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
119 |       /// A filter used to compare a specified attribute key to a given value using a defined comparison operation.
120 |       public struct Comparison: Equatable, Hashable, Codable, Sendable {
MetaCodable.UnTagged:2:30: note: 'UnTagged()' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro UnTagged() = #externalMacro(module: "MacroPlugin", type: "UnTagged")
  |                              `- note: 'UnTagged()' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:188:53: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
186 |
187 |     /// Ranking options for search.
188 |     @Codable @CodingKeys(.snake_case) public struct RankingOptions: Equatable, Hashable, Sendable {
    |                                                     `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
189 |       /// The ranker to use for the file search.
190 |       public var ranker: String?
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:116:51: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
114 |   ///
115 |   /// Learn more about the [file search tool](https://platform.openai.com/docs/guides/tools-file-search).
116 |   @Codable @CodingKeys(.snake_case) public struct FileSearch: Equatable, Hashable, Sendable {
    |                                                   `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
117 |     /// A filter to apply based on file attributes.
118 |     @Codable @UnTagged public enum Filters: Equatable, Hashable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:122:40: error: external macro implementation type 'MacroPlugin.UnTagged' could not be found for macro 'UnTagged()'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
120 |       public struct Comparison: Equatable, Hashable, Codable, Sendable {
121 |         /// The value to compare against the attribute key.
122 |         @Codable @UnTagged public enum Value: Equatable, Hashable, Sendable {
    |                                        `- error: external macro implementation type 'MacroPlugin.UnTagged' could not be found for macro 'UnTagged()'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
123 |           case bool(Bool)
124 |           case number(Int)
MetaCodable.UnTagged:2:30: note: 'UnTagged()' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro UnTagged() = #externalMacro(module: "MacroPlugin", type: "UnTagged")
  |                              `- note: 'UnTagged()' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:122:40: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
120 |       public struct Comparison: Equatable, Hashable, Codable, Sendable {
121 |         /// The value to compare against the attribute key.
122 |         @Codable @UnTagged public enum Value: Equatable, Hashable, Sendable {
    |                                        `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
123 |           case bool(Bool)
124 |           case number(Int)
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift (in target 'OpenAI' from project 'OpenAI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Tool.swift
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:120:21: error: type 'Tool.FileSearch.Filters.Comparison' does not conform to protocol 'Decodable'
118 |     @Codable @UnTagged public enum Filters: Equatable, Hashable, Sendable {
119 |       /// A filter used to compare a specified attribute key to a given value using a defined comparison operation.
120 |       public struct Comparison: Equatable, Hashable, Codable, Sendable {
    |                     `- error: type 'Tool.FileSearch.Filters.Comparison' does not conform to protocol 'Decodable'
121 |         /// The value to compare against the attribute key.
122 |         @Codable @UnTagged public enum Value: Equatable, Hashable, Sendable {
    :
141 |         public var type: ComparisonType
142 |         /// The value to compare against the attribute key.
143 |         public var value: Value
    |                    `- note: cannot automatically synthesize 'Decodable' because 'Value' does not conform to 'Decodable'
144 |
145 |         /// Create a new comparison filter.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:120:21: error: type 'Tool.FileSearch.Filters.Comparison' does not conform to protocol 'Encodable'
118 |     @Codable @UnTagged public enum Filters: Equatable, Hashable, Sendable {
119 |       /// A filter used to compare a specified attribute key to a given value using a defined comparison operation.
120 |       public struct Comparison: Equatable, Hashable, Codable, Sendable {
    |                     `- error: type 'Tool.FileSearch.Filters.Comparison' does not conform to protocol 'Encodable'
121 |         /// The value to compare against the attribute key.
122 |         @Codable @UnTagged public enum Value: Equatable, Hashable, Sendable {
    :
141 |         public var type: ComparisonType
142 |         /// The value to compare against the attribute key.
143 |         public var value: Value
    |                    `- note: cannot automatically synthesize 'Encodable' because 'Value' does not conform to 'Encodable'
144 |
145 |         /// Create a new comparison filter.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:118:36: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
116 |   @Codable @CodingKeys(.snake_case) public struct FileSearch: Equatable, Hashable, Sendable {
117 |     /// A filter to apply based on file attributes.
118 |     @Codable @UnTagged public enum Filters: Equatable, Hashable, Sendable {
    |                                    `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
119 |       /// A filter used to compare a specified attribute key to a given value using a defined comparison operation.
120 |       public struct Comparison: Equatable, Hashable, Codable, Sendable {
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift:158:21: error: type 'Tool.FileSearch.Filters.Compound' does not conform to protocol 'Decodable'
156 |
157 |       /// Combine multiple filters using and or or.
158 |       public struct Compound: Equatable, Hashable, Codable, Sendable {
    |                     `- error: type 'Tool.FileSearch.Filters.Compound' does not conform to protocol 'Decodable'
159 |         /// Type of operation.
160 |         public enum CompoundType: String, CaseIterable, Equatable, Hashable, Codable, Sendable {
    :
164 |
165 |         /// Array of filters to combine.
166 |         public var filters: [Filters]
    |                    `- note: cannot automatically synthesize 'Decodable' because '[Filters]' does not conform to 'Decodable'
167 |
168 |         /// Type of operation.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
SwiftCompile normal arm64 Compiling\ Config.swift,\ Event.swift /Users/admin/builder/spi-builder-workspace/src/Models/Config.swift /Users/admin/builder/spi-builder-workspace/src/Models/Event.swift (in target 'OpenAI' from project 'OpenAI')
dyld[1307]: Symbol not found: _swift_initBorrow
  Referenced from: <EC1B44AB-9176-36DF-9987-50AC74F684E0> /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin
  Expected in:     <83794FB3-DE9B-3D23-AB5E-2C1D5D30F134> /usr/lib/swift/libswiftCore.dylib
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:9:49: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  7 | /// Configuration options for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
  8 | /// Only available for o-series models.
  9 | @Codable @CodingKeys(.snake_case) public struct ReasoningConfig: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 10 |   /// Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
 11 |   ///
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:9:49: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  7 | /// Configuration options for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
  8 | /// Only available for o-series models.
  9 | @Codable @CodingKeys(.snake_case) public struct ReasoningConfig: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 10 |   /// Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
 11 |   ///
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:9:49: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  7 | /// Configuration options for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
  8 | /// Only available for o-series models.
  9 | @Codable @CodingKeys(.snake_case) public struct ReasoningConfig: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 10 |   /// Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
 11 |   ///
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:56:66: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 57 |     /// Used to generate text responses.
 58 |     case text
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:56:66: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 57 |     /// Used to generate text responses.
 58 |     case text
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:56:66: error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 57 |     /// Used to generate text responses.
 58 |     case text
MetaCodable.CodedAt:2:30: note: 'CodedAt' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAt(_ path: StaticString...) = #externalMacro(module: "MacroPlugin", type: "CodedAt")
  |                              `- note: 'CodedAt' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:54:15: error: type 'TextConfig' does not conform to protocol 'Decodable'
 52 | /// - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
 53 | /// - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
    |               `- error: type 'TextConfig' does not conform to protocol 'Decodable'
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    :
105 |
106 |   /// An object specifying the format that the model must output.
107 |   public var format: Format
    |              `- note: cannot automatically synthesize 'Decodable' because 'Format' does not conform to 'Decodable'
108 |
109 |   /// Creates a new `TextConfig` instance.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:65:10: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 63 |     /// - Parameter strict: Whether to enable strict schema adherence when generating the output. If set to `true`, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when `strict` is `true`.
 64 |     @CodedAs("json_schema")
 65 |     case jsonSchema(
    |          `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 66 |       schema: JSONSchema,
 67 |       description: String? = nil,
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:77:10: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 75 |     /// Note that the model will not generate JSON without a system or user message instructing it to do so.
 76 |     @CodedAs("json_object")
 77 |     case jsonObject
    |          `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 78 |
 79 |     @CodedAs("json_schema")
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:80:10: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 78 |
 79 |     @CodedAs("json_schema")
 80 |     case generationSchema(
    |          `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 81 |       schema: GenerationSchema,
 82 |       description: String? = nil,
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:81:15: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- note: add '@available' attribute to enclosing enum
 57 |     /// Used to generate text responses.
 58 |     case text
    :
 79 |     @CodedAs("json_schema")
 80 |     case generationSchema(
 81 |       schema: GenerationSchema,
    |               `- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
 82 |       description: String? = nil,
 83 |       name: String,
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Models/Config.swift (in target 'OpenAI' from project 'OpenAI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Config.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Models/Event.swift (in target 'OpenAI' from project 'OpenAI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Event.swift
SwiftCompile normal arm64 Compiling\ File.swift,\ Input.swift /Users/admin/builder/spi-builder-workspace/src/Models/File.swift /Users/admin/builder/spi-builder-workspace/src/Models/Input.swift (in target 'OpenAI' from project 'OpenAI')
dyld[1305]: Symbol not found: _swift_initBorrow
  Referenced from: <EC1B44AB-9176-36DF-9987-50AC74F684E0> /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin
  Expected in:     <83794FB3-DE9B-3D23-AB5E-2C1D5D30F134> /usr/lib/swift/libswiftCore.dylib
/Users/admin/builder/spi-builder-workspace/src/Models/File.swift:5:49: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  3 | import HelperCoders
  4 |
  5 | @Codable @CodingKeys(.snake_case) public struct File: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  6 | 	public struct Upload: Equatable, Hashable, Sendable {
  7 | 		/// The name of the file
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/File.swift:5:49: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  3 | import HelperCoders
  4 |
  5 | @Codable @CodingKeys(.snake_case) public struct File: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  6 | 	public struct Upload: Equatable, Hashable, Sendable {
  7 | 		/// The name of the file
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/File.swift:65:13: error: external macro implementation type 'MacroPlugin.CodedBy' could not be found for macro 'CodedBy'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 63 | 	/// The `Date` when the file was created.
 64 | 	@CodedBy(Since1970DateCoder())
 65 | 	public var createdAt: Date
    |             `- error: external macro implementation type 'MacroPlugin.CodedBy' could not be found for macro 'CodedBy'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 66 |
 67 | 	/// The `Date` when the file will expire.
MetaCodable.CodedBy:2:30: note: 'CodedBy' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedBy<T>(_ helper: T) = #externalMacro(module: "MacroPlugin", type: "CodedBy") where T : MetaCodable.HelperCoder
  |                              `- note: 'CodedBy' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/File.swift:69:13: error: external macro implementation type 'MacroPlugin.CodedBy' could not be found for macro 'CodedBy'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 67 | 	/// The `Date` when the file will expire.
 68 | 	@CodedBy(Since1970DateCoder())
 69 | 	public var expiresAt: Date?
    |             `- error: external macro implementation type 'MacroPlugin.CodedBy' could not be found for macro 'CodedBy'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 70 |
 71 | 	/// The current status of the file
MetaCodable.CodedBy:2:30: note: 'CodedBy' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedBy<T>(_ helper: T) = #externalMacro(module: "MacroPlugin", type: "CodedBy") where T : MetaCodable.HelperCoder
  |                              `- note: 'CodedBy' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/File.swift:5:49: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  3 | import HelperCoders
  4 |
  5 | @Codable @CodingKeys(.snake_case) public struct File: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  6 | 	public struct Upload: Equatable, Hashable, Sendable {
  7 | 		/// The name of the file
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:56:66: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 57 |     /// Used to generate text responses.
 58 |     case text
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Models/File.swift (in target 'OpenAI' from project 'OpenAI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile File.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Models/Input.swift (in target 'OpenAI' from project 'OpenAI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Input.swift
/Users/admin/builder/spi-builder-workspace/src/Models/Input.swift:5:32: error: external macro implementation type 'MacroPlugin.UnTagged' could not be found for macro 'UnTagged()'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  3 |
  4 | /// Text, image, or file inputs to the model, used to generate a response.
  5 | @Codable @UnTagged public enum Input: Equatable, Hashable, Sendable {
    |                                `- error: external macro implementation type 'MacroPlugin.UnTagged' could not be found for macro 'UnTagged()'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  6 | 	/// A list of items used to generate a model response.
  7 | 	@Codable @CodingKeys(.snake_case) public struct ItemList: Equatable, Hashable, Sendable {
MetaCodable.UnTagged:2:30: note: 'UnTagged()' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro UnTagged() = #externalMacro(module: "MacroPlugin", type: "UnTagged")
  |                              `- note: 'UnTagged()' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Input.swift:7:50: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  5 | @Codable @UnTagged public enum Input: Equatable, Hashable, Sendable {
  6 | 	/// A list of items used to generate a model response.
  7 | 	@Codable @CodingKeys(.snake_case) public struct ItemList: Equatable, Hashable, Sendable {
    |                                                  `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  8 | 		/// A list of items used to generate this response.
  9 | 		public var data: [Item.Input]
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Input.swift:7:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  5 | @Codable @UnTagged public enum Input: Equatable, Hashable, Sendable {
  6 | 	/// A list of items used to generate a model response.
  7 | 	@Codable @CodingKeys(.snake_case) public struct ItemList: Equatable, Hashable, Sendable {
    |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  8 | 		/// A list of items used to generate this response.
  9 | 		public var data: [Item.Input]
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Input.swift:7:50: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  5 | @Codable @UnTagged public enum Input: Equatable, Hashable, Sendable {
  6 | 	/// A list of items used to generate a model response.
  7 | 	@Codable @CodingKeys(.snake_case) public struct ItemList: Equatable, Hashable, Sendable {
    |                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  8 | 		/// A list of items used to generate this response.
  9 | 		public var data: [Item.Input]
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
SwiftCompile normal arm64 Compiling\ Model.swift /Users/admin/builder/spi-builder-workspace/src/Models/Model.swift (in target 'OpenAI' from project 'OpenAI')
dyld[1312]: Symbol not found: _swift_initBorrow
  Referenced from: <EC1B44AB-9176-36DF-9987-50AC74F684E0> /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin
  Expected in:     <83794FB3-DE9B-3D23-AB5E-2C1D5D30F134> /usr/lib/swift/libswiftCore.dylib
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:56:66: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 57 |     /// Used to generate text responses.
 58 |     case text
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/src/Extensions/AsyncBytes+collect.swift /Users/admin/builder/spi-builder-workspace/src/Extensions/Collection+safeAccess.swift /Users/admin/builder/spi-builder-workspace/src/Extensions/JSONEncoder+string.swift /Users/admin/builder/spi-builder-workspace/src/Extensions/URL+appendOptionalQueryItems.swift /Users/admin/builder/spi-builder-workspace/src/Models/Config.swift /Users/admin/builder/spi-builder-workspace/src/Models/Event.swift /Users/admin/builder/spi-builder-workspace/src/Models/File.swift /Users/admin/builder/spi-builder-workspace/src/Models/Input.swift /Users/admin/builder/spi-builder-workspace/src/Models/Item.swift /Users/admin/builder/spi-builder-workspace/src/Models/JSONSchema.swift /Users/admin/builder/spi-builder-workspace/src/Models/Message.swift -primary-file /Users/admin/builder/spi-builder-workspace/src/Models/Model.swift /Users/admin/builder/spi-builder-workspace/src/Models/Request.swift /Users/admin/builder/spi-builder-workspace/src/Models/Response.swift /Users/admin/builder/spi-builder-workspace/src/Models/Tool.swift /Users/admin/builder/spi-builder-workspace/src/Models/WebhookEvent.swift /Users/admin/builder/spi-builder-workspace/src/Protocol/Schemable.swift /Users/admin/builder/spi-builder-workspace/src/Support/MultiPartData.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/Model.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/Model.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/Model.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/Model.dia -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/SwiftUI.swiftoverlay -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin\#MacroPlugin -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/OpenAI-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin\#MacroPlugin -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name OpenAI -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/OpenAI_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/Model.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/OpenAI.swiftmodule -index-unit-output-path /OpenAI.build/Debug-xros/OpenAI-t.build/Objects-normal/arm64/Model.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Models/Model.swift (in target 'OpenAI' from project 'OpenAI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Model.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ OpenAI (in target 'OpenAI' from project 'OpenAI')
dyld[1311]: Symbol not found: _swift_initBorrow
  Referenced from: <EC1B44AB-9176-36DF-9987-50AC74F684E0> /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin
  Expected in:     <83794FB3-DE9B-3D23-AB5E-2C1D5D30F134> /usr/lib/swift/libswiftCore.dylib
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:9:49: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  7 | /// Configuration options for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
  8 | /// Only available for o-series models.
  9 | @Codable @CodingKeys(.snake_case) public struct ReasoningConfig: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 10 |   /// Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
 11 |   ///
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:9:49: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  7 | /// Configuration options for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
  8 | /// Only available for o-series models.
  9 | @Codable @CodingKeys(.snake_case) public struct ReasoningConfig: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 10 |   /// Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
 11 |   ///
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:9:49: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  7 | /// Configuration options for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
  8 | /// Only available for o-series models.
  9 | @Codable @CodingKeys(.snake_case) public struct ReasoningConfig: Equatable, Hashable, Sendable {
    |                                                 `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 10 |   /// Constrains effort on reasoning for [reasoning models](https://platform.openai.com/docs/guides/reasoning).
 11 |   ///
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:56:66: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 57 |     /// Used to generate text responses.
 58 |     case text
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:56:66: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 57 |     /// Used to generate text responses.
 58 |     case text
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:56:66: error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 57 |     /// Used to generate text responses.
 58 |     case text
MetaCodable.CodedAt:2:30: note: 'CodedAt' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAt(_ path: StaticString...) = #externalMacro(module: "MacroPlugin", type: "CodedAt")
  |                              `- note: 'CodedAt' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:54:15: error: type 'TextConfig' does not conform to protocol 'Decodable'
 52 | /// - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
 53 | /// - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
    |               `- error: type 'TextConfig' does not conform to protocol 'Decodable'
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    :
105 |
106 |   /// An object specifying the format that the model must output.
107 |   public var format: Format
    |              `- note: cannot automatically synthesize 'Decodable' because 'Format' does not conform to 'Decodable'
108 |
109 |   /// Creates a new `TextConfig` instance.
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
  | `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:65:10: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 63 |     /// - Parameter strict: Whether to enable strict schema adherence when generating the output. If set to `true`, the model will always follow the exact schema defined in the schema field. Only a subset of JSON Schema is supported when `strict` is `true`.
 64 |     @CodedAs("json_schema")
 65 |     case jsonSchema(
    |          `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 66 |       schema: JSONSchema,
 67 |       description: String? = nil,
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:77:10: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 75 |     /// Note that the model will not generate JSON without a system or user message instructing it to do so.
 76 |     @CodedAs("json_object")
 77 |     case jsonObject
    |          `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 78 |
 79 |     @CodedAs("json_schema")
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:80:10: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 78 |
 79 |     @CodedAs("json_schema")
 80 |     case generationSchema(
    |          `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 81 |       schema: GenerationSchema,
 82 |       description: String? = nil,
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:81:15: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    |                                                                  `- note: add '@available' attribute to enclosing enum
 57 |     /// Used to generate text responses.
 58 |     case text
    :
 79 |     @CodedAs("json_schema")
 80 |     case generationSchema(
 81 |       schema: GenerationSchema,
    |               `- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
 82 |       description: String? = nil,
 83 |       name: String,
/Users/admin/builder/spi-builder-workspace/src/Models/Config.swift:54:15: error: type 'TextConfig' does not conform to protocol 'Encodable'
 52 | /// - [Text inputs and outputs](https://platform.openai.com/docs/guides/text)
 53 | /// - [Structured Outputs](https://platform.openai.com/docs/guides/structured-outputs)
 54 | public struct TextConfig: Equatable, Hashable, Codable, Sendable {
    |               `- error: type 'TextConfig' does not conform to protocol 'Encodable'
 55 |   /// An object specifying the format that the model must output.
 56 |   @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Format: Equatable, Hashable, Sendable {
    :
105 |
106 |   /// An object specifying the format that the model must output.
107 |   public var format: Format
    |              `- note: cannot automatically synthesize 'Encodable' because 'Format' does not conform to 'Encodable'
108 |
109 |   /// Creates a new `TextConfig` instance.
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
  |      `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:5:64: error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  3 |
  4 | /// A streaming event emitted by the Responses API
  5 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Event: Equatable, Sendable {
    |                                                                `- error: external macro implementation type 'MacroPlugin.CodingKeys' could not be found for macro 'CodingKeys'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  6 | 	/// An event that is emitted when a response is created.
  7 | 	///
MetaCodable.CodingKeys:2:30: note: 'CodingKeys' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodingKeys(_ strategy: MetaCodable.CodingKeyNameStrategy) = #externalMacro(module: "MacroPlugin", type: "CodingKeys")
  |                              `- note: 'CodingKeys' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:5:64: error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  3 |
  4 | /// A streaming event emitted by the Responses API
  5 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Event: Equatable, Sendable {
    |                                                                `- error: external macro implementation type 'MacroPlugin.CodedAt' could not be found for macro 'CodedAt'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  6 | 	/// An event that is emitted when a response is created.
  7 | 	///
MetaCodable.CodedAt:2:30: note: 'CodedAt' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAt(_ path: StaticString...) = #externalMacro(module: "MacroPlugin", type: "CodedAt")
  |                              `- note: 'CodedAt' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:10:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  8 | 	/// - Parameter response: The response that was created.
  9 | 	@CodedAs("response.created")
 10 | 	case responseCreated(response: Response)
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 11 |
 12 | 	/// Emitted when the response is in progress.
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:5:64: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  3 |
  4 | /// A streaming event emitted by the Responses API
  5 | @Codable @CodedAt("type") @CodingKeys(.snake_case) public enum Event: Equatable, Sendable {
    |                                                                `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
  6 | 	/// An event that is emitted when a response is created.
  7 | 	///
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:16:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 14 | 	/// - Parameter response: The response that is in progress.
 15 | 	@CodedAs("response.in_progress")
 16 | 	case responseInProgress(response: Response)
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 17 |
 18 | 	/// Emitted when the model response is complete.
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:22:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 20 | 	/// - Parameter response: The response that is completed.
 21 | 	@CodedAs("response.completed")
 22 | 	case responseCompleted(response: Response)
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 23 |
 24 | 	/// An event that is emitted when a response fails.
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:28:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 26 | 	/// - Parameter response: The response that failed.
 27 | 	@CodedAs("response.failed")
 28 | 	case responseFailed(response: Response)
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 29 |
 30 | 	/// An event that is emitted when a response finishes as incomplete.
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:34:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 32 | 	/// - Parameter response: The response that is incomplete.
 33 | 	@CodedAs("response.incomplete")
 34 | 	case responseIncomplete(response: Response)
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 35 |
 36 | 	/// Emitted when a response is queued and waiting to be processed.
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:46:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 44 | 	/// - Parameter outputIndex: The index of the output item that was added.
 45 | 	@CodedAs("response.output_item.added")
 46 | 	case outputItemAdded(item: Item.Output, outputIndex: UInt)
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 47 |
 48 | 	/// Emitted when an output item is marked done.
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:53:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 51 | 	/// - Parameter outputIndex: The index of the output item that was marked done.
 52 | 	@CodedAs("response.output_item.done")
 53 | 	case outputItemDone(item: Item.Output, outputIndex: UInt)
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 54 |
 55 | 	/// Emitted when a new content part is added.
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:62:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 60 | 	/// - Parameter part: The content part that was added.
 61 | 	@CodedAs("response.content_part.added")
 62 | 	case contentPartAdded(
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 63 | 		contentIndex: UInt,
 64 | 		itemId: String,
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:76:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 74 | 	/// - Parameter part: The content part that is done.
 75 | 	@CodedAs("response.content_part.done")
 76 | 	case contentPartDone(
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 77 | 		contentIndex: UInt,
 78 | 		itemId: String,
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:91:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 89 | 	/// - Parameter logprobs: The log probabilities for the text delta that was added.
 90 | 	@CodedAs("response.output_text.delta")
 91 | 	case outputTextDelta(
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 92 | 		contentIndex: UInt,
 93 | 		delta: String,
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Item.swift:146:52: error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 144 | 			}
 145 |
 146 | 			@Codable @CodingKeys(.snake_case) public struct LogProb: Equatable, Hashable, Sendable {
     |                                                    `- error: external macro implementation type 'MacroPlugin.Codable' could not be found for macro 'Codable(commonStrategies:)'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
 147 | 				public struct AlternativeLogProb: Equatable, Hashable, Codable, Sendable {
 148 | 					public var bytes: [Int]
MetaCodable.Codable:2:278: note: 'Codable(commonStrategies:)' declared here
1 | @available(swift 5.9)
2 | @attached(extension, conformances: Decodable, Encodable, names: named(CodingKeys), named(DecodingKeys), named(init(from:)), named(encode(to:))) @attached(member, conformances: Decodable, Encodable, names: named(CodingKeys), named(init(from:)), named(encode(to:))) public macro Codable(commonStrategies: [MetaCodable.CodableCommonStrategy] = []) = #externalMacro(module: "MacroPlugin", type: "Codable")
  |                                                                                                                                                                                                                                                                                      `- note: 'Codable(commonStrategies:)' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:107:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
105 | 	/// - Parameter outputIndex: The index of the output item that the text annotation was added to.
106 | 	@CodedAs("response.output_text.annotation.added")
107 | 	case outputTextAnnotationAdded(
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
108 | 		annotation: Item.Output.Content.Annotation,
109 | 		annotationIndex: UInt,
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:123:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
121 | 	/// - Parameter logprobs: The log probabilities for the text content that is finalized.
122 | 	@CodedAs("response.output_text.done")
123 | 	case outputTextDone(
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
124 | 		contentIndex: UInt,
125 | 		itemId: String,
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:138:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
136 | 	/// - Parameter outputIndex: The index of the output item that the refusal text is added to.
137 | 	@CodedAs("response.refusal.delta")
138 | 	case refusalDelta(
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
139 | 		contentIndex: UInt,
140 | 		delta: String,
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:152:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
150 | 	/// - Parameter refusal: The refusal text that is finalized.
151 | 	@CodedAs("response.refusal.done")
152 | 	case refusalDone(
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
153 | 		contentIndex: UInt,
154 | 		itemId: String,
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:165:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
163 | 	/// - Parameter outputIndex: The index of the output item that the function-call arguments delta is added to.
164 | 	@CodedAs("response.function_call_arguments.delta")
165 | 	case functionCallArgumentsDelta(
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
166 | 		delta: String,
167 | 		itemId: String,
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
/Users/admin/builder/spi-builder-workspace/src/Models/Event.swift:177:7: error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
175 | 	/// - Parameter outputIndex: The index of the output item.
176 | 	@CodedAs("response.function_call_arguments.done")
177 | 	case functionCallArgumentsDone(
    |       `- error: external macro implementation type 'MacroPlugin.CodedAs' could not be found for macro 'CodedAs'; '/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/MacroPlugin' produced malformed response
178 | 		arguments: String,
179 | 		itemId: String,
MetaCodable.CodedAs:2:30: note: 'CodedAs' declared here
1 | @available(swift 5.9)
2 | @attached(peer) public macro CodedAs<T>(_ values: T, _: T...) = #externalMacro(module: "MacroPlugin", type: "CodedAs") where T : Decodable, T : Encodable, T : Equatable
  |                              `- note: 'CodedAs' declared here
SwiftCompile normal arm64 (in target 'OpenAI' from project 'OpenAI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ MultiPartData.swift /Users/admin/builder/spi-builder-workspace/src/Support/MultiPartData.swift (in target 'OpenAI' from project 'OpenAI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Support/MultiPartData.swift (in target 'OpenAI' from project 'OpenAI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile MultiPartData.swift
SwiftCompile normal arm64 Compiling\ WebhookEvent.swift /Users/admin/builder/spi-builder-workspace/src/Models/WebhookEvent.swift (in target 'OpenAI' from project 'OpenAI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Models/WebhookEvent.swift (in target 'OpenAI' from project 'OpenAI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile WebhookEvent.swift
SwiftDriverJobDiscovery normal arm64 Compiling MultiPartData.swift (in target 'OpenAI' from project 'OpenAI')
SwiftCompile normal arm64 Compiling\ AsyncBytes+collect.swift /Users/admin/builder/spi-builder-workspace/src/Extensions/AsyncBytes+collect.swift (in target 'OpenAI' from project 'OpenAI')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Extensions/AsyncBytes+collect.swift (in target 'OpenAI' from project 'OpenAI')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile AsyncBytes+collect.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-23 01:04:32.910 xcodebuild[1268:7353] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 Compiling\ Message.swift /Users/admin/builder/spi-builder-workspace/src/Models/Message.swift (in target 'OpenAI' from project 'OpenAI')
	SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Models/Message.swift (in target 'OpenAI' from project 'OpenAI')
	SwiftCompile normal arm64 Compiling\ Request.swift /Users/admin/builder/spi-builder-workspace/src/Models/Request.swift (in target 'OpenAI' from project 'OpenAI')
	SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Models/Request.swift (in target 'OpenAI' from project 'OpenAI')
	SwiftCompile normal arm64 Compiling\ Model.swift /Users/admin/builder/spi-builder-workspace/src/Models/Model.swift (in target 'OpenAI' from project 'OpenAI')
	SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/src/Models/Model.swift (in target 'OpenAI' from project 'OpenAI')
	Building workspace OpenAI with scheme OpenAI
(7 failures)
BUILD FAILURE 6.4 visionOS