Build Information
Failed to build SystemOneFoundationModels, reference main (c30685), with Swift 6.4 for tvOS using Xcode 27.0 on 12 Oct 2026 16:45:52 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SystemOneFoundationModels-Package -destination generic/platform=tvOSBuild Log
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-E1APTILEGQZ3IPT936PJDNU6H.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-2F7ZU8EYLWX1LOP6FC47SWUDQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-5OPK5HD06FOMOCW6B1PQ16ZYI.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_SwiftConcurrencyShims-F2FQZLPEQUN2JITA5Q5IA90PN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/SwiftShims-GR3DA8HUMUCCHUHVU4G7HH3N.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-A7BHCTR3SRLUN41XL3XEGKKZ4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-25X1IMH81L4ZJ3HSO85QL4XZL.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-CXITTUPASWKJF6QA1QJ6RRYNO.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-6XVK45WHUOCLZB7D2ATYQEO5U.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-2L5MHIC1X1D82LC9IO9MI0M5A.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-1J5JB1SY1IG00YVFUY27AR0SK.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-49XV5IO6LU8Q2TAZFRVK3499Y.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-9CQANL2V5ROY9F0YIYXO669HM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-8KWV5CE768ASK36OHJO3IUUKA.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-BZ770UUUOT438SJ5LUAQZ245X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-A8VA0RRTKVV9KNQF6B90UHJZE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-EHDD7CXO489VQJ7T37RL4G1XE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-11CH7JFBGKUPS1MXR2RVW14Q2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-5D71DK7PWJ27IUP8DIMIW151Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-C98U4BR5TV7J4CF3J9RD29471.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-EW7YHGH6W1I5GWQ7A493HTH5X.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-1YYSG48OHXPH80J9IKEFL84WE.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-21W07170Y19SE5HXTUV60V15F.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-C9QVSEMIZP54ITMK51750XYN.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreGraphics-4779621VQ7229QPW0G8YXJVCQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-BWU016C19DXG7T7EFFKR20579.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-DSXL4AJGN9GNBH9ZCJN3KX5BC.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-D162KW3CIOH7EGJPLDEE6UO79.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ImageIO-ENO6M3ZAE6HGNWJCGIJ99922I.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/UniformTypeIdentifiers-8QAPG0HCJDJ7TECXVB4BWD7UU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/IOSurface-3RX5LUXVI6YZVZUG8IHY35I2G.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Metal-EGVWXCRVOGETIZGI98JLDOKZW.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/OpenGLES-27VJFDMIM8XHOUJC9VY9I4XLX.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreVideo-AP08BET84UNKFVFFZ1NR1RAE4.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreImage-3XVU5UQO2770KDX75DQQFFDBX.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ SystemOneCore (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift:11:55: error: 'Transcript' is unavailable in tvOS
9 | public enum TranscriptAttachmentExtractor {
10 | /// Extracts and validates image attachments from a Foundation Models transcript.
11 | public static func extractImages(from transcript: Transcript) throws -> [SystemOneImage] {
| `- error: 'Transcript' is unavailable in tvOS
12 | var images: [SystemOneImage] = []
13 |
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/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift:38:51: error: 'Transcript' is unavailable in tvOS
36 |
37 | /// Extracts an image from a `Transcript.Segment` if it is an attachment.
38 | public static func extractImage(from segment: Transcript.Segment) throws -> SystemOneImage? {
| `- error: 'Transcript' is unavailable in tvOS
39 | guard case .attachment(let attachmentSegment) = segment else {
40 | 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/SystemOneCore/Ergonomics/Choice.swift:16:28: error: 'GeneratedContent' is unavailable in tvOS
14 |
15 | /// The raw `GeneratedContent` received from the Foundation Models runtime.
16 | public let rawContent: GeneratedContent
| `- error: 'GeneratedContent' is unavailable in tvOS
17 |
18 | public init(
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/SystemOneCore/Ergonomics/Choice.swift:22:21: error: 'GeneratedContent' is unavailable in tvOS
20 | confidence: Double,
21 | distribution: [Option: Double] = [:],
22 | rawContent: GeneratedContent
| `- error: 'GeneratedContent' is unavailable in tvOS
23 | ) {
24 | self.value = value
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:17:17: error: 'GenerationSchema' is unavailable in tvOS
15 | whenTrue: String? = nil,
16 | whenFalse: String? = nil
17 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
18 | var fullInstructions = instructions
19 | if let whenTrue, let whenFalse {
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:52:17: error: 'GenerationSchema' is unavailable in tvOS
50 | instructions: String,
51 | options: [(name: String, description: String?)]
52 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
53 | guard !options.isEmpty else {
54 | throw SystemOneError.invalidSchema("Choice schema requires at least one candidate option.")
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:88:17: error: 'GenerationSchema' is unavailable in tvOS
86 | instructions: String,
87 | levels: [String]
88 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
89 | guard !levels.isEmpty else {
90 | throw SystemOneError.invalidSchema("Score schema requires at least one rubric level.")
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/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:6:18: error: 'LanguageModelSession' is unavailable in tvOS
4 | // MARK: - LanguageModelSession System One Ergonomic Decision Shortcuts
5 |
6 | public extension LanguageModelSession {
| `- error: 'LanguageModelSession' is unavailable in tvOS
7 | /// Evaluates the probability of truth (0.0 to 1.0) for a statement given context state.
8 | ///
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/SystemOneCore/Response/ResponseExtensions.swift:8:28: error: 'GeneratedContent' is unavailable in tvOS
6 | public extension LanguageModelSession.Response {
7 | /// The response metadata emitted by `SystemOneExecutor`, containing model ID, confidence scores, scores, and calibrated probabilities.
8 | var metadata: [String: GeneratedContent] {
| `- error: 'GeneratedContent' is unavailable in tvOS
9 | for entry in transcriptEntries.reversed() {
10 | if case .response(let r) = entry {
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
SwiftCompile normal arm64 Compiling\ RoutingPolicy.swift,\ SchemaTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RoutingPolicy.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SchemaTranslator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift:109:39: error: 'LanguageModelSession' is unavailable in tvOS
107 |
108 | /// Decides the action for a categorical or scored question from a Foundation Models `LanguageModelSession.Response`.
109 | public func decide<T>(_ response: LanguageModelSession.Response<T>, of question: String) -> Decision {
| `- error: 'LanguageModelSession' is unavailable in tvOS
110 | decide(confidence: response.confidence(for: question))
111 | }
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/SystemOneCore/Routing/RoutingPolicy.swift:114:43: error: 'LanguageModelSession' is unavailable in tvOS
112 |
113 | /// Decides the boolean judgment for a question from a Foundation Models `LanguageModelSession.Response`.
114 | public func decideNoul<T>(_ response: LanguageModelSession.Response<T>, of question: String) -> NoulJudgement {
| `- error: 'LanguageModelSession' is unavailable in tvOS
115 | decide(response.typedProbability(for: question))
116 | }
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/SystemOneCore/Schema/SchemaTranslator.swift:59:37: error: 'GenerationSchema' is unavailable in tvOS
57 |
58 | /// Translates a `GenerationSchema` into a `SchemaTranslation` containing System One questions and structural layout.
59 | public func translate(_ schema: GenerationSchema) throws -> SchemaTranslation {
| `- error: 'GenerationSchema' is unavailable in tvOS
60 | let schemaData: Data
61 | do {
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/SystemOneCore/Schema/SchemaTranslator.swift:82:48: error: 'GenerationSchema' is unavailable in tvOS
80 | /// Translates a `GenerationSchema` directly to a System One questions dictionary.
81 | @available(*, deprecated, message: "Use translate(_:) to obtain the full SchemaTranslation")
82 | public func translateToQuestions(_ schema: GenerationSchema) throws -> [String: SystemOneQuestion] {
| `- error: 'GenerationSchema' is unavailable in tvOS
83 | try translate(schema).questions
84 | }
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 | }
SwiftCompile normal arm64 Compiling\ Choosable.swift,\ DynamicDecisionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:17:17: error: 'GenerationSchema' is unavailable in tvOS
15 | whenTrue: String? = nil,
16 | whenFalse: String? = nil
17 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
18 | var fullInstructions = instructions
19 | if let whenTrue, let whenFalse {
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:52:17: error: 'GenerationSchema' is unavailable in tvOS
50 | instructions: String,
51 | options: [(name: String, description: String?)]
52 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
53 | guard !options.isEmpty else {
54 | throw SystemOneError.invalidSchema("Choice schema requires at least one candidate option.")
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:88:17: error: 'GenerationSchema' is unavailable in tvOS
86 | instructions: String,
87 | levels: [String]
88 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
89 | guard !levels.isEmpty else {
90 | throw SystemOneError.invalidSchema("Score schema requires at least one rubric level.")
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:27:31: error: 'DynamicGenerationSchema' is unavailable in tvOS
25 | }
26 |
27 | let booleanProperty = DynamicGenerationSchema.Property(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:27:55: error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
25 | }
26 |
27 | let booleanProperty = DynamicGenerationSchema.Property(
| `- error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:30:21: error: 'DynamicGenerationSchema' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
30 | schema: DynamicGenerationSchema(type: Bool.self, guides: []),
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
31 | isOptional: false
32 | )
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:30:21: error: 'init(type:guides:)' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
30 | schema: DynamicGenerationSchema(type: Bool.self, guides: []),
| `- error: 'init(type:guides:)' is unavailable in tvOS
31 | isOptional: false
32 | )
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:34:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
32 | )
33 |
34 | let root = DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
35 | name: "BinaryDecision",
36 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:34:20: error: 'init(name:description:properties:)' is unavailable in tvOS
32 | )
33 |
34 | let root = DynamicGenerationSchema(
| `- error: 'init(name:description:properties:)' is unavailable in tvOS
35 | name: "BinaryDecision",
36 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:40:20: error: 'GenerationSchema' is unavailable in tvOS
38 | )
39 |
40 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'GenerationSchema' is unavailable in tvOS
41 | }
42 |
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:40:20: error: 'init(root:dependencies:)' is unavailable in tvOS
38 | )
39 |
40 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'init(root:dependencies:)' is unavailable in tvOS
41 | }
42 |
FoundationModels.GenerationSchema.init:2:8: note: 'init(root:dependencies:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(root: DynamicGenerationSchema, dependencies: [DynamicGenerationSchema]) throws}
| `- note: 'init(root:dependencies:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:70:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
68 | }
69 |
70 | let root = DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
71 | name: "Choice",
72 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:70:20: error: 'init(name:description:anyOf:)' is unavailable in tvOS
68 | }
69 |
70 | let root = DynamicGenerationSchema(
| `- error: 'init(name:description:anyOf:)' is unavailable in tvOS
71 | name: "Choice",
72 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:76:20: error: 'GenerationSchema' is unavailable in tvOS
74 | )
75 |
76 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'GenerationSchema' is unavailable in tvOS
77 | }
78 |
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:76:20: error: 'init(root:dependencies:)' is unavailable in tvOS
74 | )
75 |
76 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'init(root:dependencies:)' is unavailable in tvOS
77 | }
78 |
FoundationModels.GenerationSchema.init:2:8: note: 'init(root:dependencies:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(root: DynamicGenerationSchema, dependencies: [DynamicGenerationSchema]) throws}
| `- note: 'init(root:dependencies:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:98:25: error: 'DynamicGenerationSchema' is unavailable in tvOS
96 |
97 | let maxLevel = Swift.max(0, levels.count - 1)
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:98:25: error: 'init(type:guides:)' is unavailable in tvOS
96 |
97 | let maxLevel = Swift.max(0, levels.count - 1)
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
| `- error: 'init(type:guides:)' is unavailable in tvOS
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:98:75: error: 'range' is unavailable in tvOS
96 |
97 | let maxLevel = Swift.max(0, levels.count - 1)
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
| `- error: 'range' is unavailable in tvOS
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:100:29: error: 'DynamicGenerationSchema' is unavailable in tvOS
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
101 | name: "score",
102 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:100:53: error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
| `- error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
101 | name: "score",
102 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:107:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
105 | )
106 |
107 | let root = DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
108 | name: "ScoreDecision",
109 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:107:20: error: 'init(name:description:properties:)' is unavailable in tvOS
105 | )
106 |
107 | let root = DynamicGenerationSchema(
| `- error: 'init(name:description:properties:)' is unavailable in tvOS
108 | name: "ScoreDecision",
109 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:113:20: error: 'GenerationSchema' is unavailable in tvOS
111 | )
112 |
113 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'GenerationSchema' is unavailable in tvOS
114 | }
115 | }
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 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Choosable.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DynamicDecisionSchema.swift
SwiftCompile normal arm64 Compiling\ LanguageModelSession+SystemOne.swift,\ ScoreResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:6:18: error: 'LanguageModelSession' is unavailable in tvOS
4 | // MARK: - LanguageModelSession System One Ergonomic Decision Shortcuts
5 |
6 | public extension LanguageModelSession {
| `- error: 'LanguageModelSession' is unavailable in tvOS
7 | /// Evaluates the probability of truth (0.0 to 1.0) for a statement given context state.
8 | ///
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/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:25:39: error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
23 | )
24 |
25 | let response = try await self.respond(to: state, schema: schema)
| `- error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
26 |
27 | if let prob = response.probability(for: "decision") {
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: String, 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/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:36:48: error: 'value(_:forProperty:)' is unavailable in tvOS
34 | return trueProb
35 | }
36 | if let boolVal = try? response.content.value(Bool.self, forProperty: "decision") {
| `- error: 'value(_:forProperty:)' is unavailable in tvOS
37 | return boolVal ? 1.0 : 0.0
38 | }
FoundationModels.GeneratedContent.value:2:13: note: 'value(_:forProperty:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value(_:forProperty:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:39:48: error: 'value(_:forProperty:)' is unavailable in tvOS
37 | return boolVal ? 1.0 : 0.0
38 | }
39 | if let boolVal = try? response.content.value(Bool.self, forProperty: "root") {
| `- error: 'value(_:forProperty:)' is unavailable in tvOS
40 | return boolVal ? 1.0 : 0.0
41 | }
FoundationModels.GeneratedContent.value:2:13: note: 'value(_:forProperty:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value(_:forProperty:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:42:48: error: 'value' is unavailable in tvOS
40 | return boolVal ? 1.0 : 0.0
41 | }
42 | if let boolVal = try? response.content.value(Bool.self) {
| `- error: 'value' is unavailable in tvOS
43 | return boolVal ? 1.0 : 0.0
44 | }
FoundationModels.GeneratedContent.value:2:13: note: 'value' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:67:39: error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
65 | let options = Option.allCases.map { (name: $0.optionIdentifier, description: $0.optionDescription) }
66 | let schema = try DynamicDecisionSchema.makeChoiceSchema(instructions: instructions, options: options)
67 | let response = try await self.respond(to: state, schema: schema)
| `- error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
68 |
69 | let rawString: String
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: String, 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/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:70:44: error: 'value' is unavailable in tvOS
68 |
69 | let rawString: String
70 | if let str = try? response.content.value(String.self) {
| `- error: 'value' is unavailable in tvOS
71 | rawString = str
72 | } else if let str = try? response.content.value(String.self, forProperty: "choice") {
FoundationModels.GeneratedContent.value:2:13: note: 'value' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:72:51: error: 'value(_:forProperty:)' is unavailable in tvOS
70 | if let str = try? response.content.value(String.self) {
71 | rawString = str
72 | } else if let str = try? response.content.value(String.self, forProperty: "choice") {
| `- error: 'value(_:forProperty:)' is unavailable in tvOS
73 | rawString = str
74 | } else {
FoundationModels.GeneratedContent.value:2:13: note: 'value(_:forProperty:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value(_:forProperty:)' has been explicitly marked unavailable here
3 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelSession+SystemOne.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScoreResult.swift
SwiftCompile normal arm64 Compiling\ SystemOneDTOs.swift,\ SystemOneImage.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneImage.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneDTOs.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneImage.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneImage.swift
SwiftCompile normal arm64 Compiling\ TranscriptAttachmentExtractor.swift,\ MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift:11:55: error: 'Transcript' is unavailable in tvOS
9 | public enum TranscriptAttachmentExtractor {
10 | /// Extracts and validates image attachments from a Foundation Models transcript.
11 | public static func extractImages(from transcript: Transcript) throws -> [SystemOneImage] {
| `- error: 'Transcript' is unavailable in tvOS
12 | var images: [SystemOneImage] = []
13 |
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/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift:38:51: error: 'Transcript' is unavailable in tvOS
36 |
37 | /// Extracts an image from a `Transcript.Segment` if it is an attachment.
38 | public static func extractImage(from segment: Transcript.Segment) throws -> SystemOneImage? {
| `- error: 'Transcript' is unavailable in tvOS
39 | guard case .attachment(let attachmentSegment) = segment else {
40 | 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
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 -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneImage.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RetryPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.dia -target arm64-apple-tvos27.0 -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 /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/libSwiftMacros.dylib#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-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 -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=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D All -D Clef -D Jev -D Laya -D LayaServe -D OpenAI -D Xcode -serialize-debugging-options -enable-upcoming-feature StrictConcurrency -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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -no-auto-bridging-header-chaining -module-name SystemOneCore -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore_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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftmodule -index-unit-output-path /SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.o -index-unit-output-path /SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.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/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift")
4. While evaluating request TypeCheckFunctionBodyRequest(SystemOneCore.(file).TranscriptAttachmentExtractor.extractImages(from:)@/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift:11:24)
5. While evaluating request DesugarForEachStmtRequest(ForEach)
6. 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 0x0000000108e5fbd0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x0000000108e5d358 llvm::sys::RunSignalHandlers() + 172
2 swift-frontend 0x0000000108e601c8 SignalHandler(int, __siginfo*, void*) + 360
3 libsystem_platform.dylib 0x000000018d9d5744 _sigtramp + 56
4 libsystem_pthread.dylib 0x000000018d9cb8d8 pthread_kill + 296
5 libsystem_c.dylib 0x000000018d8d1978 abort + 148
6 swift-frontend 0x000000010460ebc4 _ABORT(char const*, int, char const*, llvm::function_ref<void (llvm::raw_ostream&)>) + 0
7 swift-frontend 0x000000010460eb80 _abortWithMessage(llvm::StringRef) + 0
8 swift-frontend 0x0000000103f61a5c (anonymous namespace)::DesugarForEachStmt::emitDiagnosticsForUnavailableConformance(swift::Type, swift::AvailabilityConstraint) + 1268
9 swift-frontend 0x0000000103f58a40 swift::DesugarForEachStmtRequest::evaluate(swift::Evaluator&, swift::ForEachStmt*) const + 456
10 swift-frontend 0x00000001045a05a8 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 0x0000000103f5cdec (anonymous namespace)::ContextualizationWalker::walkToStmtPre(swift::Stmt*) + 340
12 swift-frontend 0x000000010425b034 (anonymous namespace)::Traversal::visit(swift::Stmt*) + 2732
13 swift-frontend 0x00000001041e30ec swift::ASTNode::walk(swift::ASTWalker&) + 288
14 swift-frontend 0x0000000103f56be4 swift::TypeCheckFunctionBodyRequest::evaluate(swift::Evaluator&, swift::AbstractFunctionDecl*) const + 2368
15 swift-frontend 0x00000001043ce838 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
16 swift-frontend 0x00000001043ce474 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
17 swift-frontend 0x000000010449370c swift::SourceFile::typeCheckDelayedFunctions() + 72
18 swift-frontend 0x0000000103fb2444 swift::TypeCheckPrimaryFileRequest::evaluate(swift::Evaluator&, swift::SourceFile*) const + 1248
19 swift-frontend 0x0000000103fbb244 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
20 swift-frontend 0x0000000103fbafa8 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
21 swift-frontend 0x0000000102db41a4 bool llvm::function_ref<bool (swift::SourceFile&)>::callback_fn<swift::CompilerInstance::performSema()::$_0>(long, swift::SourceFile&) + 116
22 swift-frontend 0x0000000102dad11c swift::CompilerInstance::forEachFileToTypeCheck(llvm::function_ref<bool (swift::SourceFile&)>) + 176
23 swift-frontend 0x0000000102dad03c swift::CompilerInstance::performSema() + 456
24 swift-frontend 0x0000000102974918 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) + 556
25 swift-frontend 0x0000000102971dc4 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3776
26 swift-frontend 0x00000001028f1008 swift::mainEntry(int, char const**) + 5600
27 dyld 0x000000018d6004e4 start + 6992
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneImage.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RetryPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.dia -target arm64-apple-tvos27.0 -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 /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/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-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 -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\=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D All -D Clef -D Jev -D Laya -D LayaServe -D OpenAI -D Xcode -serialize-debugging-options -enable-upcoming-feature StrictConcurrency -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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SystemOneCore -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore_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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftmodule -index-unit-output-path /SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.o -index-unit-output-path /SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.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/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TranscriptAttachmentExtractor.swift
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.dia:1:1: warning: Could not read serialized diagnostics file: Error Domain=NSCocoaErrorDomain Code=260 "The file “TranscriptAttachmentExtractor.dia” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.dia, NSURL=file:///Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.dia, NSUnderlyingError=0x8ed229e00 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MockSystemOneBackend.swift
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.dia:1:1: warning: Could not read serialized diagnostics file: Error Domain=NSCocoaErrorDomain Code=260 "The file “MockSystemOneBackend.dia” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.dia, NSURL=file:///Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.dia, NSUnderlyingError=0x8ed229fe0 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 Compiling\ Values.swift,\ ResponseExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Values.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResponseExtensions.swift
SwiftCompile normal arm64 Compiling\ SystemOneLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:32:30: error: 'LanguageModelCapabilities' is unavailable in tvOS
30 | public var executorConfiguration: Configuration
31 |
32 | public var capabilities: LanguageModelCapabilities {
| `- error: 'LanguageModelCapabilities' is unavailable in tvOS
33 | LanguageModelCapabilities([.guidedGeneration])
34 | }
FoundationModels.LanguageModelCapabilities:3:15: note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelCapabilities : Sendable {
| `- note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
4 | public init(_ capabilities: [LanguageModelCapabilities.Capability])
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:6:39: error: 'LanguageModel' is unavailable in tvOS
4 |
5 | /// An Apple Foundation Models provider for System One decision models.
6 | public struct SystemOneLanguageModel: LanguageModel, Sendable {
| `- error: 'LanguageModel' is unavailable in tvOS
7 | public struct Configuration: Hashable, Sendable {
8 | public var backend: AnySystemOneBackend
FoundationModels.LanguageModel:3:17: note: 'LanguageModel' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol LanguageModel : Sendable {
| `- note: 'LanguageModel' has been explicitly marked unavailable here
4 | associatedtype Executor : LanguageModelExecutor where Self == Self.Executor.Model
5 | var capabilities: LanguageModelCapabilities { get }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:33:9: error: 'LanguageModelCapabilities' is unavailable in tvOS
31 |
32 | public var capabilities: LanguageModelCapabilities {
33 | LanguageModelCapabilities([.guidedGeneration])
| `- error: 'LanguageModelCapabilities' is unavailable in tvOS
34 | }
35 |
FoundationModels.LanguageModelCapabilities:3:15: note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelCapabilities : Sendable {
| `- note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
4 | public init(_ capabilities: [LanguageModelCapabilities.Capability])
5 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneLanguageModel.swift
SwiftCompile normal arm64 Compiling\ ResponseSynthesizer.swift,\ RetryPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RetryPolicy.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResponseSynthesizer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RetryPolicy.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RetryPolicy.swift
SwiftCompile normal arm64 Compiling\ SystemOneBackend.swift,\ Choice.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift:16:28: error: 'GeneratedContent' is unavailable in tvOS
14 |
15 | /// The raw `GeneratedContent` received from the Foundation Models runtime.
16 | public let rawContent: GeneratedContent
| `- error: 'GeneratedContent' is unavailable in tvOS
17 |
18 | public init(
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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneBackend.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Choice.swift
SwiftCompile normal arm64 Compiling\ SystemOneError.swift,\ SystemOneExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneError.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneExecutor.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-10-12 12:45:42.650 xcodebuild[627:3885] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ TranscriptAttachmentExtractor.swift,\ MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
Building workspace SystemOneFoundationModels with scheme SystemOneFoundationModels-Package
(2 failures)
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
SystemOneFoundationModels: /Users/admin/builder/spi-builder-workspace
resolved source packages: SystemOneFoundationModels
2026-10-12 12:45:48.924 xcodebuild[721:4410] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "SystemOneFoundationModels",
"name" : "SystemOneFoundationModels",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "27.0"
},
{
"name" : "macos",
"version" : "27.0"
},
{
"name" : "visionos",
"version" : "27.0"
}
],
"products" : [
{
"name" : "SystemOneCore",
"targets" : [
"SystemOneCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SystemOneFoundationModels",
"targets" : [
"SystemOneFoundationModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LayaFoundationModels",
"targets" : [
"LayaFoundationModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LayaOnDevice",
"targets" : [
"LayaOnDevice"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "JevFoundationModels",
"targets" : [
"JevFoundationModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ClefFoundationModels",
"targets" : [
"ClefFoundationModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "OpenAIFoundationModels",
"targets" : [
"OpenAIFoundationModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ticket-triage-demo",
"targets" : [
"TicketTriageDemo"
],
"type" : {
"executable" : null
}
},
{
"name" : "duplicate-article-demo",
"targets" : [
"DuplicateArticleDemo"
],
"type" : {
"executable" : null
}
},
{
"name" : "file-organizer-demo",
"targets" : [
"FileOrganizerDemo"
],
"type" : {
"executable" : null
}
},
{
"name" : "laya-demo",
"targets" : [
"LayaDemo"
],
"type" : {
"executable" : null
}
},
{
"name" : "clef-demo",
"targets" : [
"ClefDemo"
],
"type" : {
"executable" : null
}
},
{
"name" : "clef-camera-scanner",
"targets" : [
"ClefCameraScanner"
],
"type" : {
"executable" : null
}
},
{
"name" : "openai-demo",
"targets" : [
"OpenAIDemo"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "TicketTriageDemo",
"module_type" : "SwiftTarget",
"name" : "TicketTriageDemo",
"path" : "Examples/TicketTriageDemo",
"product_memberships" : [
"ticket-triage-demo"
],
"sources" : [
"Helpers.swift",
"main.swift"
],
"target_dependencies" : [
"JevFoundationModels"
],
"type" : "executable"
},
{
"c99name" : "SystemOneFoundationModels",
"module_type" : "SwiftTarget",
"name" : "SystemOneFoundationModels",
"path" : "Sources/SystemOneFoundationModels",
"product_memberships" : [
"SystemOneFoundationModels"
],
"sources" : [
"SystemOneFoundationModels.swift"
],
"target_dependencies" : [
"SystemOneCore",
"JevFoundationModels",
"LayaFoundationModels",
"LayaOnDevice",
"ClefFoundationModels",
"OpenAIFoundationModels"
],
"type" : "library"
},
{
"c99name" : "SystemOneCoreTests",
"module_type" : "SwiftTarget",
"name" : "SystemOneCoreTests",
"path" : "Tests/SystemOneCoreTests",
"sources" : [
"ErgonomicShortcutTests.swift",
"SystemOneImageTests.swift"
],
"target_dependencies" : [
"SystemOneCore"
],
"type" : "test"
},
{
"c99name" : "SystemOneCore",
"module_type" : "SwiftTarget",
"name" : "SystemOneCore",
"path" : "Sources/SystemOneCore",
"product_memberships" : [
"SystemOneCore",
"SystemOneFoundationModels",
"LayaFoundationModels",
"LayaOnDevice",
"JevFoundationModels",
"ClefFoundationModels",
"OpenAIFoundationModels",
"ticket-triage-demo",
"duplicate-article-demo",
"file-organizer-demo",
"laya-demo",
"clef-demo",
"clef-camera-scanner",
"openai-demo"
],
"sources" : [
"Attachment/TranscriptAttachmentExtractor.swift",
"Backend/MockSystemOneBackend.swift",
"Backend/SystemOneBackend.swift",
"Ergonomics/Choice.swift",
"Ergonomics/Choosable.swift",
"Ergonomics/DynamicDecisionSchema.swift",
"Ergonomics/LanguageModelSession+SystemOne.swift",
"Ergonomics/ScoreResult.swift",
"Models/SystemOneDTOs.swift",
"Models/SystemOneImage.swift",
"Models/Values.swift",
"Response/ResponseExtensions.swift",
"Response/ResponseSynthesizer.swift",
"Routing/RetryPolicy.swift",
"Routing/RoutingPolicy.swift",
"Schema/SchemaTranslator.swift",
"SystemOneError.swift",
"SystemOneExecutor.swift",
"SystemOneLanguageModel.swift"
],
"type" : "library"
},
{
"c99name" : "OpenAIFoundationModelsTests",
"module_type" : "SwiftTarget",
"name" : "OpenAIFoundationModelsTests",
"path" : "Tests/OpenAIFoundationModelsTests",
"sources" : [
"OpenAIDecisionsHTTPBackendTests.swift",
"OpenAIDecisionsLanguageModelTests.swift",
"OpenAIDecisionsPayloadAdapterTests.swift",
"OpenAIDecisionsWireDTOTests.swift"
],
"target_dependencies" : [
"OpenAIFoundationModels",
"SystemOneCore"
],
"type" : "test"
},
{
"c99name" : "OpenAIFoundationModels",
"module_type" : "SwiftTarget",
"name" : "OpenAIFoundationModels",
"path" : "Sources/OpenAIFoundationModels",
"product_memberships" : [
"SystemOneFoundationModels",
"OpenAIFoundationModels",
"openai-demo"
],
"sources" : [
"MockOpenAIDecisionsBackend.swift",
"OpenAIDecisionsEndpoint.swift",
"OpenAIDecisionsExecutor.swift",
"OpenAIDecisionsHTTPBackend.swift",
"OpenAIDecisionsLanguageModel.swift",
"OpenAIDecisionsPayloadAdapter.swift",
"OpenAIDecisionsWireDTOs.swift"
],
"target_dependencies" : [
"SystemOneCore"
],
"type" : "library"
},
{
"c99name" : "OpenAIDemo",
"module_type" : "SwiftTarget",
"name" : "OpenAIDemo",
"path" : "Examples/OpenAIDemo",
"product_memberships" : [
"openai-demo"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"OpenAIFoundationModels"
],
"type" : "executable"
},
{
"c99name" : "LayaOnDevice",
"module_type" : "SwiftTarget",
"name" : "LayaOnDevice",
"path" : "Sources/LayaOnDevice",
"product_memberships" : [
"SystemOneFoundationModels",
"LayaOnDevice"
],
"sources" : [
"CoreML/LayaCoreMLEngine.swift",
"CoreML/TemperatureCalibration.swift",
"LayaOnDeviceBackend.swift",
"LayaOnDeviceLanguageModel.swift",
"Tokenization/LayaSequenceBuilder.swift",
"Tokenization/LayaTokenizer.swift",
"Tokenization/MMBERTTokenizer.swift",
"Tokenization/ModernBERTTokenizer.swift"
],
"target_dependencies" : [
"SystemOneCore"
],
"type" : "library"
},
{
"c99name" : "LayaFoundationModels",
"module_type" : "SwiftTarget",
"name" : "LayaFoundationModels",
"path" : "Sources/LayaFoundationModels",
"product_memberships" : [
"SystemOneFoundationModels",
"LayaFoundationModels",
"laya-demo"
],
"sources" : [
"LayaEndpoint.swift",
"LayaHTTPBackend.swift",
"LayaLanguageModel.swift"
],
"target_dependencies" : [
"SystemOneCore"
],
"type" : "library"
},
{
"c99name" : "LayaDemo",
"module_type" : "SwiftTarget",
"name" : "LayaDemo",
"path" : "Examples/LayaDemo",
"product_memberships" : [
"laya-demo"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"LayaFoundationModels"
],
"type" : "executable"
},
{
"c99name" : "JevFoundationModelsTests",
"module_type" : "SwiftTarget",
"name" : "JevFoundationModelsTests",
"path" : "Tests/JevFoundationModelsTests",
"sources" : [
"ArticleDeduplicationTests.swift",
"FileOrganizerTests.swift",
"JevFoundationModelsTests.swift",
"LayaFoundationModelsTests.swift",
"LayaOnDeviceTests.swift",
"NutritionScannerTests.swift",
"ProxyTransportTests.swift",
"ResilienceTests.swift",
"SystemOneCoreTests.swift",
"URLSessionTransportTests.swift",
"ValuesAndRoutingTests.swift"
],
"target_dependencies" : [
"JevFoundationModels",
"SystemOneCore",
"LayaFoundationModels",
"LayaOnDevice"
],
"type" : "test"
},
{
"c99name" : "JevFoundationModels",
"module_type" : "SwiftTarget",
"name" : "JevFoundationModels",
"path" : "Sources/JevFoundationModels",
"product_memberships" : [
"SystemOneFoundationModels",
"JevFoundationModels",
"ticket-triage-demo",
"duplicate-article-demo",
"file-organizer-demo"
],
"sources" : [
"Client/JevClient.swift",
"JevAliases.swift",
"JevExecutor.swift",
"JevLanguageModel.swift",
"Transport/JevTransport.swift",
"Transport/ProxyTransport.swift"
],
"target_dependencies" : [
"SystemOneCore"
],
"type" : "library"
},
{
"c99name" : "FileOrganizerDemo",
"module_type" : "SwiftTarget",
"name" : "FileOrganizerDemo",
"path" : "Examples/FileOrganizerDemo",
"product_memberships" : [
"file-organizer-demo"
],
"sources" : [
"FileOrganizer.swift",
"FileOrganizerProfile.swift",
"Helpers.swift",
"SampleData.swift",
"main.swift"
],
"target_dependencies" : [
"JevFoundationModels"
],
"type" : "executable"
},
{
"c99name" : "DuplicateArticleDemo",
"module_type" : "SwiftTarget",
"name" : "DuplicateArticleDemo",
"path" : "Examples/DuplicateArticleDemo",
"product_memberships" : [
"duplicate-article-demo"
],
"sources" : [
"Article.swift",
"ArticleDeduplicator.swift",
"Helpers.swift",
"SampleData.swift",
"main.swift"
],
"target_dependencies" : [
"JevFoundationModels"
],
"type" : "executable"
},
{
"c99name" : "ClefFoundationModelsTests",
"module_type" : "SwiftTarget",
"name" : "ClefFoundationModelsTests",
"path" : "Tests/ClefFoundationModelsTests",
"sources" : [
"ClefBackendTests.swift",
"ClefEndpointTests.swift",
"ClefLanguageModelTests.swift",
"ClefRoutingTests.swift",
"SystemOneImageTests.swift"
],
"target_dependencies" : [
"ClefFoundationModels",
"SystemOneCore"
],
"type" : "test"
},
{
"c99name" : "ClefFoundationModels",
"module_type" : "SwiftTarget",
"name" : "ClefFoundationModels",
"path" : "Sources/ClefFoundationModels",
"product_memberships" : [
"SystemOneFoundationModels",
"ClefFoundationModels",
"clef-demo",
"clef-camera-scanner"
],
"sources" : [
"ClefEndpoint.swift",
"ClefExecutor.swift",
"ClefHTTPBackend.swift",
"ClefLanguageModel.swift",
"ClefModel.swift",
"VisualInspectionDecision.swift"
],
"target_dependencies" : [
"SystemOneCore"
],
"type" : "library"
},
{
"c99name" : "ClefDemo",
"module_type" : "SwiftTarget",
"name" : "ClefDemo",
"path" : "Examples/ClefDemo",
"product_memberships" : [
"clef-demo"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ClefFoundationModels"
],
"type" : "executable"
},
{
"c99name" : "ClefCameraScanner",
"module_type" : "SwiftTarget",
"name" : "ClefCameraScanner",
"path" : "Examples/ClefCameraScanner",
"product_memberships" : [
"clef-camera-scanner"
],
"sources" : [
"ClefCameraScannerApp.swift",
"Services/CameraManager.swift",
"Services/KeychainStorage.swift",
"Views/CameraPreviewView.swift",
"Views/ClefCameraScannerView.swift",
"Views/InspectionHUDView.swift",
"Views/SettingsSheetView.swift"
],
"target_dependencies" : [
"ClefFoundationModels"
],
"type" : "executable"
}
],
"tools_version" : "6.1"
}
{
"workspace" : {
"name" : "SystemOneFoundationModels",
"schemes" : [
"clef-camera-scanner",
"clef-demo",
"ClefFoundationModels",
"duplicate-article-demo",
"file-organizer-demo",
"JevFoundationModels",
"laya-demo",
"LayaFoundationModels",
"LayaOnDevice",
"openai-demo",
"OpenAIFoundationModels",
"SystemOneCore",
"SystemOneFoundationModels",
"SystemOneFoundationModels-Package",
"ticket-triage-demo"
]
}
}
2026-10-12 12:45:50.225 xcodebuild[729:4485] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme SystemOneFoundationModels-Package -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-27.0.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme SystemOneFoundationModels-Package -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
SystemOneFoundationModels: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (21 targets)
Target 'openai-demo-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'OpenAIFoundationModels' in project 'SystemOneFoundationModels'
Target 'clef-camera-scanner-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'ClefFoundationModels' in project 'SystemOneFoundationModels'
Target 'clef-demo-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'ClefFoundationModels' in project 'SystemOneFoundationModels'
Target 'laya-demo-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'LayaFoundationModels' in project 'SystemOneFoundationModels'
Target 'file-organizer-demo-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'JevFoundationModels' in project 'SystemOneFoundationModels'
Target 'duplicate-article-demo-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'JevFoundationModels' in project 'SystemOneFoundationModels'
Target 'ticket-triage-demo-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'JevFoundationModels' in project 'SystemOneFoundationModels'
Target 'OpenAIFoundationModels-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'OpenAIFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'ClefFoundationModels-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'ClefFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'JevFoundationModels-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'JevFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'LayaOnDevice-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'LayaOnDevice' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'LayaFoundationModels-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'LayaFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'SystemOneFoundationModels-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'JevFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'LayaFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'LayaOnDevice' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'ClefFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'OpenAIFoundationModels' in project 'SystemOneFoundationModels'
Target 'SystemOneFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'JevFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'LayaFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'LayaOnDevice' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'ClefFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'OpenAIFoundationModels' in project 'SystemOneFoundationModels'
Target 'OpenAIFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'ClefFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'LayaOnDevice' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'LayaFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'JevFoundationModels' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'SystemOneCore-product' in project 'SystemOneFoundationModels'
➜ Explicit dependency on target 'SystemOneCore' in project 'SystemOneFoundationModels'
Target 'SystemOneCore' in project 'SystemOneFoundationModels' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache
SwiftDriver SystemOneCore normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SystemOneCore -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DAll -DClef -DJev -DLaya -DLayaServe -DOpenAI -DXcode -enable-upcoming-feature StrictConcurrency -plugin-path /Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos27.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-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 -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 -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044509235ffd515576fb835ffc8f67461e5.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore_const_extract_protocols.json -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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ Choosable.swift,\ DynamicDecisionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:17:17: error: 'GenerationSchema' is unavailable in tvOS
15 | whenTrue: String? = nil,
16 | whenFalse: String? = nil
17 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
18 | var fullInstructions = instructions
19 | if let whenTrue, let whenFalse {
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:52:17: error: 'GenerationSchema' is unavailable in tvOS
50 | instructions: String,
51 | options: [(name: String, description: String?)]
52 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
53 | guard !options.isEmpty else {
54 | throw SystemOneError.invalidSchema("Choice schema requires at least one candidate option.")
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:88:17: error: 'GenerationSchema' is unavailable in tvOS
86 | instructions: String,
87 | levels: [String]
88 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
89 | guard !levels.isEmpty else {
90 | throw SystemOneError.invalidSchema("Score schema requires at least one rubric level.")
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:27:31: error: 'DynamicGenerationSchema' is unavailable in tvOS
25 | }
26 |
27 | let booleanProperty = DynamicGenerationSchema.Property(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:27:55: error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
25 | }
26 |
27 | let booleanProperty = DynamicGenerationSchema.Property(
| `- error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:30:21: error: 'DynamicGenerationSchema' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
30 | schema: DynamicGenerationSchema(type: Bool.self, guides: []),
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
31 | isOptional: false
32 | )
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:30:21: error: 'init(type:guides:)' is unavailable in tvOS
28 | name: "decision",
29 | description: fullInstructions,
30 | schema: DynamicGenerationSchema(type: Bool.self, guides: []),
| `- error: 'init(type:guides:)' is unavailable in tvOS
31 | isOptional: false
32 | )
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:34:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
32 | )
33 |
34 | let root = DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
35 | name: "BinaryDecision",
36 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:34:20: error: 'init(name:description:properties:)' is unavailable in tvOS
32 | )
33 |
34 | let root = DynamicGenerationSchema(
| `- error: 'init(name:description:properties:)' is unavailable in tvOS
35 | name: "BinaryDecision",
36 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:40:20: error: 'GenerationSchema' is unavailable in tvOS
38 | )
39 |
40 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'GenerationSchema' is unavailable in tvOS
41 | }
42 |
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:40:20: error: 'init(root:dependencies:)' is unavailable in tvOS
38 | )
39 |
40 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'init(root:dependencies:)' is unavailable in tvOS
41 | }
42 |
FoundationModels.GenerationSchema.init:2:8: note: 'init(root:dependencies:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(root: DynamicGenerationSchema, dependencies: [DynamicGenerationSchema]) throws}
| `- note: 'init(root:dependencies:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:70:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
68 | }
69 |
70 | let root = DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
71 | name: "Choice",
72 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:70:20: error: 'init(name:description:anyOf:)' is unavailable in tvOS
68 | }
69 |
70 | let root = DynamicGenerationSchema(
| `- error: 'init(name:description:anyOf:)' is unavailable in tvOS
71 | name: "Choice",
72 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:76:20: error: 'GenerationSchema' is unavailable in tvOS
74 | )
75 |
76 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'GenerationSchema' is unavailable in tvOS
77 | }
78 |
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:76:20: error: 'init(root:dependencies:)' is unavailable in tvOS
74 | )
75 |
76 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'init(root:dependencies:)' is unavailable in tvOS
77 | }
78 |
FoundationModels.GenerationSchema.init:2:8: note: 'init(root:dependencies:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(root: DynamicGenerationSchema, dependencies: [DynamicGenerationSchema]) throws}
| `- note: 'init(root:dependencies:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:98:25: error: 'DynamicGenerationSchema' is unavailable in tvOS
96 |
97 | let maxLevel = Swift.max(0, levels.count - 1)
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:98:25: error: 'init(type:guides:)' is unavailable in tvOS
96 |
97 | let maxLevel = Swift.max(0, levels.count - 1)
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
| `- error: 'init(type:guides:)' is unavailable in tvOS
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:98:75: error: 'range' is unavailable in tvOS
96 |
97 | let maxLevel = Swift.max(0, levels.count - 1)
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
| `- error: 'range' is unavailable in tvOS
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:100:29: error: 'DynamicGenerationSchema' is unavailable in tvOS
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
101 | name: "score",
102 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:100:53: error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
98 | let scoreType = DynamicGenerationSchema(type: Int.self, guides: [.range(0...maxLevel)])
99 |
100 | let scoreProperty = DynamicGenerationSchema.Property(
| `- error: 'init(name:description:schema:isOptional:)' is unavailable in tvOS
101 | name: "score",
102 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:107:20: error: 'DynamicGenerationSchema' is unavailable in tvOS
105 | )
106 |
107 | let root = DynamicGenerationSchema(
| `- error: 'DynamicGenerationSchema' is unavailable in tvOS
108 | name: "ScoreDecision",
109 | description: fullInstructions,
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:107:20: error: 'init(name:description:properties:)' is unavailable in tvOS
105 | )
106 |
107 | let root = DynamicGenerationSchema(
| `- error: 'init(name:description:properties:)' is unavailable in tvOS
108 | name: "ScoreDecision",
109 | description: fullInstructions,
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 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Choosable.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DynamicDecisionSchema.swift
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:113:20: error: 'GenerationSchema' is unavailable in tvOS
111 | )
112 |
113 | return try GenerationSchema(root: root, dependencies: [])
| `- error: 'GenerationSchema' is unavailable in tvOS
114 | }
115 | }
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 | }
SwiftCompile normal arm64 Compiling\ TranscriptAttachmentExtractor.swift,\ MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift:11:55: error: 'Transcript' is unavailable in tvOS
9 | public enum TranscriptAttachmentExtractor {
10 | /// Extracts and validates image attachments from a Foundation Models transcript.
11 | public static func extractImages(from transcript: Transcript) throws -> [SystemOneImage] {
| `- error: 'Transcript' is unavailable in tvOS
12 | var images: [SystemOneImage] = []
13 |
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/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift:38:51: error: 'Transcript' is unavailable in tvOS
36 |
37 | /// Extracts an image from a `Transcript.Segment` if it is an attachment.
38 | public static func extractImage(from segment: Transcript.Segment) throws -> SystemOneImage? {
| `- error: 'Transcript' is unavailable in tvOS
39 | guard case .attachment(let attachmentSegment) = segment else {
40 | 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
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 -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneImage.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RetryPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.dia -target arm64-apple-tvos27.0 -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 /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/libSwiftMacros.dylib#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-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 -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=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D All -D Clef -D Jev -D Laya -D LayaServe -D OpenAI -D Xcode -serialize-debugging-options -enable-upcoming-feature StrictConcurrency -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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -no-auto-bridging-header-chaining -module-name SystemOneCore -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore_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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftmodule -index-unit-output-path /SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.o -index-unit-output-path /SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.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/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift")
4. While evaluating request TypeCheckFunctionBodyRequest(SystemOneCore.(file).TranscriptAttachmentExtractor.extractImages(from:)@/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift:11:24)
5. While evaluating request DesugarForEachStmtRequest(ForEach)
6. 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 0x0000000109177bd0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x0000000109175358 llvm::sys::RunSignalHandlers() + 172
2 swift-frontend 0x00000001091781c8 SignalHandler(int, __siginfo*, void*) + 360
3 libsystem_platform.dylib 0x000000018d9d5744 _sigtramp + 56
4 libsystem_pthread.dylib 0x000000018d9cb8d8 pthread_kill + 296
5 libsystem_c.dylib 0x000000018d8d1978 abort + 148
6 swift-frontend 0x0000000104926bc4 _ABORT(char const*, int, char const*, llvm::function_ref<void (llvm::raw_ostream&)>) + 0
7 swift-frontend 0x0000000104926b80 _abortWithMessage(llvm::StringRef) + 0
8 swift-frontend 0x0000000104279a5c (anonymous namespace)::DesugarForEachStmt::emitDiagnosticsForUnavailableConformance(swift::Type, swift::AvailabilityConstraint) + 1268
9 swift-frontend 0x0000000104270a40 swift::DesugarForEachStmtRequest::evaluate(swift::Evaluator&, swift::ForEachStmt*) const + 456
10 swift-frontend 0x00000001048b85a8 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 0x0000000104274dec (anonymous namespace)::ContextualizationWalker::walkToStmtPre(swift::Stmt*) + 340
12 swift-frontend 0x0000000104573034 (anonymous namespace)::Traversal::visit(swift::Stmt*) + 2732
13 swift-frontend 0x00000001044fb0ec swift::ASTNode::walk(swift::ASTWalker&) + 288
14 swift-frontend 0x000000010426ebe4 swift::TypeCheckFunctionBodyRequest::evaluate(swift::Evaluator&, swift::AbstractFunctionDecl*) const + 2368
15 swift-frontend 0x00000001046e6838 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
16 swift-frontend 0x00000001046e6474 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
17 swift-frontend 0x00000001047ab70c swift::SourceFile::typeCheckDelayedFunctions() + 72
18 swift-frontend 0x00000001042ca444 swift::TypeCheckPrimaryFileRequest::evaluate(swift::Evaluator&, swift::SourceFile*) const + 1248
19 swift-frontend 0x00000001042d3244 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
20 swift-frontend 0x00000001042d2fa8 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
21 swift-frontend 0x00000001030cc1a4 bool llvm::function_ref<bool (swift::SourceFile&)>::callback_fn<swift::CompilerInstance::performSema()::$_0>(long, swift::SourceFile&) + 116
22 swift-frontend 0x00000001030c511c swift::CompilerInstance::forEachFileToTypeCheck(llvm::function_ref<bool (swift::SourceFile&)>) + 176
23 swift-frontend 0x00000001030c503c swift::CompilerInstance::performSema() + 456
24 swift-frontend 0x0000000102c8c918 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) + 556
25 swift-frontend 0x0000000102c89dc4 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3776
26 swift-frontend 0x0000000102c09008 swift::mainEntry(int, char const**) + 5600
27 dyld 0x000000018d6004e4 start + 6992
Failed frontend command:
/Applications/Xcode-27.0.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choosable.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneImage.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RetryPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.dia -target arm64-apple-tvos27.0 -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 /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/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore-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 -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\=5 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D All -D Clef -D Jev -D Laya -D LayaServe -D OpenAI -D Xcode -serialize-debugging-options -enable-upcoming-feature StrictConcurrency -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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SystemOneCore -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore_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/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.o -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/SystemOneCore.swiftmodule -index-unit-output-path /SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.o -index-unit-output-path /SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.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/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile TranscriptAttachmentExtractor.swift
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.dia:1:1: warning: Could not read serialized diagnostics file: Error Domain=NSCocoaErrorDomain Code=260 "The file “TranscriptAttachmentExtractor.dia” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.dia, NSURL=file:///Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/TranscriptAttachmentExtractor.dia, NSUnderlyingError=0x78d240480 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MockSystemOneBackend.swift
/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.dia:1:1: warning: Could not read serialized diagnostics file: Error Domain=NSCocoaErrorDomain Code=260 "The file “MockSystemOneBackend.dia” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.dia, NSURL=file:///Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SystemOneFoundationModels.build/Debug-appletvos/SystemOneCore-t.build/Objects-normal/arm64/MockSystemOneBackend.dia, NSUnderlyingError=0x78d243030 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}} (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 Compiling\ SystemOneDTOs.swift,\ SystemOneImage.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneImage.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneDTOs.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneDTOs.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/SystemOneImage.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneImage.swift
SwiftCompile normal arm64 Compiling\ ResponseSynthesizer.swift,\ RetryPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RetryPolicy.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseSynthesizer.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResponseSynthesizer.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RetryPolicy.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RetryPolicy.swift
SwiftCompile normal arm64 Compiling\ RoutingPolicy.swift,\ SchemaTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift:109:39: error: 'LanguageModelSession' is unavailable in tvOS
107 |
108 | /// Decides the action for a categorical or scored question from a Foundation Models `LanguageModelSession.Response`.
109 | public func decide<T>(_ response: LanguageModelSession.Response<T>, of question: String) -> Decision {
| `- error: 'LanguageModelSession' is unavailable in tvOS
110 | decide(confidence: response.confidence(for: question))
111 | }
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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Routing/RoutingPolicy.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RoutingPolicy.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Schema/SchemaTranslator.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SchemaTranslator.swift
SwiftCompile normal arm64 Compiling\ LanguageModelSession+SystemOne.swift,\ ScoreResult.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:6:18: error: 'LanguageModelSession' is unavailable in tvOS
4 | // MARK: - LanguageModelSession System One Ergonomic Decision Shortcuts
5 |
6 | public extension LanguageModelSession {
| `- error: 'LanguageModelSession' is unavailable in tvOS
7 | /// Evaluates the probability of truth (0.0 to 1.0) for a statement given context state.
8 | ///
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/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:25:39: error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
23 | )
24 |
25 | let response = try await self.respond(to: state, schema: schema)
| `- error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
26 |
27 | if let prob = response.probability(for: "decision") {
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: String, 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/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:36:48: error: 'value(_:forProperty:)' is unavailable in tvOS
34 | return trueProb
35 | }
36 | if let boolVal = try? response.content.value(Bool.self, forProperty: "decision") {
| `- error: 'value(_:forProperty:)' is unavailable in tvOS
37 | return boolVal ? 1.0 : 0.0
38 | }
FoundationModels.GeneratedContent.value:2:13: note: 'value(_:forProperty:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value(_:forProperty:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:39:48: error: 'value(_:forProperty:)' is unavailable in tvOS
37 | return boolVal ? 1.0 : 0.0
38 | }
39 | if let boolVal = try? response.content.value(Bool.self, forProperty: "root") {
| `- error: 'value(_:forProperty:)' is unavailable in tvOS
40 | return boolVal ? 1.0 : 0.0
41 | }
FoundationModels.GeneratedContent.value:2:13: note: 'value(_:forProperty:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value(_:forProperty:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:42:48: error: 'value' is unavailable in tvOS
40 | return boolVal ? 1.0 : 0.0
41 | }
42 | if let boolVal = try? response.content.value(Bool.self) {
| `- error: 'value' is unavailable in tvOS
43 | return boolVal ? 1.0 : 0.0
44 | }
FoundationModels.GeneratedContent.value:2:13: note: 'value' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:67:39: error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
65 | let options = Option.allCases.map { (name: $0.optionIdentifier, description: $0.optionDescription) }
66 | let schema = try DynamicDecisionSchema.makeChoiceSchema(instructions: instructions, options: options)
67 | let response = try await self.respond(to: state, schema: schema)
| `- error: 'respond(to:schema:includeSchemaInPrompt:options:)' is unavailable in tvOS
68 |
69 | let rawString: String
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: String, 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/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:70:44: error: 'value' is unavailable in tvOS
68 |
69 | let rawString: String
70 | if let str = try? response.content.value(String.self) {
| `- error: 'value' is unavailable in tvOS
71 | rawString = str
72 | } else if let str = try? response.content.value(String.self, forProperty: "choice") {
FoundationModels.GeneratedContent.value:2:13: note: 'value' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift:72:51: error: 'value(_:forProperty:)' is unavailable in tvOS
70 | if let str = try? response.content.value(String.self) {
71 | rawString = str
72 | } else if let str = try? response.content.value(String.self, forProperty: "choice") {
| `- error: 'value(_:forProperty:)' is unavailable in tvOS
73 | rawString = str
74 | } else {
FoundationModels.GeneratedContent.value:2:13: note: 'value(_:forProperty:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public func value<Value>(_ type: Value.Type = Value.self, forProperty property: String) throws -> Value where Value : ConvertibleFromGeneratedContent}
| `- note: 'value(_:forProperty:)' has been explicitly marked unavailable here
3 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/LanguageModelSession+SystemOne.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile LanguageModelSession+SystemOne.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/ScoreResult.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ScoreResult.swift
SwiftCompile normal arm64 Compiling\ Values.swift,\ ResponseExtensions.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Models/Values.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Values.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Response/ResponseExtensions.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ResponseExtensions.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SystemOneCore (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift:11:55: error: 'Transcript' is unavailable in tvOS
9 | public enum TranscriptAttachmentExtractor {
10 | /// Extracts and validates image attachments from a Foundation Models transcript.
11 | public static func extractImages(from transcript: Transcript) throws -> [SystemOneImage] {
| `- error: 'Transcript' is unavailable in tvOS
12 | var images: [SystemOneImage] = []
13 |
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/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift:38:51: error: 'Transcript' is unavailable in tvOS
36 |
37 | /// Extracts an image from a `Transcript.Segment` if it is an attachment.
38 | public static func extractImage(from segment: Transcript.Segment) throws -> SystemOneImage? {
| `- error: 'Transcript' is unavailable in tvOS
39 | guard case .attachment(let attachmentSegment) = segment else {
40 | 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/SystemOneCore/Ergonomics/Choice.swift:16:28: error: 'GeneratedContent' is unavailable in tvOS
14 |
15 | /// The raw `GeneratedContent` received from the Foundation Models runtime.
16 | public let rawContent: GeneratedContent
| `- error: 'GeneratedContent' is unavailable in tvOS
17 |
18 | public init(
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/SystemOneCore/Ergonomics/Choice.swift:22:21: error: 'GeneratedContent' is unavailable in tvOS
20 | confidence: Double,
21 | distribution: [Option: Double] = [:],
22 | rawContent: GeneratedContent
| `- error: 'GeneratedContent' is unavailable in tvOS
23 | ) {
24 | self.value = value
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:17:17: error: 'GenerationSchema' is unavailable in tvOS
15 | whenTrue: String? = nil,
16 | whenFalse: String? = nil
17 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
18 | var fullInstructions = instructions
19 | if let whenTrue, let whenFalse {
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:52:17: error: 'GenerationSchema' is unavailable in tvOS
50 | instructions: String,
51 | options: [(name: String, description: String?)]
52 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
53 | guard !options.isEmpty else {
54 | throw SystemOneError.invalidSchema("Choice schema requires at least one candidate option.")
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/SystemOneCore/Ergonomics/DynamicDecisionSchema.swift:88:17: error: 'GenerationSchema' is unavailable in tvOS
86 | instructions: String,
87 | levels: [String]
88 | ) throws -> GenerationSchema {
| `- error: 'GenerationSchema' is unavailable in tvOS
89 | guard !levels.isEmpty else {
90 | throw SystemOneError.invalidSchema("Score schema requires at least one rubric level.")
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 | }
SwiftCompile normal arm64 (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ SystemOneLanguageModel.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:32:30: error: 'LanguageModelCapabilities' is unavailable in tvOS
30 | public var executorConfiguration: Configuration
31 |
32 | public var capabilities: LanguageModelCapabilities {
| `- error: 'LanguageModelCapabilities' is unavailable in tvOS
33 | LanguageModelCapabilities([.guidedGeneration])
34 | }
FoundationModels.LanguageModelCapabilities:3:15: note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelCapabilities : Sendable {
| `- note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
4 | public init(_ capabilities: [LanguageModelCapabilities.Capability])
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:6:39: error: 'LanguageModel' is unavailable in tvOS
4 |
5 | /// An Apple Foundation Models provider for System One decision models.
6 | public struct SystemOneLanguageModel: LanguageModel, Sendable {
| `- error: 'LanguageModel' is unavailable in tvOS
7 | public struct Configuration: Hashable, Sendable {
8 | public var backend: AnySystemOneBackend
FoundationModels.LanguageModel:3:17: note: 'LanguageModel' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol LanguageModel : Sendable {
| `- note: 'LanguageModel' has been explicitly marked unavailable here
4 | associatedtype Executor : LanguageModelExecutor where Self == Self.Executor.Model
5 | var capabilities: LanguageModelCapabilities { get }
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift:33:9: error: 'LanguageModelCapabilities' is unavailable in tvOS
31 |
32 | public var capabilities: LanguageModelCapabilities {
33 | LanguageModelCapabilities([.guidedGeneration])
| `- error: 'LanguageModelCapabilities' is unavailable in tvOS
34 | }
35 |
FoundationModels.LanguageModelCapabilities:3:15: note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
1 | @available(iOS 27.0, macOS 27.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct LanguageModelCapabilities : Sendable {
| `- note: 'LanguageModelCapabilities' has been explicitly marked unavailable here
4 | public init(_ capabilities: [LanguageModelCapabilities.Capability])
5 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneLanguageModel.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneLanguageModel.swift
SwiftCompile normal arm64 Compiling\ SystemOneBackend.swift,\ Choice.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
/Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift:16:28: error: 'GeneratedContent' is unavailable in tvOS
14 |
15 | /// The raw `GeneratedContent` received from the Foundation Models runtime.
16 | public let rawContent: GeneratedContent
| `- error: 'GeneratedContent' is unavailable in tvOS
17 |
18 | public init(
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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/SystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneBackend.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Ergonomics/Choice.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile Choice.swift
SwiftCompile normal arm64 Compiling\ SystemOneError.swift,\ SystemOneExecutor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneError.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneError.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/SystemOneExecutor.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SystemOneExecutor.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-10-12 12:45:51.248 xcodebuild[731:4519] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 Compiling\ TranscriptAttachmentExtractor.swift,\ MockSystemOneBackend.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Attachment/TranscriptAttachmentExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SystemOneCore/Backend/MockSystemOneBackend.swift (in target 'SystemOneCore' from project 'SystemOneFoundationModels')
Building workspace SystemOneFoundationModels with scheme SystemOneFoundationModels-Package
(2 failures)
BUILD FAILURE 6.4 tvOS