Build Information
Failed to build SwiftAgent, reference 0.8.0 (48bfda), with Swift 6.4 for watchOS using Xcode 27.0 on 23 Sep 2026 21:01:47 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 SwiftAgent-Package -destination generic/platform=watchOSBuild Log
| | `- note: add '@available' attribute to enclosing property
|13 | let explicitNil = false
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|22 | }
|23 | )
|24 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in watchOS 27.0 or newer
|25 | properties.append((name: name, value: value))
|26 | }
+--------------------------------------------------------------------
69 |
70 | private extension ToolRunRejection {
macro expansion @Generable:24:48: error: 'Generable' is only available in watchOS 27.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift:68:1: note: expanded code originates here
61 | }
62 |
63 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| `- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
64 | package struct RejectionReport {
| `- note: add '@available' attribute to enclosing struct
65 | var error: Bool = true
66 | var reason: String
67 | var details: GeneratedContent?
68 | }
+--- macro expansion @Generable -------------------------------------
|10 | }
|11 |
|12 | nonisolated package var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|13 | let explicitNil = false
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|22 | }
|23 | )
|24 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in watchOS 27.0 or newer
|25 | properties.append((name: name, value: value))
|26 | }
+--------------------------------------------------------------------
69 |
70 | private extension ToolRunRejection {
macro expansion @Generable:27:49: error: 'Generable' is only available in watchOS 27.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift:68:1: note: expanded code originates here
61 | }
62 |
63 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| `- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
64 | package struct RejectionReport {
| `- note: add '@available' attribute to enclosing struct
65 | var error: Bool = true
66 | var reason: String
67 | var details: GeneratedContent?
68 | }
+--- macro expansion @Generable -------------------------------------
|10 | }
|11 |
|12 | nonisolated package var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|13 | let explicitNil = false
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|25 | properties.append((name: name, value: value))
|26 | }
|27 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in watchOS 27.0 or newer
|28 | if explicitNil || value != nil {
|29 | properties.append((name: name, value: value))
+--------------------------------------------------------------------
69 |
70 | private extension ToolRunRejection {
macro expansion @Generable:27:49: error: 'Generable' is only available in watchOS 27.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift:68:1: note: expanded code originates here
61 | }
62 |
63 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| `- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
64 | package struct RejectionReport {
| `- note: add '@available' attribute to enclosing struct
65 | var error: Bool = true
66 | var reason: String
67 | var details: GeneratedContent?
68 | }
+--- macro expansion @Generable -------------------------------------
|10 | }
|11 |
|12 | nonisolated package var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|13 | let explicitNil = false
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|25 | properties.append((name: name, value: value))
|26 | }
|27 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in watchOS 27.0 or newer
|28 | if explicitNil || value != nil {
|29 | properties.append((name: name, value: value))
+--------------------------------------------------------------------
69 |
70 | private extension ToolRunRejection {
macro expansion @Generable:29:47: error: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is only available in watchOS 27.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift:68:1: note: expanded code originates here
61 | }
62 |
63 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| `- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
64 | package struct RejectionReport {
| `- note: add '@available' attribute to enclosing struct
65 | var error: Bool = true
66 | var reason: String
67 | var details: GeneratedContent?
68 | }
+--- macro expansion @Generable -------------------------------------
|10 | }
|11 |
|12 | nonisolated package var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|13 | let explicitNil = false
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|27 | func addProperty(name: String, value: (some Generable)?) {
|28 | if explicitNil || value != nil {
|29 | properties.append((name: name, value: value))
| | |- error: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is only available in watchOS 27.0 or newer
| | `- note: add 'if #available' version check
|30 | }
|31 | }
+--------------------------------------------------------------------
69 |
70 | private extension ToolRunRejection {
macro expansion @Generable:40:33: error: 'GenerationID' is only available in watchOS 27.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift:68:1: note: expanded code originates here
61 | }
62 |
63 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| `- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
64 | package struct RejectionReport {
65 | var error: Bool = true
66 | var reason: String
67 | var details: GeneratedContent?
68 | }
+--- macro expansion @Generable -------------------------------------
|32 | }
|33 |
|34 | nonisolated package struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|35 | package var id: GenerationID
|36 | var error: Bool.PartiallyGenerated?
|37 | var reason: String.PartiallyGenerated?
|38 | var details: GeneratedContent?.PartiallyGenerated?
|39 | nonisolated package init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|40 | self.id = content.id ?? GenerationID()
| | |- error: 'GenerationID' is only available in watchOS 27.0 or newer
| | `- note: add 'if #available' version check
|41 | self.error = try content.value(forProperty: "error")
|42 | self.reason = try content.value(forProperty: "reason")
+--------------------------------------------------------------------
69 |
70 | private extension ToolRunRejection {
macro expansion @Generable:40:33: error: 'init()' is only available in watchOS 27.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift:68:1: note: expanded code originates here
61 | }
62 |
63 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| `- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
64 | package struct RejectionReport {
65 | var error: Bool = true
66 | var reason: String
67 | var details: GeneratedContent?
68 | }
+--- macro expansion @Generable -------------------------------------
|32 | }
|33 |
|34 | nonisolated package struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|35 | package var id: GenerationID
|36 | var error: Bool.PartiallyGenerated?
|37 | var reason: String.PartiallyGenerated?
|38 | var details: GeneratedContent?.PartiallyGenerated?
|39 | nonisolated package init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|40 | self.id = content.id ?? GenerationID()
| | |- error: 'init()' is only available in watchOS 27.0 or newer
| | `- note: add 'if #available' version check
|41 | self.error = try content.value(forProperty: "error")
|42 | self.reason = try content.value(forProperty: "reason")
+--------------------------------------------------------------------
69 |
70 | private extension ToolRunRejection {
macro expansion @Generable:41:34: error: 'value(_:forProperty:)' is only available in watchOS 27.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift:68:1: note: expanded code originates here
61 | }
62 |
63 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| `- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
64 | package struct RejectionReport {
65 | var error: Bool = true
66 | var reason: String
67 | var details: GeneratedContent?
68 | }
+--- macro expansion @Generable -------------------------------------
|32 | }
|33 |
|34 | nonisolated package struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|35 | package var id: GenerationID
|36 | var error: Bool.PartiallyGenerated?
|37 | var reason: String.PartiallyGenerated?
|38 | var details: GeneratedContent?.PartiallyGenerated?
|39 | nonisolated package init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|40 | self.id = content.id ?? GenerationID()
|41 | self.error = try content.value(forProperty: "error")
| | |- error: 'value(_:forProperty:)' is only available in watchOS 27.0 or newer
| | `- note: add 'if #available' version check
|42 | self.reason = try content.value(forProperty: "reason")
|43 | self.details = try content.value(forProperty: "details")
+--------------------------------------------------------------------
69 |
70 | private extension ToolRunRejection {
macro expansion @Generable:42:35: error: 'value(_:forProperty:)' is only available in watchOS 27.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift:68:1: note: expanded code originates here
61 | }
62 |
63 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| `- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
64 | package struct RejectionReport {
65 | var error: Bool = true
66 | var reason: String
67 | var details: GeneratedContent?
68 | }
+--- macro expansion @Generable -------------------------------------
|32 | }
|33 |
|34 | nonisolated package struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|35 | package var id: GenerationID
|36 | var error: Bool.PartiallyGenerated?
|37 | var reason: String.PartiallyGenerated?
|38 | var details: GeneratedContent?.PartiallyGenerated?
|39 | nonisolated package init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|40 | self.id = content.id ?? GenerationID()
|41 | self.error = try content.value(forProperty: "error")
|42 | self.reason = try content.value(forProperty: "reason")
| | |- error: 'value(_:forProperty:)' is only available in watchOS 27.0 or newer
| | `- note: add 'if #available' version check
|43 | self.details = try content.value(forProperty: "details")
|44 | }
+--------------------------------------------------------------------
69 |
70 | private extension ToolRunRejection {
macro expansion @Generable:43:36: error: 'value(_:forProperty:)' is only available in watchOS 27.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift:68:1: note: expanded code originates here
61 | }
62 |
63 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| `- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
64 | package struct RejectionReport {
65 | var error: Bool = true
66 | var reason: String
67 | var details: GeneratedContent?
68 | }
+--- macro expansion @Generable -------------------------------------
|32 | }
|33 |
|34 | nonisolated package struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|35 | package var id: GenerationID
|36 | var error: Bool.PartiallyGenerated?
|37 | var reason: String.PartiallyGenerated?
|38 | var details: GeneratedContent?.PartiallyGenerated?
|39 | nonisolated package init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|40 | self.id = content.id ?? GenerationID()
|41 | self.error = try content.value(forProperty: "error")
|42 | self.reason = try content.value(forProperty: "reason")
|43 | self.details = try content.value(forProperty: "details")
| | |- error: 'value(_:forProperty:)' is only available in watchOS 27.0 or newer
| | `- note: add 'if #available' version check
|44 | }
|45 | }
+--------------------------------------------------------------------
69 |
70 | private extension ToolRunRejection {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift:79:17: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
68 | }
69 |
70 | private extension ToolRunRejection {
| `- note: add '@available' attribute to enclosing extension
71 | static func generateDetailsContent(from details: [String: String]) -> GeneratedContent? {
| `- note: add '@available' attribute to enclosing static method
72 | let encoder = JSONEncoder()
73 | encoder.outputFormatting = [.sortedKeys]
:
77 | }
78 |
79 | return try? GeneratedContent(json: jsonString)
| |- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift:79:17: error: 'init(json:)' is only available in watchOS 27.0 or newer
68 | }
69 |
70 | private extension ToolRunRejection {
| `- note: add '@available' attribute to enclosing extension
71 | static func generateDetailsContent(from details: [String: String]) -> GeneratedContent? {
| `- note: add '@available' attribute to enclosing static method
72 | let encoder = JSONEncoder()
73 | encoder.outputFormatting = [.sortedKeys]
:
77 | }
78 |
79 | return try? GeneratedContent(json: jsonString)
| |- error: 'init(json:)' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
80 | }
81 | }
macro expansion @Generable:3:34: error: 'value(_:forProperty:)' is only available in watchOS 27.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift:68:2: note: expanded code originates here
61 | }
62 |
63 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| `- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
64 | package struct RejectionReport {
65 | var error: Bool = true
66 | var reason: String
67 | var details: GeneratedContent?
68 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension RejectionReport: nonisolated FoundationModels.Generable {
| | `- note: add '@available' attribute to enclosing extension
|2 | nonisolated package init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|3 | self.error = try content.value(forProperty: "error")
| | |- error: 'value(_:forProperty:)' is only available in watchOS 27.0 or newer
| | `- note: add 'if #available' version check
|4 | self.reason = try content.value(forProperty: "reason")
|5 | self.details = try content.value(forProperty: "details")
+--------------------------------------------------------------------
69 |
70 | private extension ToolRunRejection {
macro expansion @Generable:4:35: error: 'value(_:forProperty:)' is only available in watchOS 27.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift:68:2: note: expanded code originates here
61 | }
62 |
63 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| |- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
| `- note: in expansion of macro 'Generable' on struct 'RejectionReport' here
64 | package struct RejectionReport {
65 | var error: Bool = true
66 | var reason: String
67 | var details: GeneratedContent?
68 | }
+--- macro expansion @Generable -------------------------------------
|1 | extension RejectionReport: nonisolated FoundationModels.Generable {
| | `- note: add '@available' attribute to enclosing extension
|2 | nonisolated package init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|3 | self.error = try content.value(forProperty: "error")
|4 | self.reason = try content.value(forProperty: "reason")
| | |- error: 'value(_:forProperty:)' is only available in watchOS 27.0 or newer
| | `- note: add 'if #available' version check
|5 | self.details = try content.value(forProperty: "details")
|6 | }
+--------------------------------------------------------------------
69 |
70 | private extension ToolRunRejection {
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StructuredOutputSnapshot.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TokenUsage.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TokenUsage.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToolRun.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToolRunRejection.swift
SwiftCompile normal arm64_32 Compiling\ LanguageModelSessionSchema.swift,\ StructuredOutput.swift,\ SwiftAgentTool.swift,\ SwiftAgentConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift (in target 'SwiftAgent' from project 'SwiftAgent')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift:33:26: error: 'Generable' is only available in watchOS 27.0 or newer
29 | /// let report = try await session.respond(to: "Weather in Lisbon?", generating: \.weatherReport).content
30 | /// ```
31 | public protocol StructuredOutput<Schema>: Sendable {
| `- note: add '@available' attribute to enclosing protocol
32 | /// The schema that the model should produce for this output.
33 | associatedtype Schema: Generable
| | `- error: 'Generable' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing associated type
34 |
35 | /// A stable identifier for the output used in transcripts.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift:39:1: error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
37 | }
38 |
39 | extension String: StructuredOutput {
| |- error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
| |- note: add '@available' attribute to enclosing extension
| `- note: in associated type 'Self.Schema' (inferred as 'String')
40 | /// The schema is the string itself, enabling plain text generation
41 | /// through the same structured output pipeline.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift:11:50: error: 'Tool' is only available in watchOS 27.0 or newer
9 | /// - Note: You do not conform to this protocol directly. When you define a language model session and pass a `@Tool`
10 | /// property, the macro will synthesize a conformance to this protocol.
11 | public protocol SwiftAgentTool: FoundationModels.Tool where Arguments: Generable, Output: Generable {}
| | `- error: 'Tool' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing protocol
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift:11:72: error: 'Generable' is only available in watchOS 27.0 or newer
9 | /// - Note: You do not conform to this protocol directly. When you define a language model session and pass a `@Tool`
10 | /// property, the macro will synthesize a conformance to this protocol.
11 | public protocol SwiftAgentTool: FoundationModels.Tool where Arguments: Generable, Output: Generable {}
| | `- error: 'Generable' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing protocol
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift:11:91: error: 'Generable' is only available in watchOS 27.0 or newer
9 | /// - Note: You do not conform to this protocol directly. When you define a language model session and pass a `@Tool`
10 | /// property, the macro will synthesize a conformance to this protocol.
11 | public protocol SwiftAgentTool: FoundationModels.Tool where Arguments: Generable, Output: Generable {}
| | `- error: 'Generable' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing protocol
12 |
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/Sources/SwiftAgent/Helpers/AgentLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/ContentFragmentBuffer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+HTTPMapping.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+Pipeline.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/JSONUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/Logging.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/SnakeCaseName.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/URLMetadataProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Macros.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AdapterUpdate.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/GenerationError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TokenUsage.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript+Resolved.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TranscriptResolvingError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/_SwiftAgentToolWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/AuthorizationContext.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient+SSE.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPErrorMessageExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPReplayRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/NetworkLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/SSEEventTextEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuiltins.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/Adapter.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableStructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/supplementaryOutputs-105 -target arm64_32-apple-watchos26.0 -disable-cross-import-overlay-search -swift-module-cross-import LinkPresentation /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Modules/LinkPresentation.swiftcrossimport/AppIntents.swiftoverlay -swift-module-cross-import LinkPresentation /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/LinkPresentation.framework/Modules/LinkPresentation.swiftcrossimport/AppIntents.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAgentMacros\#SwiftAgentMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -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/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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\=5 -profile-generate -profile-coverage-mapping -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/SwiftAgentMacros\#SwiftAgentMacros -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/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftAgent -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.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/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/LanguageModelSessionSchema.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/StructuredOutput.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgentTool.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgentConfiguration.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent.swiftmodule -index-unit-output-path /SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/LanguageModelSessionSchema.o -index-unit-output-path /SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/StructuredOutput.o -index-unit-output-path /SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgentTool.o -index-unit-output-path /SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgentConfiguration.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelSessionSchema.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StructuredOutput.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftAgentTool.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftAgentConfiguration.swift
SwiftCompile normal arm64_32 Compiling\ AgentLog.swift,\ ContentFragmentBuffer.swift,\ GeneratedContent+StableJSON.swift,\ GenerationError+HTTPMapping.swift,\ GenerationError+Pipeline.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/AgentLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/ContentFragmentBuffer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+HTTPMapping.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+Pipeline.swift (in target 'SwiftAgent' from project 'SwiftAgent')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift:6:11: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
4 | import FoundationModels
5 |
6 | extension GeneratedContent {
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing extension
7 | /// A stable JSON string representation whose dictionary keys are deterministically sorted.
8 | ///
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift:15:57: error: 'jsonString' is only available in watchOS 27.0 or newer
4 | import FoundationModels
5 |
6 | extension GeneratedContent {
| `- note: add '@available' attribute to enclosing extension
7 | /// A stable JSON string representation whose dictionary keys are deterministically sorted.
8 | ///
:
12 | /// sorted keys so downstream systems receive a consistent payload while Apple works on an
13 | /// upstream fix.
14 | public var stableJsonString: String {
| `- note: add '@available' attribute to enclosing property
15 | guard let sortedJSONString = sortedJSONString(from: jsonString) else {
| |- error: 'jsonString' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
16 | return jsonString
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift:16:14: error: 'jsonString' is only available in watchOS 27.0 or newer
4 | import FoundationModels
5 |
6 | extension GeneratedContent {
| `- note: add '@available' attribute to enclosing extension
7 | /// A stable JSON string representation whose dictionary keys are deterministically sorted.
8 | ///
:
12 | /// sorted keys so downstream systems receive a consistent payload while Apple works on an
13 | /// upstream fix.
14 | public var stableJsonString: String {
| `- note: add '@available' attribute to enclosing property
15 | guard let sortedJSONString = sortedJSONString(from: jsonString) else {
16 | return jsonString
| |- error: 'jsonString' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
17 | }
18 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/AgentLog.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/ContentFragmentBuffer.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+HTTPMapping.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+Pipeline.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/JSONUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/Logging.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/SnakeCaseName.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/URLMetadataProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Macros.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AdapterUpdate.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/GenerationError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TokenUsage.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript+Resolved.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TranscriptResolvingError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/_SwiftAgentToolWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/AuthorizationContext.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient+SSE.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPErrorMessageExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPReplayRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/NetworkLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/SSEEventTextEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuiltins.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/Adapter.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableStructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/supplementaryOutputs-95 -target arm64_32-apple-watchos26.0 -disable-cross-import-overlay-search -swift-module-cross-import LinkPresentation /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Modules/LinkPresentation.swiftcrossimport/AppIntents.swiftoverlay -swift-module-cross-import LinkPresentation /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/LinkPresentation.framework/Modules/LinkPresentation.swiftcrossimport/AppIntents.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAgentMacros\#SwiftAgentMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -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/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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\=5 -profile-generate -profile-coverage-mapping -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/SwiftAgentMacros\#SwiftAgentMacros -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/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftAgent -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.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/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/AgentLog.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/ContentFragmentBuffer.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/GeneratedContent+StableJSON.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/GenerationError+HTTPMapping.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/GenerationError+Pipeline.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent.swiftmodule -index-unit-output-path /SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/AgentLog.o -index-unit-output-path /SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/ContentFragmentBuffer.o -index-unit-output-path /SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/GeneratedContent+StableJSON.o -index-unit-output-path /SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/GenerationError+HTTPMapping.o -index-unit-output-path /SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/GenerationError+Pipeline.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/AgentLog.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentLog.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/ContentFragmentBuffer.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ContentFragmentBuffer.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GeneratedContent+StableJSON.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+HTTPMapping.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GenerationError+HTTPMapping.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+Pipeline.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GenerationError+Pipeline.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 17:00:33.123 xcodebuild[1770:8856] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-23 17:00:33.223 xcodebuild[1770:8856] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 Compiling\ LanguageModelSessionSchema.swift,\ StructuredOutput.swift,\ SwiftAgentTool.swift,\ SwiftAgentConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 Compiling\ AgentLog.swift,\ ContentFragmentBuffer.swift,\ GeneratedContent+StableJSON.swift,\ GenerationError+HTTPMapping.swift,\ GenerationError+Pipeline.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/AgentLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/ContentFragmentBuffer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+HTTPMapping.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+Pipeline.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift (in target 'SwiftAgent' from project 'SwiftAgent')
Building workspace SwiftAgent with scheme SwiftAgent-Package
(6 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
swift-snapshot-testing: https://github.com/pointfreeco/swift-snapshot-testing @ 1.18.7
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
swift-http-types: https://github.com/apple/swift-http-types @ 1.5.0
swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 600.0.1
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.5.1
swift-custom-dump: https://github.com/pointfreeco/swift-custom-dump @ 1.3.3
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.1
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.31.3
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic.git @ 2.2.0
xctest-dynamic-overlay: https://github.com/pointfreeco/xctest-dynamic-overlay @ 1.7.0
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.30.3
swift-system: https://github.com/apple/swift-system.git @ 1.6.4
OpenAI: https://github.com/MacPaw/OpenAI.git @ main (c8b02fc)
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.3.1
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.2.0
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.26.0
EventSource: https://github.com/mattt/EventSource @ 1.2.0
swift-openapi-runtime: https://github.com/apple/swift-openapi-runtime @ 1.8.3
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.2.1
swift-collections: https://github.com/apple/swift-collections.git @ 1.3.0
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.6.0
swift-macro-testing: https://github.com/pointfreeco/swift-macro-testing @ 0.6.4
swift-nio: https://github.com/apple/swift-nio.git @ 2.92.2
swift-log: https://github.com/apple/swift-log.git @ 1.9.0
SwiftAgent: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-snapshot-testing, swift-service-lifecycle, swift-http-types, swift-syntax, swift-asn1, swift-custom-dump, swift-certificates, swift-nio-extras, SwiftAnthropic, xctest-dynamic-overlay, async-http-client, swift-system, OpenAI, swift-nio-ssl, swift-distributed-tracing, swift-crypto, swift-algorithms, swift-nio-transport-services, EventSource, swift-openapi-runtime, swift-async-algorithms, swift-atomics, swift-service-context, swift-collections, swift-numerics, swift-nio-http2, swift-http-structured-headers, swift-macro-testing, swift-nio, swift-log, SwiftAgent
2026-09-23 17:01:37.691 xcodebuild[2805:14517] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-23 17:01:37.793 xcodebuild[2805:14517] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "600.0.0",
"upper_bound" : "603.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/swift-syntax.git"
},
{
"identity" : "openai",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/MacPaw/OpenAI.git"
},
{
"identity" : "swiftanthropic",
"requirement" : {
"range" : [
{
"lower_bound" : "2.2.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jamesrochabrun/SwiftAnthropic.git"
},
{
"identity" : "eventsource",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mattt/EventSource"
},
{
"identity" : "swift-macro-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.4",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-macro-testing"
}
],
"manifest_display_name" : "SwiftAgent",
"name" : "SwiftAgent",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "26.0"
},
{
"name" : "macos",
"version" : "26.0"
}
],
"products" : [
{
"name" : "OpenAISession",
"targets" : [
"OpenAISession",
"SimulatedSession",
"SwiftAgent"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AnthropicSession",
"targets" : [
"AnthropicSession",
"SimulatedSession",
"SwiftAgent"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ExampleCode",
"targets" : [
"ExampleCode"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftAgentMacros",
"targets" : [
"SwiftAgentMacros"
],
"type" : {
"macro" : null
}
}
],
"swift_languages_versions" : [
"6"
],
"targets" : [
{
"c99name" : "SwiftAgentTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAgentTests",
"path" : "Tests/SwiftAgentTests",
"product_dependencies" : [
"SwiftAnthropic"
],
"sources" : [
"AnthropicSession/AnthropicGenerationOptionsValidationTests.swift",
"AnthropicSession/AnthropicHTTPErrorMappingTests.swift",
"AnthropicSession/AnthropicStreamingMultipleToolCallsTests.swift",
"AnthropicSession/AnthropicStreamingTextTests.swift",
"AnthropicSession/AnthropicStreamingThinkingRoundtripTests.swift",
"AnthropicSession/AnthropicStreamingToolCallsNoArgsTests.swift",
"AnthropicSession/AnthropicStreamingToolCallsTests.swift",
"AnthropicSession/AnthropicStructuredOutputTests.swift",
"AnthropicSession/AnthropicTextTests.swift",
"AnthropicSession/AnthropicThinkingCompatibilityValidationTests.swift",
"Helpers/ReplayHTTPClient.swift",
"Networking/HTTPReplayRecorderTests.swift",
"OpenAISession/OpenAIErrorHandling.swift",
"OpenAISession/OpenAIGenerationOptionsValidationTests.swift",
"OpenAISession/OpenAIStreamingErrorHandling.swift",
"OpenAISession/OpenAIStreamingMalformedToolArgumentsTests.swift",
"OpenAISession/OpenAIStreamingMultipleToolCallsTests.swift",
"OpenAISession/OpenAIStreamingStructuredOutputTests.swift",
"OpenAISession/OpenAIStreamingTextTests.swift",
"OpenAISession/OpenAIStreamingToolCallsTests.swift",
"OpenAISession/OpenAIStructuredOutputTests.swift",
"OpenAISession/OpenAITextTests.swift",
"OpenAISession/OpenAIToolCallsTests.swift",
"PromptBuilderTests.swift",
"Protocols/DecodableToolJSONSchemaTests.swift",
"SimulatedSession/SimulationMultiTurnExhaustionTests.swift",
"SimulatedSession/SimulationStreamingTextTests.swift",
"SimulatedSession/SimulationTextTests.swift",
"SwiftAgentTests.swift",
"TranscriptCodableTests.swift"
],
"target_dependencies" : [
"AnthropicSession",
"OpenAISession",
"SwiftAgent",
"SimulatedSession"
],
"type" : "test"
},
{
"c99name" : "SwiftAgentMacros",
"module_type" : "SwiftTarget",
"name" : "SwiftAgentMacros",
"path" : "Sources/SwiftAgentMacros",
"product_dependencies" : [
"SwiftCompilerPlugin",
"SwiftDiagnostics",
"SwiftSyntax",
"SwiftSyntaxMacros",
"SwiftSyntaxBuilder"
],
"product_memberships" : [
"OpenAISession",
"AnthropicSession",
"ExampleCode",
"SwiftAgentMacros"
],
"sources" : [
"MacroHelpers.swift",
"SessionSchema/SessionSchemaMacro+Extensions.swift",
"SessionSchema/SessionSchemaMacro+Extraction.swift",
"SessionSchema/SessionSchemaMacro+Generation.swift",
"SessionSchema/SessionSchemaMacro+Types.swift",
"SessionSchema/SessionSchemaMacro.swift",
"SwiftAgentMacroPlugin.swift"
],
"type" : "macro"
},
{
"c99name" : "SwiftAgentMacroTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAgentMacroTests",
"path" : "Tests/SwiftAgentMacroTests",
"product_dependencies" : [
"MacroTesting",
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"SessionSchemaMacroEdgeShapesTests.swift",
"SessionSchemaMacroTests.swift"
],
"target_dependencies" : [
"SwiftAgentMacros"
],
"type" : "test"
},
{
"c99name" : "SwiftAgent",
"module_type" : "SwiftTarget",
"name" : "SwiftAgent",
"path" : "Sources/SwiftAgent",
"product_dependencies" : [
"EventSource"
],
"product_memberships" : [
"OpenAISession",
"AnthropicSession",
"ExampleCode"
],
"sources" : [
"Helpers/AgentLog.swift",
"Helpers/ContentFragmentBuffer.swift",
"Helpers/GeneratedContent+StableJSON.swift",
"Helpers/GenerationError+HTTPMapping.swift",
"Helpers/GenerationError+Pipeline.swift",
"Helpers/JSONUtilities.swift",
"Helpers/Logging.swift",
"Helpers/RejectionReportDetailsExtractor.swift",
"Helpers/SnakeCaseName.swift",
"Helpers/TranscriptResolver.swift",
"Helpers/URLMetadataProvider.swift",
"LanguageModelProvider/LanguageModelProvider+Respond.swift",
"LanguageModelProvider/LanguageModelProvider+StreamResponse.swift",
"LanguageModelProvider/LanguageModelProvider.swift",
"Macros.swift",
"Models/AdapterUpdate.swift",
"Models/AgentResponse.swift",
"Models/AgentSnapshot.swift",
"Models/GenerationError.swift",
"Models/StructuredOutputSnapshot.swift",
"Models/TokenUsage.swift",
"Models/ToolRun.swift",
"Models/ToolRunRejection.swift",
"Models/Transcript+Resolved.swift",
"Models/Transcript.swift",
"Models/TranscriptResolvingError.swift",
"Models/_SwiftAgentToolWrapper.swift",
"Networking/AuthorizationContext.swift",
"Networking/HTTPClient+SSE.swift",
"Networking/HTTPClient.swift",
"Networking/HTTPErrorMessageExtractor.swift",
"Networking/HTTPReplayRecorder.swift",
"Networking/NetworkLog.swift",
"Networking/SSEEventTextEncoder.swift",
"Prompting/PromptBuilder.swift",
"Prompting/PromptBuiltins.swift",
"Protocols/Adapter.swift",
"Protocols/DecodableStructuredOutput.swift",
"Protocols/DecodableTool.swift",
"Protocols/LanguageModelSessionSchema.swift",
"Protocols/StructuredOutput.swift",
"Protocols/SwiftAgentTool.swift",
"SwiftAgentConfiguration.swift"
],
"target_dependencies" : [
"SwiftAgentMacros"
],
"type" : "library"
},
{
"c99name" : "SimulatedSession",
"module_type" : "SwiftTarget",
"name" : "SimulatedSession",
"path" : "Sources/SimulatedSession",
"product_dependencies" : [
"OpenAI"
],
"product_memberships" : [
"OpenAISession",
"AnthropicSession",
"ExampleCode"
],
"sources" : [
"MockableTool.swift",
"SimulatedGeneration.swift",
"SimulatedSession.swift",
"SimulationAdapter.swift",
"SimulationConfiguration.swift",
"SimulationExports.swift",
"SimulationGenerationOptions.swift",
"SimulationModel.swift"
],
"target_dependencies" : [
"SwiftAgent"
],
"type" : "library"
},
{
"c99name" : "OpenAISession",
"module_type" : "SwiftTarget",
"name" : "OpenAISession",
"path" : "Sources/OpenAISession",
"product_dependencies" : [
"OpenAI",
"EventSource"
],
"product_memberships" : [
"OpenAISession",
"ExampleCode"
],
"sources" : [
"Helpers/GenerationError+OpenAI.swift",
"Helpers/GenerationSchema+JSONSchema.swift",
"Helpers/OpenAIResponseStreamEventDecoder.swift",
"Helpers/OutputContent+asText.swift",
"OpenAIAdapter+Streaming.swift",
"OpenAIAdapter.swift",
"OpenAIConfiguration.swift",
"OpenAIExports.swift",
"OpenAIGenerationOptions.swift",
"OpenAIGenerationOptionsError.swift",
"OpenAIModel.swift",
"OpenAISession.swift"
],
"target_dependencies" : [
"SwiftAgent",
"SwiftAgentMacros"
],
"type" : "library"
},
{
"c99name" : "ExampleCode",
"module_type" : "SwiftTarget",
"name" : "ExampleCode",
"path" : "Sources/ExampleCode",
"product_dependencies" : [
"SwiftAnthropic"
],
"product_memberships" : [
"ExampleCode"
],
"sources" : [
"ReadmeCode.swift"
],
"target_dependencies" : [
"SwiftAgent",
"AnthropicSession",
"OpenAISession",
"SimulatedSession"
],
"type" : "library"
},
{
"c99name" : "AnthropicSession",
"module_type" : "SwiftTarget",
"name" : "AnthropicSession",
"path" : "Sources/AnthropicSession",
"product_dependencies" : [
"SwiftAnthropic",
"EventSource"
],
"product_memberships" : [
"AnthropicSession",
"ExampleCode"
],
"sources" : [
"AnthropicAdapter+Request.swift",
"AnthropicAdapter+Streaming.swift",
"AnthropicAdapter+StreamingHandlers.swift",
"AnthropicAdapter+StreamingTranscript.swift",
"AnthropicAdapter+TokenUsage.swift",
"AnthropicAdapter+ToolExecution.swift",
"AnthropicAdapter.swift",
"AnthropicConfiguration.swift",
"AnthropicExports.swift",
"AnthropicGenerationOptions.swift",
"AnthropicGenerationOptionsError.swift",
"AnthropicModel.swift",
"AnthropicSession.swift",
"AnthropicStreamingState.swift",
"Helpers/AnthropicMessageBuilder.swift",
"Helpers/AnthropicMessageStreamEventDecoder.swift",
"Helpers/GenerationError+Anthropic.swift",
"Helpers/GenerationSchema+AnthropicJSONSchema.swift",
"Helpers/MessageParameter+Sendable.swift"
],
"target_dependencies" : [
"SwiftAgent",
"SwiftAgentMacros"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
{
"workspace" : {
"name" : "SwiftAgent",
"schemes" : [
"AnthropicSession",
"ExampleCode",
"OpenAISession",
"SwiftAgent",
"SwiftAgent-Package",
"SwiftAgentMacroTests",
"SwiftAgentTests"
]
}
}
2026-09-23 17:01:40.500 xcodebuild[2814:14597] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-23 17:01:40.601 xcodebuild[2814:14597] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SwiftAgent-Package -destination generic/platform=watchOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme SwiftAgent-Package -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
SwiftAgent: /Users/admin/builder/spi-builder-workspace
swift-atomics: https://github.com/apple/swift-atomics.git @ 1.3.0
swift-snapshot-testing: https://github.com/pointfreeco/swift-snapshot-testing @ 1.18.7
swift-numerics: https://github.com/apple/swift-numerics.git @ 1.1.1
swift-crypto: https://github.com/apple/swift-crypto.git @ 4.2.0
swift-http-types: https://github.com/apple/swift-http-types @ 1.5.0
swift-service-context: https://github.com/apple/swift-service-context.git @ 1.2.1
xctest-dynamic-overlay: https://github.com/pointfreeco/xctest-dynamic-overlay @ 1.7.0
swift-collections: https://github.com/apple/swift-collections.git @ 1.3.0
EventSource: https://github.com/mattt/EventSource @ 1.2.0
swift-async-algorithms: https://github.com/apple/swift-async-algorithms.git @ 1.1.1
swift-system: https://github.com/apple/swift-system.git @ 1.6.4
swift-nio: https://github.com/apple/swift-nio.git @ 2.92.2
swift-custom-dump: https://github.com/pointfreeco/swift-custom-dump @ 1.3.3
swift-certificates: https://github.com/apple/swift-certificates.git @ 1.17.1
SwiftAnthropic: https://github.com/jamesrochabrun/SwiftAnthropic.git @ 2.2.0
swift-algorithms: https://github.com/apple/swift-algorithms.git @ 1.2.1
swift-nio-http2: https://github.com/apple/swift-nio-http2.git @ 1.39.0
swift-nio-transport-services: https://github.com/apple/swift-nio-transport-services.git @ 1.26.0
swift-distributed-tracing: https://github.com/apple/swift-distributed-tracing.git @ 1.3.1
swift-http-structured-headers: https://github.com/apple/swift-http-structured-headers.git @ 1.6.0
swift-asn1: https://github.com/apple/swift-asn1.git @ 1.5.1
swift-service-lifecycle: https://github.com/swift-server/swift-service-lifecycle.git @ 2.9.1
swift-nio-ssl: https://github.com/apple/swift-nio-ssl.git @ 2.36.0
swift-macro-testing: https://github.com/pointfreeco/swift-macro-testing @ 0.6.4
async-http-client: https://github.com/swift-server/async-http-client.git @ 1.30.3
swift-openapi-runtime: https://github.com/apple/swift-openapi-runtime @ 1.8.3
swift-log: https://github.com/apple/swift-log.git @ 1.9.0
OpenAI: https://github.com/MacPaw/OpenAI.git @ main (c8b02fc)
swift-nio-extras: https://github.com/apple/swift-nio-extras.git @ 1.31.3
swift-syntax: https://github.com/swiftlang/swift-syntax.git @ 600.0.1
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (39 targets)
Target 'ExampleCode-product' in project 'SwiftAgent'
➜ Explicit dependency on target 'ExampleCode' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'AnthropicSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'OpenAISession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SimulatedSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'SwiftAnthropic-product' in project 'SwiftAnthropic'
➜ Explicit dependency on target 'OpenAI-product' in project 'OpenAI'
Target 'ExampleCode' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'AnthropicSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'OpenAISession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SimulatedSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'SwiftAnthropic-product' in project 'SwiftAnthropic'
➜ Explicit dependency on target 'OpenAI-product' in project 'OpenAI'
Target 'AnthropicSession-product' in project 'SwiftAgent'
➜ Explicit dependency on target 'AnthropicSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SimulatedSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'SwiftAnthropic-product' in project 'SwiftAnthropic'
➜ Explicit dependency on target 'OpenAI-product' in project 'OpenAI'
Target 'AnthropicSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'SwiftAnthropic-product' in project 'SwiftAnthropic'
Target 'SwiftAnthropic-product' in project 'SwiftAnthropic'
➜ Explicit dependency on target 'SwiftAnthropic' in project 'SwiftAnthropic'
Target 'SwiftAnthropic' in project 'SwiftAnthropic' (no dependencies)
Target 'OpenAISession-product' in project 'SwiftAgent'
➜ Explicit dependency on target 'OpenAISession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SimulatedSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'OpenAI-product' in project 'OpenAI'
Target 'SimulatedSession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'OpenAI-product' in project 'OpenAI'
Target 'OpenAISession' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'OpenAI-product' in project 'OpenAI'
Target 'OpenAI-product' in project 'OpenAI'
➜ Explicit dependency on target 'OpenAI' in project 'OpenAI'
➜ Explicit dependency on target 'OpenAPIRuntime-product' in project 'swift-openapi-runtime'
Target 'OpenAI' in project 'OpenAI'
➜ Explicit dependency on target 'OpenAPIRuntime-product' in project 'swift-openapi-runtime'
Target 'OpenAPIRuntime-product' in project 'swift-openapi-runtime'
➜ Explicit dependency on target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
➜ Explicit dependency on target 'HTTPTypes-product' in project 'swift-http-types'
Target 'OpenAPIRuntime' in project 'swift-openapi-runtime'
➜ Explicit dependency on target 'HTTPTypes-product' in project 'swift-http-types'
Target 'HTTPTypes-product' in project 'swift-http-types'
➜ Explicit dependency on target 'HTTPTypes' in project 'swift-http-types'
Target 'HTTPTypes' in project 'swift-http-types' (no dependencies)
Target 'SwiftAgent' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'EventSource-product' in project 'EventSource'
Target 'EventSource-product' in project 'EventSource'
➜ Explicit dependency on target 'EventSource' in project 'EventSource'
Target 'EventSource' in project 'EventSource' (no dependencies)
Target 'SwiftAgentMacros' in project 'SwiftAgent'
➜ Explicit dependency on target 'SwiftCompilerPlugin-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacros-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder-product' in project 'swift-syntax'
Target 'SwiftSyntaxBuilder-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
Target 'SwiftSyntaxMacros-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
Target 'SwiftSyntax-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
Target 'SwiftDiagnostics-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
Target 'SwiftCompilerPlugin-product' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftCompilerPlugin' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftCompilerPluginMessageHandling' in project 'swift-syntax'
Target 'SwiftCompilerPlugin' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftCompilerPluginMessageHandling' in project 'swift-syntax'
Target 'SwiftCompilerPluginMessageHandling' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
Target 'SwiftSyntaxMacroExpansion' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxMacros' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftOperators' in project 'swift-syntax'
Target 'SwiftSyntaxMacros' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntaxBuilder' in project 'swift-syntax'
Target 'SwiftSyntaxBuilder' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParserDiagnostics' in project 'swift-syntax'
Target 'SwiftParserDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
Target 'SwiftBasicFormat' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
Target 'SwiftOperators' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftParser' in project 'swift-syntax'
Target 'SwiftParser' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
Target 'SwiftDiagnostics' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax' in project 'swift-syntax'
Target 'SwiftSyntax' in project 'swift-syntax'
➜ Explicit dependency on target '_SwiftSyntaxCShims' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax509' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax510' in project 'swift-syntax'
➜ Explicit dependency on target 'SwiftSyntax600' in project 'swift-syntax'
Target 'SwiftSyntax600' in project 'swift-syntax' (no dependencies)
Target 'SwiftSyntax510' in project 'swift-syntax' (no dependencies)
Target 'SwiftSyntax509' in project 'swift-syntax' (no dependencies)
Target '_SwiftSyntaxCShims' in project 'swift-syntax' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/macosx27.0-26A425-e829b21a6f8c9b70876ba0858053c0446a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache
SwiftDriver SwiftAgent normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SwiftAgent -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos26.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -Xfrontend -load-plugin-executable -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAgentMacros\#SwiftAgentMacros -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver OpenAI normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'OpenAI' from project 'OpenAI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name OpenAI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/Objects-normal/arm64_32/OpenAI.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64_32-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/Objects-normal/arm64_32/OpenAI-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/Objects-normal/arm64_32/OpenAI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/Objects-normal/arm64_32/OpenAI-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name openai -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/Objects-normal/arm64_32/OpenAI_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/Objects-normal/arm64_32/OpenAI-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SwiftAgent normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SwiftAgent -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos26.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -Xfrontend -load-plugin-executable -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAgentMacros\#SwiftAgentMacros -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64/SwiftAgent-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver OpenAI normal arm64 com.apple.xcode.tools.swift.compiler (in target 'OpenAI' from project 'OpenAI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name OpenAI -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/Objects-normal/arm64/OpenAI.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -target arm64-apple-watchos9.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/Objects-normal/arm64/OpenAI-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/Objects-normal/arm64/OpenAI.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/Objects-normal/arm64/OpenAI-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name openai -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/Objects-normal/arm64/OpenAI_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/OpenAI.build/Debug-watchos/OpenAI-t.build/Objects-normal/arm64/OpenAI-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SwiftAgent (in target 'SwiftAgent' from project 'SwiftAgent')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift:6:11: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
4 | import FoundationModels
5 |
6 | extension GeneratedContent {
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing extension
7 | /// A stable JSON string representation whose dictionary keys are deterministically sorted.
8 | ///
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift:10:53: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
4 | import FoundationModels
5 |
6 | package enum RejectionReportDetailsExtractor {
| `- note: add '@available' attribute to enclosing enum
7 | /// Extracts fallback detail values from rejection report generated content.
8 | ///
9 | /// The extractor keeps recoverable payloads accessible when strongly typed decoding fails.
10 | package static func values(from generatedContent: GeneratedContent) -> [String: String] {
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing static method
11 | guard
12 | let jsonData = generatedContent.stableJsonString.data(using: .utf8),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift:112:52: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
14 | /// - Note: You typically create this via `session.resolver()`; the macro wires
15 | /// up everything needed. You rarely construct it manually.
16 | public struct TranscriptResolver<SessionSchema: LanguageModelSessionSchema> {
| `- note: add '@available' attribute to enclosing generic struct
17 | /// The tool call type from the associated transcript.
18 | public typealias ToolCall = Transcript.ToolCall
:
110 | /// - rawOutput: The raw generated content produced by the tool, if found
111 | /// - Returns: A resolved tool run. Unknown tools are mapped to `Provider.DecodedToolRun.makeUnknown`.
112 | public func resolve(_ call: ToolCall, rawOutput: GeneratedContent?) -> SessionSchema.DecodedToolRun {
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing instance method
113 | guard let tool = toolsByName[call.toolName] else {
114 | let error = TranscriptResolvingError.ToolRunResolution.unknownTool(name: call.toolName)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift:147:8: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
14 | /// - Note: You typically create this via `session.resolver()`; the macro wires
15 | /// up everything needed. You rarely construct it manually.
16 | public struct TranscriptResolver<SessionSchema: LanguageModelSessionSchema> {
| `- note: add '@available' attribute to enclosing generic struct
17 | /// The tool call type from the associated transcript.
18 | public typealias ToolCall = Transcript.ToolCall
:
141 | /// Tool outputs usually appear immediately after their calls.
142 | /// - Returns: The generated content from the tool output, or `nil` if not found.
143 | private func findOutput(
| `- note: add '@available' attribute to enclosing instance method
144 | for call: ToolCall,
145 | startingAt startIndex: Int,
146 | in entries: [Transcript.Entry],
147 | ) -> GeneratedContent? {
| `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
148 | // Search forward from the current position for the matching tool output
149 | // Tool outputs are typically close to their calls, so this is efficient
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:75:16: error: 'Prompt' is unavailable in watchOS
73 | @discardableResult
74 | func respond(
75 | to prompt: Prompt,
| `- error: 'Prompt' is unavailable in watchOS
76 | using model: Adapter.Model = .default,
77 | options: Adapter.GenerationOptions? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:107:6: error: 'PromptBuilder' is unavailable in watchOS
105 | using model: Adapter.Model = .default,
106 | options: Adapter.GenerationOptions? = nil,
107 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'PromptBuilder' is unavailable in watchOS
108 | ) async throws -> Response<String> {
109 | try await respond(to: prompt().formatted(), using: model, options: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:107:41: error: 'Prompt' is unavailable in watchOS
105 | using model: Adapter.Model = .default,
106 | options: Adapter.GenerationOptions? = nil,
107 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'Prompt' is unavailable in watchOS
108 | ) async throws -> Response<String> {
109 | try await respond(to: prompt().formatted(), using: model, options: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:274:16: error: 'Prompt' is unavailable in watchOS
272 | @discardableResult
273 | func respond<StructuredOutput: SwiftAgent.StructuredOutput>(
274 | to prompt: Prompt,
| `- error: 'Prompt' is unavailable in watchOS
275 | generating type: StructuredOutput.Type,
276 | using model: Adapter.Model = .default,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:345:16: error: 'Prompt' is unavailable in watchOS
343 | @discardableResult
344 | func respond<StructuredOutput: SwiftAgent.StructuredOutput>(
345 | to prompt: Prompt,
| `- error: 'Prompt' is unavailable in watchOS
346 | generating type: KeyPath<SessionSchema.StructuredOutputs, StructuredOutput.Type>,
347 | using model: Adapter.Model = .default,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:397:6: error: 'PromptBuilder' is unavailable in watchOS
395 | using model: Adapter.Model = .default,
396 | options: Adapter.GenerationOptions? = nil,
397 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'PromptBuilder' is unavailable in watchOS
398 | ) async throws -> Response<StructuredOutput> {
399 | try await respond(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:397:41: error: 'Prompt' is unavailable in watchOS
395 | using model: Adapter.Model = .default,
396 | options: Adapter.GenerationOptions? = nil,
397 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'Prompt' is unavailable in watchOS
398 | ) async throws -> Response<StructuredOutput> {
399 | try await respond(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:464:6: error: 'PromptBuilder' is unavailable in watchOS
462 | using model: Adapter.Model = .default,
463 | options: Adapter.GenerationOptions? = nil,
464 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'PromptBuilder' is unavailable in watchOS
465 | ) async throws -> Response<StructuredOutput> {
466 | try await respond(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:464:41: error: 'Prompt' is unavailable in watchOS
462 | using model: Adapter.Model = .default,
463 | options: Adapter.GenerationOptions? = nil,
464 | @PromptBuilder prompt: () throws -> Prompt,
| `- error: 'Prompt' is unavailable in watchOS
465 | ) async throws -> Response<StructuredOutput> {
466 | try await respond(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:521:6: error: 'PromptBuilder' is unavailable in watchOS
519 | groundingWith sources: [SessionSchema.DecodedGrounding],
520 | options: Adapter.GenerationOptions? = nil,
521 | @PromptBuilder embeddingInto prompt: @Sendable (_ input: String, _ sources: [SessionSchema.DecodedGrounding])
| `- error: 'PromptBuilder' is unavailable in watchOS
522 | -> Prompt,
523 | ) async throws -> Response<String> where SessionSchema: GroundingSupportingSchema {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:522:10: error: 'Prompt' is unavailable in watchOS
520 | options: Adapter.GenerationOptions? = nil,
521 | @PromptBuilder embeddingInto prompt: @Sendable (_ input: String, _ sources: [SessionSchema.DecodedGrounding])
522 | -> Prompt,
| `- error: 'Prompt' is unavailable in watchOS
523 | ) async throws -> Response<String> where SessionSchema: GroundingSupportingSchema {
524 | let sourcesData = try schema.encodeGrounding(sources)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:603:6: error: 'PromptBuilder' is unavailable in watchOS
601 | groundingWith sources: [SessionSchema.DecodedGrounding],
602 | options: Adapter.GenerationOptions? = nil,
603 | @PromptBuilder embeddingInto prompt: @Sendable (_ prompt: String, _ sources: [SessionSchema.DecodedGrounding])
| `- error: 'PromptBuilder' is unavailable in watchOS
604 | -> Prompt,
605 | ) async throws -> Response<StructuredOutput> where SessionSchema: GroundingSupportingSchema {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:604:10: error: 'Prompt' is unavailable in watchOS
602 | options: Adapter.GenerationOptions? = nil,
603 | @PromptBuilder embeddingInto prompt: @Sendable (_ prompt: String, _ sources: [SessionSchema.DecodedGrounding])
604 | -> Prompt,
| `- error: 'Prompt' is unavailable in watchOS
605 | ) async throws -> Response<StructuredOutput> where SessionSchema: GroundingSupportingSchema {
606 | let sourcesData = try schema.encodeGrounding(sources)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:635:6: error: 'PromptBuilder' is unavailable in watchOS
633 | groundingWith sources: [SessionSchema.DecodedGrounding],
634 | options: Adapter.GenerationOptions? = nil,
635 | @PromptBuilder embeddingInto prompt: @Sendable (_ prompt: String, _ sources: [SessionSchema.DecodedGrounding])
| `- error: 'PromptBuilder' is unavailable in watchOS
636 | -> Prompt,
637 | ) async throws -> Response<StructuredOutput> where SessionSchema: GroundingSupportingSchema {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
SwiftCompile normal arm64_32 (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift:636:10: error: 'Prompt' is unavailable in watchOS
634 | options: Adapter.GenerationOptions? = nil,
635 | @PromptBuilder embeddingInto prompt: @Sendable (_ prompt: String, _ sources: [SessionSchema.DecodedGrounding])
636 | -> Prompt,
| `- error: 'Prompt' is unavailable in watchOS
637 | ) async throws -> Response<StructuredOutput> where SessionSchema: GroundingSupportingSchema {
638 | let sourcesData = try schema.encodeGrounding(sources)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:81:16: error: 'Prompt' is unavailable in watchOS
79 | /// - Returns: An ``AsyncThrowingStream`` that yields response snapshots as they arrive.
80 | func streamResponse(
81 | to prompt: Prompt,
| `- error: 'Prompt' is unavailable in watchOS
82 | using model: Adapter.Model = .default,
83 | options: Adapter.GenerationOptions? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:122:6: error: 'PromptBuilder' is unavailable in watchOS
120 | using model: Adapter.Model = .default,
121 | options: Adapter.GenerationOptions? = nil,
122 | @PromptBuilder prompt: @Sendable () throws -> Prompt,
| `- error: 'PromptBuilder' is unavailable in watchOS
123 | ) throws -> AsyncThrowingStream<Snapshot<String>, any Error> {
124 | try streamResponse(to: prompt().formatted(), using: model, options: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:86:15: note: 'PromptBuilder' has been explicitly marked unavailable here
84 | @available(watchOS, unavailable)
85 | @resultBuilder
86 | public struct PromptBuilder {
| `- note: 'PromptBuilder' has been explicitly marked unavailable here
87 | /// Normalize any `PromptRepresentable` to a `Prompt` during expression processing.
88 | public static func buildExpression(_ expression: some PromptRepresentable) -> Prompt {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:122:51: error: 'Prompt' is unavailable in watchOS
120 | using model: Adapter.Model = .default,
121 | options: Adapter.GenerationOptions? = nil,
122 | @PromptBuilder prompt: @Sendable () throws -> Prompt,
| `- error: 'Prompt' is unavailable in watchOS
123 | ) throws -> AsyncThrowingStream<Snapshot<String>, any Error> {
124 | try streamResponse(to: prompt().formatted(), using: model, options: options)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift:300:16: error: 'Prompt' is unavailable in watchOS
298 | /// - Returns: An ``AsyncThrowingStream`` yielding structured snapshots until generation completes.
299 | func streamResponse<StructuredOutput: SwiftAgent.StructuredOutput>(
300 | to prompt: Prompt,
| `- error: 'Prompt' is unavailable in watchOS
301 | generating type: StructuredOutput.Type,
302 | using model: Adapter.Model = .default,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift:33:15: note: 'Prompt' has been explicitly marked unavailable here
31 | @available(tvOS, unavailable)
32 | @available(watchOS, unavailable)
33 | public struct Prompt: Sendable {
| `- note: 'Prompt' has been explicitly marked unavailable here
34 | /// Internal node tree we render later.
35 | package let nodes: [PromptNode]
SwiftCompile normal arm64_32 Compiling\ JSONUtilities.swift,\ Logging.swift,\ RejectionReportDetailsExtractor.swift,\ SnakeCaseName.swift,\ TranscriptResolver.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/JSONUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/Logging.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/SnakeCaseName.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/JSONUtilities.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile JSONUtilities.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/Logging.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Logging.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RejectionReportDetailsExtractor.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/SnakeCaseName.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SnakeCaseName.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TranscriptResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift:10:53: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
4 | import FoundationModels
5 |
6 | package enum RejectionReportDetailsExtractor {
| `- note: add '@available' attribute to enclosing enum
7 | /// Extracts fallback detail values from rejection report generated content.
8 | ///
9 | /// The extractor keeps recoverable payloads accessible when strongly typed decoding fails.
10 | package static func values(from generatedContent: GeneratedContent) -> [String: String] {
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing static method
11 | guard
12 | let jsonData = generatedContent.stableJsonString.data(using: .utf8),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift:112:52: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
14 | /// - Note: You typically create this via `session.resolver()`; the macro wires
15 | /// up everything needed. You rarely construct it manually.
16 | public struct TranscriptResolver<SessionSchema: LanguageModelSessionSchema> {
| `- note: add '@available' attribute to enclosing generic struct
17 | /// The tool call type from the associated transcript.
18 | public typealias ToolCall = Transcript.ToolCall
:
110 | /// - rawOutput: The raw generated content produced by the tool, if found
111 | /// - Returns: A resolved tool run. Unknown tools are mapped to `Provider.DecodedToolRun.makeUnknown`.
112 | public func resolve(_ call: ToolCall, rawOutput: GeneratedContent?) -> SessionSchema.DecodedToolRun {
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing instance method
113 | guard let tool = toolsByName[call.toolName] else {
114 | let error = TranscriptResolvingError.ToolRunResolution.unknownTool(name: call.toolName)
SwiftCompile normal arm64_32 Compiling\ URLMetadataProvider.swift,\ LanguageModelProvider+Respond.swift,\ LanguageModelProvider+StreamResponse.swift,\ LanguageModelProvider.swift,\ Macros.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/URLMetadataProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Macros.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/URLMetadataProvider.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile URLMetadataProvider.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelProvider+Respond.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelProvider+StreamResponse.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelProvider.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Macros.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Macros.swift
SwiftCompile normal arm64_32 Compiling\ StructuredOutputSnapshot.swift,\ TokenUsage.swift,\ ToolRun.swift,\ ToolRunRejection.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TokenUsage.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift (in target 'SwiftAgent' from project 'SwiftAgent')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:79:26: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
39 | /// }
40 | /// ```
41 | public struct StructuredOutputSnapshot<Output: StructuredOutput>: Identifiable {
| `- note: add '@available' attribute to enclosing generic struct
42 | /// Represents the typed content carried by an update.
43 | public enum ContentPhase {
:
77 |
78 | /// The raw provider payload from which the structured content was decoded.
79 | public var rawContent: GeneratedContent
| `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
80 |
81 | /// The current phase of the content (partial or final).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:95:21: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
39 | /// }
40 | /// ```
41 | public struct StructuredOutputSnapshot<Output: StructuredOutput>: Identifiable {
| `- note: add '@available' attribute to enclosing generic struct
42 | /// Represents the typed content carried by an update.
43 | public enum ContentPhase {
:
93 |
94 | /// Error payload when the snapshot represents a provider-reported failure.
95 | public var error: GeneratedContent?
| `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
96 |
97 | /// Creates a snapshot backed by decoded content.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:98:67: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
39 | /// }
40 | /// ```
41 | public struct StructuredOutputSnapshot<Output: StructuredOutput>: Identifiable {
| `- note: add '@available' attribute to enclosing generic struct
42 | /// Represents the typed content carried by an update.
43 | public enum ContentPhase {
:
96 |
97 | /// Creates a snapshot backed by decoded content.
98 | public init(id: String, contentPhase: ContentPhase, rawContent: GeneratedContent) {
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing initializer
99 | self.id = id
100 | self.contentPhase = contentPhase
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:113:34: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
39 | /// }
40 | /// ```
41 | public struct StructuredOutputSnapshot<Output: StructuredOutput>: Identifiable {
| `- note: add '@available' attribute to enclosing generic struct
42 | /// Represents the typed content carried by an update.
43 | public enum ContentPhase {
:
111 |
112 | /// Creates a snapshot that represents a provider-reported error payload.
113 | public init(id: String, error: GeneratedContent, rawContent: GeneratedContent) {
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing initializer
114 | self.id = id
115 | self.error = error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:113:64: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
39 | /// }
40 | /// ```
41 | public struct StructuredOutputSnapshot<Output: StructuredOutput>: Identifiable {
| `- note: add '@available' attribute to enclosing generic struct
42 | /// Represents the typed content carried by an update.
43 | public enum ContentPhase {
:
111 |
112 | /// Creates a snapshot that represents a provider-reported error payload.
113 | public init(id: String, error: GeneratedContent, rawContent: GeneratedContent) {
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing initializer
114 | self.id = id
115 | self.error = error
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:134:47: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
39 | /// }
40 | /// ```
41 | public struct StructuredOutputSnapshot<Output: StructuredOutput>: Identifiable {
| `- note: add '@available' attribute to enclosing generic struct
42 | /// Represents the typed content carried by an update.
43 | public enum ContentPhase {
:
132 |
133 | /// Builds an error snapshot from the provider's JSON payload.
134 | public static func error(id: String, error: GeneratedContent) throws -> StructuredOutputSnapshot<Output> {
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing static method
135 | StructuredOutputSnapshot(id: id, error: error, rawContent: error)
136 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:141:67: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
137 | }
138 |
139 | private extension StructuredOutputSnapshot {
| `- note: add '@available' attribute to enclosing extension
140 | /// Produces the `CurrentContent` projection for a given phase.
141 | static func makeCurrentContent(from content: ContentPhase, raw: GeneratedContent) -> CurrentContent? {
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing static method
142 | switch content {
143 | case let .partial(content):
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:121:26: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
39 | /// }
40 | /// ```
41 | public struct StructuredOutputSnapshot<Output: StructuredOutput>: Identifiable {
| `- note: add '@available' attribute to enclosing generic struct
42 | /// Represents the typed content carried by an update.
43 | public enum ContentPhase {
:
118 |
119 | /// Builds a partial snapshot from the provider's JSON payload.
120 | public static func partial(id: String, json: String) throws -> StructuredOutputSnapshot<Output> {
| `- note: add '@available' attribute to enclosing static method
121 | let rawContent = try GeneratedContent(json: json)
| |- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
122 | let content = try Output.Schema.PartiallyGenerated(rawContent)
123 | return StructuredOutputSnapshot(id: id, contentPhase: .partial(content), rawContent: rawContent)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:121:26: error: 'init(json:)' is only available in watchOS 27.0 or newer
39 | /// }
40 | /// ```
41 | public struct StructuredOutputSnapshot<Output: StructuredOutput>: Identifiable {
| `- note: add '@available' attribute to enclosing generic struct
42 | /// Represents the typed content carried by an update.
43 | public enum ContentPhase {
:
118 |
119 | /// Builds a partial snapshot from the provider's JSON payload.
120 | public static func partial(id: String, json: String) throws -> StructuredOutputSnapshot<Output> {
| `- note: add '@available' attribute to enclosing static method
121 | let rawContent = try GeneratedContent(json: json)
| |- error: 'init(json:)' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
122 | let content = try Output.Schema.PartiallyGenerated(rawContent)
123 | return StructuredOutputSnapshot(id: id, contentPhase: .partial(content), rawContent: rawContent)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:128:26: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
39 | /// }
40 | /// ```
41 | public struct StructuredOutputSnapshot<Output: StructuredOutput>: Identifiable {
| `- note: add '@available' attribute to enclosing generic struct
42 | /// Represents the typed content carried by an update.
43 | public enum ContentPhase {
:
125 |
126 | /// Builds a final snapshot from the provider's JSON payload.
127 | public static func final(id: String, json: String) throws -> StructuredOutputSnapshot<Output> {
| `- note: add '@available' attribute to enclosing static method
128 | let rawContent = try GeneratedContent(json: json)
| |- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
129 | let content = try Output.Schema(rawContent)
130 | return StructuredOutputSnapshot(id: id, contentPhase: .final(content), rawContent: rawContent)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:128:26: error: 'init(json:)' is only available in watchOS 27.0 or newer
39 | /// }
40 | /// ```
41 | public struct StructuredOutputSnapshot<Output: StructuredOutput>: Identifiable {
| `- note: add '@available' attribute to enclosing generic struct
42 | /// Represents the typed content carried by an update.
43 | public enum ContentPhase {
:
125 |
126 | /// Builds a final snapshot from the provider's JSON payload.
127 | public static func final(id: String, json: String) throws -> StructuredOutputSnapshot<Output> {
| `- note: add '@available' attribute to enclosing static method
128 | let rawContent = try GeneratedContent(json: json)
| |- error: 'init(json:)' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
129 | let content = try Output.Schema(rawContent)
130 | return StructuredOutputSnapshot(id: id, contentPhase: .final(content), rawContent: rawContent)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift:146:54: error: 'asPartiallyGenerated()' is only available in watchOS 27.0 or newer
137 | }
138 |
139 | private extension StructuredOutputSnapshot {
| `- note: add '@available' attribute to enclosing extension
140 | /// Produces the `CurrentContent` projection for a given phase.
141 | static func makeCurrentContent(from content: ContentPhase, raw: GeneratedContent) -> CurrentContent? {
| `- note: add '@available' attribute to enclosing static method
142 | switch content {
143 | case let .partial(content):
144 | CurrentContent(isFinal: false, content: content)
145 | case let .final(content):
146 | CurrentContent(isFinal: true, content: content.asPartiallyGenerated())
| |- error: 'asPartiallyGenerated()' is only available in watchOS 27.0 or newer
| `- note: add 'if #available' version check
147 | }
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:104:28: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
54 | /// }
55 | /// ```
56 | public struct ToolRun<Tool: FoundationModels.Tool>: Identifiable where Tool.Arguments: Generable,
| `- note: add '@available' attribute to enclosing generic struct
57 | Tool.Output: Generable {
58 | /// The arguments type for this tool.
:
102 |
103 | /// The raw generated content containing the tool arguments.
104 | public var rawArguments: GeneratedContent
| `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
105 |
106 | /// The raw generated content containing the tool output, if available.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:107:25: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
54 | /// }
55 | /// ```
56 | public struct ToolRun<Tool: FoundationModels.Tool>: Identifiable where Tool.Arguments: Generable,
| `- note: add '@available' attribute to enclosing generic struct
57 | Tool.Output: Generable {
58 | /// The arguments type for this tool.
:
105 |
106 | /// The raw generated content containing the tool output, if available.
107 | public var rawOutput: GeneratedContent?
| `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
108 |
109 | /// The current phase of the tool arguments (partial or final).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:161:19: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
54 | /// }
55 | /// ```
56 | public struct ToolRun<Tool: FoundationModels.Tool>: Identifiable where Tool.Arguments: Generable,
| `- note: add '@available' attribute to enclosing generic struct
57 | Tool.Output: Generable {
58 | /// The arguments type for this tool.
:
154 | }
155 |
156 | public init(
| `- note: add '@available' attribute to enclosing initializer
157 | id: String,
158 | argumentsPhase: ArgumentsPhase,
159 | output: Output? = nil,
160 | rejection: Rejection? = nil,
161 | rawArguments: GeneratedContent,
| `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
162 | rawOutput: GeneratedContent? = nil,
163 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:162:16: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
54 | /// }
55 | /// ```
56 | public struct ToolRun<Tool: FoundationModels.Tool>: Identifiable where Tool.Arguments: Generable,
| `- note: add '@available' attribute to enclosing generic struct
57 | Tool.Output: Generable {
58 | /// The arguments type for this tool.
:
154 | }
155 |
156 | public init(
| `- note: add '@available' attribute to enclosing initializer
157 | id: String,
158 | argumentsPhase: ArgumentsPhase,
:
160 | rejection: Rejection? = nil,
161 | rawArguments: GeneratedContent,
162 | rawOutput: GeneratedContent? = nil,
| `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
163 | ) {
164 | self.id = id
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:185:19: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
54 | /// }
55 | /// ```
56 | public struct ToolRun<Tool: FoundationModels.Tool>: Identifiable where Tool.Arguments: Generable,
| `- note: add '@available' attribute to enclosing generic struct
57 | Tool.Output: Generable {
58 | /// The arguments type for this tool.
:
178 | }
179 |
180 | public init(
| `- note: add '@available' attribute to enclosing initializer
181 | id: String,
182 | output: Output? = nil,
183 | rejection: Rejection? = nil,
184 | error: TranscriptResolvingError.ToolRunResolution,
185 | rawArguments: GeneratedContent,
| `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
186 | rawOutput: GeneratedContent? = nil,
187 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:186:16: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
54 | /// }
55 | /// ```
56 | public struct ToolRun<Tool: FoundationModels.Tool>: Identifiable where Tool.Arguments: Generable,
| `- note: add '@available' attribute to enclosing generic struct
57 | Tool.Output: Generable {
58 | /// The arguments type for this tool.
:
178 | }
179 |
180 | public init(
| `- note: add '@available' attribute to enclosing initializer
181 | id: String,
182 | output: Output? = nil,
:
184 | error: TranscriptResolvingError.ToolRunResolution,
185 | rawArguments: GeneratedContent,
186 | rawOutput: GeneratedContent? = nil,
| `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
187 | ) {
188 | self.id = id
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:56:46: error: 'Tool' is only available in watchOS 27.0 or newer
54 | /// }
55 | /// ```
56 | public struct ToolRun<Tool: FoundationModels.Tool>: Identifiable where Tool.Arguments: Generable,
| | `- error: 'Tool' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing generic struct
57 | Tool.Output: Generable {
58 | /// The arguments type for this tool.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:56:88: error: 'Generable' is only available in watchOS 27.0 or newer
54 | /// }
55 | /// ```
56 | public struct ToolRun<Tool: FoundationModels.Tool>: Identifiable where Tool.Arguments: Generable,
| | `- error: 'Generable' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing generic struct
57 | Tool.Output: Generable {
58 | /// The arguments type for this tool.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:57:16: error: 'Generable' is only available in watchOS 27.0 or newer
54 | /// }
55 | /// ```
56 | public struct ToolRun<Tool: FoundationModels.Tool>: Identifiable where Tool.Arguments: Generable,
| `- note: add '@available' attribute to enclosing generic struct
57 | Tool.Output: Generable {
| `- error: 'Generable' is only available in watchOS 27.0 or newer
58 | /// The arguments type for this tool.
59 | public typealias Arguments = Tool.Arguments
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift:337:34: error: 'GeneratedContent' is only available in watchOS 27.0 or newer
318 | public extension ToolRun {
319 | /// Structured payload returned when a tool call throws a `ToolRunRejection`.
320 | struct Rejection: Sendable, Equatable, Hashable {
| `- note: add '@available' attribute to enclosing struct
321 | /// Human-readable explanation surfaced to the agent loop.
322 | public let reason: String
:
335 |
336 | /// Converts the JSON back into `GeneratedContent` when you need structured access.
337 | public var generatedContent: GeneratedContent? {
| | `- error: 'GeneratedContent' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing property
338 | try? GeneratedContent(json: json)
339 | }
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StructuredOutputSnapshot.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TokenUsage.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TokenUsage.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToolRun.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ToolRunRejection.swift
SwiftCompile normal arm64_32 Compiling\ AgentLog.swift,\ ContentFragmentBuffer.swift,\ GeneratedContent+StableJSON.swift,\ GenerationError+HTTPMapping.swift,\ GenerationError+Pipeline.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/AgentLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/ContentFragmentBuffer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+HTTPMapping.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+Pipeline.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/AgentLog.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentLog.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/ContentFragmentBuffer.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ContentFragmentBuffer.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GeneratedContent+StableJSON.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+HTTPMapping.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GenerationError+HTTPMapping.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+Pipeline.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GenerationError+Pipeline.swift
SwiftCompile normal arm64_32 Compiling\ AdapterUpdate.swift,\ AgentResponse.swift,\ AgentSnapshot.swift,\ GenerationError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AdapterUpdate.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/GenerationError.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AdapterUpdate.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AdapterUpdate.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentResponse.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentResponse.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentSnapshot.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AgentSnapshot.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/GenerationError.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile GenerationError.swift
SwiftCompile normal arm64_32 Compiling\ LanguageModelSessionSchema.swift,\ StructuredOutput.swift,\ SwiftAgentTool.swift,\ SwiftAgentConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift (in target 'SwiftAgent' from project 'SwiftAgent')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift:33:26: error: 'Generable' is only available in watchOS 27.0 or newer
29 | /// let report = try await session.respond(to: "Weather in Lisbon?", generating: \.weatherReport).content
30 | /// ```
31 | public protocol StructuredOutput<Schema>: Sendable {
| `- note: add '@available' attribute to enclosing protocol
32 | /// The schema that the model should produce for this output.
33 | associatedtype Schema: Generable
| | `- error: 'Generable' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing associated type
34 |
35 | /// A stable identifier for the output used in transcripts.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift:39:1: error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
37 | }
38 |
39 | extension String: StructuredOutput {
| |- error: conformance of 'String' to 'Generable' is only available in watchOS 27.0 or newer
| |- note: add '@available' attribute to enclosing extension
| `- note: in associated type 'Self.Schema' (inferred as 'String')
40 | /// The schema is the string itself, enabling plain text generation
41 | /// through the same structured output pipeline.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift:11:50: error: 'Tool' is only available in watchOS 27.0 or newer
9 | /// - Note: You do not conform to this protocol directly. When you define a language model session and pass a `@Tool`
10 | /// property, the macro will synthesize a conformance to this protocol.
11 | public protocol SwiftAgentTool: FoundationModels.Tool where Arguments: Generable, Output: Generable {}
| | `- error: 'Tool' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing protocol
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift:11:72: error: 'Generable' is only available in watchOS 27.0 or newer
9 | /// - Note: You do not conform to this protocol directly. When you define a language model session and pass a `@Tool`
10 | /// property, the macro will synthesize a conformance to this protocol.
11 | public protocol SwiftAgentTool: FoundationModels.Tool where Arguments: Generable, Output: Generable {}
| | `- error: 'Generable' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing protocol
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift:11:91: error: 'Generable' is only available in watchOS 27.0 or newer
9 | /// - Note: You do not conform to this protocol directly. When you define a language model session and pass a `@Tool`
10 | /// property, the macro will synthesize a conformance to this protocol.
11 | public protocol SwiftAgentTool: FoundationModels.Tool where Arguments: Generable, Output: Generable {}
| | `- error: 'Generable' is only available in watchOS 27.0 or newer
| `- note: add '@available' attribute to enclosing protocol
12 |
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/Sources/SwiftAgent/Helpers/AgentLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/ContentFragmentBuffer.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GeneratedContent+StableJSON.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+HTTPMapping.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/GenerationError+Pipeline.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/JSONUtilities.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/Logging.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/RejectionReportDetailsExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/SnakeCaseName.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/TranscriptResolver.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Helpers/URLMetadataProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+Respond.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider+StreamResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/LanguageModelProvider/LanguageModelProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Macros.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AdapterUpdate.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentResponse.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/AgentSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/GenerationError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/StructuredOutputSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TokenUsage.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRun.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/ToolRunRejection.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript+Resolved.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/Transcript.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/TranscriptResolvingError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Models/_SwiftAgentToolWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/AuthorizationContext.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient+SSE.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPErrorMessageExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPReplayRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/NetworkLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/SSEEventTextEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuiltins.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/Adapter.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableStructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/DecodableTool.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/supplementaryOutputs-20 -target arm64_32-apple-watchos26.0 -disable-cross-import-overlay-search -swift-module-cross-import LinkPresentation /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/LinkPresentation.framework/Modules/LinkPresentation.swiftcrossimport/AppIntents.swiftoverlay -swift-module-cross-import LinkPresentation /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/LinkPresentation.framework/Modules/LinkPresentation.swiftcrossimport/AppIntents.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/SwiftAgentMacros\#SwiftAgentMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -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/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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\=5 -profile-generate -profile-coverage-mapping -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/SwiftAgentMacros\#SwiftAgentMacros -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/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftAgent -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.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/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/LanguageModelSessionSchema.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/StructuredOutput.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgentTool.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgentConfiguration.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgent.swiftmodule -index-unit-output-path /SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/LanguageModelSessionSchema.o -index-unit-output-path /SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/StructuredOutput.o -index-unit-output-path /SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgentTool.o -index-unit-output-path /SwiftAgent.build/Debug-watchos/SwiftAgent-t.build/Objects-normal/arm64_32/SwiftAgentConfiguration.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelSessionSchema.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile StructuredOutput.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftAgentTool.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftAgentConfiguration.swift
SwiftCompile normal arm64_32 Compiling\ AuthorizationContext.swift,\ HTTPClient+SSE.swift,\ HTTPClient.swift,\ HTTPErrorMessageExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/AuthorizationContext.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient+SSE.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPErrorMessageExtractor.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/AuthorizationContext.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AuthorizationContext.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient+SSE.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTTPClient+SSE.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPClient.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTTPClient.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPErrorMessageExtractor.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTTPErrorMessageExtractor.swift
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/LinkPresentation-E9ZADSIFSOW2KEMZ0DVTKDTQV.pcm
SwiftCompile normal arm64_32 Compiling\ HTTPReplayRecorder.swift,\ NetworkLog.swift,\ SSEEventTextEncoder.swift,\ PromptBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPReplayRecorder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/NetworkLog.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/SSEEventTextEncoder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/HTTPReplayRecorder.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile HTTPReplayRecorder.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/NetworkLog.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NetworkLog.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Networking/SSEEventTextEncoder.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SSEEventTextEncoder.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Prompting/PromptBuilder.swift (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile PromptBuilder.swift
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ OpenAI (in target 'OpenAI' from project 'OpenAI')
SwiftCompile normal arm64_32 (in target 'OpenAI' from project 'OpenAI')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftAgent (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64 (in target 'SwiftAgent' from project 'SwiftAgent')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-23 17:01:42.960 xcodebuild[2816:14631] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
2026-09-23 17:01:43.061 xcodebuild[2816:14631] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64_32 Compiling\ LanguageModelSessionSchema.swift,\ StructuredOutput.swift,\ SwiftAgentTool.swift,\ SwiftAgentConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/LanguageModelSessionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/SwiftAgentConfiguration.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/StructuredOutput.swift (in target 'SwiftAgent' from project 'SwiftAgent')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/SwiftAgent/Protocols/SwiftAgentTool.swift (in target 'SwiftAgent' from project 'SwiftAgent')
Building workspace SwiftAgent with scheme SwiftAgent-Package
(4 failures)
BUILD FAILURE 6.4 watchOS