The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AnyLanguageModel, reference 1.1.1 (dcd18b), with Swift 6.4 for tvOS using Xcode 27.0 on 29 Oct 2026 02:04:28 UTC.

Build Command

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

Build Log

  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1012:43: error: 'GenerationGuide' is unavailable in tvOS
1010 |
1011 |         case .number(.integer(_, let bounds)):
1012 |             var guides: [FoundationModels.GenerationGuide<Int>] = []
     |                                           `- error: 'GenerationGuide' is unavailable in tvOS
1013 |             if let minimum = bounds.minimum { guides.append(.minimum(minimum)) }
1014 |             if let maximum = bounds.maximum { guides.append(.maximum(maximum)) }
FoundationModels.GenerationGuide:3:15: note: 'GenerationGuide' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationGuide<Value> {
  |               `- note: 'GenerationGuide' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1013:62: error: 'minimum' is unavailable in tvOS
1011 |         case .number(.integer(_, let bounds)):
1012 |             var guides: [FoundationModels.GenerationGuide<Int>] = []
1013 |             if let minimum = bounds.minimum { guides.append(.minimum(minimum)) }
     |                                                              `- error: 'minimum' is unavailable in tvOS
1014 |             if let maximum = bounds.maximum { guides.append(.maximum(maximum)) }
1015 |             return .init(type: Int.self, guides: guides)
FoundationModels.GenerationGuide.minimum:2:20: note: 'minimum' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func minimum(_ value: Int) -> GenerationGuide<Int>}
  |                    `- note: 'minimum' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1014:62: error: 'maximum' is unavailable in tvOS
1012 |             var guides: [FoundationModels.GenerationGuide<Int>] = []
1013 |             if let minimum = bounds.minimum { guides.append(.minimum(minimum)) }
1014 |             if let maximum = bounds.maximum { guides.append(.maximum(maximum)) }
     |                                                              `- error: 'maximum' is unavailable in tvOS
1015 |             return .init(type: Int.self, guides: guides)
1016 |
FoundationModels.GenerationGuide.maximum:2:20: note: 'maximum' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func maximum(_ value: Int) -> GenerationGuide<Int>}
  |                    `- note: 'maximum' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1015:21: error: 'init(type:guides:)' is unavailable in tvOS
1013 |             if let minimum = bounds.minimum { guides.append(.minimum(minimum)) }
1014 |             if let maximum = bounds.maximum { guides.append(.maximum(maximum)) }
1015 |             return .init(type: Int.self, guides: guides)
     |                     `- error: 'init(type:guides:)' is unavailable in tvOS
1016 |
1017 |         case .number(.floatingPoint(_, let bounds)):
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1018:43: error: 'GenerationGuide' is unavailable in tvOS
1016 |
1017 |         case .number(.floatingPoint(_, let bounds)):
1018 |             var guides: [FoundationModels.GenerationGuide<Double>] = []
     |                                           `- error: 'GenerationGuide' is unavailable in tvOS
1019 |             if let minimum = bounds.minimum { guides.append(.minimum(minimum)) }
1020 |             if let maximum = bounds.maximum { guides.append(.maximum(maximum)) }
FoundationModels.GenerationGuide:3:15: note: 'GenerationGuide' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationGuide<Value> {
  |               `- note: 'GenerationGuide' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1019:62: error: 'minimum' is unavailable in tvOS
1017 |         case .number(.floatingPoint(_, let bounds)):
1018 |             var guides: [FoundationModels.GenerationGuide<Double>] = []
1019 |             if let minimum = bounds.minimum { guides.append(.minimum(minimum)) }
     |                                                              `- error: 'minimum' is unavailable in tvOS
1020 |             if let maximum = bounds.maximum { guides.append(.maximum(maximum)) }
1021 |             return .init(type: Double.self, guides: guides)
FoundationModels.GenerationGuide.minimum:2:20: note: 'minimum' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func minimum(_ value: Double) -> GenerationGuide<Double>}
  |                    `- note: 'minimum' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1020:62: error: 'maximum' is unavailable in tvOS
1018 |             var guides: [FoundationModels.GenerationGuide<Double>] = []
1019 |             if let minimum = bounds.minimum { guides.append(.minimum(minimum)) }
1020 |             if let maximum = bounds.maximum { guides.append(.maximum(maximum)) }
     |                                                              `- error: 'maximum' is unavailable in tvOS
1021 |             return .init(type: Double.self, guides: guides)
1022 |
FoundationModels.GenerationGuide.maximum:2:20: note: 'maximum' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func maximum(_ value: Double) -> GenerationGuide<Double>}
  |                    `- note: 'maximum' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1021:21: error: 'init(type:guides:)' is unavailable in tvOS
1019 |             if let minimum = bounds.minimum { guides.append(.minimum(minimum)) }
1020 |             if let maximum = bounds.maximum { guides.append(.maximum(maximum)) }
1021 |             return .init(type: Double.self, guides: guides)
     |                     `- error: 'init(type:guides:)' is unavailable in tvOS
1022 |
1023 |         case .boolean:
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1024:21: error: 'init(type:guides:)' is unavailable in tvOS
1022 |
1023 |         case .boolean:
1024 |             return .init(type: Bool.self)
     |                     `- error: 'init(type:guides:)' is unavailable in tvOS
1025 |
1026 |         case .anyOf(let nodes):
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1039:21: error: 'init(name:description:anyOf:)' is unavailable in tvOS
1037 |             }
1038 |             let choiceName = claimName()
1039 |             return .init(
     |                     `- error: 'init(name:description:anyOf:)' is unavailable in tvOS
1040 |                 name: choiceName,
1041 |                 anyOf: choices.enumerated().map { index, choice in
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, anyOf choices: [DynamicGenerationSchema])}
  |        `- note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1049:43: error: 'DynamicGenerationSchema' is unavailable in tvOS
1047 |             // The items of a named array, such as a definition, are named from the array's name.
1048 |             let itemsPath = name.map { at($0, "items") } ?? path
1049 |             let schema = FoundationModels.DynamicGenerationSchema(
     |                                           `- error: 'DynamicGenerationSchema' is unavailable in tvOS
1050 |                 arrayOf: convertToDynamicSchema(array.items, name: nil, path: itemsPath, names: &names),
1051 |                 minimumElements: array.minItems,
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1049:43: error: 'init(arrayOf:minimumElements:maximumElements:)' is unavailable in tvOS
1047 |             // The items of a named array, such as a definition, are named from the array's name.
1048 |             let itemsPath = name.map { at($0, "items") } ?? path
1049 |             let schema = FoundationModels.DynamicGenerationSchema(
     |                                           `- error: 'init(arrayOf:minimumElements:maximumElements:)' is unavailable in tvOS
1050 |                 arrayOf: convertToDynamicSchema(array.items, name: nil, path: itemsPath, names: &names),
1051 |                 minimumElements: array.minItems,
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(arrayOf:minimumElements:maximumElements:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(arrayOf itemSchema: DynamicGenerationSchema, minimumElements: Int? = nil, maximumElements: Int? = nil)}
  |        `- note: 'init(arrayOf:minimumElements:maximumElements:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1056:35: error: 'init(name:description:anyOf:)' is unavailable in tvOS
1054 |             // An array has no name of its own, so a named one is a one-choice `anyOf` that keeps
1055 |             // the name, or the references to it are undefined.
1056 |             if let name { return .init(name: name, anyOf: [schema]) }
     |                                   `- error: 'init(name:description:anyOf:)' is unavailable in tvOS
1057 |             return schema
1058 |
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, anyOf choices: [DynamicGenerationSchema])}
  |        `- note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1063:25: error: 'init(name:description:anyOf:)' is unavailable in tvOS
1061 |             // name, or the references to it are undefined.
1062 |             if let name {
1063 |                 return .init(name: name, anyOf: [.init(referenceTo: typeName)])
     |                         `- error: 'init(name:description:anyOf:)' is unavailable in tvOS
1064 |             }
1065 |             return .init(referenceTo: typeName)
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, anyOf choices: [DynamicGenerationSchema])}
  |        `- note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1063:51: error: 'init(referenceTo:)' is unavailable in tvOS
1061 |             // name, or the references to it are undefined.
1062 |             if let name {
1063 |                 return .init(name: name, anyOf: [.init(referenceTo: typeName)])
     |                                                   `- error: 'init(referenceTo:)' is unavailable in tvOS
1064 |             }
1065 |             return .init(referenceTo: typeName)
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(referenceTo:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(referenceTo name: String)}
  |        `- note: 'init(referenceTo:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1065:21: error: 'init(referenceTo:)' is unavailable in tvOS
1063 |                 return .init(name: name, anyOf: [.init(referenceTo: typeName)])
1064 |             }
1065 |             return .init(referenceTo: typeName)
     |                     `- error: 'init(referenceTo:)' is unavailable in tvOS
1066 |
1067 |         case .null:
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(referenceTo:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(referenceTo name: String)}
  |        `- note: 'init(referenceTo:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1073:21: error: 'init(type:guides:)' is unavailable in tvOS
1071 |                 }
1072 |             #endif
1073 |             return .init(type: String.self)
     |                     `- error: 'init(type:guides:)' is unavailable in tvOS
1074 |         }
1075 |     }
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1107:10: error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
1105 |         required: [String]
1106 |     ) -> FoundationModels.DynamicGenerationSchema.Property {
1107 |         .init(
     |          `- error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
1108 |             name: key,
1109 |             description: schema.description,
FoundationModels.DynamicGenerationSchema.Property.init:3:8: note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 |   struct Property {
3 | public init(name: String, description: String? = nil, schema: DynamicGenerationSchema, isOptional: Bool = false)  }
  |        `- note: 'init(name:description:schema:isOptional:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1121:14: error: 'init(type:guides:)' is unavailable in tvOS
1119 |         switch value {
1120 |         case .int(let intValue):
1121 |             .init(type: Int.self, guides: [.range(intValue ... intValue)])
     |              `- error: 'init(type:guides:)' is unavailable in tvOS
1122 |         case .double(let doubleValue):
1123 |             .init(type: Double.self, guides: [.range(doubleValue ... doubleValue)])
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1121:45: error: 'range' is unavailable in tvOS
1119 |         switch value {
1120 |         case .int(let intValue):
1121 |             .init(type: Int.self, guides: [.range(intValue ... intValue)])
     |                                             `- error: 'range' is unavailable in tvOS
1122 |         case .double(let doubleValue):
1123 |             .init(type: Double.self, guides: [.range(doubleValue ... doubleValue)])
FoundationModels.GenerationGuide.range:2:20: note: 'range' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func range(_ range: ClosedRange<Int>) -> GenerationGuide<Int>}
  |                    `- note: 'range' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1123:14: error: 'init(type:guides:)' is unavailable in tvOS
1121 |             .init(type: Int.self, guides: [.range(intValue ... intValue)])
1122 |         case .double(let doubleValue):
1123 |             .init(type: Double.self, guides: [.range(doubleValue ... doubleValue)])
     |              `- error: 'init(type:guides:)' is unavailable in tvOS
1124 |         case .string(let stringValue):
1125 |             .init(type: String.self, guides: [.constant(stringValue)])
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1123:48: error: 'range' is unavailable in tvOS
1121 |             .init(type: Int.self, guides: [.range(intValue ... intValue)])
1122 |         case .double(let doubleValue):
1123 |             .init(type: Double.self, guides: [.range(doubleValue ... doubleValue)])
     |                                                `- error: 'range' is unavailable in tvOS
1124 |         case .string(let stringValue):
1125 |             .init(type: String.self, guides: [.constant(stringValue)])
FoundationModels.GenerationGuide.range:2:20: note: 'range' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func range(_ range: ClosedRange<Double>) -> GenerationGuide<Double>}
  |                    `- note: 'range' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1125:14: error: 'init(type:guides:)' is unavailable in tvOS
1123 |             .init(type: Double.self, guides: [.range(doubleValue ... doubleValue)])
1124 |         case .string(let stringValue):
1125 |             .init(type: String.self, guides: [.constant(stringValue)])
     |              `- error: 'init(type:guides:)' is unavailable in tvOS
1126 |         case .null, .object, .bool, .array:
1127 |             nil
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1125:48: error: 'constant' is unavailable in tvOS
1123 |             .init(type: Double.self, guides: [.range(doubleValue ... doubleValue)])
1124 |         case .string(let stringValue):
1125 |             .init(type: String.self, guides: [.constant(stringValue)])
     |                                                `- error: 'constant' is unavailable in tvOS
1126 |         case .null, .object, .bool, .array:
1127 |             nil
FoundationModels.GenerationGuide.constant:2:20: note: 'constant' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func constant(_ value: String) -> GenerationGuide<String>}
  |                    `- note: 'constant' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1135:100: error: conformance of 'Transcript' to 'Collection' is unavailable in tvOS
1133 |         /// Converts the entry to a Foundation Models transcript entry.
1134 |         func toFoundationModels() -> FoundationModels.Transcript.Entry? {
1135 |             Transcript(entries: [self]).toFoundationModels(instructions: nil, toolDefinitions: []).first
     |                                                                                                    `- error: conformance of 'Transcript' to 'Collection' is unavailable in tvOS
1136 |         }
1137 |     }
FoundationModels.Transcript:3:11: note: conformance of 'Transcript' to 'Collection' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | extension Transcript : RandomAccessCollection {
   |           `- note: conformance of 'Transcript' to 'Collection' has been explicitly marked unavailable here
 4 |     public typealias Index = Int
 5 |     public subscript(index: Transcript.Index) -> Transcript.Entry { get set }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1145:46: error: 'Transcript' is unavailable in tvOS
1143 |             toolDefinitions: [Transcript.ToolDefinition]
1144 |         ) -> FoundationModels.Transcript {
1145 |             var fmEntries: [FoundationModels.Transcript.Entry] = []
     |                                              `- error: 'Transcript' is unavailable in tvOS
1146 |
1147 |             // Add instructions entry if provided and not already in transcript
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1155:59: error: 'Transcript' is unavailable in tvOS
1153 |
1154 |                 if !hasInstructions {
1155 |                     let fmInstructions = FoundationModels.Transcript.Instructions(
     |                                                           `- error: 'Transcript' is unavailable in tvOS
1156 |                         segments: [.text(.init(content: instructions.description))],
1157 |                         toolDefinitions: toolDefinitions.toFoundationModels()
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1169:59: error: 'Transcript' is unavailable in tvOS
1167 |                     let fmSegments = instr.segments.toFoundationModels()
1168 |                     let fmToolDefinitions = instr.toolDefinitions.toFoundationModels()
1169 |                     let fmInstructions = FoundationModels.Transcript.Instructions(
     |                                                           `- error: 'Transcript' is unavailable in tvOS
1170 |                         segments: fmSegments,
1171 |                         toolDefinitions: fmToolDefinitions
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1177:53: error: 'Transcript' is unavailable in tvOS
1175 |                 case .prompt(let prompt):
1176 |                     let fmSegments = prompt.segments.toFoundationModels()
1177 |                     let fmPrompt = FoundationModels.Transcript.Prompt(
     |                                                     `- error: 'Transcript' is unavailable in tvOS
1178 |                         segments: fmSegments
1179 |                     )
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1177:64: error: 'init(id:segments:options:responseFormat:)' is unavailable in tvOS
1175 |                 case .prompt(let prompt):
1176 |                     let fmSegments = prompt.segments.toFoundationModels()
1177 |                     let fmPrompt = FoundationModels.Transcript.Prompt(
     |                                                                `- error: 'init(id:segments:options:responseFormat:)' is unavailable in tvOS
1178 |                         segments: fmSegments
1179 |                     )
FoundationModels.Transcript.Prompt.init:3:8: note: 'init(id:segments:options:responseFormat:)' has been explicitly marked unavailable here
1 | struct Transcript {
2 |   struct Prompt {
3 | public init(id: String = UUID().uuidString, segments: [Transcript.Segment], options: GenerationOptions = GenerationOptions(), responseFormat: Transcript.ResponseFormat? = nil)  }
  |        `- note: 'init(id:segments:options:responseFormat:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1187:55: error: 'Transcript' is unavailable in tvOS
1185 |                 case .response(let response):
1186 |                     let fmSegments = response.segments.toFoundationModels()
1187 |                     let fmResponse = FoundationModels.Transcript.Response(
     |                                                       `- error: 'Transcript' is unavailable in tvOS
1188 |                         assetIDs: response.assetIDs,
1189 |                         segments: fmSegments
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1187:66: error: 'init(id:assetIDs:segments:)' is unavailable in tvOS
1185 |                 case .response(let response):
1186 |                     let fmSegments = response.segments.toFoundationModels()
1187 |                     let fmResponse = FoundationModels.Transcript.Response(
     |                                                                  `- error: 'init(id:assetIDs:segments:)' is unavailable in tvOS
1188 |                         assetIDs: response.assetIDs,
1189 |                         segments: fmSegments
FoundationModels.Transcript.Response.init:3:8: note: 'init(id:assetIDs:segments:)' has been explicitly marked unavailable here
1 | struct Transcript {
2 |   struct Response {
3 | public init(id: String = UUID().uuidString, assetIDs: [String], segments: [Transcript.Segment])  }
  |        `- note: 'init(id:assetIDs:segments:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1194:83: error: 'Transcript' is unavailable in tvOS
1192 |
1193 |                 case .toolCalls(let toolCalls):
1194 |                     let fmCalls = toolCalls.compactMap { call -> FoundationModels.Transcript.ToolCall? in
     |                                                                                   `- error: 'Transcript' is unavailable in tvOS
1195 |                         guard let fmArguments = try? FoundationModels.GeneratedContent(call.arguments) else {
1196 |                             return nil
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1195:71: error: 'GeneratedContent' is unavailable in tvOS
1193 |                 case .toolCalls(let toolCalls):
1194 |                     let fmCalls = toolCalls.compactMap { call -> FoundationModels.Transcript.ToolCall? in
1195 |                         guard let fmArguments = try? FoundationModels.GeneratedContent(call.arguments) else {
     |                                                                       `- error: 'GeneratedContent' is unavailable in tvOS
1196 |                             return nil
1197 |                         }
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
  |               `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 |     public var id: GenerationID?
5 |     public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1198:49: error: 'Transcript' is unavailable in tvOS
1196 |                             return nil
1197 |                         }
1198 |                         return FoundationModels.Transcript.ToolCall(
     |                                                 `- error: 'Transcript' is unavailable in tvOS
1199 |                             id: call.id,
1200 |                             toolName: call.toolName,
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1198:60: error: 'init(id:toolName:arguments:)' is unavailable in tvOS
1196 |                             return nil
1197 |                         }
1198 |                         return FoundationModels.Transcript.ToolCall(
     |                                                            `- error: 'init(id:toolName:arguments:)' is unavailable in tvOS
1199 |                             id: call.id,
1200 |                             toolName: call.toolName,
FoundationModels.Transcript.ToolCall.init:3:8: note: 'init(id:toolName:arguments:)' has been explicitly marked unavailable here
1 | struct Transcript {
2 |   struct ToolCall {
3 | public init(id: String, toolName: String, arguments: GeneratedContent)  }
  |        `- note: 'init(id:toolName:arguments:)' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1204:56: error: 'Transcript' is unavailable in tvOS
1202 |                         )
1203 |                     }
1204 |                     let fmToolCalls = FoundationModels.Transcript.ToolCalls(id: toolCalls.id, fmCalls)
     |                                                        `- error: 'Transcript' is unavailable in tvOS
1205 |                     fmEntries.append(.toolCalls(fmToolCalls))
1206 |
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1209:57: error: 'Transcript' is unavailable in tvOS
1207 |                 case .toolOutput(let toolOutput):
1208 |                     let fmSegments = toolOutput.segments.toFoundationModels()
1209 |                     let fmToolOutput = FoundationModels.Transcript.ToolOutput(
     |                                                         `- error: 'Transcript' is unavailable in tvOS
1210 |                         id: toolOutput.id,
1211 |                         toolName: toolOutput.toolName,
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1218:37: error: 'Transcript' is unavailable in tvOS
1216 |             }
1217 |
1218 |             return FoundationModels.Transcript(entries: fmEntries)
     |                                     `- error: 'Transcript' is unavailable in tvOS
1219 |         }
1220 |     }
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1243:34: error: incorrect argument label in call (have 'id:source:content:', expected 'id:schemaName:content:')
1241 |                     #else
1242 |                         return .structure(
1243 |                             .init(
     |                                  `- error: incorrect argument label in call (have 'id:source:content:', expected 'id:schemaName:content:')
1244 |                                 id: structuredSegment.id,
1245 |                                 source: structuredSegment.source,
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1332:34: error: 'Transcript' is unavailable in tvOS
1330 |         func toFoundationModels() -> [FoundationModels.Transcript.ToolDefinition] {
1331 |             map { toolDef in
1332 |                 FoundationModels.Transcript.ToolDefinition(
     |                                  `- error: 'Transcript' is unavailable in tvOS
1333 |                     name: toolDef.name,
1334 |                     description: toolDef.description,
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1335:50: error: 'GenerationSchema' is unavailable in tvOS
1333 |                     name: toolDef.name,
1334 |                     description: toolDef.description,
1335 |                     parameters: FoundationModels.GenerationSchema(toolDef.parameters)
     |                                                  `- error: 'GenerationSchema' is unavailable in tvOS
1336 |                 )
1337 |             }
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1395:50: error: 'respond(to:options:)' is unavailable in tvOS
1393 |         let fmSession = try await makeSession()
1394 |         if type == String.self {
1395 |             let fmResponse = try await fmSession.respond(to: fmPrompt, options: fmOptions)
     |                                                  `- error: 'respond(to:options:)' is unavailable in tvOS
1396 |             let generatedContent = GeneratedContent(fmResponse.content)
1397 |             return LanguageModelSession.Response(
FoundationModels.LanguageModelSession.respond:3:45: note: 'respond(to:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | @discardableResult
3 |   nonisolated(nonsending) final public func respond(to prompt: Prompt, options: GenerationOptions = GenerationOptions()) async throws -> LanguageModelSession.Response<String>}
  |                                             `- note: 'respond(to:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1395:17: error: conformance of 'String' to 'Generable' is unavailable in tvOS
1393 |         let fmSession = try await makeSession()
1394 |         if type == String.self {
1395 |             let fmResponse = try await fmSession.respond(to: fmPrompt, options: fmOptions)
     |                 `- error: conformance of 'String' to 'Generable' is unavailable in tvOS
1396 |             let generatedContent = GeneratedContent(fmResponse.content)
1397 |             return LanguageModelSession.Response(
FoundationModels.String:3:11: note: conformance of 'String' to 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension String : Generable {
  |           `- note: conformance of 'String' to 'Generable' has been explicitly marked unavailable here
4 |     public static var generationSchema: GenerationSchema { get }
5 |     public init(_ content: GeneratedContent) throws
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1396:64: error: conformance of 'String' to 'Generable' is unavailable in tvOS
1394 |         if type == String.self {
1395 |             let fmResponse = try await fmSession.respond(to: fmPrompt, options: fmOptions)
1396 |             let generatedContent = GeneratedContent(fmResponse.content)
     |                                                                `- error: conformance of 'String' to 'Generable' is unavailable in tvOS
1397 |             return LanguageModelSession.Response(
1398 |                 content: fmResponse.content as! Content,
FoundationModels.String:3:11: note: conformance of 'String' to 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension String : Generable {
  |           `- note: conformance of 'String' to 'Generable' has been explicitly marked unavailable here
4 |     public static var generationSchema: GenerationSchema { get }
5 |     public init(_ content: GeneratedContent) throws
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1398:37: error: conformance of 'String' to 'Generable' is unavailable in tvOS
1396 |             let generatedContent = GeneratedContent(fmResponse.content)
1397 |             return LanguageModelSession.Response(
1398 |                 content: fmResponse.content as! Content,
     |                                     `- error: conformance of 'String' to 'Generable' is unavailable in tvOS
1399 |                 rawContent: generatedContent,
1400 |                 transcriptEntries: []
FoundationModels.String:3:11: note: conformance of 'String' to 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension String : Generable {
  |           `- note: conformance of 'String' to 'Generable' has been explicitly marked unavailable here
4 |     public static var generationSchema: GenerationSchema { get }
5 |     public init(_ content: GeneratedContent) throws
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1404:45: error: 'GenerationSchema' is unavailable in tvOS
1402 |         } else {
1403 |             // For non-String types, use schema-based generation
1404 |             let fmSchema = FoundationModels.GenerationSchema(schema)
     |                                             `- error: 'GenerationSchema' is unavailable in tvOS
1405 |             let fmResponse = try await fmSession.respond(
1406 |                 to: fmPrompt,
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1405:50: error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
1403 |             // For non-String types, use schema-based generation
1404 |             let fmSchema = FoundationModels.GenerationSchema(schema)
1405 |             let fmResponse = try await fmSession.respond(
     |                                                  `- error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
1406 |                 to: fmPrompt,
1407 |                 schema: fmSchema,
FoundationModels.LanguageModelSession.respond:3:45: note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | @discardableResult
3 |   nonisolated(nonsending) final public func respond(to prompt: Prompt, schema: GenerationSchema, includeSchemaInPrompt: Bool = true, options: GenerationOptions = GenerationOptions()) async throws -> LanguageModelSession.Response<GeneratedContent>}
  |                                             `- note: 'respond(to:schema:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
4 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1439:88: error: 'jsonString' is unavailable in tvOS
1437 |             } catch {
1438 |                 // Attempt partial JSON decoding before surfacing an error.
1439 |                 if let partialContent = try? GeneratedContent(json: fmResponse.content.jsonString),
     |                                                                                        `- error: 'jsonString' is unavailable in tvOS
1440 |                     let content = try? type.init(partialContent)
1441 |                 {
FoundationModels.GeneratedContent.jsonString:2:12: note: 'jsonString' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public var jsonString: String { get }}
  |            `- note: 'jsonString' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1556:72: error: 'LanguageModelSession' is unavailable in tvOS
1554 |                 }
1555 |
1556 |                 func processStringStream(_ fmSession: FoundationModels.LanguageModelSession) async {
     |                                                                        `- error: 'LanguageModelSession' is unavailable in tvOS
1557 |                     let fmStream: FoundationModels.LanguageModelSession.ResponseStream<String> =
1558 |                         fmSession.streamResponse(to: fmPrompt, options: fmOptions)
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1557:52: error: 'LanguageModelSession' is unavailable in tvOS
1555 |
1556 |                 func processStringStream(_ fmSession: FoundationModels.LanguageModelSession) async {
1557 |                     let fmStream: FoundationModels.LanguageModelSession.ResponseStream<String> =
     |                                                    `- error: 'LanguageModelSession' is unavailable in tvOS
1558 |                         fmSession.streamResponse(to: fmPrompt, options: fmOptions)
1559 |
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1558:35: error: 'streamResponse(to:options:)' is unavailable in tvOS
1556 |                 func processStringStream(_ fmSession: FoundationModels.LanguageModelSession) async {
1557 |                     let fmStream: FoundationModels.LanguageModelSession.ResponseStream<String> =
1558 |                         fmSession.streamResponse(to: fmPrompt, options: fmOptions)
     |                                   `- error: 'streamResponse(to:options:)' is unavailable in tvOS
1559 |
1560 |                     var accumulatedText = ""
FoundationModels.LanguageModelSession.streamResponse:2:19: note: 'streamResponse(to:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | final public func streamResponse(to prompt: Prompt, options: GenerationOptions = GenerationOptions()) -> sending LanguageModelSession.ResponseStream<String>}
  |                   `- note: 'streamResponse(to:options:)' has been explicitly marked unavailable here
3 |
Assertion failed: (Range.hasLowerEndpoint()), function getVersionString at AvailabilityRange.h:337.
(to display assertion configuration options: -Xllvm -assert-help)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Attachment.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Availability.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/ContextOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/ConvertibleFromGeneratedContent.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/ConvertibleToGeneratedContent.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/DynamicGenerationSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/DynamicInstructions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Extensions/Character+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Extensions/HTTPClient+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Extensions/JSONDecoder+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Extensions/URLSession+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Generable.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/GeneratedContent.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/GenerationGuide.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/GenerationID.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/GenerationOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/GenerationSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Instructions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/LanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/LanguageModelFeedback.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/LanguageModelSession.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/AnthropicLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/CoreMLLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/FoundationLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/GeminiLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/LlamaLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/LlamaToolCallFormat.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/MLXLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/OllamaLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/OpenAILanguageModel.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/OpenResponsesLanguageModel.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/PrivateCloudComputeLanguageModel.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Prompt.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/SendableMetatype.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Bounds.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/HTTPTransport+Fetch.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONCompleter.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONLines.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONValue+JSONSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONValue.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/LocalGenerationUsage.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Locked.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ProviderResponseSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ResponseSchemaInlining.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ResponseStreamFailure.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ResponseUsage.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StreamingResponseState.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StrictResponseSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StructuredGeneration.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolCallingModeRequests.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolRoundLimit.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolSchemaNormalization.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Transport.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Tool.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/ToolExecution.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Transcript.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/supplementaryOutputs-7 -target arm64-apple-tvos17.0 -module-can-import-version CoreGraphics 2049 2049.0.0 -module-can-import-version CoreImage 3 7.0.0 -module-can-import-version FoundationModels 2.0.68.1 0 -module-can-import-version ImageIO 2851 1.0.0 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -load-resolved-plugin #/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/AnyLanguageModelMacros#AnyLanguageModelMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/AnyLanguageModel-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/AnyLanguageModelMacros#AnyLanguageModelMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -Xcc -fmodules-prune-interval=86400 -Xcc -fmodules-prune-after=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -no-auto-bridging-header-chaining -module-name AnyLanguageModel -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/AnyLanguageModel_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/OpenResponsesLanguageModel.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/PrivateCloudComputeLanguageModel.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/SystemLanguageModel.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/Prompt.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/AnyLanguageModel.swiftmodule -index-unit-output-path /AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/OpenResponsesLanguageModel.o -index-unit-output-path /AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/PrivateCloudComputeLanguageModel.o -index-unit-output-path /AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/SystemLanguageModel.o -index-unit-output-path /AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/Prompt.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
1.	Apple Swift version 6.4 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)
2.	Compiling with the current language version
3.	While evaluating request TypeCheckPrimaryFileRequest(source_file "/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift")
4.	While evaluating request TypeCheckFunctionBodyRequest(AnyLanguageModel.(file).fmStreamResponseRunningTools(makeSession:fmPrompt:fmOptions:type:schema:includeSchemaInPrompt:)@/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1523:18)
5.	While type-checking statement at [/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1530:80 - line:1699:5] RangeText="{
        let stream: AsyncThrowingStream<LanguageModelSession.ResponseStream<Content>.Snapshot, Error> =
            AsyncThrowingStream { continuation in
                func accumulateText(
                    _ chunkText: String,
                    accumulatedText: inout String,
                    lastLength: inout Int
                ) {
                    if chunkText.count >= lastLength, chunkText.hasPrefix(accumulatedText) {
                        let startIdx = chunkText.index(chunkText.startIndex, offsetBy: lastLength)
                        let delta = String(chunkText[startIdx...])
                        accumulatedText += delta
                        lastLength = chunkText.count
                    } else if chunkText.hasPrefix(accumulatedText) {
                        accumulatedText = chunkText
                        lastLength = chunkText.count
                    } else if accumulatedText.hasPrefix(chunkText) {
                        accumulatedText = chunkText
                        lastLength = chunkText.count
                    } else {
                        accumulatedText += chunkText
                        lastLength = accumulatedText.count
                    }
                }
                func processStringStream(_ fmSession: FoundationModels.LanguageModelSession) async {
                    let fmStream: FoundationModels.LanguageModelSession.ResponseStream<String> =
                        fmSession.streamResponse(to: fmPrompt, options: fmOptions)
                    var accumulatedText = ""
                    do {
                        var lastLength = 0
                        for try await snapshot in fmStream {
                            var chunkText: String = snapshot.content
                            // Handle "null" from FoundationModels as first temp result
                            if chunkText == "null" && accumulatedText == "" {
                                chunkText = ""
                            }
                            accumulateText(
                                chunkText,
                                accumulatedText: &accumulatedText,
                                lastLength: &lastLength
                            )
                            let raw = GeneratedContent(accumulatedText)
                            let snapshotContent = (accumulatedText as! Content).asPartiallyGenerated()
                            continuation.yield(.init(content: snapshotContent, rawContent: raw))
                        }
                        continuation.finish()
                    } catch {
                        continuation.finish(throwing: error)
                    }
                }
                func processStructuredStream(_ fmSession: FoundationModels.LanguageModelSession) async {
                    let fmSchema = FoundationModels.GenerationSchema(schema)
                    let fmStream = fmSession.streamResponse(
                        to: fmPrompt,
                        schema: fmSchema,
                        includeSchemaInPrompt: includeSchemaInPrompt,
                        options: fmOptions
                    )
                    func processTextFallback() async {
                        let fmTextStream: FoundationModels.LanguageModelSession.ResponseStream<String> =
                            fmSession.streamResponse(to: fmPrompt, options: fmOptions)
                        var accumulatedText = ""
                        var didYield = false
                        do {
                            var lastLength = 0
                            for try await snapshot in fmTextStream {
                                var chunkText: String = snapshot.content
                                if chunkText == "null" && accumulatedText.isEmpty {
                                    chunkText = ""
                                }
                                accumulateText(
                                    chunkText,
                                    accumulatedText: &accumulatedText,
                                    lastLength: &lastLength
                                )
                                if let partialContent = try? GeneratedContent(json: accumulatedText) {
                                    let partial: Content.PartiallyGenerated? = try? .init(partialContent)
                                    if let partial {
                                        continuation.yield(.init(content: partial, rawContent: partialContent))
                                        didYield = true
                                    }
                                }
                            }
                            if !didYield, let placeholder = placeholderPartialContent(for: type, schema: schema) {
                                continuation.yield(
                                    .init(content: placeholder.content, rawContent: placeholder.rawContent)
                                )
                            }
                            continuation.finish()
                        } catch {
                            if !didYield, let placeholder = placeholderPartialContent(for: type, schema: schema) {
                                continuation.yield(
                                    .init(content: placeholder.content, rawContent: placeholder.rawContent)
                                )
                            }
                            continuation.finish(throwing: error)
                        }
                    }
                    var didYield = false
                    do {
                        for try await snapshot in fmStream {
                            let jsonString = snapshot.content.jsonString
                            let raw =
                                (try? GeneratedContent(snapshot.content))
                                ?? (try? GeneratedContent(json: jsonString))
                                ?? GeneratedContent(jsonString)
                            // Prefer partial decoding so we can surface intermediate snapshots.
                            if let partialContent = try? GeneratedContent(json: jsonString) {
                                let partial: Content.PartiallyGenerated? = try? .init(partialContent)
                                if let partial {
                                    continuation.yield(.init(content: partial, rawContent: partialContent))
                                    didYield = true
                                    continue
                                }
                            }
                            // Fallback to full conversion when partial decoding isn't possible.
                            if let value = try? type.init(raw) {
                                let snapshotContent = value.asPartiallyGenerated()
                                continuation.yield(.init(content: snapshotContent, rawContent: raw))
                                didYield = true
                            }
                        }
                        if !didYield, let placeholder = placeholderPartialContent(for: type, schema: schema) {
                            continuation.yield(
                                .init(content: placeholder.content, rawContent: placeholder.rawContent)
                            )
                        }
                        continuation.finish()
                    } catch {
                        if didYield || stoppedToolCall(in: error) != nil {
                            continuation.finish(throwing: error)
                        } else {
                            await processTextFallback()
                        }
                    }
                }
                let streamingTask: _Concurrency.Task<Void, Never> = _Concurrency.Task(priority: nil) {
                    let fmSession: FoundationModels.LanguageModelSession
                    do {
                        fmSession = try await makeSession()
                    } catch {
                        continuation.finish(throwing: error)
                        return
                    }
                    if type == String.self {
                        await processStringStream(fmSession)
                    } else {
                        await processStructuredStream(fmSession)
                    }
                }
                continuation.onTermination = { _ in streamingTask.cancel() }
            }
        return LanguageModelSession.ResponseStream(stream: stream)
    "
6.	While type-checking declaration 0xbe5809c98 (at /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1531:9)
7.	While type-checking expression at [/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1532:13 - line:1696:13] RangeText="AsyncThrowingStream { continuation in
                func accumulateText(
                    _ chunkText: String,
                    accumulatedText: inout String,
                    lastLength: inout Int
                ) {
                    if chunkText.count >= lastLength, chunkText.hasPrefix(accumulatedText) {
                        let startIdx = chunkText.index(chunkText.startIndex, offsetBy: lastLength)
                        let delta = String(chunkText[startIdx...])
                        accumulatedText += delta
                        lastLength = chunkText.count
                    } else if chunkText.hasPrefix(accumulatedText) {
                        accumulatedText = chunkText
                        lastLength = chunkText.count
                    } else if accumulatedText.hasPrefix(chunkText) {
                        accumulatedText = chunkText
                        lastLength = chunkText.count
                    } else {
                        accumulatedText += chunkText
                        lastLength = accumulatedText.count
                    }
                }
                func processStringStream(_ fmSession: FoundationModels.LanguageModelSession) async {
                    let fmStream: FoundationModels.LanguageModelSession.ResponseStream<String> =
                        fmSession.streamResponse(to: fmPrompt, options: fmOptions)
                    var accumulatedText = ""
                    do {
                        var lastLength = 0
                        for try await snapshot in fmStream {
                            var chunkText: String = snapshot.content
                            // Handle "null" from FoundationModels as first temp result
                            if chunkText == "null" && accumulatedText == "" {
                                chunkText = ""
                            }
                            accumulateText(
                                chunkText,
                                accumulatedText: &accumulatedText,
                                lastLength: &lastLength
                            )
                            let raw = GeneratedContent(accumulatedText)
                            let snapshotContent = (accumulatedText as! Content).asPartiallyGenerated()
                            continuation.yield(.init(content: snapshotContent, rawContent: raw))
                        }
                        continuation.finish()
                    } catch {
                        continuation.finish(throwing: error)
                    }
                }
                func processStructuredStream(_ fmSession: FoundationModels.LanguageModelSession) async {
                    let fmSchema = FoundationModels.GenerationSchema(schema)
                    let fmStream = fmSession.streamResponse(
                        to: fmPrompt,
                        schema: fmSchema,
                        includeSchemaInPrompt: includeSchemaInPrompt,
                        options: fmOptions
                    )
                    func processTextFallback() async {
                        let fmTextStream: FoundationModels.LanguageModelSession.ResponseStream<String> =
                            fmSession.streamResponse(to: fmPrompt, options: fmOptions)
                        var accumulatedText = ""
                        var didYield = false
                        do {
                            var lastLength = 0
                            for try await snapshot in fmTextStream {
                                var chunkText: String = snapshot.content
                                if chunkText == "null" && accumulatedText.isEmpty {
                                    chunkText = ""
                                }
                                accumulateText(
                                    chunkText,
                                    accumulatedText: &accumulatedText,
                                    lastLength: &lastLength
                                )
                                if let partialContent = try? GeneratedContent(json: accumulatedText) {
                                    let partial: Content.PartiallyGenerated? = try? .init(partialContent)
                                    if let partial {
                                        continuation.yield(.init(content: partial, rawContent: partialContent))
                                        didYield = true
                                    }
                                }
                            }
                            if !didYield, let placeholder = placeholderPartialContent(for: type, schema: schema) {
                                continuation.yield(
                                    .init(content: placeholder.content, rawContent: placeholder.rawContent)
                                )
                            }
                            continuation.finish()
                        } catch {
                            if !didYield, let placeholder = placeholderPartialContent(for: type, schema: schema) {
                                continuation.yield(
                                    .init(content: placeholder.content, rawContent: placeholder.rawContent)
                                )
                            }
                            continuation.finish(throwing: error)
                        }
                    }
                    var didYield = false
                    do {
                        for try await snapshot in fmStream {
                            let jsonString = snapshot.content.jsonString
                            let raw =
                                (try? GeneratedContent(snapshot.content))
                                ?? (try? GeneratedContent(json: jsonString))
                                ?? GeneratedContent(jsonString)
                            // Prefer partial decoding so we can surface intermediate snapshots.
                            if let partialContent = try? GeneratedContent(json: jsonString) {
                                let partial: Content.PartiallyGenerated? = try? .init(partialContent)
                                if let partial {
                                    continuation.yield(.init(content: partial, rawContent: partialContent))
                                    didYield = true
                                    continue
                                }
                            }
                            // Fallback to full conversion when partial decoding isn't possible.
                            if let value = try? type.init(raw) {
                                let snapshotContent = value.asPartiallyGenerated()
                                continuation.yield(.init(content: snapshotContent, rawContent: raw))
                                didYield = true
                            }
                        }
                        if !didYield, let placeholder = placeholderPartialContent(for: type, schema: schema) {
                            continuation.yield(
                                .init(content: placeholder.content, rawContent: placeholder.rawContent)
                            )
                        }
                        continuation.finish()
                    } catch {
                        if didYield || stoppedToolCall(in: error) != nil {
                            continuation.finish(throwing: error)
                        } else {
                            await processTextFallback()
                        }
                    }
                }
                let streamingTask: _Concurrency.Task<Void, Never> = _Concurrency.Task(priority: nil) {
                    let fmSession: FoundationModels.LanguageModelSession
                    do {
                        fmSession = try await makeSession()
                    } catch {
                        continuation.finish(throwing: error)
                        return
                    }
                    if type == String.self {
                        await processStringStream(fmSession)
                    } else {
                        await processStructuredStream(fmSession)
                    }
                }
                continuation.onTermination = { _ in streamingTask.cancel() }
            "
8.	While type-checking-target starting at /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1532:13
9.	While type-checking 'processStringStream(_:)' (at /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1556:17)
10.	While evaluating request TypeCheckFunctionBodyRequest(AnyLanguageModel.(file).fmStreamResponseRunningTools(makeSession:fmPrompt:fmOptions:type:schema:includeSchemaInPrompt:).explicit closure discriminator=65535.processStringStream@/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1556:22)
11.	While type-checking statement at [/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1556:100 - line:1585:17] RangeText="{
                    let fmStream: FoundationModels.LanguageModelSession.ResponseStream<String> =
                        fmSession.streamResponse(to: fmPrompt, options: fmOptions)
                    var accumulatedText = ""
                    do {
                        var lastLength = 0
                        for try await snapshot in fmStream {
                            var chunkText: String = snapshot.content
                            // Handle "null" from FoundationModels as first temp result
                            if chunkText == "null" && accumulatedText == "" {
                                chunkText = ""
                            }
                            accumulateText(
                                chunkText,
                                accumulatedText: &accumulatedText,
                                lastLength: &lastLength
                            )
                            let raw = GeneratedContent(accumulatedText)
                            let snapshotContent = (accumulatedText as! Content).asPartiallyGenerated()
                            continuation.yield(.init(content: snapshotContent, rawContent: raw))
                        }
                        continuation.finish()
                    } catch {
                        continuation.finish(throwing: error)
                    }
                "
12.	While type-checking statement at [/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1561:21 - line:1584:21] RangeText="do {
                        var lastLength = 0
                        for try await snapshot in fmStream {
                            var chunkText: String = snapshot.content
                            // Handle "null" from FoundationModels as first temp result
                            if chunkText == "null" && accumulatedText == "" {
                                chunkText = ""
                            }
                            accumulateText(
                                chunkText,
                                accumulatedText: &accumulatedText,
                                lastLength: &lastLength
                            )
                            let raw = GeneratedContent(accumulatedText)
                            let snapshotContent = (accumulatedText as! Content).asPartiallyGenerated()
                            continuation.yield(.init(content: snapshotContent, rawContent: raw))
                        }
                        continuation.finish()
                    } catch {
                        continuation.finish(throwing: error)
                    "
13.	While evaluating request DesugarForEachStmtRequest(ForEach)
14.	Assertion failed: (Range.hasLowerEndpoint()), function getVersionString at AvailabilityRange.h:337.
| 	(to display assertion configuration options: -Xllvm -assert-help)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend           0x000000010ae2fbd0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1  swift-frontend           0x000000010ae2d358 llvm::sys::RunSignalHandlers() + 172
2  swift-frontend           0x000000010ae301c8 SignalHandler(int, __siginfo*, void*) + 360
3  libsystem_platform.dylib 0x0000000186395744 _sigtramp + 56
4  libsystem_pthread.dylib  0x000000018638b8d8 pthread_kill + 296
5  libsystem_c.dylib        0x0000000186291978 abort + 148
6  swift-frontend           0x00000001065debc4 _ABORT(char const*, int, char const*, llvm::function_ref<void (llvm::raw_ostream&)>) + 0
7  swift-frontend           0x00000001065deb80 _abortWithMessage(llvm::StringRef) + 0
8  swift-frontend           0x0000000105f31a5c (anonymous namespace)::DesugarForEachStmt::emitDiagnosticsForUnavailableConformance(swift::Type, swift::AvailabilityConstraint) + 1268
9  swift-frontend           0x0000000105f28a40 swift::DesugarForEachStmtRequest::evaluate(swift::Evaluator&, swift::ForEachStmt*) const + 456
10 swift-frontend           0x00000001065705a8 swift::DesugarForEachStmtRequest::OutputType swift::Evaluator::getResultUncached<swift::DesugarForEachStmtRequest, swift::DesugarForEachStmtRequest::OutputType swift::evaluateOrDefault<swift::DesugarForEachStmtRequest>(swift::Evaluator&, swift::DesugarForEachStmtRequest, swift::DesugarForEachStmtRequest::OutputType)::'lambda'()>(swift::DesugarForEachStmtRequest const&, swift::DesugarForEachStmtRequest::OutputType swift::evaluateOrDefault<swift::DesugarForEachStmtRequest>(swift::Evaluator&, swift::DesugarForEachStmtRequest, swift::DesugarForEachStmtRequest::OutputType)::'lambda'()) + 656
11 swift-frontend           0x0000000105ea2ed8 (anonymous namespace)::ApplyClassifier::classifyForEach(swift::ForEachStmt*) + 140
12 swift-frontend           0x0000000105ea188c (anonymous namespace)::EffectsHandlingWalker<(anonymous namespace)::ApplyClassifier::FunctionThrowsClassifier>::walkToStmtPre(swift::Stmt*) + 528
13 swift-frontend           0x000000010622b034 (anonymous namespace)::Traversal::visit(swift::Stmt*) + 2732
14 swift-frontend           0x0000000105e963bc (anonymous namespace)::ApplyClassifier::classifyStmt(swift::Stmt*, swift::EffectKind) + 452
15 swift-frontend           0x0000000105e95fa8 swift::TypeChecker::catchErrorType(swift::DeclContext*, swift::DoCatchStmt*) + 300
16 swift-frontend           0x0000000105f2e268 swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) + 2192
17 swift-frontend           0x0000000105f2d968 bool (anonymous namespace)::StmtChecker::typeCheckStmt<swift::Stmt>(swift::Stmt*&) + 288
18 swift-frontend           0x0000000105f24fc8 (anonymous namespace)::StmtChecker::typeCheckASTNode(swift::ASTNode&) + 76
19 swift-frontend           0x0000000105f2db04 swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) + 300
20 swift-frontend           0x0000000105f2f5fc bool (anonymous namespace)::StmtChecker::typeCheckStmt<swift::BraceStmt>(swift::BraceStmt*&) + 288
21 swift-frontend           0x0000000105f26ba8 swift::TypeCheckFunctionBodyRequest::evaluate(swift::Evaluator&, swift::AbstractFunctionDecl*) const + 2308
22 swift-frontend           0x000000010639e838 swift::TypeCheckFunctionBodyRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()>(swift::TypeCheckFunctionBodyRequest const&, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()) + 680
23 swift-frontend           0x000000010639e474 swift::TypeCheckFunctionBodyRequest::OutputType swift::Evaluator::getResultCached<swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'(), (void*)0>(swift::TypeCheckFunctionBodyRequest const&, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()) + 76
24 swift-frontend           0x0000000105e7e7f8 (anonymous namespace)::DeclChecker::visitFuncDecl(swift::FuncDecl*) + 1096
25 swift-frontend           0x0000000105e72a58 (anonymous namespace)::DeclChecker::visit(swift::Decl*) + 1356
26 swift-frontend           0x0000000105b1f464 (anonymous namespace)::ExprRewriter::finalize() + 1608
27 swift-frontend           0x0000000105b1d11c swift::constraints::ConstraintSystem::applySolution(swift::constraints::Solution&, swift::constraints::SyntacticElementTarget) + 7180
28 swift-frontend           0x0000000105e19840 swift::TypeChecker::typeCheckTarget(swift::constraints::SyntacticElementTarget&, swift::optionset::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::DiagnosticTransaction*) + 672
29 swift-frontend           0x0000000105e19540 swift::TypeChecker::typeCheckExpression(swift::constraints::SyntacticElementTarget&, swift::optionset::OptionSet<swift::TypeCheckExprFlags, unsigned int>, swift::DiagnosticTransaction*) + 400
30 swift-frontend           0x0000000105e1acc4 swift::TypeChecker::typeCheckBinding(swift::Pattern*&, swift::Expr*&, swift::DeclContext*, swift::Type, swift::PatternBindingDecl*, unsigned int, swift::optionset::OptionSet<swift::TypeCheckExprFlags, unsigned int>) + 520
31 swift-frontend           0x0000000105e1ae5c swift::TypeChecker::typeCheckPatternBinding(swift::PatternBindingDecl*, unsigned int, swift::Type, swift::optionset::OptionSet<swift::TypeCheckExprFlags, unsigned int>) + 272
32 swift-frontend           0x0000000105e74224 (anonymous namespace)::DeclChecker::visit(swift::Decl*) + 7448
33 swift-frontend           0x0000000105f25350 (anonymous namespace)::StmtChecker::typeCheckASTNode(swift::ASTNode&) + 980
34 swift-frontend           0x0000000105f2db04 swift::ASTVisitor<(anonymous namespace)::StmtChecker, void, swift::Stmt*, void, void, void, void>::visit(swift::Stmt*) + 300
35 swift-frontend           0x0000000105f2f5fc bool (anonymous namespace)::StmtChecker::typeCheckStmt<swift::BraceStmt>(swift::BraceStmt*&) + 288
36 swift-frontend           0x0000000105f26ba8 swift::TypeCheckFunctionBodyRequest::evaluate(swift::Evaluator&, swift::AbstractFunctionDecl*) const + 2308
37 swift-frontend           0x000000010639e838 swift::TypeCheckFunctionBodyRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()>(swift::TypeCheckFunctionBodyRequest const&, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()) + 680
38 swift-frontend           0x000000010639e474 swift::TypeCheckFunctionBodyRequest::OutputType swift::Evaluator::getResultCached<swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'(), (void*)0>(swift::TypeCheckFunctionBodyRequest const&, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()) + 76
39 swift-frontend           0x000000010646370c swift::SourceFile::typeCheckDelayedFunctions() + 72
40 swift-frontend           0x0000000105f82444 swift::TypeCheckPrimaryFileRequest::evaluate(swift::Evaluator&, swift::SourceFile*) const + 1248
41 swift-frontend           0x0000000105f8b244 swift::TypeCheckPrimaryFileRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'()>(swift::TypeCheckPrimaryFileRequest const&, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'()) + 648
42 swift-frontend           0x0000000105f8afa8 swift::TypeCheckPrimaryFileRequest::OutputType swift::Evaluator::getResultCached<swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'(), (void*)0>(swift::TypeCheckPrimaryFileRequest const&, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'()) + 184
43 swift-frontend           0x0000000104d841a4 bool llvm::function_ref<bool (swift::SourceFile&)>::callback_fn<swift::CompilerInstance::performSema()::$_0>(long, swift::SourceFile&) + 116
44 swift-frontend           0x0000000104d7d11c swift::CompilerInstance::forEachFileToTypeCheck(llvm::function_ref<bool (swift::SourceFile&)>) + 176
45 swift-frontend           0x0000000104d7d03c swift::CompilerInstance::performSema() + 456
46 swift-frontend           0x0000000104944918 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) + 556
47 swift-frontend           0x0000000104941dc4 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3776
48 swift-frontend           0x00000001048c1008 swift::mainEntry(int, char const**) + 5600
49 dyld                     0x0000000185fc04e4 start + 6992
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Attachment.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Availability.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/ContextOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/ConvertibleFromGeneratedContent.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/ConvertibleToGeneratedContent.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/DynamicGenerationSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/DynamicInstructions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Extensions/Character+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Extensions/HTTPClient+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Extensions/JSONDecoder+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Extensions/URLSession+Extensions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Generable.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/GeneratedContent.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/GenerationGuide.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/GenerationID.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/GenerationOptions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/GenerationSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Instructions.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/LanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/LanguageModelFeedback.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/LanguageModelSession.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/AnthropicLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/CoreMLLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/FoundationLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/GeminiLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/LlamaLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/LlamaToolCallFormat.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/MLXLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/OllamaLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/OpenAILanguageModel.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/OpenResponsesLanguageModel.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/PrivateCloudComputeLanguageModel.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Prompt.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/SendableMetatype.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Bounds.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/HTTPTransport+Fetch.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONCompleter.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONLines.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONValue+JSONSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONValue.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/LocalGenerationUsage.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Locked.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ProviderResponseSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ResponseSchemaInlining.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ResponseStreamFailure.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ResponseUsage.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StreamingResponseState.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StrictResponseSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StructuredGeneration.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolCallingModeRequests.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolRoundLimit.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolSchemaNormalization.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Transport.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Tool.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/ToolExecution.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Transcript.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/supplementaryOutputs-7 -target arm64-apple-tvos17.0 -module-can-import-version CoreGraphics 2049 2049.0.0 -module-can-import-version CoreImage 3 7.0.0 -module-can-import-version FoundationModels 2.0.68.1 0 -module-can-import-version ImageIO 2851 1.0.0 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/System/Library/Frameworks/FoundationModels.framework/Modules/FoundationModels.swiftcrossimport/UIKit.swiftoverlay -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/AnyLanguageModelMacros\#AnyLanguageModelMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/AnyLanguageModel-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug/AnyLanguageModelMacros\#AnyLanguageModelMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AnyLanguageModel -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/AnyLanguageModel_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/OpenResponsesLanguageModel.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/PrivateCloudComputeLanguageModel.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/SystemLanguageModel.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/Prompt.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/AnyLanguageModel.swiftmodule -index-unit-output-path /AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/OpenResponsesLanguageModel.o -index-unit-output-path /AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/PrivateCloudComputeLanguageModel.o -index-unit-output-path /AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/SystemLanguageModel.o -index-unit-output-path /AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/Prompt.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
Command SwiftCompile failed with a nonzero exit code
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/OpenResponsesLanguageModel.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile OpenResponsesLanguageModel.swift
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/OpenResponsesLanguageModel.dia:1:1: warning: Could not read serialized diagnostics file: Error Domain=NSCocoaErrorDomain Code=260 "The file “OpenResponsesLanguageModel.dia” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/OpenResponsesLanguageModel.dia, NSURL=file:///Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/OpenResponsesLanguageModel.dia, NSUnderlyingError=0x88f29ccf0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/PrivateCloudComputeLanguageModel.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile PrivateCloudComputeLanguageModel.swift
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/PrivateCloudComputeLanguageModel.dia:1:1: warning: Could not read serialized diagnostics file: Error Domain=NSCocoaErrorDomain Code=260 "The file “PrivateCloudComputeLanguageModel.dia” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/PrivateCloudComputeLanguageModel.dia, NSURL=file:///Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/PrivateCloudComputeLanguageModel.dia, NSUnderlyingError=0x88f29fe70 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SystemLanguageModel.swift
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/SystemLanguageModel.dia:1:1: warning: Could not read serialized diagnostics file: Error Domain=NSCocoaErrorDomain Code=260 "The file “SystemLanguageModel.dia” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/SystemLanguageModel.dia, NSURL=file:///Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/SystemLanguageModel.dia, NSUnderlyingError=0x88f29fb40 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Prompt.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Prompt.swift
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/Prompt.dia:1:1: warning: Could not read serialized diagnostics file: Error Domain=NSCocoaErrorDomain Code=260 "The file “Prompt.dia” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/Prompt.dia, NSURL=file:///Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AnyLanguageModel.build/Debug-appletvos/AnyLanguageModel-t.build/Objects-normal/arm64/Prompt.dia, NSUnderlyingError=0x88f29c360 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 Compiling\ StructuredGeneration.swift,\ ToolCallingModeRequests.swift,\ ToolRoundLimit.swift,\ ToolSchemaNormalization.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StructuredGeneration.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolCallingModeRequests.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolRoundLimit.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolSchemaNormalization.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StructuredGeneration.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile StructuredGeneration.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolCallingModeRequests.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ToolCallingModeRequests.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolRoundLimit.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ToolRoundLimit.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ToolSchemaNormalization.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ToolSchemaNormalization.swift
SwiftCompile normal arm64 Compiling\ LlamaToolCallFormat.swift,\ MLXLanguageModel.swift,\ OllamaLanguageModel.swift,\ OpenAILanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/LlamaToolCallFormat.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/MLXLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/OllamaLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/OpenAILanguageModel.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/LlamaToolCallFormat.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile LlamaToolCallFormat.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/MLXLanguageModel.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile MLXLanguageModel.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/OllamaLanguageModel.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile OllamaLanguageModel.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/OpenAILanguageModel.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile OpenAILanguageModel.swift
SwiftCompile normal arm64 Compiling\ SendableMetatype.swift,\ Bounds.swift,\ StreamingResponseState.swift,\ StrictResponseSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/SendableMetatype.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Bounds.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StreamingResponseState.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StrictResponseSchema.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/SendableMetatype.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile SendableMetatype.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Bounds.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Bounds.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StreamingResponseState.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile StreamingResponseState.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/StrictResponseSchema.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile StrictResponseSchema.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ AnyLanguageModel (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:19:63: error: 'SystemLanguageModel' is unavailable in tvOS
  17 |     public struct SystemLanguageModel: LanguageModel {
  18 |         /// The reason the model is unavailable.
  19 |         public typealias UnavailableReason = FoundationModels.SystemLanguageModel.Availability.UnavailableReason
     |                                                               `- error: 'SystemLanguageModel' is unavailable in tvOS
  20 |
  21 |         let systemModel: FoundationModels.SystemLanguageModel
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:21:43: error: 'SystemLanguageModel' is unavailable in tvOS
  19 |         public typealias UnavailableReason = FoundationModels.SystemLanguageModel.Availability.UnavailableReason
  20 |
  21 |         let systemModel: FoundationModels.SystemLanguageModel
     |                                           `- error: 'SystemLanguageModel' is unavailable in tvOS
  22 |
  23 |         /// The default system language model.
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:38:39: error: 'SystemLanguageModel' is unavailable in tvOS
  36 |         ///   - guardrails: Safety guardrails to apply during generation.
  37 |         public init(
  38 |             useCase: FoundationModels.SystemLanguageModel.UseCase = .general,
     |                                       `- error: 'SystemLanguageModel' is unavailable in tvOS
  39 |             guardrails: FoundationModels.SystemLanguageModel.Guardrails = FoundationModels.SystemLanguageModel
  40 |                 .Guardrails.default
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:39:42: error: 'SystemLanguageModel' is unavailable in tvOS
  37 |         public init(
  38 |             useCase: FoundationModels.SystemLanguageModel.UseCase = .general,
  39 |             guardrails: FoundationModels.SystemLanguageModel.Guardrails = FoundationModels.SystemLanguageModel
     |                                          `- error: 'SystemLanguageModel' is unavailable in tvOS
  40 |                 .Guardrails.default
  41 |         ) {
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:39:92: error: 'SystemLanguageModel' is unavailable in tvOS
  37 |         public init(
  38 |             useCase: FoundationModels.SystemLanguageModel.UseCase = .general,
  39 |             guardrails: FoundationModels.SystemLanguageModel.Guardrails = FoundationModels.SystemLanguageModel
     |                                                                                            `- error: 'SystemLanguageModel' is unavailable in tvOS
  40 |                 .Guardrails.default
  41 |         ) {
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:40:29: error: 'default' is unavailable in tvOS
  38 |             useCase: FoundationModels.SystemLanguageModel.UseCase = .general,
  39 |             guardrails: FoundationModels.SystemLanguageModel.Guardrails = FoundationModels.SystemLanguageModel
  40 |                 .Guardrails.default
     |                             `- error: 'default' is unavailable in tvOS
  41 |         ) {
  42 |             self.systemModel = FoundationModels.SystemLanguageModel(useCase: useCase, guardrails: guardrails)
FoundationModels.SystemLanguageModel.Guardrails.default:3:19: note: 'default' has been explicitly marked unavailable here
1 | class SystemLanguageModel {
2 |   struct Guardrails {
3 | public static let `default`: SystemLanguageModel.Guardrails  }
  |                   `- note: 'default' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:51:39: error: 'SystemLanguageModel' is unavailable in tvOS
  49 |         ///   - guardrails: Safety guardrails to apply during generation.
  50 |         public init(
  51 |             adapter: FoundationModels.SystemLanguageModel.Adapter,
     |                                       `- error: 'SystemLanguageModel' is unavailable in tvOS
  52 |             guardrails: FoundationModels.SystemLanguageModel.Guardrails = .default
  53 |         ) {
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:52:42: error: 'SystemLanguageModel' is unavailable in tvOS
  50 |         public init(
  51 |             adapter: FoundationModels.SystemLanguageModel.Adapter,
  52 |             guardrails: FoundationModels.SystemLanguageModel.Guardrails = .default
     |                                          `- error: 'SystemLanguageModel' is unavailable in tvOS
  53 |         ) {
  54 |             self.systemModel = FoundationModels.SystemLanguageModel(adapter: adapter, guardrails: guardrails)
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
  |                    `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 |     @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:52:76: error: 'default' is unavailable in tvOS
  50 |         public init(
  51 |             adapter: FoundationModels.SystemLanguageModel.Adapter,
  52 |             guardrails: FoundationModels.SystemLanguageModel.Guardrails = .default
     |                                                                            `- error: 'default' is unavailable in tvOS
  53 |         ) {
  54 |             self.systemModel = FoundationModels.SystemLanguageModel(adapter: adapter, guardrails: guardrails)
FoundationModels.SystemLanguageModel.Guardrails.default:3:19: note: 'default' has been explicitly marked unavailable here
1 | class SystemLanguageModel {
2 |   struct Guardrails {
3 | public static let `default`: SystemLanguageModel.Guardrails  }
  |                   `- note: 'default' has been explicitly marked unavailable here
4 | }
5 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:303:38: error: 'LanguageModelSession' is unavailable in tvOS
 301 |             for session: LanguageModelSession,
 302 |             prompt: Prompt
 303 |         ) throws -> FoundationModels.LanguageModelSession {
     |                                      `- error: 'LanguageModelSession' is unavailable in tvOS
 304 |             #if compiler(>=6.4) && !os(tvOS)
 305 |                 if #available(macOS 27.0, iOS 27.0, visionOS 27.0, watchOS 27.0, *) {
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:17:19: warning: unavailable enum 'UnavailableReason' was used to satisfy a requirement of protocol 'LanguageModel'; this will be an error in a future Swift language mode
  15 |     @available(macOS 26.0, iOS 26.0, tvOS 26.0, visionOS 26.0, *)
  16 |     @available(watchOS, unavailable)
  17 |     public struct SystemLanguageModel: LanguageModel {
     |                   `- warning: unavailable enum 'UnavailableReason' was used to satisfy a requirement of protocol 'LanguageModel'; this will be an error in a future Swift language mode
  18 |         /// The reason the model is unavailable.
  19 |         public typealias UnavailableReason = FoundationModels.SystemLanguageModel.Availability.UnavailableReason
FoundationModels.SystemLanguageModel.Availability.UnavailableReason:6:17: note: 'UnavailableReason' declared here
 4 |     @available(tvOS, unavailable)
 5 |     @available(watchOS, unavailable)
 6 |     public enum UnavailableReason : Equatable, Sendable {
   |                 `- note: 'UnavailableReason' declared here
 7 |     case deviceNotEligible
 8 |     case appleIntelligenceNotEnabled
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/LanguageModel.swift:19:20: note: requirement 'UnavailableReason' declared here
 17 | ///   with the Foundation Models framework.
 18 | public protocol LanguageModel: Sendable {
 19 |     associatedtype UnavailableReason
    |                    `- note: requirement 'UnavailableReason' declared here
 20 |
 21 |     /// The type of custom generation options this model accepts.
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:439:62: error: 'Prompt' is unavailable in tvOS
 437 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
 438 |     extension Prompt {
 439 |         func toFoundationModels() throws -> FoundationModels.Prompt {
     |                                                              `- error: 'Prompt' is unavailable in tvOS
 440 |             let prompts: [FoundationModels.Prompt] = try components.map { component in
 441 |                 switch component {
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
  |               `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:485:72: error: 'Prompt' is unavailable in tvOS
 483 |         /// - Throws: ``PromptBridgeError`` for an image Foundation Models can't take,
 484 |         ///   rather than leaving it out.
 485 |         func toFoundationModelsToolOutput() throws -> FoundationModels.Prompt {
     |                                                                        `- error: 'Prompt' is unavailable in tvOS
 486 |             let prompts: [FoundationModels.Prompt] = try map { segment in
 487 |                 switch segment {
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
  |               `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:513:55: error: 'Instructions' is unavailable in tvOS
 511 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
 512 |     extension Instructions {
 513 |         func toFoundationModels() -> FoundationModels.Instructions {
     |                                                       `- error: 'Instructions' is unavailable in tvOS
 514 |             FoundationModels.Instructions(self.description)
 515 |         }
FoundationModels.Instructions:3:15: note: 'Instructions' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Instructions : Sendable {
  |               `- note: 'Instructions' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:520:55: error: 'GenerationOptions' is unavailable in tvOS
 518 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
 519 |     extension GenerationOptions {
 520 |         func toFoundationModels() -> FoundationModels.GenerationOptions {
     |                                                       `- error: 'GenerationOptions' is unavailable in tvOS
 521 |             let sampling: FoundationModels.GenerationOptions.SamplingMode?
 522 |             switch self.sampling?.mode {
FoundationModels.GenerationOptions:3:15: note: 'GenerationOptions' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct GenerationOptions : Sendable, Equatable {
   |               `- note: 'GenerationOptions' has been explicitly marked unavailable here
 4 |     @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 5 |     @available(*, deprecated, renamed: "samplingMode")
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:566:55: error: 'LanguageModelFeedback' is unavailable in tvOS
 564 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
 565 |     extension LanguageModelFeedback.Sentiment {
 566 |         func toFoundationModels() -> FoundationModels.LanguageModelFeedback.Sentiment {
     |                                                       `- error: 'LanguageModelFeedback' is unavailable in tvOS
 567 |             switch self {
 568 |             case .positive: .positive
FoundationModels.LanguageModelFeedback:3:15: note: 'LanguageModelFeedback' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelFeedback {
  |               `- note: 'LanguageModelFeedback' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:577:55: error: 'LanguageModelFeedback' is unavailable in tvOS
 575 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
 576 |     extension LanguageModelFeedback.Issue {
 577 |         func toFoundationModels() -> FoundationModels.LanguageModelFeedback.Issue {
     |                                                       `- error: 'LanguageModelFeedback' is unavailable in tvOS
 578 |             FoundationModels.LanguageModelFeedback.Issue(
 579 |                 category: self.category.toFoundationModels(),
FoundationModels.LanguageModelFeedback:3:15: note: 'LanguageModelFeedback' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelFeedback {
  |               `- note: 'LanguageModelFeedback' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:587:55: error: 'LanguageModelFeedback' is unavailable in tvOS
 585 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
 586 |     extension LanguageModelFeedback.Issue.Category {
 587 |         func toFoundationModels() -> FoundationModels.LanguageModelFeedback.Issue.Category {
     |                                                       `- error: 'LanguageModelFeedback' is unavailable in tvOS
 588 |             switch self {
 589 |             case .unhelpful: .unhelpful
FoundationModels.LanguageModelFeedback:3:15: note: 'LanguageModelFeedback' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelFeedback {
  |               `- note: 'LanguageModelFeedback' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:606:99: error: 'Tool' is unavailable in tvOS
 604 |         /// With `session`, each call asks the session's tool execution delegate first,
 605 |         /// as other models do before running a tool.
 606 |         func toFoundationModels(in session: LanguageModelSession? = nil) -> [any FoundationModels.Tool] {
     |                                                                                                   `- error: 'Tool' is unavailable in tvOS
 607 |             map { AnyToolWrapper($0, session: session) }
 608 |         }
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public protocol Tool<Arguments, Output> : Sendable {
   |                 `- note: 'Tool' has been explicitly marked unavailable here
 4 |     associatedtype Output : PromptRepresentable
 5 |     associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:672:48: error: 'GeneratedContent' is unavailable in tvOS
 670 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
 671 |     private struct AnyToolWrapper: FoundationModels.Tool {
 672 |         typealias Arguments = FoundationModels.GeneratedContent
     |                                                `- error: 'GeneratedContent' is unavailable in tvOS
 673 |         typealias Output = FoundationModels.Prompt
 674 |
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
  |               `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 |     public var id: GenerationID?
5 |     public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:673:45: error: 'Prompt' is unavailable in tvOS
 671 |     private struct AnyToolWrapper: FoundationModels.Tool {
 672 |         typealias Arguments = FoundationModels.GeneratedContent
 673 |         typealias Output = FoundationModels.Prompt
     |                                             `- error: 'Prompt' is unavailable in tvOS
 674 |
 675 |         let name: String
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
  |               `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:677:42: error: 'GenerationSchema' is unavailable in tvOS
 675 |         let name: String
 676 |         let description: String
 677 |         let parameters: FoundationModels.GenerationSchema
     |                                          `- error: 'GenerationSchema' is unavailable in tvOS
 678 |         let includesSchemaInInstructions: Bool
 679 |
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:692:47: error: 'GeneratedContent' is unavailable in tvOS
 690 |         }
 691 |
 692 |         func call(arguments: FoundationModels.GeneratedContent) async throws -> Output {
     |                                               `- error: 'GeneratedContent' is unavailable in tvOS
 693 |             try await callTool(wrappedTool, with: GeneratedContent(arguments), in: session)
 694 |         }
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
  |               `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 |     public var id: GenerationID?
5 |     public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:671:53: error: 'Tool' is unavailable in tvOS
 669 |     /// A type-erased wrapper that bridges any `Tool` to `FoundationModels.Tool`.
 670 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
 671 |     private struct AnyToolWrapper: FoundationModels.Tool {
     |                                                     `- error: 'Tool' is unavailable in tvOS
 672 |         typealias Arguments = FoundationModels.GeneratedContent
 673 |         typealias Output = FoundationModels.Prompt
FoundationModels.Tool:3:17: note: 'Tool' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public protocol Tool<Arguments, Output> : Sendable {
   |                 `- note: 'Tool' has been explicitly marked unavailable here
 4 |     associatedtype Output : PromptRepresentable
 5 |     associatedtype Arguments : ConvertibleFromGeneratedContent
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:671:20: error: conformance of 'Prompt' to 'PromptRepresentable' is unavailable in tvOS
 669 |     /// A type-erased wrapper that bridges any `Tool` to `FoundationModels.Tool`.
 670 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
 671 |     private struct AnyToolWrapper: FoundationModels.Tool {
     |                    |- error: conformance of 'Prompt' to 'PromptRepresentable' is unavailable in tvOS
     |                    `- note: in associated type 'Self.Output' (inferred as 'Prompt')
 672 |         typealias Arguments = FoundationModels.GeneratedContent
 673 |         typealias Output = FoundationModels.Prompt
FoundationModels.Prompt:3:11: note: conformance of 'Prompt' to 'PromptRepresentable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Prompt : PromptRepresentable {
  |           `- note: conformance of 'Prompt' to 'PromptRepresentable' has been explicitly marked unavailable here
4 |     public var promptRepresentation: Prompt { get }
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:739:29: error: 'Prompt' is unavailable in tvOS
 737 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
 738 |     func callTool(_ tool: any Tool, with arguments: GeneratedContent, in session: LanguageModelSession?) async throws
 739 |         -> FoundationModels.Prompt
     |                             `- error: 'Prompt' is unavailable in tvOS
 740 |     {
 741 |         let call = Transcript.ToolCall(id: UUID().uuidString, toolName: tool.name, arguments: arguments)
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
  |               `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:776:32: error: 'GenerationSchema' is unavailable in tvOS
 774 |
 775 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
 776 |     extension FoundationModels.GenerationSchema {
     |                                `- error: 'GenerationSchema' is unavailable in tvOS
 777 |         internal init(_ content: AnyLanguageModel.GenerationSchema) {
 778 |             let resolvedSchema = content.withResolvedRoot() ?? content
FoundationModels.GenerationSchema:3:15: note: 'GenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationSchema : Sendable {
  |               `- note: 'GenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:811:32: error: 'GeneratedContent' is unavailable in tvOS
 809 |
 810 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
 811 |     extension FoundationModels.GeneratedContent {
     |                                `- error: 'GeneratedContent' is unavailable in tvOS
 812 |         internal init(_ content: AnyLanguageModel.GeneratedContent) throws {
 813 |             try self.init(json: content.jsonString)
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
  |               `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 |     public var id: GenerationID?
5 |     public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:819:51: error: 'GeneratedContent' is unavailable in tvOS
 817 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
 818 |     extension AnyLanguageModel.GeneratedContent {
 819 |         internal init(_ content: FoundationModels.GeneratedContent) throws {
     |                                                   `- error: 'GeneratedContent' is unavailable in tvOS
 820 |             try self.init(json: content.jsonString)
 821 |         }
FoundationModels.GeneratedContent:3:15: note: 'GeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GeneratedContent : Sendable, Equatable, Generable {
  |               `- note: 'GeneratedContent' has been explicitly marked unavailable here
4 |     public var id: GenerationID?
5 |     public static func == (a: GeneratedContent, b: GeneratedContent) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:837:27: error: 'DynamicGenerationSchema' is unavailable in tvOS
 835 |         _ jsonSchema: JSONSchema,
 836 |         name: String? = nil
 837 |     ) -> FoundationModels.DynamicGenerationSchema {
     |                           `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 838 |         switch jsonSchema {
 839 |         case .object(_, _, _, _, _, _, properties: let properties, required: let required, _):
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:954:27: error: 'DynamicGenerationSchema' is unavailable in tvOS
 952 |         _ node: AnyLanguageModel.GenerationSchema.Node,
 953 |         name: String? = nil
 954 |     ) -> FoundationModels.DynamicGenerationSchema {
     |                           `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 955 |         var names: Set<String> = []
 956 |         return convertToDynamicSchema(node, name: name, path: "", names: &names)
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:971:27: error: 'DynamicGenerationSchema' is unavailable in tvOS
 969 |         path: String,
 970 |         names: inout Set<String>
 971 |     ) -> FoundationModels.DynamicGenerationSchema {
     |                           `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 972 |         // A definition's inline objects and choices are named from the definition's name, so the
 973 |         // same property in two definitions, or in a definition and the root, names two schemas.
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1106:27: error: 'DynamicGenerationSchema' is unavailable in tvOS
1104 |         schema: JSONSchema,
1105 |         required: [String]
1106 |     ) -> FoundationModels.DynamicGenerationSchema.Property {
     |                           `- error: 'DynamicGenerationSchema' is unavailable in tvOS
1107 |         .init(
1108 |             name: key,
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1118:71: error: 'DynamicGenerationSchema' is unavailable in tvOS
1116 |     /// Only handles scalar types (int, double, string); returns nil for null, object, bool, and array.
1117 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
1118 |     func convertConstToSchema(_ value: JSONValue) -> FoundationModels.DynamicGenerationSchema? {
     |                                                                       `- error: 'DynamicGenerationSchema' is unavailable in tvOS
1119 |         switch value {
1120 |         case .int(let intValue):
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1134:55: error: 'Transcript' is unavailable in tvOS
1132 |     extension Transcript.Entry {
1133 |         /// Converts the entry to a Foundation Models transcript entry.
1134 |         func toFoundationModels() -> FoundationModels.Transcript.Entry? {
     |                                                       `- error: 'Transcript' is unavailable in tvOS
1135 |             Transcript(entries: [self]).toFoundationModels(instructions: nil, toolDefinitions: []).first
1136 |         }
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1144:31: error: 'Transcript' is unavailable in tvOS
1142 |             instructions: AnyLanguageModel.Instructions?,
1143 |             toolDefinitions: [Transcript.ToolDefinition]
1144 |         ) -> FoundationModels.Transcript {
     |                               `- error: 'Transcript' is unavailable in tvOS
1145 |             var fmEntries: [FoundationModels.Transcript.Entry] = []
1146 |
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1224:56: error: 'Transcript' is unavailable in tvOS
1222 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
1223 |     extension Array where Element == Transcript.Segment {
1224 |         func toFoundationModels() -> [FoundationModels.Transcript.Segment] {
     |                                                        `- error: 'Transcript' is unavailable in tvOS
1225 |             compactMap { segment -> FoundationModels.Transcript.Segment? in
1226 |                 switch segment {
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1330:56: error: 'Transcript' is unavailable in tvOS
1328 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
1329 |     extension Array where Element == Transcript.ToolDefinition {
1330 |         func toFoundationModels() -> [FoundationModels.Transcript.ToolDefinition] {
     |                                                        `- error: 'Transcript' is unavailable in tvOS
1331 |             map { toolDef in
1332 |                 FoundationModels.Transcript.ToolDefinition(
FoundationModels.Transcript:3:15: note: 'Transcript' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Transcript : Sendable, Equatable {
  |               `- note: 'Transcript' has been explicitly marked unavailable here
4 |     public init(entries: some Sequence<Transcript.Entry> = [])
5 |     public static func == (a: Transcript, b: Transcript) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1345:68: error: 'LanguageModelSession' is unavailable in tvOS
1343 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
1344 |     func fmRespond<Content>(
1345 |         makeSession: @Sendable () async throws -> FoundationModels.LanguageModelSession,
     |                                                                    `- error: 'LanguageModelSession' is unavailable in tvOS
1346 |         fmPrompt: FoundationModels.Prompt,
1347 |         fmOptions: FoundationModels.GenerationOptions,
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1346:36: error: 'Prompt' is unavailable in tvOS
1344 |     func fmRespond<Content>(
1345 |         makeSession: @Sendable () async throws -> FoundationModels.LanguageModelSession,
1346 |         fmPrompt: FoundationModels.Prompt,
     |                                    `- error: 'Prompt' is unavailable in tvOS
1347 |         fmOptions: FoundationModels.GenerationOptions,
1348 |         type: Content.Type,
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
  |               `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1347:37: error: 'GenerationOptions' is unavailable in tvOS
1345 |         makeSession: @Sendable () async throws -> FoundationModels.LanguageModelSession,
1346 |         fmPrompt: FoundationModels.Prompt,
1347 |         fmOptions: FoundationModels.GenerationOptions,
     |                                     `- error: 'GenerationOptions' is unavailable in tvOS
1348 |         type: Content.Type,
1349 |         schema: GenerationSchema,
FoundationModels.GenerationOptions:3:15: note: 'GenerationOptions' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct GenerationOptions : Sendable, Equatable {
   |               `- note: 'GenerationOptions' has been explicitly marked unavailable here
 4 |     @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 5 |     @available(*, deprecated, renamed: "samplingMode")
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1386:68: error: 'LanguageModelSession' is unavailable in tvOS
1384 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
1385 |     private func fmRespondRunningTools<Content>(
1386 |         makeSession: @Sendable () async throws -> FoundationModels.LanguageModelSession,
     |                                                                    `- error: 'LanguageModelSession' is unavailable in tvOS
1387 |         fmPrompt: FoundationModels.Prompt,
1388 |         fmOptions: FoundationModels.GenerationOptions,
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1387:36: error: 'Prompt' is unavailable in tvOS
1385 |     private func fmRespondRunningTools<Content>(
1386 |         makeSession: @Sendable () async throws -> FoundationModels.LanguageModelSession,
1387 |         fmPrompt: FoundationModels.Prompt,
     |                                    `- error: 'Prompt' is unavailable in tvOS
1388 |         fmOptions: FoundationModels.GenerationOptions,
1389 |         type: Content.Type,
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
  |               `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1388:37: error: 'GenerationOptions' is unavailable in tvOS
1386 |         makeSession: @Sendable () async throws -> FoundationModels.LanguageModelSession,
1387 |         fmPrompt: FoundationModels.Prompt,
1388 |         fmOptions: FoundationModels.GenerationOptions,
     |                                     `- error: 'GenerationOptions' is unavailable in tvOS
1389 |         type: Content.Type,
1390 |         schema: GenerationSchema,
FoundationModels.GenerationOptions:3:15: note: 'GenerationOptions' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct GenerationOptions : Sendable, Equatable {
   |               `- note: 'GenerationOptions' has been explicitly marked unavailable here
 4 |     @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 5 |     @available(*, deprecated, renamed: "samplingMode")
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1454:78: error: 'LanguageModelSession' is unavailable in tvOS
1452 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
1453 |     func fmStreamResponse<Content>(
1454 |         makeSession: @escaping @Sendable () async throws -> FoundationModels.LanguageModelSession,
     |                                                                              `- error: 'LanguageModelSession' is unavailable in tvOS
1455 |         fmPrompt: FoundationModels.Prompt,
1456 |         fmOptions: FoundationModels.GenerationOptions,
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1455:36: error: 'Prompt' is unavailable in tvOS
1453 |     func fmStreamResponse<Content>(
1454 |         makeSession: @escaping @Sendable () async throws -> FoundationModels.LanguageModelSession,
1455 |         fmPrompt: FoundationModels.Prompt,
     |                                    `- error: 'Prompt' is unavailable in tvOS
1456 |         fmOptions: FoundationModels.GenerationOptions,
1457 |         type: Content.Type,
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
  |               `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1456:37: error: 'GenerationOptions' is unavailable in tvOS
1454 |         makeSession: @escaping @Sendable () async throws -> FoundationModels.LanguageModelSession,
1455 |         fmPrompt: FoundationModels.Prompt,
1456 |         fmOptions: FoundationModels.GenerationOptions,
     |                                     `- error: 'GenerationOptions' is unavailable in tvOS
1457 |         type: Content.Type,
1458 |         schema: GenerationSchema,
FoundationModels.GenerationOptions:3:15: note: 'GenerationOptions' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct GenerationOptions : Sendable, Equatable {
   |               `- note: 'GenerationOptions' has been explicitly marked unavailable here
 4 |     @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 5 |     @available(*, deprecated, renamed: "samplingMode")
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1524:78: error: 'LanguageModelSession' is unavailable in tvOS
1522 |     @available(macOS 26.0, iOS 26.0, watchOS 27.0, tvOS 26.0, visionOS 26.0, *)
1523 |     private func fmStreamResponseRunningTools<Content>(
1524 |         makeSession: @escaping @Sendable () async throws -> FoundationModels.LanguageModelSession,
     |                                                                              `- error: 'LanguageModelSession' is unavailable in tvOS
1525 |         fmPrompt: FoundationModels.Prompt,
1526 |         fmOptions: FoundationModels.GenerationOptions,
FoundationModels.LanguageModelSession:3:20: note: 'LanguageModelSession' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | final public class LanguageModelSession {
  |                    `- note: 'LanguageModelSession' has been explicitly marked unavailable here
4 |     final public var transcript: Transcript { get set }
5 |     @objc deinit
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1525:36: error: 'Prompt' is unavailable in tvOS
1523 |     private func fmStreamResponseRunningTools<Content>(
1524 |         makeSession: @escaping @Sendable () async throws -> FoundationModels.LanguageModelSession,
1525 |         fmPrompt: FoundationModels.Prompt,
     |                                    `- error: 'Prompt' is unavailable in tvOS
1526 |         fmOptions: FoundationModels.GenerationOptions,
1527 |         type: Content.Type,
FoundationModels.Prompt:3:15: note: 'Prompt' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct Prompt : Sendable {
  |               `- note: 'Prompt' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:1526:37: error: 'GenerationOptions' is unavailable in tvOS
1524 |         makeSession: @escaping @Sendable () async throws -> FoundationModels.LanguageModelSession,
1525 |         fmPrompt: FoundationModels.Prompt,
1526 |         fmOptions: FoundationModels.GenerationOptions,
     |                                     `- error: 'GenerationOptions' is unavailable in tvOS
1527 |         type: Content.Type,
1528 |         schema: GenerationSchema,
FoundationModels.GenerationOptions:3:15: note: 'GenerationOptions' has been explicitly marked unavailable here
 1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 2 | @available(tvOS, unavailable)
 3 | public struct GenerationOptions : Sendable, Equatable {
   |               `- note: 'GenerationOptions' has been explicitly marked unavailable here
 4 |     @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
 5 |     @available(*, deprecated, renamed: "samplingMode")
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:843:21: error: 'init(name:description:properties:)' is unavailable in tvOS
 841 |                 convertToProperty(key: key, schema: value, required: required)
 842 |             }
 843 |             return .init(name: name ?? "", description: jsonSchema.description, properties: schemaProperties)
     |                     `- error: 'init(name:description:properties:)' is unavailable in tvOS
 844 |
 845 |         case .string(_, _, _, _, _, _, _, _, pattern: let pattern, _):
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:properties:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, properties: [DynamicGenerationSchema.Property])}
  |        `- note: 'init(name:description:properties:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:848:29: error: 'init(name:description:anyOf:)' is unavailable in tvOS
 846 |             if let values = jsonSchema.enum?.compactMap(\.stringValue), !values.isEmpty {
 847 |                 if let name {
 848 |                     return .init(name: name, description: jsonSchema.description, anyOf: values)
     |                             `- error: 'init(name:description:anyOf:)' is unavailable in tvOS
 849 |                 }
 850 |             }
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, anyOf choices: [String])}
  |        `- note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:852:43: error: 'GenerationGuide' is unavailable in tvOS
 850 |             }
 851 |
 852 |             var guides: [FoundationModels.GenerationGuide<String>] = []
     |                                           `- error: 'GenerationGuide' is unavailable in tvOS
 853 |             if let values = jsonSchema.enum?.compactMap(\.stringValue), !values.isEmpty {
 854 |                 guides.append(.anyOf(values))
FoundationModels.GenerationGuide:3:15: note: 'GenerationGuide' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationGuide<Value> {
  |               `- note: 'GenerationGuide' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:854:32: error: 'anyOf' is unavailable in tvOS
 852 |             var guides: [FoundationModels.GenerationGuide<String>] = []
 853 |             if let values = jsonSchema.enum?.compactMap(\.stringValue), !values.isEmpty {
 854 |                 guides.append(.anyOf(values))
     |                                `- error: 'anyOf' is unavailable in tvOS
 855 |             }
 856 |             if let value = jsonSchema.const?.stringValue {
FoundationModels.GenerationGuide.anyOf:2:20: note: 'anyOf' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func anyOf(_ values: [String]) -> GenerationGuide<String>}
  |                    `- note: 'anyOf' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:857:32: error: 'constant' is unavailable in tvOS
 855 |             }
 856 |             if let value = jsonSchema.const?.stringValue {
 857 |                 guides.append(.constant(value))
     |                                `- error: 'constant' is unavailable in tvOS
 858 |             }
 859 |             if let pattern, let regex = try? Regex(pattern) {
FoundationModels.GenerationGuide.constant:2:20: note: 'constant' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func constant(_ value: String) -> GenerationGuide<String>}
  |                    `- note: 'constant' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:860:32: error: 'pattern' is unavailable in tvOS
 858 |             }
 859 |             if let pattern, let regex = try? Regex(pattern) {
 860 |                 guides.append(.pattern(regex))
     |                                `- error: 'pattern' is unavailable in tvOS
 861 |             }
 862 |             return .init(type: String.self, guides: guides)
FoundationModels.GenerationGuide.pattern:2:20: note: 'pattern' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func pattern<Output>(_ regex: Regex<Output>) -> GenerationGuide<String>}
  |                    `- note: 'pattern' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:862:21: error: 'init(type:guides:)' is unavailable in tvOS
 860 |                 guides.append(.pattern(regex))
 861 |             }
 862 |             return .init(type: String.self, guides: guides)
     |                     `- error: 'init(type:guides:)' is unavailable in tvOS
 863 |
 864 |         case .integer(_, _, _, _, _, _, minimum: let minimum, maximum: let maximum, _, _, _):
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:867:25: error: 'init(name:description:anyOf:)' is unavailable in tvOS
 865 |             if let enumValues = jsonSchema.enum {
 866 |                 let enumsSchema = enumValues.compactMap { convertConstToSchema(JSONValue($0)) }
 867 |                 return .init(name: name ?? "", anyOf: enumsSchema)
     |                         `- error: 'init(name:description:anyOf:)' is unavailable in tvOS
 868 |             }
 869 |
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, anyOf choices: [DynamicGenerationSchema])}
  |        `- note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:870:43: error: 'GenerationGuide' is unavailable in tvOS
 868 |             }
 869 |
 870 |             var guides: [FoundationModels.GenerationGuide<Int>] = []
     |                                           `- error: 'GenerationGuide' is unavailable in tvOS
 871 |             if let min = minimum {
 872 |                 guides.append(.minimum(min))
FoundationModels.GenerationGuide:3:15: note: 'GenerationGuide' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationGuide<Value> {
  |               `- note: 'GenerationGuide' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:872:32: error: 'minimum' is unavailable in tvOS
 870 |             var guides: [FoundationModels.GenerationGuide<Int>] = []
 871 |             if let min = minimum {
 872 |                 guides.append(.minimum(min))
     |                                `- error: 'minimum' is unavailable in tvOS
 873 |             }
 874 |             if let max = maximum {
FoundationModels.GenerationGuide.minimum:2:20: note: 'minimum' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func minimum(_ value: Int) -> GenerationGuide<Int>}
  |                    `- note: 'minimum' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:875:32: error: 'maximum' is unavailable in tvOS
 873 |             }
 874 |             if let max = maximum {
 875 |                 guides.append(.maximum(max))
     |                                `- error: 'maximum' is unavailable in tvOS
 876 |             }
 877 |             if let value = jsonSchema.const?.intValue {
FoundationModels.GenerationGuide.maximum:2:20: note: 'maximum' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func maximum(_ value: Int) -> GenerationGuide<Int>}
  |                    `- note: 'maximum' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:878:32: error: 'range' is unavailable in tvOS
 876 |             }
 877 |             if let value = jsonSchema.const?.intValue {
 878 |                 guides.append(.range(value ... value))
     |                                `- error: 'range' is unavailable in tvOS
 879 |             }
 880 |             return .init(type: Int.self, guides: guides)
FoundationModels.GenerationGuide.range:2:20: note: 'range' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func range(_ range: ClosedRange<Int>) -> GenerationGuide<Int>}
  |                    `- note: 'range' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:880:21: error: 'init(type:guides:)' is unavailable in tvOS
 878 |                 guides.append(.range(value ... value))
 879 |             }
 880 |             return .init(type: Int.self, guides: guides)
     |                     `- error: 'init(type:guides:)' is unavailable in tvOS
 881 |
 882 |         case .number(_, _, _, _, _, _, minimum: let minimum, maximum: let maximum, _, _, _):
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:885:25: error: 'init(name:description:anyOf:)' is unavailable in tvOS
 883 |             if let enumValues = jsonSchema.enum {
 884 |                 let enumsSchema = enumValues.compactMap { convertConstToSchema(JSONValue($0)) }
 885 |                 return .init(name: name ?? "", anyOf: enumsSchema)
     |                         `- error: 'init(name:description:anyOf:)' is unavailable in tvOS
 886 |             }
 887 |
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, anyOf choices: [DynamicGenerationSchema])}
  |        `- note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:888:43: error: 'GenerationGuide' is unavailable in tvOS
 886 |             }
 887 |
 888 |             var guides: [FoundationModels.GenerationGuide<Double>] = []
     |                                           `- error: 'GenerationGuide' is unavailable in tvOS
 889 |             if let min = minimum {
 890 |                 guides.append(.minimum(min))
FoundationModels.GenerationGuide:3:15: note: 'GenerationGuide' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationGuide<Value> {
  |               `- note: 'GenerationGuide' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:890:32: error: 'minimum' is unavailable in tvOS
 888 |             var guides: [FoundationModels.GenerationGuide<Double>] = []
 889 |             if let min = minimum {
 890 |                 guides.append(.minimum(min))
     |                                `- error: 'minimum' is unavailable in tvOS
 891 |             }
 892 |             if let max = maximum {
FoundationModels.GenerationGuide.minimum:2:20: note: 'minimum' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func minimum(_ value: Double) -> GenerationGuide<Double>}
  |                    `- note: 'minimum' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:893:32: error: 'maximum' is unavailable in tvOS
 891 |             }
 892 |             if let max = maximum {
 893 |                 guides.append(.maximum(max))
     |                                `- error: 'maximum' is unavailable in tvOS
 894 |             }
 895 |             if let value = jsonSchema.const?.doubleValue {
FoundationModels.GenerationGuide.maximum:2:20: note: 'maximum' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func maximum(_ value: Double) -> GenerationGuide<Double>}
  |                    `- note: 'maximum' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:896:32: error: 'range' is unavailable in tvOS
 894 |             }
 895 |             if let value = jsonSchema.const?.doubleValue {
 896 |                 guides.append(.range(value ... value))
     |                                `- error: 'range' is unavailable in tvOS
 897 |             }
 898 |             return .init(type: Double.self, guides: guides)
FoundationModels.GenerationGuide.range:2:20: note: 'range' has been explicitly marked unavailable here
1 | generic struct GenerationGuide {
2 | public static func range(_ range: ClosedRange<Double>) -> GenerationGuide<Double>}
  |                    `- note: 'range' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:898:21: error: 'init(type:guides:)' is unavailable in tvOS
 896 |                 guides.append(.range(value ... value))
 897 |             }
 898 |             return .init(type: Double.self, guides: guides)
     |                     `- error: 'init(type:guides:)' is unavailable in tvOS
 899 |
 900 |         case .boolean:
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:901:21: error: 'init(type:guides:)' is unavailable in tvOS
 899 |
 900 |         case .boolean:
 901 |             return .init(type: Bool.self)
     |                     `- error: 'init(type:guides:)' is unavailable in tvOS
 902 |
 903 |         case .anyOf(let schemas):
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:918:21: error: 'init(name:description:anyOf:)' is unavailable in tvOS
 916 |                 return convertToDynamicSchema(choices[0], name: name)
 917 |             }
 918 |             return .init(name: name ?? "", anyOf: choices.map { convertToDynamicSchema($0) })
     |                     `- error: 'init(name:description:anyOf:)' is unavailable in tvOS
 919 |
 920 |         case .array(_, _, _, _, _, _, items: let items, minItems: let minItems, maxItems: let maxItems, _):
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, anyOf choices: [DynamicGenerationSchema])}
  |        `- note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:923:37: error: 'DynamicGenerationSchema' is unavailable in tvOS
 921 |             let itemsSchema =
 922 |                 items.map { convertToDynamicSchema($0) }
 923 |                 ?? FoundationModels.DynamicGenerationSchema(type: String.self)
     |                                     `- error: 'DynamicGenerationSchema' is unavailable in tvOS
 924 |             return .init(arrayOf: itemsSchema, minimumElements: minItems, maximumElements: maxItems)
 925 |
FoundationModels.DynamicGenerationSchema:3:15: note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct DynamicGenerationSchema : Sendable {
  |               `- note: 'DynamicGenerationSchema' has been explicitly marked unavailable here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:923:37: error: 'init(type:guides:)' is unavailable in tvOS
 921 |             let itemsSchema =
 922 |                 items.map { convertToDynamicSchema($0) }
 923 |                 ?? FoundationModels.DynamicGenerationSchema(type: String.self)
     |                                     `- error: 'init(type:guides:)' is unavailable in tvOS
 924 |             return .init(arrayOf: itemsSchema, minimumElements: minItems, maximumElements: maxItems)
 925 |
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:924:21: error: 'init(arrayOf:minimumElements:maximumElements:)' is unavailable in tvOS
 922 |                 items.map { convertToDynamicSchema($0) }
 923 |                 ?? FoundationModels.DynamicGenerationSchema(type: String.self)
 924 |             return .init(arrayOf: itemsSchema, minimumElements: minItems, maximumElements: maxItems)
     |                     `- error: 'init(arrayOf:minimumElements:maximumElements:)' is unavailable in tvOS
 925 |
 926 |         case .reference(let reference):
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(arrayOf:minimumElements:maximumElements:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(arrayOf itemSchema: DynamicGenerationSchema, minimumElements: Int? = nil, maximumElements: Int? = nil)}
  |        `- note: 'init(arrayOf:minimumElements:maximumElements:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:932:25: error: 'init(name:description:anyOf:)' is unavailable in tvOS
 930 |             // name, or the references to it are undefined.
 931 |             if let name {
 932 |                 return .init(name: name, anyOf: [.init(referenceTo: typeName)])
     |                         `- error: 'init(name:description:anyOf:)' is unavailable in tvOS
 933 |             }
 934 |             return .init(referenceTo: typeName)
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(name: String, description: String? = nil, anyOf choices: [DynamicGenerationSchema])}
  |        `- note: 'init(name:description:anyOf:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:932:51: error: 'init(referenceTo:)' is unavailable in tvOS
 930 |             // name, or the references to it are undefined.
 931 |             if let name {
 932 |                 return .init(name: name, anyOf: [.init(referenceTo: typeName)])
     |                                                   `- error: 'init(referenceTo:)' is unavailable in tvOS
 933 |             }
 934 |             return .init(referenceTo: typeName)
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(referenceTo:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(referenceTo name: String)}
  |        `- note: 'init(referenceTo:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:934:21: error: 'init(referenceTo:)' is unavailable in tvOS
 932 |                 return .init(name: name, anyOf: [.init(referenceTo: typeName)])
 933 |             }
 934 |             return .init(referenceTo: typeName)
     |                     `- error: 'init(referenceTo:)' is unavailable in tvOS
 935 |
 936 |         case .null:
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(referenceTo:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init(referenceTo name: String)}
  |        `- note: 'init(referenceTo:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift:942:21: error: 'init(type:guides:)' is unavailable in tvOS
 940 |                 }
 941 |             #endif
 942 |             return .init(type: String.self)
     |                     `- error: 'init(type:guides:)' is unavailable in tvOS
 943 |
 944 |         case .allOf, .oneOf, .not, .empty, .any:
FoundationModels.DynamicGenerationSchema.init:2:8: note: 'init(type:guides:)' has been explicitly marked unavailable here
1 | struct DynamicGenerationSchema {
2 | public init<Value>(type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable}
  |        `- note: 'init(type:guides:)' has been explicitly marked unavailable here
3 |
SwiftCompile normal arm64 (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ Transport.swift,\ Tool.swift,\ ToolExecution.swift,\ Transcript.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Transport.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Tool.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/ToolExecution.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Transcript.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/Transport.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Transport.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Tool.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Tool.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/ToolExecution.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ToolExecution.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Transcript.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Transcript.swift
SwiftDriverJobDiscovery normal arm64 Compiling DynamicInstructions.swift, Character+Extensions.swift, HTTPClient+Extensions.swift, JSONDecoder+Extensions.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 Compiling\ JSONValue+JSONSchema.swift,\ JSONValue.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONValue+JSONSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONValue.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONValue+JSONSchema.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile JSONValue+JSONSchema.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/JSONValue.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile JSONValue.swift
SwiftDriverJobDiscovery normal arm64 Compiling SendableMetatype.swift, Bounds.swift, StreamingResponseState.swift, StrictResponseSchema.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 Compiling\ ResponseStreamFailure.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ResponseStreamFailure.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/ResponseStreamFailure.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ResponseStreamFailure.swift
SwiftDriverJobDiscovery normal arm64 Compiling JSONValue+JSONSchema.swift, JSONValue.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 Compiling\ LocalGenerationUsage.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/LocalGenerationUsage.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Shared/LocalGenerationUsage.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile LocalGenerationUsage.swift
SwiftDriverJobDiscovery normal arm64 Compiling URLSession+Extensions.swift, Generable.swift, GeneratedContent.swift, GenerationGuide.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-10-28 22:04:25.652 xcodebuild[1153:6417] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 Compiling\ OpenResponsesLanguageModel.swift,\ PrivateCloudComputeLanguageModel.swift,\ SystemLanguageModel.swift,\ Prompt.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/OpenResponsesLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/PrivateCloudComputeLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Models/SystemLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/AnyLanguageModel/Prompt.swift (in target 'AnyLanguageModel' from project 'AnyLanguageModel')
	Building workspace AnyLanguageModel with scheme AnyLanguageModel
(2 failures)
BUILD FAILURE 6.4 tvOS