The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftAutoGUI, reference 1.0.0 (c13d80), with Swift 6.3 for macOS (SPM) on 5 Oct 2026 01:57:00 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NakaokaRei/SwiftAutoGUI.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NakaokaRei/SwiftAutoGUI
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at c13d808 Bump plugin version to 1.0.0
Cloned https://github.com/NakaokaRei/SwiftAutoGUI.git
Revision (git rev-parse @):
c13d808609651af04e5a6141c1df143d8ed7c4d8
SUCCESS checkout https://github.com/NakaokaRei/SwiftAutoGUI.git at 1.0.0
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/apple/foundation-models-utilities
Fetching https://github.com/apple/swift-argument-parser.git
[1/2345] Fetching swift-docc-plugin
[213/2465] Fetching swift-docc-plugin, foundation-models-utilities
[225/21512] Fetching swift-docc-plugin, foundation-models-utilities, swift-argument-parser
[226/25345] Fetching swift-docc-plugin, foundation-models-utilities, swift-argument-parser, swift-docc-symbolkit
Fetched https://github.com/apple/foundation-models-utilities from cache (1.89s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.89s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.89s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.89s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Creating working copy for https://github.com/apple/foundation-models-utilities
Creating working copy for https://github.com/apple/swift-argument-parser.git
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/foundation-models-utilities resolved at 1.0.0-beta5
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swiftautogui",
      "name": "SwiftAutoGUI",
      "url": "https://github.com/NakaokaRei/SwiftAutoGUI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftAutoGUI",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser.git",
          "version": "1.8.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "foundation-models-utilities",
          "name": "foundation-models-utilities",
          "url": "https://github.com/apple/foundation-models-utilities",
          "version": "1.0.0-beta5",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/foundation-models-utilities",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/NakaokaRei/SwiftAutoGUI.git
[1/2203] Fetching swiftautogui
Fetched https://github.com/NakaokaRei/SwiftAutoGUI.git from cache (1.05s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetching https://github.com/apple/foundation-models-utilities from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.67s)
Fetched https://github.com/apple/foundation-models-utilities from cache (0.67s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (1.13s)
Computing version for https://github.com/apple/foundation-models-utilities
Computed https://github.com/apple/foundation-models-utilities at 1.0.0-beta5 (0.41s)
Creating working copy for https://github.com/apple/foundation-models-utilities
Working copy of https://github.com/apple/foundation-models-utilities resolved at 1.0.0-beta5
Creating working copy for https://github.com/NakaokaRei/SwiftAutoGUI.git
Working copy of https://github.com/NakaokaRei/SwiftAutoGUI.git resolved at 1.0.0 (c13d808)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Found 2 product dependencies
  - swift-argument-parser
  - foundation-models-utilities
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/NakaokaRei/SwiftAutoGUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin BuildMetalLibraryPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
[4/4] Compiling plugin Swift-DocC Preview
[5/5] Compiling plugin Swift-DocC
Building for debugging...
[5/18] Write sources
[6/18] Copying TemplateMatching.metallib
[6/18] Write sagui-entitlement.plist
[8/18] Write sources
[14/18] Write swift-version-69A768CDF2A0BEE1.txt
[16/35] Emitting module ArgumentParserToolInfo
[17/35] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/83] Emitting module ArgumentParser
[19/88] Compiling ArgumentParser CommandGroup.swift
[20/88] Compiling ArgumentParser EnumerableFlag.swift
[21/88] Compiling ArgumentParser ExpressibleByArgument.swift
[22/88] Compiling ArgumentParser ParsableArguments.swift
[23/88] Compiling ArgumentParser ParsableCommand.swift
[24/88] Compiling ArgumentParser Option.swift
[25/88] Compiling ArgumentParser OptionGroup.swift
[26/88] Compiling ArgumentParser ParentCommand.swift
[27/88] Compiling ArgumentParser AsyncParsableCommand.swift
[28/88] Compiling ArgumentParser CommandConfiguration.swift
[29/88] Compiling ArgumentParser ArgumentHelp.swift
[30/88] Compiling ArgumentParser ArgumentVisibility.swift
[31/88] Compiling ArgumentParser CompletionKind.swift
[32/88] Compiling ArgumentParser Errors.swift
[33/88] Compiling ArgumentParser Flag.swift
[34/88] Compiling ArgumentParser NameSpecification.swift
[35/88] Compiling ArgumentParser SequenceExtensions.swift
[36/88] Compiling ArgumentParser StringExtensions.swift
[37/88] Compiling ArgumentParser SwiftExtensions.swift
[38/88] Compiling ArgumentParser Tree.swift
[39/88] Compiling ArgumentParser AsyncCompletionsValidator.swift
[40/88] Compiling ArgumentParser CodingKeyValidator.swift
[41/88] Compiling ArgumentParser NonsenseFlagsValidator.swift
[42/88] Compiling ArgumentParser ParsableArgumentsValidation.swift
[43/88] Compiling ArgumentParser PositionalArgumentsValidator.swift
[44/88] Compiling ArgumentParser UniqueNamesValidator.swift
[45/88] Compiling ArgumentParser InputOrigin.swift
[46/88] Compiling ArgumentParser Name.swift
[47/88] Compiling ArgumentParser Parsed.swift
[48/88] Compiling ArgumentParser ParsedValues.swift
[49/88] Compiling ArgumentParser ParserError.swift
[50/88] Compiling ArgumentParser BashCompletionsGenerator.swift
[51/88] Compiling ArgumentParser CompletionsGenerator.swift
[52/88] Compiling ArgumentParser FishCompletionsGenerator.swift
[53/88] Compiling ArgumentParser ZshCompletionsGenerator.swift
[54/88] Compiling ArgumentParser Argument.swift
[55/88] Compiling ArgumentParser ArgumentDiscussion.swift
[56/88] Compiling FoundationModelsUtilities SkillActivations.swift
[57/88] Compiling FoundationModelsUtilities Skill.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skill.swift:235:21: error: cannot find type 'AnyDynamicInstructions' in scope
233 |   let name: String
234 |   let description: String
235 |   let instructions: AnyDynamicInstructions
    |                     `- error: cannot find type 'AnyDynamicInstructions' in scope
236 |   let allowsDeactivation: Bool
237 |   let onActivate: @Sendable () -> Void
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skill.swift:217:58: error: cannot find type 'DynamicInstructions' in scope
215 |     onActivate: @Sendable @escaping () -> Void = {},
216 |     onDeactivate: @Sendable @escaping () -> Void = {},
217 |     @DynamicInstructionsBuilder instructions: () -> some DynamicInstructions
    |                                                          `- error: cannot find type 'DynamicInstructions' in scope
218 |   ) {
219 |     storage = .instructions(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skill.swift:217:6: error: unknown attribute 'DynamicInstructionsBuilder'
215 |     onActivate: @Sendable @escaping () -> Void = {},
216 |     onDeactivate: @Sendable @escaping () -> Void = {},
217 |     @DynamicInstructionsBuilder instructions: () -> some DynamicInstructions
    |      `- error: unknown attribute 'DynamicInstructionsBuilder'
218 |   ) {
219 |     storage = .instructions(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skill.swift:183:23: error: cannot find 'AnyDynamicInstructions' in scope
181 |         name: name,
182 |         description: description,
183 |         instructions: AnyDynamicInstructions(Instructions(instructions)),
    |                       `- error: cannot find 'AnyDynamicInstructions' in scope
184 |         allowsDeactivation: allowsDeactivation,
185 |         onActivate: onActivate,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skill.swift:223:23: error: cannot find 'AnyDynamicInstructions' in scope
221 |         name: name,
222 |         description: description,
223 |         instructions: AnyDynamicInstructions(instructions()),
    |                       `- error: cannot find 'AnyDynamicInstructions' in scope
224 |         allowsDeactivation: allowsDeactivation,
225 |         onActivate: onActivate,
[58/88] Compiling FoundationModelsUtilities SkillBuilder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skill.swift:235:21: error: cannot find type 'AnyDynamicInstructions' in scope
233 |   let name: String
234 |   let description: String
235 |   let instructions: AnyDynamicInstructions
    |                     `- error: cannot find type 'AnyDynamicInstructions' in scope
236 |   let allowsDeactivation: Bool
237 |   let onActivate: @Sendable () -> Void
[59/88] Compiling FoundationModelsUtilities Skills.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skills.swift:145:25: error: cannot find type 'DynamicInstructions' in scope
143 |   /// The dynamic instructions body that renders each skill's status and
144 |   /// provides the toggle tool to the model.
145 |   public var body: some DynamicInstructions {
    |                         `- error: cannot find type 'DynamicInstructions' in scope
146 |
147 |     instructions
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skills.swift:55:23: error: cannot find type 'DynamicInstructions' in scope
 53 | /// }
 54 | /// ```
 55 | public struct Skills: DynamicInstructions {
    |                       `- error: cannot find type 'DynamicInstructions' in scope
 56 |   /// The default leading instructions rendered above the list of skills.
 57 |   private static let defaultInstructions = Instructions {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:5: error: cannot find 'DynamicInstructions' in scope
147 |     instructions
148 |
149 |     DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
    |     `- error: cannot find 'DynamicInstructions' in scope
150 |       // Each skill is preceded by a blank line so the leading instruction and
151 |       // every skill block are visually separated.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skills.swift:149:65: error: cannot infer key path type from context; consider explicitly specifying a root type
147 |     instructions
148 |
149 |     DynamicInstructions.ForEach(Array(skills.enumerated()), id: \.element.name) { item in
    |                                                                 `- error: cannot infer key path type from context; consider explicitly specifying a root type
150 |       // Each skill is preceded by a blank line so the leading instruction and
151 |       // every skill block are visually separated.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skill.swift:235:21: error: cannot find type 'AnyDynamicInstructions' in scope
233 |   let name: String
234 |   let description: String
235 |   let instructions: AnyDynamicInstructions
    |                     `- error: cannot find type 'AnyDynamicInstructions' in scope
236 |   let allowsDeactivation: Bool
237 |   let onActivate: @Sendable () -> Void
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skills.swift:297:30: error: type 'GeneratedContent' has no member 'ParsingError'
295 |
296 |     guard let skill = skills.first(where: { $0.name == name }) else {
297 |       throw GeneratedContent.ParsingError(
    |                              `- error: type 'GeneratedContent' has no member 'ParsingError'
298 |         rawContent: arguments.jsonString,
299 |         debugDescription: """
[60/88] Compiling FoundationModelsUtilities TranscriptRendering.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/TranscriptRendering.swift:24:11: error: type 'Transcript.Entry' has no member 'reasoning'
22 |     case .response(let response):
23 |       return "Assistant: \(response.segments.textContent)"
24 |     case .reasoning(let reasoning):
   |           `- error: type 'Transcript.Entry' has no member 'reasoning'
25 |       return "Assistant (reasoning): \(reasoning.segments.textContent)"
26 |     case .toolCalls(let calls):
[61/88] Compiling ArgumentParser SplitArguments.swift
[62/88] Compiling ArgumentParser DumpHelpGenerator.swift
[63/88] Compiling ArgumentParser HelpCommand.swift
[64/88] Compiling ArgumentParser HelpGenerator.swift
[65/88] Compiling ArgumentParser MessageInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/88] Emitting module FoundationModelsUtilities
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:14:32: error: 'DynamicProfile' is not a member type of class 'FoundationModels.LanguageModelSession'
12 | public import FoundationModels
13 |
14 | extension LanguageModelSession.DynamicProfile {
   |                                `- error: 'DynamicProfile' is not a member type of class 'FoundationModels.LanguageModelSession'
15 |   /// Returns a modified profile that removes completed tool-call and
16 |   /// tool-output entries from the transcript before each generation.
FoundationModels.LanguageModelSession:4:20: note: 'LanguageModelSession' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' declared here
5 |     final public var transcript: Transcript { get }
6 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:44:39: error: cannot find type 'DynamicProfile' in scope
42 |
43 | private struct DropCompletedToolCallsModifier: LanguageModelSession.DynamicProfileModifier {
44 |   func body(content: Content) -> some DynamicProfile {
   |                                       `- error: cannot find type 'DynamicProfile' in scope
45 |     content.historyTransform { history in
46 |       let lastOutputIndex =
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:44:34: error: 'some' types are only permitted in properties, subscripts, and functions
42 |
43 | private struct DropCompletedToolCallsModifier: LanguageModelSession.DynamicProfileModifier {
44 |   func body(content: Content) -> some DynamicProfile {
   |                                  `- error: 'some' types are only permitted in properties, subscripts, and functions
45 |     content.historyTransform { history in
46 |       let lastOutputIndex =
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:44:22: error: cannot find type 'Content' in scope
42 |
43 | private struct DropCompletedToolCallsModifier: LanguageModelSession.DynamicProfileModifier {
44 |   func body(content: Content) -> some DynamicProfile {
   |                      `- error: cannot find type 'Content' in scope
45 |     content.historyTransform { history in
46 |       let lastOutputIndex =
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:43:69: error: 'DynamicProfileModifier' is not a member type of class 'FoundationModels.LanguageModelSession'
41 | }
42 |
43 | private struct DropCompletedToolCallsModifier: LanguageModelSession.DynamicProfileModifier {
   |                                                                     `- error: 'DynamicProfileModifier' is not a member type of class 'FoundationModels.LanguageModelSession'
44 |   func body(content: Content) -> some DynamicProfile {
45 |     content.historyTransform { history in
FoundationModels.LanguageModelSession:4:20: note: 'LanguageModelSession' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' declared here
5 |     final public var transcript: Transcript { get }
6 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:14:32: error: 'DynamicProfile' is not a member type of class 'FoundationModels.LanguageModelSession'
12 | public import FoundationModels
13 |
14 | extension LanguageModelSession.DynamicProfile {
   |                                `- error: 'DynamicProfile' is not a member type of class 'FoundationModels.LanguageModelSession'
15 |   /// Returns a modified profile that keeps only the most recent transcript
16 |   /// entries, discarding older ones each time a new prompt is sent.
FoundationModels.LanguageModelSession:4:20: note: 'LanguageModelSession' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' declared here
5 |     final public var transcript: Transcript { get }
6 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:72:39: error: cannot find type 'DynamicProfile' in scope
70 |   let size: RollingWindowSize
71 |
72 |   func body(content: Content) -> some DynamicProfile {
   |                                       `- error: cannot find type 'DynamicProfile' in scope
73 |     content.historyTransform { history in
74 |       switch size {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:72:34: error: 'some' types are only permitted in properties, subscripts, and functions
70 |   let size: RollingWindowSize
71 |
72 |   func body(content: Content) -> some DynamicProfile {
   |                                  `- error: 'some' types are only permitted in properties, subscripts, and functions
73 |     content.historyTransform { history in
74 |       switch size {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:72:22: error: cannot find type 'Content' in scope
70 |   let size: RollingWindowSize
71 |
72 |   func body(content: Content) -> some DynamicProfile {
   |                      `- error: cannot find type 'Content' in scope
73 |     content.historyTransform { history in
74 |       switch size {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:69:60: error: 'DynamicProfileModifier' is not a member type of class 'FoundationModels.LanguageModelSession'
67 | }
68 |
69 | private struct RollingWindowModifier: LanguageModelSession.DynamicProfileModifier {
   |                                                            `- error: 'DynamicProfileModifier' is not a member type of class 'FoundationModels.LanguageModelSession'
70 |   let size: RollingWindowSize
71 |
FoundationModels.LanguageModelSession:4:20: note: 'LanguageModelSession' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' declared here
5 |     final public var transcript: Transcript { get }
6 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:15:32: error: 'DynamicProfile' is not a member type of class 'FoundationModels.LanguageModelSession'
 13 | private import Foundation
 14 |
 15 | extension LanguageModelSession.DynamicProfile {
    |                                `- error: 'DynamicProfile' is not a member type of class 'FoundationModels.LanguageModelSession'
 16 |   /// Returns a modified profile that summarizes the transcript when it
 17 |   /// exceeds an entry threshold, replacing older entries with a condensed
FoundationModels.LanguageModelSession:4:20: note: 'LanguageModelSession' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' declared here
5 |     final public var transcript: Transcript { get }
6 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:70:48: error: cannot find type 'LanguageModel' in scope
 68 | }
 69 |
 70 | private struct SummarizeHistoryModifier<Model: LanguageModel>: LanguageModelSession
    |                                                `- error: cannot find type 'LanguageModel' in scope
 71 |     .DynamicProfileModifier
 72 | {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:94:7: error: type annotation missing in pattern
 92 |
 93 |   @SessionProperty(\.history)
 94 |   var history
    |       `- error: type annotation missing in pattern
 95 |
 96 |   func body(content: Content) -> some DynamicProfile {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:93:4: error: unknown attribute 'SessionProperty'
 91 |   let summaryPostamble: String?
 92 |
 93 |   @SessionProperty(\.history)
    |    `- error: unknown attribute 'SessionProperty'
 94 |   var history
 95 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:96:39: error: cannot find type 'DynamicProfile' in scope
 94 |   var history
 95 |
 96 |   func body(content: Content) -> some DynamicProfile {
    |                                       `- error: cannot find type 'DynamicProfile' in scope
 97 |     content.onPrompt {
 98 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:96:34: error: 'some' types are only permitted in properties, subscripts, and functions
 94 |   var history
 95 |
 96 |   func body(content: Content) -> some DynamicProfile {
    |                                  `- error: 'some' types are only permitted in properties, subscripts, and functions
 97 |     content.onPrompt {
 98 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:96:22: error: cannot find type 'Content' in scope
 94 |   var history
 95 |
 96 |   func body(content: Content) -> some DynamicProfile {
    |                      `- error: cannot find type 'Content' in scope
 97 |     content.onPrompt {
 98 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:71:6: error: 'DynamicProfileModifier' is not a member type of class 'FoundationModels.LanguageModelSession'
 69 |
 70 | private struct SummarizeHistoryModifier<Model: LanguageModel>: LanguageModelSession
 71 |     .DynamicProfileModifier
    |      `- error: 'DynamicProfileModifier' is not a member type of class 'FoundationModels.LanguageModelSession'
 72 | {
 73 |   /// Default postamble appended after the summary. Discourages the
FoundationModels.LanguageModelSession:4:20: note: 'LanguageModelSession' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' declared here
5 |     final public var transcript: Transcript { get }
6 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:90:28: error: cannot find type 'LanguageModelCapabilities' in scope
 88 |
 89 |   // Implementation of LanguageModel Protocol
 90 |   public var capabilities: LanguageModelCapabilities {
    |                            `- error: cannot find type 'LanguageModelCapabilities' in scope
 91 |     if supportsGuidedGeneration {
 92 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:217:19: error: cannot find type 'LanguageModelExecutorGenerationRequest' in scope
215 |
216 |     public func respond(
217 |       to request: LanguageModelExecutorGenerationRequest,
    |                   `- error: cannot find type 'LanguageModelExecutorGenerationRequest' in scope
218 |       model: ChatCompletionsLanguageModel,
219 |       streamingInto channel: LanguageModelExecutorGenerationChannel
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:219:30: error: cannot find type 'LanguageModelExecutorGenerationChannel' in scope
217 |       to request: LanguageModelExecutorGenerationRequest,
218 |       model: ChatCompletionsLanguageModel,
219 |       streamingInto channel: LanguageModelExecutorGenerationChannel
    |                              `- error: cannot find type 'LanguageModelExecutorGenerationChannel' in scope
220 |     ) async throws {
221 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:284:21: error: cannot find type 'LanguageModelExecutorGenerationChannel' in scope
282 |     private static func processChunks<ChunkSequence: AsyncSequence>(
283 |       _ chunks: ChunkSequence,
284 |       into channel: LanguageModelExecutorGenerationChannel
    |                     `- error: cannot find type 'LanguageModelExecutorGenerationChannel' in scope
285 |     ) async throws where ChunkSequence.Element == ChatCompletionsClient.ChatCompletionChunk {
286 |       // Per-index `id`/`name` for tool calls. The first delta for a given
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:189:27: error: cannot find type 'LanguageModelExecutor' in scope
187 |   }
188 |
189 |   public struct Executor: LanguageModelExecutor {
    |                           `- error: cannot find type 'LanguageModelExecutor' in scope
190 |     public typealias Model = ChatCompletionsLanguageModel
191 |     private let configuration: Configuration
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:39:55: error: cannot find type 'LanguageModel' in scope
 37 | /// let response = try await session.respond(to: "Hello!")
 38 | /// ```
 39 | public struct ChatCompletionsLanguageModel: Sendable, LanguageModel {
    |                                                       `- error: cannot find type 'LanguageModel' in scope
 40 |   /// The name of the underlying model, sent in the `model` field of each
 41 |   /// chat completion request.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skill.swift:235:21: error: cannot find type 'AnyDynamicInstructions' in scope
233 |   let name: String
234 |   let description: String
235 |   let instructions: AnyDynamicInstructions
    |                     `- error: cannot find type 'AnyDynamicInstructions' in scope
236 |   let allowsDeactivation: Bool
237 |   let onActivate: @Sendable () -> Void
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skill.swift:217:58: error: cannot find type 'DynamicInstructions' in scope
215 |     onActivate: @Sendable @escaping () -> Void = {},
216 |     onDeactivate: @Sendable @escaping () -> Void = {},
217 |     @DynamicInstructionsBuilder instructions: () -> some DynamicInstructions
    |                                                          `- error: cannot find type 'DynamicInstructions' in scope
218 |   ) {
219 |     storage = .instructions(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skill.swift:217:6: error: unknown attribute 'DynamicInstructionsBuilder'
215 |     onActivate: @Sendable @escaping () -> Void = {},
216 |     onDeactivate: @Sendable @escaping () -> Void = {},
217 |     @DynamicInstructionsBuilder instructions: () -> some DynamicInstructions
    |      `- error: unknown attribute 'DynamicInstructionsBuilder'
218 |   ) {
219 |     storage = .instructions(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skills.swift:145:25: error: cannot find type 'DynamicInstructions' in scope
143 |   /// The dynamic instructions body that renders each skill's status and
144 |   /// provides the toggle tool to the model.
145 |   public var body: some DynamicInstructions {
    |                         `- error: cannot find type 'DynamicInstructions' in scope
146 |
147 |     instructions
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/Skills/Skills.swift:55:23: error: cannot find type 'DynamicInstructions' in scope
 53 | /// }
 54 | /// ```
 55 | public struct Skills: DynamicInstructions {
    |                       `- error: cannot find type 'DynamicInstructions' in scope
 56 |   /// The default leading instructions rendered above the list of skills.
 57 |   private static let defaultInstructions = Instructions {
[67/88] Compiling FoundationModelsUtilities ChatCompletionsLanguageModel.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:90:28: error: cannot find type 'LanguageModelCapabilities' in scope
 88 |
 89 |   // Implementation of LanguageModel Protocol
 90 |   public var capabilities: LanguageModelCapabilities {
    |                            `- error: cannot find type 'LanguageModelCapabilities' in scope
 91 |     if supportsGuidedGeneration {
 92 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:217:19: error: cannot find type 'LanguageModelExecutorGenerationRequest' in scope
215 |
216 |     public func respond(
217 |       to request: LanguageModelExecutorGenerationRequest,
    |                   `- error: cannot find type 'LanguageModelExecutorGenerationRequest' in scope
218 |       model: ChatCompletionsLanguageModel,
219 |       streamingInto channel: LanguageModelExecutorGenerationChannel
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:219:30: error: cannot find type 'LanguageModelExecutorGenerationChannel' in scope
217 |       to request: LanguageModelExecutorGenerationRequest,
218 |       model: ChatCompletionsLanguageModel,
219 |       streamingInto channel: LanguageModelExecutorGenerationChannel
    |                              `- error: cannot find type 'LanguageModelExecutorGenerationChannel' in scope
220 |     ) async throws {
221 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:284:21: error: cannot find type 'LanguageModelExecutorGenerationChannel' in scope
282 |     private static func processChunks<ChunkSequence: AsyncSequence>(
283 |       _ chunks: ChunkSequence,
284 |       into channel: LanguageModelExecutorGenerationChannel
    |                     `- error: cannot find type 'LanguageModelExecutorGenerationChannel' in scope
285 |     ) async throws where ChunkSequence.Element == ChatCompletionsClient.ChatCompletionChunk {
286 |       // Per-index `id`/`name` for tool calls. The first delta for a given
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:189:27: error: cannot find type 'LanguageModelExecutor' in scope
187 |   }
188 |
189 |   public struct Executor: LanguageModelExecutor {
    |                           `- error: cannot find type 'LanguageModelExecutor' in scope
190 |     public typealias Model = ChatCompletionsLanguageModel
191 |     private let configuration: Configuration
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:39:55: error: cannot find type 'LanguageModel' in scope
 37 | /// let response = try await session.respond(to: "Hello!")
 38 | /// ```
 39 | public struct ChatCompletionsLanguageModel: Sendable, LanguageModel {
    |                                                       `- error: cannot find type 'LanguageModel' in scope
 40 |   /// The name of the underlying model, sent in the `model` field of each
 41 |   /// chat completion request.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:92:7: error: cannot find 'LanguageModelCapabilities' in scope
 90 |   public var capabilities: LanguageModelCapabilities {
 91 |     if supportsGuidedGeneration {
 92 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
    |       `- error: cannot find 'LanguageModelCapabilities' in scope
 93 |     } else {
 94 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:94:7: error: cannot find 'LanguageModelCapabilities' in scope
 92 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
 93 |     } else {
 94 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning])
    |       `- error: cannot find 'LanguageModelCapabilities' in scope
 95 |     }
 96 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:92:35: error: reference to member 'vision' cannot be resolved without a contextual type
 90 |   public var capabilities: LanguageModelCapabilities {
 91 |     if supportsGuidedGeneration {
 92 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
    |                                   `- error: reference to member 'vision' cannot be resolved without a contextual type
 93 |     } else {
 94 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:92:44: error: reference to member 'toolCalling' cannot be resolved without a contextual type
 90 |   public var capabilities: LanguageModelCapabilities {
 91 |     if supportsGuidedGeneration {
 92 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
    |                                            `- error: reference to member 'toolCalling' cannot be resolved without a contextual type
 93 |     } else {
 94 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:92:58: error: reference to member 'reasoning' cannot be resolved without a contextual type
 90 |   public var capabilities: LanguageModelCapabilities {
 91 |     if supportsGuidedGeneration {
 92 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
    |                                                          `- error: reference to member 'reasoning' cannot be resolved without a contextual type
 93 |     } else {
 94 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:92:70: error: reference to member 'guidedGeneration' cannot be resolved without a contextual type
 90 |   public var capabilities: LanguageModelCapabilities {
 91 |     if supportsGuidedGeneration {
 92 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning, .guidedGeneration])
    |                                                                      `- error: reference to member 'guidedGeneration' cannot be resolved without a contextual type
 93 |     } else {
 94 |       LanguageModelCapabilities([.vision, .toolCalling, .reasoning])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:268:28: error: value of type 'GenerationSchema' has no member 'name'
266 |           ChatCompletionsClient.ResponseFormat(
267 |             jsonSchema: ChatCompletionsClient.ResponseFormat.JSONSchemaWrapper(
268 |               name: schema.name,
    |                            `- error: value of type 'GenerationSchema' has no member 'name'
269 |               schema: schema
270 |             )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:305:16: error: cannot infer contextual base in reference to member 'reasoning'
303 |           if let reasoning = delta.reasoningContent {
304 |             await channel.send(
305 |               .reasoning(
    |                `- error: cannot infer contextual base in reference to member 'reasoning'
306 |                 entryID: reasoningEntryID,
307 |                 action: .appendText(reasoning, tokenCount: 1)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:307:26: error: cannot infer contextual base in reference to member 'appendText'
305 |               .reasoning(
306 |                 entryID: reasoningEntryID,
307 |                 action: .appendText(reasoning, tokenCount: 1)
    |                          `- error: cannot infer contextual base in reference to member 'appendText'
308 |               )
309 |             )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:324:18: error: cannot infer contextual base in reference to member 'toolCalls'
322 |
323 |               await channel.send(
324 |                 .toolCalls(
    |                  `- error: cannot infer contextual base in reference to member 'toolCalls'
325 |                   entryID: toolCallsEntryID,
326 |                   action: .toolCall(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:326:28: error: cannot infer contextual base in reference to member 'toolCall'
324 |                 .toolCalls(
325 |                   entryID: toolCallsEntryID,
326 |                   action: .toolCall(
    |                            `- error: cannot infer contextual base in reference to member 'toolCall'
327 |                     id: routing.id,
328 |                     name: routing.name,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:329:30: error: cannot infer contextual base in reference to member 'appendArguments'
327 |                     id: routing.id,
328 |                     name: routing.name,
329 |                     action: .appendArguments(
    |                              `- error: cannot infer contextual base in reference to member 'appendArguments'
330 |                       toolCallDelta.function?.arguments ?? "",
331 |                       tokenCount: 1
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:339:16: error: cannot infer contextual base in reference to member 'response'
337 |           } else if let text = delta.content {
338 |             await channel.send(
339 |               .response(
    |                `- error: cannot infer contextual base in reference to member 'response'
340 |                 entryID: responseEntryID,
341 |                 action: .appendText(text, tokenCount: 1)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:341:26: error: cannot infer contextual base in reference to member 'appendText'
339 |               .response(
340 |                 entryID: responseEntryID,
341 |                 action: .appendText(text, tokenCount: 1)
    |                          `- error: cannot infer contextual base in reference to member 'appendText'
342 |               )
343 |             )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:351:14: error: cannot infer contextual base in reference to member 'response'
349 |         if let usage = chunk.usage {
350 |           await channel.send(
351 |             .response(
    |              `- error: cannot infer contextual base in reference to member 'response'
352 |               entryID: responseEntryID,
353 |               action: .updateUsage(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:353:24: error: cannot infer contextual base in reference to member 'updateUsage'
351 |             .response(
352 |               entryID: responseEntryID,
353 |               action: .updateUsage(
    |                        `- error: cannot infer contextual base in reference to member 'updateUsage'
354 |                 input: .init(
355 |                   totalTokenCount: usage.promptTokens,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:354:25: error: cannot infer contextual base in reference to member 'init'
352 |               entryID: responseEntryID,
353 |               action: .updateUsage(
354 |                 input: .init(
    |                         `- error: cannot infer contextual base in reference to member 'init'
355 |                   totalTokenCount: usage.promptTokens,
356 |                   cachedTokenCount: usage.promptTokensDetails?.cachedTokens ?? 0
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:358:26: error: cannot infer contextual base in reference to member 'init'
356 |                   cachedTokenCount: usage.promptTokensDetails?.cachedTokens ?? 0
357 |                 ),
358 |                 output: .init(
    |                          `- error: cannot infer contextual base in reference to member 'init'
359 |                   totalTokenCount: usage.completionTokens,
360 |                   reasoningTokenCount: usage.completionTokensDetails?.reasoningTokens ?? 0
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:370:23: error: value of type 'GenerationOptions.SamplingMode' has no member 'kind'
368 |
369 |     private func topP(_ sampling: GenerationOptions.SamplingMode) throws -> Double {
370 |       switch sampling.kind {
    |                       `- error: value of type 'GenerationOptions.SamplingMode' has no member 'kind'
371 |       case .greedy:
372 |         return 0
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:387:45: error: value of type 'GenerationOptions.SamplingMode' has no member 'kind'
385 |       @unknown default:
386 |         throw ChatCompletionsLanguageModel.RequestError.invalidRequest(
387 |           "Unknown sampling mode \(sampling.kind) is not supported"
    |                                             `- error: value of type 'GenerationOptions.SamplingMode' has no member 'kind'
388 |         )
389 |       }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:415:15: error: type 'Transcript.Segment' has no member 'attachment'
413 |             )
414 |           ]
415 |         case .attachment(let attachment):
    |               `- error: type 'Transcript.Segment' has no member 'attachment'
416 |           switch attachment.content {
417 |           case .image(let image):
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:445:19: error: cannot find 'LanguageModelError' in scope
443 |             #endif
444 |           @unknown default:
445 |             throw LanguageModelError.unsupportedTranscriptContent(
    |                   `- error: cannot find 'LanguageModelError' in scope
446 |               LanguageModelError.UnsupportedTranscriptContent(
447 |                 unsupportedContent: [entry],
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:446:15: error: cannot find 'LanguageModelError' in scope
444 |           @unknown default:
445 |             throw LanguageModelError.unsupportedTranscriptContent(
446 |               LanguageModelError.UnsupportedTranscriptContent(
    |               `- error: cannot find 'LanguageModelError' in scope
447 |                 unsupportedContent: [entry],
448 |                 debugDescription: "Attachment type not supported by \(Self.self)."
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:453:17: error: cannot find 'LanguageModelError' in scope
451 |           }
452 |         @unknown default:
453 |           throw LanguageModelError.unsupportedTranscriptContent(
    |                 `- error: cannot find 'LanguageModelError' in scope
454 |             LanguageModelError.UnsupportedTranscriptContent(
455 |               unsupportedContent: [entry],
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:454:13: error: cannot find 'LanguageModelError' in scope
452 |         @unknown default:
453 |           throw LanguageModelError.unsupportedTranscriptContent(
454 |             LanguageModelError.UnsupportedTranscriptContent(
    |             `- error: cannot find 'LanguageModelError' in scope
455 |               unsupportedContent: [entry],
456 |               debugDescription: "Unknown segment type not supported by \(Self.self)"
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/LanguageModels/ChatCompletionsLanguageModel.swift:541:15: error: type 'Transcript.Entry' has no member 'reasoning'
539 |           )
540 |
541 |         case .reasoning(let reasoning):
    |               `- error: type 'Transcript.Entry' has no member 'reasoning'
542 |           // Buffer reasoning text; it will attach to the next assistant entry.
543 |           let text = reasoning.segments.compactMap { segment -> String? in
[68/88] Compiling FoundationModelsUtilities SummarizeHistory.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:15:32: error: 'DynamicProfile' is not a member type of class 'FoundationModels.LanguageModelSession'
 13 | private import Foundation
 14 |
 15 | extension LanguageModelSession.DynamicProfile {
    |                                `- error: 'DynamicProfile' is not a member type of class 'FoundationModels.LanguageModelSession'
 16 |   /// Returns a modified profile that summarizes the transcript when it
 17 |   /// exceeds an entry threshold, replacing older entries with a condensed
FoundationModels.LanguageModelSession:4:20: note: 'LanguageModelSession' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' declared here
5 |     final public var transcript: Transcript { get }
6 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:70:48: error: cannot find type 'LanguageModel' in scope
 68 | }
 69 |
 70 | private struct SummarizeHistoryModifier<Model: LanguageModel>: LanguageModelSession
    |                                                `- error: cannot find type 'LanguageModel' in scope
 71 |     .DynamicProfileModifier
 72 | {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:94:7: error: type annotation missing in pattern
 92 |
 93 |   @SessionProperty(\.history)
 94 |   var history
    |       `- error: type annotation missing in pattern
 95 |
 96 |   func body(content: Content) -> some DynamicProfile {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:93:4: error: unknown attribute 'SessionProperty'
 91 |   let summaryPostamble: String?
 92 |
 93 |   @SessionProperty(\.history)
    |    `- error: unknown attribute 'SessionProperty'
 94 |   var history
 95 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:96:39: error: cannot find type 'DynamicProfile' in scope
 94 |   var history
 95 |
 96 |   func body(content: Content) -> some DynamicProfile {
    |                                       `- error: cannot find type 'DynamicProfile' in scope
 97 |     content.onPrompt {
 98 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:96:34: error: 'some' types are only permitted in properties, subscripts, and functions
 94 |   var history
 95 |
 96 |   func body(content: Content) -> some DynamicProfile {
    |                                  `- error: 'some' types are only permitted in properties, subscripts, and functions
 97 |     content.onPrompt {
 98 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:96:22: error: cannot find type 'Content' in scope
 94 |   var history
 95 |
 96 |   func body(content: Content) -> some DynamicProfile {
    |                      `- error: cannot find type 'Content' in scope
 97 |     content.onPrompt {
 98 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:71:6: error: 'DynamicProfileModifier' is not a member type of class 'FoundationModels.LanguageModelSession'
 69 |
 70 | private struct SummarizeHistoryModifier<Model: LanguageModel>: LanguageModelSession
 71 |     .DynamicProfileModifier
    |      `- error: 'DynamicProfileModifier' is not a member type of class 'FoundationModels.LanguageModelSession'
 72 | {
 73 |   /// Default postamble appended after the summary. Discourages the
FoundationModels.LanguageModelSession:4:20: note: 'LanguageModelSession' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' declared here
5 |     final public var transcript: Transcript { get }
6 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:53:39: error: cannot find type 'LanguageModel' in scope
 51 |   /// - Returns: A profile that automatically summarizes its transcript when
 52 |   ///   it exceeds the specified entry threshold.
 53 |   public func summarizeHistory<Model: LanguageModel>(
    |                                       `- error: cannot find type 'LanguageModel' in scope
 54 |     entryThreshold: Int,
 55 |     model: Model,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:58:13: error: cannot find type 'DynamicProfile' in scope
 56 |     instructions: Instructions? = nil,
 57 |     summaryPostamble: String? = nil
 58 |   ) -> some DynamicProfile {
    |             `- error: cannot find type 'DynamicProfile' in scope
 59 |     modifier(
 60 |       SummarizeHistoryModifier(
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/SummarizeHistory.swift:58:8: error: 'some' types are only permitted in properties, subscripts, and functions
 56 |     instructions: Instructions? = nil,
 57 |     summaryPostamble: String? = nil
 58 |   ) -> some DynamicProfile {
    |        `- error: 'some' types are only permitted in properties, subscripts, and functions
 59 |     modifier(
 60 |       SummarizeHistoryModifier(
[69/88] Compiling FoundationModelsUtilities DropCompletedToolCalls.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:14:32: error: 'DynamicProfile' is not a member type of class 'FoundationModels.LanguageModelSession'
12 | public import FoundationModels
13 |
14 | extension LanguageModelSession.DynamicProfile {
   |                                `- error: 'DynamicProfile' is not a member type of class 'FoundationModels.LanguageModelSession'
15 |   /// Returns a modified profile that removes completed tool-call and
16 |   /// tool-output entries from the transcript before each generation.
FoundationModels.LanguageModelSession:4:20: note: 'LanguageModelSession' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' declared here
5 |     final public var transcript: Transcript { get }
6 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:44:39: error: cannot find type 'DynamicProfile' in scope
42 |
43 | private struct DropCompletedToolCallsModifier: LanguageModelSession.DynamicProfileModifier {
44 |   func body(content: Content) -> some DynamicProfile {
   |                                       `- error: cannot find type 'DynamicProfile' in scope
45 |     content.historyTransform { history in
46 |       let lastOutputIndex =
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:44:34: error: 'some' types are only permitted in properties, subscripts, and functions
42 |
43 | private struct DropCompletedToolCallsModifier: LanguageModelSession.DynamicProfileModifier {
44 |   func body(content: Content) -> some DynamicProfile {
   |                                  `- error: 'some' types are only permitted in properties, subscripts, and functions
45 |     content.historyTransform { history in
46 |       let lastOutputIndex =
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:44:22: error: cannot find type 'Content' in scope
42 |
43 | private struct DropCompletedToolCallsModifier: LanguageModelSession.DynamicProfileModifier {
44 |   func body(content: Content) -> some DynamicProfile {
   |                      `- error: cannot find type 'Content' in scope
45 |     content.historyTransform { history in
46 |       let lastOutputIndex =
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:43:69: error: 'DynamicProfileModifier' is not a member type of class 'FoundationModels.LanguageModelSession'
41 | }
42 |
43 | private struct DropCompletedToolCallsModifier: LanguageModelSession.DynamicProfileModifier {
   |                                                                     `- error: 'DynamicProfileModifier' is not a member type of class 'FoundationModels.LanguageModelSession'
44 |   func body(content: Content) -> some DynamicProfile {
45 |     content.historyTransform { history in
FoundationModels.LanguageModelSession:4:20: note: 'LanguageModelSession' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' declared here
5 |     final public var transcript: Transcript { get }
6 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:38:52: error: cannot find type 'DynamicProfile' in scope
36 |   /// - Returns: A profile that prunes completed tool-call entries from its
37 |   ///   transcript before each generation.
38 |   public func droppingCompletedToolCalls() -> some DynamicProfile {
   |                                                    `- error: cannot find type 'DynamicProfile' in scope
39 |     modifier(DropCompletedToolCallsModifier())
40 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/DropCompletedToolCalls.swift:38:47: error: 'some' types are only permitted in properties, subscripts, and functions
36 |   /// - Returns: A profile that prunes completed tool-call entries from its
37 |   ///   transcript before each generation.
38 |   public func droppingCompletedToolCalls() -> some DynamicProfile {
   |                                               `- error: 'some' types are only permitted in properties, subscripts, and functions
39 |     modifier(DropCompletedToolCallsModifier())
40 |   }
[70/88] Compiling FoundationModelsUtilities RollingWindow.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:14:32: error: 'DynamicProfile' is not a member type of class 'FoundationModels.LanguageModelSession'
12 | public import FoundationModels
13 |
14 | extension LanguageModelSession.DynamicProfile {
   |                                `- error: 'DynamicProfile' is not a member type of class 'FoundationModels.LanguageModelSession'
15 |   /// Returns a modified profile that keeps only the most recent transcript
16 |   /// entries, discarding older ones each time a new prompt is sent.
FoundationModels.LanguageModelSession:4:20: note: 'LanguageModelSession' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' declared here
5 |     final public var transcript: Transcript { get }
6 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:72:39: error: cannot find type 'DynamicProfile' in scope
70 |   let size: RollingWindowSize
71 |
72 |   func body(content: Content) -> some DynamicProfile {
   |                                       `- error: cannot find type 'DynamicProfile' in scope
73 |     content.historyTransform { history in
74 |       switch size {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:72:34: error: 'some' types are only permitted in properties, subscripts, and functions
70 |   let size: RollingWindowSize
71 |
72 |   func body(content: Content) -> some DynamicProfile {
   |                                  `- error: 'some' types are only permitted in properties, subscripts, and functions
73 |     content.historyTransform { history in
74 |       switch size {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:72:22: error: cannot find type 'Content' in scope
70 |   let size: RollingWindowSize
71 |
72 |   func body(content: Content) -> some DynamicProfile {
   |                      `- error: cannot find type 'Content' in scope
73 |     content.historyTransform { history in
74 |       switch size {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:69:60: error: 'DynamicProfileModifier' is not a member type of class 'FoundationModels.LanguageModelSession'
67 | }
68 |
69 | private struct RollingWindowModifier: LanguageModelSession.DynamicProfileModifier {
   |                                                            `- error: 'DynamicProfileModifier' is not a member type of class 'FoundationModels.LanguageModelSession'
70 |   let size: RollingWindowSize
71 |
FoundationModels.LanguageModelSession:4:20: note: 'LanguageModelSession' declared here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' declared here
5 |     final public var transcript: Transcript { get }
6 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:36:51: error: cannot find type 'DynamicProfile' in scope
34 |   /// - Returns: A profile that trims its transcript to the specified window
35 |   ///   size before each generation.
36 |   public func rollingWindow(entries: Int) -> some DynamicProfile {
   |                                                   `- error: cannot find type 'DynamicProfile' in scope
37 |     rollingWindow(size: .entries(entries))
38 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:64:62: error: cannot find type 'DynamicProfile' in scope
62 |   /// - Returns: A profile that trims its transcript to the specified window
63 |   ///   size before each generation.
64 |   public func rollingWindow(size: RollingWindowSize) -> some DynamicProfile {
   |                                                              `- error: cannot find type 'DynamicProfile' in scope
65 |     modifier(RollingWindowModifier(size: size))
66 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:36:46: error: 'some' types are only permitted in properties, subscripts, and functions
34 |   /// - Returns: A profile that trims its transcript to the specified window
35 |   ///   size before each generation.
36 |   public func rollingWindow(entries: Int) -> some DynamicProfile {
   |                                              `- error: 'some' types are only permitted in properties, subscripts, and functions
37 |     rollingWindow(size: .entries(entries))
38 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/foundation-models-utilities/Sources/FoundationModelsUtilities/History/RollingWindow.swift:64:57: error: 'some' types are only permitted in properties, subscripts, and functions
62 |   /// - Returns: A profile that trims its transcript to the specified window
63 |   ///   size before each generation.
64 |   public func rollingWindow(size: RollingWindowSize) -> some DynamicProfile {
   |                                                         `- error: 'some' types are only permitted in properties, subscripts, and functions
65 |     modifier(RollingWindowModifier(size: size))
66 |   }
[71/88] Compiling ImageRecognition NonMaximumSuppression.swift
[72/88] Compiling ImageRecognition ImageConversion.swift
[73/88] Emitting module ImageRecognition
[74/88] Compiling ImageRecognition resource_bundle_accessor.swift
BUILD FAILURE 6.3 macosSpm