Build Information
Failed to build TranscriptDebugMenu, reference main (864736
), with Swift 6.2 (beta) for macOS (SPM) on 28 Aug 2025 21:56:40 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/artemnovichkov/TranscriptDebugMenu.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/artemnovichkov/TranscriptDebugMenu
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8647360 Update screenshots
Cloned https://github.com/artemnovichkov/TranscriptDebugMenu.git
Revision (git rev-parse @):
8647360635216ae03ee1870e0b53d4c41266435a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/artemnovichkov/TranscriptDebugMenu.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/artemnovichkov/TranscriptDebugMenu.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[3/5] Copying PrivacyInfo.xcprivacy
[4/5] Write swift-version-1EA4D86E10B52AF.txt
[6/13] Compiling TranscriptDebugMenu resource_bundle_accessor.swift
[7/13] Compiling TranscriptDebugMenu TranscriptEntryDetailView.swift
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptEntryDetailView.swift:96:21: error: cannot convert value of type 'Transcript.ToolCalls' to expected argument type 'Binding<C>'
94 | private func toolCallsSections(toolCalls: Transcript.ToolCalls) -> some View {
95 | Section("Tool Calls") {
96 | ForEach(toolCalls) { call in
| `- error: cannot convert value of type 'Transcript.ToolCalls' to expected argument type 'Binding<C>'
97 | LabeledContent("Tool name", value: call.toolName)
98 | LabeledContent("Arguments", value: call.arguments.jsonString)
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptEntryDetailView.swift:96:13: error: generic parameter 'C' could not be inferred
94 | private func toolCallsSections(toolCalls: Transcript.ToolCalls) -> some View {
95 | Section("Tool Calls") {
96 | ForEach(toolCalls) { call in
| `- error: generic parameter 'C' could not be inferred
97 | LabeledContent("Tool name", value: call.toolName)
98 | LabeledContent("Arguments", value: call.arguments.jsonString)
SwiftUI.ForEach.init:2:8: note: in call to initializer
1 | generic struct ForEach {
2 | public init<C>(_ data: Binding<C>, @ViewBuilder content: @escaping (Binding<C.Element>) -> Content) where Data == LazyMapSequence<C.Indices, (C.Index, ID)>, ID == C.Element.ID, C : MutableCollection, C : RandomAccessCollection, C.Element : Identifiable, C.Index : Hashable}
| `- note: in call to initializer
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptEntryDetailView.swift:97:17: error: initializer 'init(_:value:)' requires that 'Binding<Subject>' conform to 'StringProtocol'
95 | Section("Tool Calls") {
96 | ForEach(toolCalls) { call in
97 | LabeledContent("Tool name", value: call.toolName)
| `- error: initializer 'init(_:value:)' requires that 'Binding<Subject>' conform to 'StringProtocol'
98 | LabeledContent("Arguments", value: call.arguments.jsonString)
99 | }
SwiftUI.LabeledContent.init:2:8: note: where 'S' = 'Binding<Subject>'
1 | generic struct LabeledContent {
2 | public init<S>(_ titleKey: LocalizedStringKey, value: S) where S : StringProtocol}
| `- note: where 'S' = 'Binding<Subject>'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptEntryDetailView.swift:123:25: error: cannot convert value of type '[Transcript.Segment]' to expected argument type 'Binding<C>'
121 | if segments.isEmpty == false {
122 | Section("Segments") {
123 | ForEach(segments) { segment in
| `- error: cannot convert value of type '[Transcript.Segment]' to expected argument type 'Binding<C>'
124 | switch segment {
125 | case .text(let textSegment):
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptEntryDetailView.swift:123:17: error: generic parameter 'C' could not be inferred
121 | if segments.isEmpty == false {
122 | Section("Segments") {
123 | ForEach(segments) { segment in
| `- error: generic parameter 'C' could not be inferred
124 | switch segment {
125 | case .text(let textSegment):
SwiftUI.ForEach.init:2:8: note: in call to initializer
1 | generic struct ForEach {
2 | public init<C>(_ data: Binding<C>, @ViewBuilder content: @escaping (Binding<C.Element>) -> Content) where Data == LazyMapSequence<C.Indices, (C.Index, ID)>, ID == C.Element.ID, C : MutableCollection, C : RandomAccessCollection, C.Element : Identifiable, C.Index : Hashable}
| `- note: in call to initializer
3 |
[8/13] Compiling TranscriptDebugMenu View+TranscriptDebugMenu.swift
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptDebugMenu.swift:49:35: error: cannot find type 'LanguageModelFeedback' in scope
47 | .appendingPathExtension("json")
48 |
49 | @State private var sentiment: LanguageModelFeedback.Sentiment?
| `- error: cannot find type 'LanguageModelFeedback' in scope
50 | @State private var feedbackDataFileSaved: Bool = false
51 | private let logger = Logger(subsystem: "com.artemnovichkov.TranscriptDebugMenu", category: "TranscriptDebugMenu")
[9/13] Compiling TranscriptDebugMenu SearchScope.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/13] Compiling TranscriptDebugMenu Transcript+Tokens.swift
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Transcript+Tokens.swift:9:9: error: cannot find 'reduce' in scope
7 | extension Transcript {
8 | var tokensCount: Int {
9 | reduce(0) { $0 + $1.tokensCount }
| `- error: cannot find 'reduce' in scope
10 | }
11 | }
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Transcript+Tokens.swift:44:62: error: value of type 'GeneratedContent' has no member 'jsonString'
42 |
43 | private extension Transcript.ToolCalls {
44 | var charactersCount: Int { reduce(0) { $0 + $1.arguments.jsonString.count } }
| `- error: value of type 'GeneratedContent' has no member 'jsonString'
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Transcript+Tokens.swift:53:39: error: value of type 'GeneratedContent' has no member 'jsonString'
51 | textSegment.content.count
52 | case .structure(let structuredSegment):
53 | structuredSegment.content.jsonString.count
| `- error: value of type 'GeneratedContent' has no member 'jsonString'
54 | @unknown default:
55 | 0
[11/13] Emitting module TranscriptDebugMenu
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:18:116: error: extra argument 'tool' in call
16 |
17 | extension Transcript.Entry {
18 | static let instructionsMock: Self = .instructions(.init(segments: Mock.segments, toolDefinitions: [.init(tool: MoodTool())]))
| `- error: extra argument 'tool' in call
19 |
20 | static let promptMock: Self = .prompt(.init(segments: Mock.segments,
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:18:109: error: missing arguments for parameters 'name', 'description', 'parameters' in call
16 |
17 | extension Transcript.Entry {
18 | static let instructionsMock: Self = .instructions(.init(segments: Mock.segments, toolDefinitions: [.init(tool: MoodTool())]))
| `- error: missing arguments for parameters 'name', 'description', 'parameters' in call
19 |
20 | static let promptMock: Self = .prompt(.init(segments: Mock.segments,
FoundationModels.Transcript.ToolDefinition.init:3:8: note: 'init(name:description:parameters:)' declared here
1 | struct Transcript {
2 | struct ToolDefinition {
3 | public init(name: String, description: String, parameters: GenerationSchema) }
| `- note: 'init(name:description:parameters:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:39:6: error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
37 |
38 | @Generable
39 | enum Mood: String, CaseIterable {
| `- error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
40 | case happy, sad, thoughtful, excited, calm
41 | }
FoundationModels.Generable:4:145: note: 'Generable(description:)' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:39:6: error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
37 |
38 | @Generable
39 | enum Mood: String, CaseIterable {
| `- error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
40 | case happy, sad, thoughtful, excited, calm
41 | }
FoundationModels.Generable:4:145: note: 'Generable(description:)' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:22:66: error: initializer 'init(type:)' requires that 'Mood' conform to 'Generable'
20 | static let promptMock: Self = .prompt(.init(segments: Mock.segments,
21 | options: .init(sampling: .random(probabilityThreshold: 1), temperature: 1, maximumResponseTokens: 30),
22 | responseFormat: .init(type: Mood.self)))
| |- error: initializer 'init(type:)' requires that 'Mood' conform to 'Generable'
| `- note: did you mean to use '.rawValue'?
23 |
24 | static let toolCallsMock: Self = {
FoundationModels.Transcript.ResponseFormat.init:3:8: note: where 'Content' = 'Mood'
1 | struct Transcript {
2 | struct ResponseFormat {
3 | public init<Content>(type: Content.Type) where Content : Generable }
| `- note: where 'Content' = 'Mood'
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:48:12: error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
46 |
47 | @Generable
48 | struct Arguments {}
| `- error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
49 |
50 | func call(arguments: Arguments) async throws -> Mood? {
FoundationModels.Generable:4:145: note: 'Generable(description:)' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:48:12: error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
46 |
47 | @Generable
48 | struct Arguments {}
| `- error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
49 |
50 | func call(arguments: Arguments) async throws -> Mood? {
FoundationModels.Generable:4:145: note: 'Generable(description:)' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:25:20: error: 'Transcript.ToolCall' cannot be constructed because it has no accessible initializers
23 |
24 | static let toolCallsMock: Self = {
25 | let call = Transcript.ToolCall(id: "id", toolName: MoodTool().name, arguments: MoodTool.Arguments().generatedContent)
| `- error: 'Transcript.ToolCall' cannot be constructed because it has no accessible initializers
26 | return .toolCalls(Transcript.ToolCalls([call]))
27 | }()
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:25:109: error: value of type 'MoodTool.Arguments' has no member 'generatedContent'
23 |
24 | static let toolCallsMock: Self = {
25 | let call = Transcript.ToolCall(id: "id", toolName: MoodTool().name, arguments: MoodTool.Arguments().generatedContent)
| `- error: value of type 'MoodTool.Arguments' has no member 'generatedContent'
26 | return .toolCalls(Transcript.ToolCalls([call]))
27 | }()
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:43:13: error: type 'MoodTool' does not conform to protocol 'Tool'
41 | }
42 |
43 | final class MoodTool: Tool {
| |- error: type 'MoodTool' does not conform to protocol 'Tool'
| `- note: add stubs for conformance
44 | let name = "generateMood"
45 | let description = "Generates a random mood for haiku"
46 |
47 | @Generable
48 | struct Arguments {}
| `- note: possibly intended match 'MoodTool.Arguments' does not conform to 'ConvertibleFromGeneratedContent'
49 |
50 | func call(arguments: Arguments) async throws -> Mood? {
FoundationModels.Tool.parameters:2:12: note: candidate would match if 'MoodTool.Arguments' conformed to 'Generable'
1 | protocol Tool {
2 | public var parameters: GenerationSchema { get }}
| `- note: candidate would match if 'MoodTool.Arguments' conformed to 'Generable'
3 |
FoundationModels.Tool.Arguments:2:16: note: protocol requires nested type 'Arguments'
1 | protocol Tool {
2 | associatedtype Arguments : ConvertibleFromGeneratedContent}
| `- note: protocol requires nested type 'Arguments'
3 |
FoundationModels.Tool.parameters:2:5: note: protocol requires property 'parameters' with type 'GenerationSchema'
1 | protocol Tool {
2 | var parameters: GenerationSchema { get }}
| `- note: protocol requires property 'parameters' with type 'GenerationSchema'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:56:8: error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
54 |
55 | @Generable
56 | struct Haiku {
| `- error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
57 | let text: String
58 | }
FoundationModels.Generable:4:145: note: 'Generable(description:)' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:56:8: error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
54 |
55 | @Generable
56 | struct Haiku {
| `- error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
57 | let text: String
58 | }
FoundationModels.Generable:4:145: note: 'Generable(description:)' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptDebugMenu.swift:49:35: error: cannot find type 'LanguageModelFeedback' in scope
47 | .appendingPathExtension("json")
48 |
49 | @State private var sentiment: LanguageModelFeedback.Sentiment?
| `- error: cannot find type 'LanguageModelFeedback' in scope
50 | @State private var feedbackDataFileSaved: Bool = false
51 | private let logger = Logger(subsystem: "com.artemnovichkov.TranscriptDebugMenu", category: "TranscriptDebugMenu")
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptDebugMenu.swift:175:52: error: cannot find type 'LanguageModelFeedback' in scope
173 | }
174 |
175 | private func saveFeedbackAttachment(sentiment: LanguageModelFeedback.Sentiment?) {
| `- error: cannot find type 'LanguageModelFeedback' in scope
176 | let feedbackData = session.logFeedbackAttachment(sentiment: sentiment)
177 | do {
[12/13] Compiling TranscriptDebugMenu Mocks.swift
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:18:116: error: extra argument 'tool' in call
16 |
17 | extension Transcript.Entry {
18 | static let instructionsMock: Self = .instructions(.init(segments: Mock.segments, toolDefinitions: [.init(tool: MoodTool())]))
| `- error: extra argument 'tool' in call
19 |
20 | static let promptMock: Self = .prompt(.init(segments: Mock.segments,
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:18:109: error: missing arguments for parameters 'name', 'description', 'parameters' in call
16 |
17 | extension Transcript.Entry {
18 | static let instructionsMock: Self = .instructions(.init(segments: Mock.segments, toolDefinitions: [.init(tool: MoodTool())]))
| `- error: missing arguments for parameters 'name', 'description', 'parameters' in call
19 |
20 | static let promptMock: Self = .prompt(.init(segments: Mock.segments,
FoundationModels.Transcript.ToolDefinition.init:3:8: note: 'init(name:description:parameters:)' declared here
1 | struct Transcript {
2 | struct ToolDefinition {
3 | public init(name: String, description: String, parameters: GenerationSchema) }
| `- note: 'init(name:description:parameters:)' declared here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:39:6: error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
37 |
38 | @Generable
39 | enum Mood: String, CaseIterable {
| `- error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
40 | case happy, sad, thoughtful, excited, calm
41 | }
FoundationModels.Generable:4:145: note: 'Generable(description:)' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:39:6: error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
37 |
38 | @Generable
39 | enum Mood: String, CaseIterable {
| `- error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
40 | case happy, sad, thoughtful, excited, calm
41 | }
FoundationModels.Generable:4:145: note: 'Generable(description:)' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:22:66: error: initializer 'init(type:)' requires that 'Mood' conform to 'Generable'
20 | static let promptMock: Self = .prompt(.init(segments: Mock.segments,
21 | options: .init(sampling: .random(probabilityThreshold: 1), temperature: 1, maximumResponseTokens: 30),
22 | responseFormat: .init(type: Mood.self)))
| |- error: initializer 'init(type:)' requires that 'Mood' conform to 'Generable'
| `- note: did you mean to use '.rawValue'?
23 |
24 | static let toolCallsMock: Self = {
FoundationModels.Transcript.ResponseFormat.init:3:8: note: where 'Content' = 'Mood'
1 | struct Transcript {
2 | struct ResponseFormat {
3 | public init<Content>(type: Content.Type) where Content : Generable }
| `- note: where 'Content' = 'Mood'
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:48:12: error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
46 |
47 | @Generable
48 | struct Arguments {}
| `- error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
49 |
50 | func call(arguments: Arguments) async throws -> Mood? {
FoundationModels.Generable:4:145: note: 'Generable(description:)' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:48:12: error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
46 |
47 | @Generable
48 | struct Arguments {}
| `- error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
49 |
50 | func call(arguments: Arguments) async throws -> Mood? {
FoundationModels.Generable:4:145: note: 'Generable(description:)' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:25:20: error: 'Transcript.ToolCall' cannot be constructed because it has no accessible initializers
23 |
24 | static let toolCallsMock: Self = {
25 | let call = Transcript.ToolCall(id: "id", toolName: MoodTool().name, arguments: MoodTool.Arguments().generatedContent)
| `- error: 'Transcript.ToolCall' cannot be constructed because it has no accessible initializers
26 | return .toolCalls(Transcript.ToolCalls([call]))
27 | }()
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:25:109: error: value of type 'MoodTool.Arguments' has no member 'generatedContent'
23 |
24 | static let toolCallsMock: Self = {
25 | let call = Transcript.ToolCall(id: "id", toolName: MoodTool().name, arguments: MoodTool.Arguments().generatedContent)
| `- error: value of type 'MoodTool.Arguments' has no member 'generatedContent'
26 | return .toolCalls(Transcript.ToolCalls([call]))
27 | }()
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:43:13: error: type 'MoodTool' does not conform to protocol 'Tool'
41 | }
42 |
43 | final class MoodTool: Tool {
| |- error: type 'MoodTool' does not conform to protocol 'Tool'
| `- note: add stubs for conformance
44 | let name = "generateMood"
45 | let description = "Generates a random mood for haiku"
46 |
47 | @Generable
48 | struct Arguments {}
| `- note: possibly intended match 'MoodTool.Arguments' does not conform to 'ConvertibleFromGeneratedContent'
49 |
50 | func call(arguments: Arguments) async throws -> Mood? {
FoundationModels.Tool.parameters:2:12: note: candidate would match if 'MoodTool.Arguments' conformed to 'Generable'
1 | protocol Tool {
2 | public var parameters: GenerationSchema { get }}
| `- note: candidate would match if 'MoodTool.Arguments' conformed to 'Generable'
3 |
FoundationModels.Tool.Arguments:2:16: note: protocol requires nested type 'Arguments'
1 | protocol Tool {
2 | associatedtype Arguments : ConvertibleFromGeneratedContent}
| `- note: protocol requires nested type 'Arguments'
3 |
FoundationModels.Tool.parameters:2:5: note: protocol requires property 'parameters' with type 'GenerationSchema'
1 | protocol Tool {
2 | var parameters: GenerationSchema { get }}
| `- note: protocol requires property 'parameters' with type 'GenerationSchema'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:56:8: error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
54 |
55 | @Generable
56 | struct Haiku {
| `- error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
57 | let text: String
58 | }
FoundationModels.Generable:4:145: note: 'Generable(description:)' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' declared here
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/Mocks.swift:56:8: error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
54 |
55 | @Generable
56 | struct Haiku {
| `- error: external macro implementation type 'FoundationModelsMacros.GenerableMacro' could not be found for macro 'Generable(description:)'; failed to load library plugin '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib' in plugin server '/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server'; loader error: dlopen(/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib, 0x0005): Symbol not found: _$ss18EnumeratedSequenceVsSlRzrlE5IndexVMn
Referenced from: <29CB3237-7290-3FD5-8165-2C74AF0D9C69> /Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib (built for macOS 26.0 which is newer than running OS)
Expected in: <C5CCFFBF-EFE8-36B9-9386-E0E840770A09> /usr/lib/swift/libswiftCore.dylib
57 | let text: String
58 | }
FoundationModels.Generable:4:145: note: 'Generable(description:)' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' declared here
[13/13] Compiling TranscriptDebugMenu TranscriptDebugMenu.swift
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptDebugMenu.swift:49:35: error: cannot find type 'LanguageModelFeedback' in scope
47 | .appendingPathExtension("json")
48 |
49 | @State private var sentiment: LanguageModelFeedback.Sentiment?
| `- error: cannot find type 'LanguageModelFeedback' in scope
50 | @State private var feedbackDataFileSaved: Bool = false
51 | private let logger = Logger(subsystem: "com.artemnovichkov.TranscriptDebugMenu", category: "TranscriptDebugMenu")
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptDebugMenu.swift:175:52: error: cannot find type 'LanguageModelFeedback' in scope
173 | }
174 |
175 | private func saveFeedbackAttachment(sentiment: LanguageModelFeedback.Sentiment?) {
| `- error: cannot find type 'LanguageModelFeedback' in scope
176 | let feedbackData = session.logFeedbackAttachment(sentiment: sentiment)
177 | do {
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptDebugMenu.swift:64:32: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
62 | }
63 |
64 | public var body: some View {
| `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
65 | NavigationStack(path: $path) {
66 | List {
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptDebugMenu.swift:121:20: error: no exact matches in call to initializer
119 | private var entries: [Transcript.Entry] {
120 | if searchText.isEmpty {
121 | return Array(session.transcript)
| `- error: no exact matches in call to initializer
122 | }
123 | return session.transcript
Swift.Array.init:2:19: note: candidate requires that 'Transcript' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | generic struct Array {
2 | @inlinable public init<S>(_ s: S) where Element == S.Element, S : Sequence}
| `- note: candidate requires that 'Transcript' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
Swift.RangeReplaceableCollection.init:2:19: note: candidate requires that 'Transcript' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
1 | protocol RangeReplaceableCollection {
2 | @inlinable public init<S>(_ elements: S) where S : Sequence, Self.Element == S.Element}
| `- note: candidate requires that 'Transcript' conform to 'Sequence' (requirement specified as 'S' : 'Sequence')
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptDebugMenu.swift:124:14: error: value of type 'Transcript' has no member 'filter'
122 | }
123 | return session.transcript
124 | .filter { entry in
| `- error: value of type 'Transcript' has no member 'filter'
125 | switch searchScope {
126 | case .all:
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptDebugMenu.swift:154:61: error: cannot infer contextual base in reference to member 'negative'
152 | ToolbarItem {
153 | Button {
154 | sentiment = sentiment == .negative ? nil : .negative
| `- error: cannot infer contextual base in reference to member 'negative'
155 | } label: {
156 | Label("Negative",
/Users/admin/builder/spi-builder-workspace/Sources/TranscriptDebugMenu/TranscriptDebugMenu.swift:176:36: error: value of type 'LanguageModelSession' has no member 'logFeedbackAttachment'
174 |
175 | private func saveFeedbackAttachment(sentiment: LanguageModelFeedback.Sentiment?) {
176 | let feedbackData = session.logFeedbackAttachment(sentiment: sentiment)
| `- error: value of type 'LanguageModelSession' has no member 'logFeedbackAttachment'
177 | do {
178 | try feedbackData.write(to: feedbackFileURL)
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2094] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.20s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.5 (3.89s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3487] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.21s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.77s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.5
BUILD FAILURE 6.2 macosSpm