Build Information
Failed to build SwiftCache, reference v2.1.0 (7c1f13), with Swift 6.4 for tvOS using Xcode 27.0 on 24 Sep 2026 04:04:59 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 SwiftCache -destination generic/platform=tvOSBuild Log
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Extensions/SwiftCache+Progressive.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCache+Progressive.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Extensions/UIImageView+SwiftCache.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIImageView+SwiftCache.swift
SwiftCompile normal arm64 Compiling\ AdaptiveCachePolicy.swift,\ CacheAnalytics.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/CacheAnalytics.swift (in target 'SwiftCache' from project 'SwiftCache')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:138:25: error: 'SystemLanguageModel' is unavailable in tvOS
136 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
137 | public actor FoundationModelsAdaptiveCachePolicyEngine: AdaptiveCachePolicyEngine {
138 | private let model = SystemLanguageModel.default
| `- error: 'SystemLanguageModel' is unavailable in tvOS
139 |
140 | public init() {}
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
| `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 | @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:138:45: error: 'default' is unavailable in tvOS
136 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
137 | public actor FoundationModelsAdaptiveCachePolicyEngine: AdaptiveCachePolicyEngine {
138 | private let model = SystemLanguageModel.default
| `- error: 'default' is unavailable in tvOS
139 |
140 | public init() {}
FoundationModels.SystemLanguageModel.default:5:20: note: 'default' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | @available(watchOS, unavailable)
5 | public class var `default`: SystemLanguageModel { get }}
| `- note: 'default' has been explicitly marked unavailable here
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:205:2: error: 'Generable(description:)' is unavailable in tvOS
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
FoundationModels.Generable:3:145: note: 'Generable(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:207:6: error: 'Guide(description:)' is unavailable in tvOS
205 | @Generable
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
| `- error: 'Guide(description:)' is unavailable in tvOS
208 | var defaultTTLSeconds: Int
209 |
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:210:6: error: 'Guide(description:)' is unavailable in tvOS
208 | var defaultTTLSeconds: Int
209 |
210 | @Guide(description: "Memory cache limit in bytes")
| `- error: 'Guide(description:)' is unavailable in tvOS
211 | var memoryCacheLimitBytes: Int
212 |
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:213:6: error: 'Guide(description:)' is unavailable in tvOS
211 | var memoryCacheLimitBytes: Int
212 |
213 | @Guide(description: "Disk cache limit in bytes")
| `- error: 'Guide(description:)' is unavailable in tvOS
214 | var diskCacheLimitBytes: Int
215 | }
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
macro expansion @Generable:1:59: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
+-------------------------------------------------------------------
216 | #endif
217 |
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 | }
macro expansion @Generable:12:35: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|10 | }
|11 |
|12 | nonisolated var generatedContent: GeneratedContent {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|13 | let explicitNil = false
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+-------------------------------------------------------------------
216 | #endif
217 |
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
macro expansion @Generable:35:13: error: 'GenerationID' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|33 |
|34 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|35 | var id: GenerationID
| | `- error: 'GenerationID' is unavailable in tvOS
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' has been explicitly marked unavailable here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
macro expansion @Generable:36:32: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|34 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|35 | var id: GenerationID
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | protocol Generable {
2 | public typealias PartiallyGenerated = Self}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:37:36: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|35 | var id: GenerationID
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | protocol Generable {
2 | public typealias PartiallyGenerated = Self}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:38:34: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|40 | self.id = content.id ?? GenerationID()
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | protocol Generable {
2 | public typealias PartiallyGenerated = Self}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:39:50: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|40 | self.id = content.id ?? GenerationID()
|41 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
+-------------------------------------------------------------------
216 | #endif
217 |
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
macro expansion @Generable:34:83: error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|32 | }
|33 |
|34 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
|35 | var id: GenerationID
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.ConvertibleFromGeneratedContent:3:17: note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol ConvertibleFromGeneratedContent : SendableMetatype {
| `- note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
4 | init(_ content: GeneratedContent) throws
5 | }
macro expansion @Generable:34:20: warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|32 | }
|33 |
|34 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
|35 | var id: GenerationID
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' declared here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' declared here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
Swift.Identifiable.ID:2:16: note: requirement 'ID' declared here
1 | protocol Identifiable {
2 | associatedtype ID : Hashable}
| `- note: requirement 'ID' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:205:2: error: 'Generable(description:)' is unavailable in tvOS
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
FoundationModels.Generable:3:145: note: 'Generable(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' has been explicitly marked unavailable here
macro expansion @Generable:3:50: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:2: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|1 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
|2 | extension FoundationPolicyDecision: nonisolated FoundationModels.Generable {
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|4 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
|5 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
+-------------------------------------------------------------------
216 | #endif
217 |
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
macro expansion @Generable:2:66: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:2: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|1 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
|2 | extension FoundationPolicyDecision: nonisolated FoundationModels.Generable {
| | `- error: 'Generable' is unavailable in tvOS
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|4 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:146:21: error: 'availability' is unavailable in tvOS
144 | telemetry: CachePolicyTelemetry
145 | ) async -> CacheConfiguration? {
146 | guard model.availability == .available else { return nil }
| `- error: 'availability' is unavailable in tvOS
147 | guard telemetry.totalRequests > 0 else { return nil }
148 |
FoundationModels.SystemLanguageModel.availability:2:18: note: 'availability' has been explicitly marked unavailable here
1 | class SystemLanguageModel {
2 | final public var availability: SystemLanguageModel.Availability { get }}
| `- note: 'availability' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:178:27: error: 'LanguageModelSession' is unavailable in tvOS
176 |
177 | do {
178 | let session = LanguageModelSession(instructions: instructions)
| `- error: 'LanguageModelSession' is unavailable in tvOS
179 | let response = try await session.respond(to: prompt, generating: FoundationPolicyDecision.self)
180 | let decision = response.content
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/SwiftCache/Core/AdaptiveCachePolicy.swift:178:27: error: 'init(model:tools:instructions:)' is unavailable in tvOS
176 |
177 | do {
178 | let session = LanguageModelSession(instructions: instructions)
| `- error: 'init(model:tools:instructions:)' is unavailable in tvOS
179 | let response = try await session.respond(to: prompt, generating: FoundationPolicyDecision.self)
180 | let decision = response.content
FoundationModels.LanguageModelSession.init:2:20: note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | public convenience init(model: SystemLanguageModel = .default, tools: [any Tool] = [], instructions: String? = nil)}
| `- note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:179:46: error: 'respond(to:generating:includeSchemaInPrompt:options:)' is unavailable in tvOS
177 | do {
178 | let session = LanguageModelSession(instructions: instructions)
179 | let response = try await session.respond(to: prompt, generating: FoundationPolicyDecision.self)
| `- error: 'respond(to:generating:includeSchemaInPrompt:options:)' is unavailable in tvOS
180 | let decision = response.content
181 |
FoundationModels.LanguageModelSession.respond:3:45: note: 'respond(to:generating:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | @discardableResult
3 | nonisolated(nonsending) final public func respond<Content>(to prompt: String, generating type: Content.Type = Content.self, includeSchemaInPrompt: Bool = true, options: GenerationOptions = GenerationOptions()) async throws -> LanguageModelSession.Response<Content> where Content : Generable}
| `- note: 'respond(to:generating:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
4 |
macro expansion @Generable:2:22: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| 2 | FoundationModels.GenerationSchema(
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 3 | type: Self.self,
| 4 | properties: [
+-------------------------------------------------------------------
216 | #endif
217 |
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 | }
macro expansion @Generable:2:22: error: 'init(type:description:properties:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| 2 | FoundationModels.GenerationSchema(
| | `- error: 'init(type:description:properties:)' is unavailable in tvOS
| 3 | type: Self.self,
| 4 | properties: [
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationSchema.init:2:8: note: 'init(type:description:properties:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(type: any Generable.Type, description: String? = nil, properties: [GenerationSchema.Property])}
| `- note: 'init(type:description:properties:)' has been explicitly marked unavailable here
3 |
macro expansion @Generable:5:30: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "defaultTTLSeconds", description: "Default cache TTL in seconds", type: Int.self),
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 6 | FoundationModels.GenerationSchema.Property(name: "memoryCacheLimitBytes", description: "Memory cache limit in bytes", type: Int.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "diskCacheLimitBytes", description: "Disk cache limit in bytes", type: Int.self)
+-------------------------------------------------------------------
216 | #endif
217 |
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 | }
macro expansion @Generable:5:47: error: 'init(name:description:type:guides:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "defaultTTLSeconds", description: "Default cache TTL in seconds", type: Int.self),
| | `- error: 'init(name:description:type:guides:)' is unavailable in tvOS
| 6 | FoundationModels.GenerationSchema.Property(name: "memoryCacheLimitBytes", description: "Memory cache limit in bytes", type: Int.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "diskCacheLimitBytes", description: "Disk cache limit in bytes", type: Int.self)
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationSchema.Property.init:3:8: note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | struct Property {
3 | public init<Value>(name: String, description: String? = nil, type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable }
| `- note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
4 | }
5 |
macro expansion @Generable:6:30: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "defaultTTLSeconds", description: "Default cache TTL in seconds", type: Int.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "memoryCacheLimitBytes", description: "Memory cache limit in bytes", type: Int.self),
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 7 | FoundationModels.GenerationSchema.Property(name: "diskCacheLimitBytes", description: "Disk cache limit in bytes", type: Int.self)
| 8 | ]
+-------------------------------------------------------------------
216 | #endif
217 |
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 | }
macro expansion @Generable:6:47: error: 'init(name:description:type:guides:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "defaultTTLSeconds", description: "Default cache TTL in seconds", type: Int.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "memoryCacheLimitBytes", description: "Memory cache limit in bytes", type: Int.self),
| | `- error: 'init(name:description:type:guides:)' is unavailable in tvOS
| 7 | FoundationModels.GenerationSchema.Property(name: "diskCacheLimitBytes", description: "Disk cache limit in bytes", type: Int.self)
| 8 | ]
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationSchema.Property.init:3:8: note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | struct Property {
3 | public init<Value>(name: String, description: String? = nil, type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable }
| `- note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
4 | }
5 |
macro expansion @Generable:7:30: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 5 | FoundationModels.GenerationSchema.Property(name: "defaultTTLSeconds", description: "Default cache TTL in seconds", type: Int.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "memoryCacheLimitBytes", description: "Memory cache limit in bytes", type: Int.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "diskCacheLimitBytes", description: "Disk cache limit in bytes", type: Int.self)
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 8 | ]
| 9 | )
+-------------------------------------------------------------------
216 | #endif
217 |
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 | }
macro expansion @Generable:7:47: error: 'init(name:description:type:guides:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 5 | FoundationModels.GenerationSchema.Property(name: "defaultTTLSeconds", description: "Default cache TTL in seconds", type: Int.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "memoryCacheLimitBytes", description: "Memory cache limit in bytes", type: Int.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "diskCacheLimitBytes", description: "Disk cache limit in bytes", type: Int.self)
| | `- error: 'init(name:description:type:guides:)' is unavailable in tvOS
| 8 | ]
| 9 | )
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationSchema.Property.init:3:8: note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | struct Property {
3 | public init<Value>(name: String, description: String? = nil, type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable }
| `- note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
4 | }
5 |
macro expansion @Generable:14:49: error: 'ConvertibleToGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|12 | nonisolated var generatedContent: GeneratedContent {
|13 | let explicitNil = false
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| | `- error: 'ConvertibleToGeneratedContent' is unavailable in tvOS
|15 | addProperty(name: "defaultTTLSeconds", value: self.defaultTTLSeconds)
|16 | addProperty(name: "memoryCacheLimitBytes", value: self.memoryCacheLimitBytes)
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.ConvertibleToGeneratedContent:3:17: note: 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol ConvertibleToGeneratedContent : InstructionsRepresentable, PromptRepresentable {
| `- note: 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
4 | var generatedContent: GeneratedContent { get }
5 | }
macro expansion @Generable:15:5: error: conformance of 'Int' to 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|13 | let explicitNil = false
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "defaultTTLSeconds", value: self.defaultTTLSeconds)
| | `- error: conformance of 'Int' to 'Generable' is unavailable in tvOS
|16 | addProperty(name: "memoryCacheLimitBytes", value: self.memoryCacheLimitBytes)
|17 | addProperty(name: "diskCacheLimitBytes", value: self.diskCacheLimitBytes)
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Int:3:11: note: conformance of 'Int' to 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Int : Generable {
| `- note: conformance of 'Int' to 'Generable' has been explicitly marked unavailable here
4 | public static var generationSchema: GenerationSchema { get }
5 | public init(_ content: GeneratedContent) throws
macro expansion @Generable:16:5: error: conformance of 'Int' to 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "defaultTTLSeconds", value: self.defaultTTLSeconds)
|16 | addProperty(name: "memoryCacheLimitBytes", value: self.memoryCacheLimitBytes)
| | `- error: conformance of 'Int' to 'Generable' is unavailable in tvOS
|17 | addProperty(name: "diskCacheLimitBytes", value: self.diskCacheLimitBytes)
|18 | return GeneratedContent(
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Int:3:11: note: conformance of 'Int' to 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Int : Generable {
| `- note: conformance of 'Int' to 'Generable' has been explicitly marked unavailable here
4 | public static var generationSchema: GenerationSchema { get }
5 | public init(_ content: GeneratedContent) throws
macro expansion @Generable:17:5: error: conformance of 'Int' to 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|15 | addProperty(name: "defaultTTLSeconds", value: self.defaultTTLSeconds)
|16 | addProperty(name: "memoryCacheLimitBytes", value: self.memoryCacheLimitBytes)
|17 | addProperty(name: "diskCacheLimitBytes", value: self.diskCacheLimitBytes)
| | `- error: conformance of 'Int' to 'Generable' is unavailable in tvOS
|18 | return GeneratedContent(
|19 | properties: properties,
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Int:3:11: note: conformance of 'Int' to 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Int : Generable {
| `- note: conformance of 'Int' to 'Generable' has been explicitly marked unavailable here
4 | public static var generationSchema: GenerationSchema { get }
5 | public init(_ content: GeneratedContent) throws
macro expansion @Generable:18:12: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|16 | addProperty(name: "memoryCacheLimitBytes", value: self.memoryCacheLimitBytes)
|17 | addProperty(name: "diskCacheLimitBytes", value: self.diskCacheLimitBytes)
|18 | return GeneratedContent(
| | `- error: 'GeneratedContent' is unavailable in tvOS
|19 | properties: properties,
|20 | uniquingKeysWith: { _, second in
+-------------------------------------------------------------------
216 | #endif
217 |
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
macro expansion @Generable:18:12: error: 'init(properties:id:uniquingKeysWith:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|16 | addProperty(name: "memoryCacheLimitBytes", value: self.memoryCacheLimitBytes)
|17 | addProperty(name: "diskCacheLimitBytes", value: self.diskCacheLimitBytes)
|18 | return GeneratedContent(
| | `- error: 'init(properties:id:uniquingKeysWith:)' is unavailable in tvOS
|19 | properties: properties,
|20 | uniquingKeysWith: { _, second in
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GeneratedContent.init:2:8: note: 'init(properties:id:uniquingKeysWith:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public init<S>(properties: S, id: GenerationID? = nil, uniquingKeysWith combine: (GeneratedContent, GeneratedContent) throws -> some ConvertibleToGeneratedContent) rethrows where S : Sequence, S.Element == (String, any ConvertibleToGeneratedContent)}
| `- note: 'init(properties:id:uniquingKeysWith:)' has been explicitly marked unavailable here
3 |
macro expansion @Generable:24:48: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|22 | }
|23 | )
|24 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is unavailable in tvOS
|25 | properties.append((name: name, value: value))
|26 | }
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:24:48: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|22 | }
|23 | )
|24 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is unavailable in tvOS
|25 | properties.append((name: name, value: value))
|26 | }
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:27:49: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|25 | properties.append((name: name, value: value))
|26 | }
|27 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is unavailable in tvOS
|28 | if explicitNil || value != nil {
|29 | properties.append((name: name, value: value))
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:27:49: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|25 | properties.append((name: name, value: value))
|26 | }
|27 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is unavailable in tvOS
|28 | if explicitNil || value != nil {
|29 | properties.append((name: name, value: value))
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:29:47: warning: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is unavailable in tvOS; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|27 | func addProperty(name: String, value: (some Generable)?) {
|28 | if explicitNil || value != nil {
|29 | properties.append((name: name, value: value))
| | `- warning: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is unavailable in tvOS; this is an error in the Swift 6 language mode
|30 | }
|31 | }
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Optional:3:11: note: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Optional : ConvertibleToGeneratedContent, PromptRepresentable, InstructionsRepresentable where Wrapped : ConvertibleToGeneratedContent {
| `- note: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
4 | public var generatedContent: GeneratedContent { get }
5 | }
macro expansion @Generable:40:33: error: 'GenerationID' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|40 | self.id = content.id ?? GenerationID()
| | `- error: 'GenerationID' is unavailable in tvOS
|41 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
|42 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' has been explicitly marked unavailable here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
macro expansion @Generable:40:33: error: 'init()' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|40 | self.id = content.id ?? GenerationID()
| | `- error: 'init()' is unavailable in tvOS
|41 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
|42 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationID.init:2:8: note: 'init()' has been explicitly marked unavailable here
1 | struct GenerationID {
2 | public init()}
| `- note: 'init()' has been explicitly marked unavailable here
3 |
macro expansion @Generable:41:46: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|40 | self.id = content.id ?? GenerationID()
|41 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|42 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
|43 | self.diskCacheLimitBytes = try content.value(forProperty: "diskCacheLimitBytes")
+-------------------------------------------------------------------
216 | #endif
217 |
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 |
macro expansion @Generable:42:50: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|40 | self.id = content.id ?? GenerationID()
|41 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
|42 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|43 | self.diskCacheLimitBytes = try content.value(forProperty: "diskCacheLimitBytes")
|44 | }
+-------------------------------------------------------------------
216 | #endif
217 |
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 |
macro expansion @Generable:43:48: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|41 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
|42 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
|43 | self.diskCacheLimitBytes = try content.value(forProperty: "diskCacheLimitBytes")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|44 | }
|45 | }
+-------------------------------------------------------------------
216 | #endif
217 |
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 |
macro expansion @Generable:4:46: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:2: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|2 | extension FoundationPolicyDecision: nonisolated FoundationModels.Generable {
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|4 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|5 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
|6 | self.diskCacheLimitBytes = try content.value(forProperty: "diskCacheLimitBytes")
+-------------------------------------------------------------------
216 | #endif
217 |
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 |
macro expansion @Generable:5:50: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:2: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|4 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
|5 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|6 | self.diskCacheLimitBytes = try content.value(forProperty: "diskCacheLimitBytes")
|7 | }
+-------------------------------------------------------------------
216 | #endif
217 |
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/SwiftCache/Core/AdaptiveCachePolicy.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AdaptiveCachePolicy.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/CacheAnalytics.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CacheAnalytics.swift
SwiftCompile normal arm64 Compiling\ CacheLoader.swift,\ DiskLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/CacheLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift (in target 'SwiftCache' from project 'SwiftCache')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/CacheLoader.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CacheLoader.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DiskLoader.swift
SwiftCompile normal arm64 Compiling\ CacheEntry.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/CacheEntry.swift (in target 'SwiftCache' from project 'SwiftCache')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/CacheEntry.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CacheEntry.swift
SwiftCompile normal arm64 Compiling\ CacheConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/CacheConfiguration.swift (in target 'SwiftCache' from project 'SwiftCache')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/CacheConfiguration.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CacheConfiguration.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-24 00:04:49.706 xcodebuild[623:3849] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'SwiftCache' from project 'SwiftCache')
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftCache (in target 'SwiftCache' from project 'SwiftCache')
Building workspace SwiftCache with scheme SwiftCache
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
SwiftCache: /Users/admin/builder/spi-builder-workspace
resolved source packages: SwiftCache
2026-09-24 00:04:55.815 xcodebuild[712:4207] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftCache",
"name" : "SwiftCache",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "SwiftCache",
"targets" : [
"SwiftCache"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftCacheTests",
"module_type" : "SwiftTarget",
"name" : "SwiftCacheTests",
"path" : "Tests/SwiftCacheTests",
"sources" : [
"SwiftCacheTests.swift"
],
"target_dependencies" : [
"SwiftCache"
],
"type" : "test"
},
{
"c99name" : "SwiftCache",
"module_type" : "SwiftTarget",
"name" : "SwiftCache",
"path" : "Sources/SwiftCache",
"product_memberships" : [
"SwiftCache"
],
"sources" : [
"Core/AdaptiveCachePolicy.swift",
"Core/CacheAnalytics.swift",
"Core/CacheLoader.swift",
"Core/DiskLoader.swift",
"Core/MemoryLoader.swift",
"Core/NetworkLoader.swift",
"Extensions/SwiftCache+Progressive.swift",
"Extensions/UIImageView+SwiftCache.swift",
"Models/CacheConfiguration.swift",
"Models/CacheEntry.swift",
"Models/CancellationToken.swift",
"Models/SwiftCacheError.swift",
"SwiftCache.swift",
"SwiftUI/CachedImage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
{
"workspace" : {
"name" : "SwiftCache",
"schemes" : [
"SwiftCache"
]
}
}
2026-09-24 00:04:57.139 xcodebuild[721:4303] [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 SwiftCache -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme SwiftCache -destination generic/platform=tvOS
Resolve Package Graph
Resolved source packages:
SwiftCache: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'SwiftCache-product' in project 'SwiftCache'
➜ Explicit dependency on target 'SwiftCache' in project 'SwiftCache'
Target 'SwiftCache' in project 'SwiftCache' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
SwiftDriver SwiftCache normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name SwiftCache -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos15.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 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.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-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.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-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache-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/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache-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/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache_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/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-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/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ CacheLoader.swift,\ DiskLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/CacheLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift (in target 'SwiftCache' from project 'SwiftCache')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/CacheLoader.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CacheLoader.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DiskLoader.swift
SwiftCompile normal arm64 Compiling\ SwiftCache+Progressive.swift,\ UIImageView+SwiftCache.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Extensions/SwiftCache+Progressive.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Extensions/UIImageView+SwiftCache.swift (in target 'SwiftCache' from project 'SwiftCache')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Extensions/SwiftCache+Progressive.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCache+Progressive.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Extensions/UIImageView+SwiftCache.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile UIImageView+SwiftCache.swift
SwiftCompile normal arm64 Compiling\ CacheConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/CacheConfiguration.swift (in target 'SwiftCache' from project 'SwiftCache')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/CacheConfiguration.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CacheConfiguration.swift
SwiftCompile normal arm64 Compiling\ MemoryLoader.swift,\ NetworkLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/MemoryLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/NetworkLoader.swift (in target 'SwiftCache' from project 'SwiftCache')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/MemoryLoader.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile MemoryLoader.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/NetworkLoader.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile NetworkLoader.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftCache (in target 'SwiftCache' from project 'SwiftCache')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:138:25: error: 'SystemLanguageModel' is unavailable in tvOS
136 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
137 | public actor FoundationModelsAdaptiveCachePolicyEngine: AdaptiveCachePolicyEngine {
138 | private let model = SystemLanguageModel.default
| `- error: 'SystemLanguageModel' is unavailable in tvOS
139 |
140 | public init() {}
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
| `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 | @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:138:45: error: 'default' is unavailable in tvOS
136 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
137 | public actor FoundationModelsAdaptiveCachePolicyEngine: AdaptiveCachePolicyEngine {
138 | private let model = SystemLanguageModel.default
| `- error: 'default' is unavailable in tvOS
139 |
140 | public init() {}
FoundationModels.SystemLanguageModel.default:5:20: note: 'default' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | @available(watchOS, unavailable)
5 | public class var `default`: SystemLanguageModel { get }}
| `- note: 'default' has been explicitly marked unavailable here
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:205:2: error: 'Generable(description:)' is unavailable in tvOS
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
FoundationModels.Generable:3:145: note: 'Generable(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:207:6: error: 'Guide(description:)' is unavailable in tvOS
205 | @Generable
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
| `- error: 'Guide(description:)' is unavailable in tvOS
208 | var defaultTTLSeconds: Int
209 |
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:210:6: error: 'Guide(description:)' is unavailable in tvOS
208 | var defaultTTLSeconds: Int
209 |
210 | @Guide(description: "Memory cache limit in bytes")
| `- error: 'Guide(description:)' is unavailable in tvOS
211 | var memoryCacheLimitBytes: Int
212 |
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:213:6: error: 'Guide(description:)' is unavailable in tvOS
211 | var memoryCacheLimitBytes: Int
212 |
213 | @Guide(description: "Disk cache limit in bytes")
| `- error: 'Guide(description:)' is unavailable in tvOS
214 | var diskCacheLimitBytes: Int
215 | }
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
macro expansion @Generable:1:59: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
+-------------------------------------------------------------------
216 | #endif
217 |
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 | }
macro expansion @Generable:12:35: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|10 | }
|11 |
|12 | nonisolated var generatedContent: GeneratedContent {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|13 | let explicitNil = false
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+-------------------------------------------------------------------
216 | #endif
217 |
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
macro expansion @Generable:35:13: error: 'GenerationID' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|33 |
|34 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|35 | var id: GenerationID
| | `- error: 'GenerationID' is unavailable in tvOS
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' has been explicitly marked unavailable here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
macro expansion @Generable:36:32: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|34 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|35 | var id: GenerationID
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | protocol Generable {
2 | public typealias PartiallyGenerated = Self}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:37:36: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|35 | var id: GenerationID
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | protocol Generable {
2 | public typealias PartiallyGenerated = Self}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:38:34: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|40 | self.id = content.id ?? GenerationID()
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | protocol Generable {
2 | public typealias PartiallyGenerated = Self}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:39:50: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|40 | self.id = content.id ?? GenerationID()
|41 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
+-------------------------------------------------------------------
216 | #endif
217 |
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
macro expansion @Generable:34:83: error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|32 | }
|33 |
|34 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
|35 | var id: GenerationID
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.ConvertibleFromGeneratedContent:3:17: note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol ConvertibleFromGeneratedContent : SendableMetatype {
| `- note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
4 | init(_ content: GeneratedContent) throws
5 | }
macro expansion @Generable:34:20: warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|32 | }
|33 |
|34 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
|35 | var id: GenerationID
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' declared here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' declared here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
Swift.Identifiable.ID:2:16: note: requirement 'ID' declared here
1 | protocol Identifiable {
2 | associatedtype ID : Hashable}
| `- note: requirement 'ID' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:205:2: error: 'Generable(description:)' is unavailable in tvOS
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
FoundationModels.Generable:3:145: note: 'Generable(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' has been explicitly marked unavailable here
macro expansion @Generable:3:50: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:2: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|1 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
|2 | extension FoundationPolicyDecision: nonisolated FoundationModels.Generable {
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|4 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
|5 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
+-------------------------------------------------------------------
216 | #endif
217 |
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
macro expansion @Generable:2:66: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:2: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|1 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
|2 | extension FoundationPolicyDecision: nonisolated FoundationModels.Generable {
| | `- error: 'Generable' is unavailable in tvOS
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|4 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/CacheAnalytics.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/CacheLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/MemoryLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/NetworkLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Extensions/SwiftCache+Progressive.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Extensions/UIImageView+SwiftCache.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/CacheConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/CacheEntry.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/CancellationToken.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/SwiftCacheError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/SwiftCache.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/SwiftUI/CachedImage.swift -target arm64-apple-tvos15.0 -module-can-import-version FoundationModels 2.0.68.1 0 -module-can-import-version SwiftUI 8.0.84 8.0.84 -module-can-import-version UIKit 9127.0.84.1 9127.0.84 -disable-cross-import-overlay-search -swift-module-cross-import FoundationModels /Applications/Xcode-27.0.0-Release.Candidate.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-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationModelsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationModelsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.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-Release.Candidate.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-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -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-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.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/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftCache -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache_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-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftCache.build/Debug-appletvos/SwiftCache-t.build/Objects-normal/arm64/SwiftCache.abi.json
SwiftCompile normal arm64 (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
SwiftCompile normal arm64 Compiling\ CancellationToken.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/CancellationToken.swift (in target 'SwiftCache' from project 'SwiftCache')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/CancellationToken.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CancellationToken.swift
SwiftCompile normal arm64 Compiling\ CacheEntry.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/CacheEntry.swift (in target 'SwiftCache' from project 'SwiftCache')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/CacheEntry.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CacheEntry.swift
SwiftCompile normal arm64 Compiling\ AdaptiveCachePolicy.swift,\ CacheAnalytics.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/CacheAnalytics.swift (in target 'SwiftCache' from project 'SwiftCache')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:138:25: error: 'SystemLanguageModel' is unavailable in tvOS
136 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
137 | public actor FoundationModelsAdaptiveCachePolicyEngine: AdaptiveCachePolicyEngine {
138 | private let model = SystemLanguageModel.default
| `- error: 'SystemLanguageModel' is unavailable in tvOS
139 |
140 | public init() {}
FoundationModels.SystemLanguageModel:4:20: note: 'SystemLanguageModel' has been explicitly marked unavailable here
2 | @available(tvOS, unavailable)
3 | @available(watchOS, unavailable)
4 | final public class SystemLanguageModel : Sendable {
| `- note: 'SystemLanguageModel' has been explicitly marked unavailable here
5 | @objc deinit
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:138:45: error: 'default' is unavailable in tvOS
136 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
137 | public actor FoundationModelsAdaptiveCachePolicyEngine: AdaptiveCachePolicyEngine {
138 | private let model = SystemLanguageModel.default
| `- error: 'default' is unavailable in tvOS
139 |
140 | public init() {}
FoundationModels.SystemLanguageModel.default:5:20: note: 'default' has been explicitly marked unavailable here
3 | @available(tvOS, unavailable)
4 | @available(watchOS, unavailable)
5 | public class var `default`: SystemLanguageModel { get }}
| `- note: 'default' has been explicitly marked unavailable here
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:205:2: error: 'Generable(description:)' is unavailable in tvOS
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
FoundationModels.Generable:3:145: note: 'Generable(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:207:6: error: 'Guide(description:)' is unavailable in tvOS
205 | @Generable
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
| `- error: 'Guide(description:)' is unavailable in tvOS
208 | var defaultTTLSeconds: Int
209 |
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:210:6: error: 'Guide(description:)' is unavailable in tvOS
208 | var defaultTTLSeconds: Int
209 |
210 | @Guide(description: "Memory cache limit in bytes")
| `- error: 'Guide(description:)' is unavailable in tvOS
211 | var memoryCacheLimitBytes: Int
212 |
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:213:6: error: 'Guide(description:)' is unavailable in tvOS
211 | var memoryCacheLimitBytes: Int
212 |
213 | @Guide(description: "Disk cache limit in bytes")
| `- error: 'Guide(description:)' is unavailable in tvOS
214 | var diskCacheLimitBytes: Int
215 | }
FoundationModels.Guide:3:30: note: 'Guide(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(peer) public macro Guide(description: String) = #externalMacro(module: "FoundationModelsMacros", type: "GuideMacro")
| `- note: 'Guide(description:)' has been explicitly marked unavailable here
macro expansion @Generable:1:59: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
+-------------------------------------------------------------------
216 | #endif
217 |
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 | }
macro expansion @Generable:12:35: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|10 | }
|11 |
|12 | nonisolated var generatedContent: GeneratedContent {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|13 | let explicitNil = false
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+-------------------------------------------------------------------
216 | #endif
217 |
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
macro expansion @Generable:35:13: error: 'GenerationID' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|33 |
|34 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|35 | var id: GenerationID
| | `- error: 'GenerationID' is unavailable in tvOS
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' has been explicitly marked unavailable here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
macro expansion @Generable:36:32: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|34 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
|35 | var id: GenerationID
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | protocol Generable {
2 | public typealias PartiallyGenerated = Self}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:37:36: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|35 | var id: GenerationID
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | protocol Generable {
2 | public typealias PartiallyGenerated = Self}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:38:34: error: 'PartiallyGenerated' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is unavailable in tvOS
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|40 | self.id = content.id ?? GenerationID()
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable.PartiallyGenerated:2:18: note: 'PartiallyGenerated' has been explicitly marked unavailable here
1 | protocol Generable {
2 | public typealias PartiallyGenerated = Self}
| `- note: 'PartiallyGenerated' has been explicitly marked unavailable here
3 |
macro expansion @Generable:39:50: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|37 | var memoryCacheLimitBytes: Int.PartiallyGenerated?
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|40 | self.id = content.id ?? GenerationID()
|41 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
+-------------------------------------------------------------------
216 | #endif
217 |
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
macro expansion @Generable:34:83: error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|32 | }
|33 |
|34 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- error: 'ConvertibleFromGeneratedContent' is unavailable in tvOS
|35 | var id: GenerationID
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.ConvertibleFromGeneratedContent:3:17: note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol ConvertibleFromGeneratedContent : SendableMetatype {
| `- note: 'ConvertibleFromGeneratedContent' has been explicitly marked unavailable here
4 | init(_ content: GeneratedContent) throws
5 | }
macro expansion @Generable:34:20: warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|32 | }
|33 |
|34 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- warning: unavailable struct 'GenerationID' was used to satisfy a requirement of protocol 'Identifiable'; this will be an error in a future Swift language mode
|35 | var id: GenerationID
|36 | var defaultTTLSeconds: Int.PartiallyGenerated?
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' declared here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' declared here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
Swift.Identifiable.ID:2:16: note: requirement 'ID' declared here
1 | protocol Identifiable {
2 | associatedtype ID : Hashable}
| `- note: requirement 'ID' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:205:2: error: 'Generable(description:)' is unavailable in tvOS
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- error: 'Generable(description:)' is unavailable in tvOS
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
FoundationModels.Generable:3:145: note: 'Generable(description:)' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | @attached(extension, conformances: Generable, names: named(init(_:)), named(generatedContent)) @attached(member, names: arbitrary) public macro Generable(description: String? = nil) = #externalMacro(module: "FoundationModelsMacros", type: "GenerableMacro")
| `- note: 'Generable(description:)' has been explicitly marked unavailable here
macro expansion @Generable:3:50: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:2: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|1 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
|2 | extension FoundationPolicyDecision: nonisolated FoundationModels.Generable {
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- error: 'GeneratedContent' is unavailable in tvOS
|4 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
|5 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
+-------------------------------------------------------------------
216 | #endif
217 |
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
macro expansion @Generable:2:66: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:2: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|1 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
|2 | extension FoundationPolicyDecision: nonisolated FoundationModels.Generable {
| | `- error: 'Generable' is unavailable in tvOS
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|4 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:146:21: error: 'availability' is unavailable in tvOS
144 | telemetry: CachePolicyTelemetry
145 | ) async -> CacheConfiguration? {
146 | guard model.availability == .available else { return nil }
| `- error: 'availability' is unavailable in tvOS
147 | guard telemetry.totalRequests > 0 else { return nil }
148 |
FoundationModels.SystemLanguageModel.availability:2:18: note: 'availability' has been explicitly marked unavailable here
1 | class SystemLanguageModel {
2 | final public var availability: SystemLanguageModel.Availability { get }}
| `- note: 'availability' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:178:27: error: 'LanguageModelSession' is unavailable in tvOS
176 |
177 | do {
178 | let session = LanguageModelSession(instructions: instructions)
| `- error: 'LanguageModelSession' is unavailable in tvOS
179 | let response = try await session.respond(to: prompt, generating: FoundationPolicyDecision.self)
180 | let decision = response.content
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/SwiftCache/Core/AdaptiveCachePolicy.swift:178:27: error: 'init(model:tools:instructions:)' is unavailable in tvOS
176 |
177 | do {
178 | let session = LanguageModelSession(instructions: instructions)
| `- error: 'init(model:tools:instructions:)' is unavailable in tvOS
179 | let response = try await session.respond(to: prompt, generating: FoundationPolicyDecision.self)
180 | let decision = response.content
FoundationModels.LanguageModelSession.init:2:20: note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | public convenience init(model: SystemLanguageModel = .default, tools: [any Tool] = [], instructions: String? = nil)}
| `- note: 'init(model:tools:instructions:)' has been explicitly marked unavailable here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:179:46: error: 'respond(to:generating:includeSchemaInPrompt:options:)' is unavailable in tvOS
177 | do {
178 | let session = LanguageModelSession(instructions: instructions)
179 | let response = try await session.respond(to: prompt, generating: FoundationPolicyDecision.self)
| `- error: 'respond(to:generating:includeSchemaInPrompt:options:)' is unavailable in tvOS
180 | let decision = response.content
181 |
FoundationModels.LanguageModelSession.respond:3:45: note: 'respond(to:generating:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
1 | class LanguageModelSession {
2 | @discardableResult
3 | nonisolated(nonsending) final public func respond<Content>(to prompt: String, generating type: Content.Type = Content.self, includeSchemaInPrompt: Bool = true, options: GenerationOptions = GenerationOptions()) async throws -> LanguageModelSession.Response<Content> where Content : Generable}
| `- note: 'respond(to:generating:includeSchemaInPrompt:options:)' has been explicitly marked unavailable here
4 |
macro expansion @Generable:2:22: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| 2 | FoundationModels.GenerationSchema(
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 3 | type: Self.self,
| 4 | properties: [
+-------------------------------------------------------------------
216 | #endif
217 |
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 | }
macro expansion @Generable:2:22: error: 'init(type:description:properties:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| 2 | FoundationModels.GenerationSchema(
| | `- error: 'init(type:description:properties:)' is unavailable in tvOS
| 3 | type: Self.self,
| 4 | properties: [
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationSchema.init:2:8: note: 'init(type:description:properties:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | public init(type: any Generable.Type, description: String? = nil, properties: [GenerationSchema.Property])}
| `- note: 'init(type:description:properties:)' has been explicitly marked unavailable here
3 |
macro expansion @Generable:5:30: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "defaultTTLSeconds", description: "Default cache TTL in seconds", type: Int.self),
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 6 | FoundationModels.GenerationSchema.Property(name: "memoryCacheLimitBytes", description: "Memory cache limit in bytes", type: Int.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "diskCacheLimitBytes", description: "Disk cache limit in bytes", type: Int.self)
+-------------------------------------------------------------------
216 | #endif
217 |
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 | }
macro expansion @Generable:5:47: error: 'init(name:description:type:guides:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "defaultTTLSeconds", description: "Default cache TTL in seconds", type: Int.self),
| | `- error: 'init(name:description:type:guides:)' is unavailable in tvOS
| 6 | FoundationModels.GenerationSchema.Property(name: "memoryCacheLimitBytes", description: "Memory cache limit in bytes", type: Int.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "diskCacheLimitBytes", description: "Disk cache limit in bytes", type: Int.self)
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationSchema.Property.init:3:8: note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | struct Property {
3 | public init<Value>(name: String, description: String? = nil, type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable }
| `- note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
4 | }
5 |
macro expansion @Generable:6:30: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "defaultTTLSeconds", description: "Default cache TTL in seconds", type: Int.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "memoryCacheLimitBytes", description: "Memory cache limit in bytes", type: Int.self),
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 7 | FoundationModels.GenerationSchema.Property(name: "diskCacheLimitBytes", description: "Disk cache limit in bytes", type: Int.self)
| 8 | ]
+-------------------------------------------------------------------
216 | #endif
217 |
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 | }
macro expansion @Generable:6:47: error: 'init(name:description:type:guides:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "defaultTTLSeconds", description: "Default cache TTL in seconds", type: Int.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "memoryCacheLimitBytes", description: "Memory cache limit in bytes", type: Int.self),
| | `- error: 'init(name:description:type:guides:)' is unavailable in tvOS
| 7 | FoundationModels.GenerationSchema.Property(name: "diskCacheLimitBytes", description: "Disk cache limit in bytes", type: Int.self)
| 8 | ]
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationSchema.Property.init:3:8: note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | struct Property {
3 | public init<Value>(name: String, description: String? = nil, type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable }
| `- note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
4 | }
5 |
macro expansion @Generable:7:30: error: 'GenerationSchema' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 5 | FoundationModels.GenerationSchema.Property(name: "defaultTTLSeconds", description: "Default cache TTL in seconds", type: Int.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "memoryCacheLimitBytes", description: "Memory cache limit in bytes", type: Int.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "diskCacheLimitBytes", description: "Disk cache limit in bytes", type: Int.self)
| | `- error: 'GenerationSchema' is unavailable in tvOS
| 8 | ]
| 9 | )
+-------------------------------------------------------------------
216 | #endif
217 |
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 | }
macro expansion @Generable:7:47: error: 'init(name:description:type:guides:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
| 5 | FoundationModels.GenerationSchema.Property(name: "defaultTTLSeconds", description: "Default cache TTL in seconds", type: Int.self),
| 6 | FoundationModels.GenerationSchema.Property(name: "memoryCacheLimitBytes", description: "Memory cache limit in bytes", type: Int.self),
| 7 | FoundationModels.GenerationSchema.Property(name: "diskCacheLimitBytes", description: "Disk cache limit in bytes", type: Int.self)
| | `- error: 'init(name:description:type:guides:)' is unavailable in tvOS
| 8 | ]
| 9 | )
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationSchema.Property.init:3:8: note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
1 | struct GenerationSchema {
2 | struct Property {
3 | public init<Value>(name: String, description: String? = nil, type: Value.Type, guides: [GenerationGuide<Value>] = []) where Value : Generable }
| `- note: 'init(name:description:type:guides:)' has been explicitly marked unavailable here
4 | }
5 |
macro expansion @Generable:14:49: error: 'ConvertibleToGeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|12 | nonisolated var generatedContent: GeneratedContent {
|13 | let explicitNil = false
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| | `- error: 'ConvertibleToGeneratedContent' is unavailable in tvOS
|15 | addProperty(name: "defaultTTLSeconds", value: self.defaultTTLSeconds)
|16 | addProperty(name: "memoryCacheLimitBytes", value: self.memoryCacheLimitBytes)
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.ConvertibleToGeneratedContent:3:17: note: 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol ConvertibleToGeneratedContent : InstructionsRepresentable, PromptRepresentable {
| `- note: 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
4 | var generatedContent: GeneratedContent { get }
5 | }
macro expansion @Generable:15:5: error: conformance of 'Int' to 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|13 | let explicitNil = false
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "defaultTTLSeconds", value: self.defaultTTLSeconds)
| | `- error: conformance of 'Int' to 'Generable' is unavailable in tvOS
|16 | addProperty(name: "memoryCacheLimitBytes", value: self.memoryCacheLimitBytes)
|17 | addProperty(name: "diskCacheLimitBytes", value: self.diskCacheLimitBytes)
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Int:3:11: note: conformance of 'Int' to 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Int : Generable {
| `- note: conformance of 'Int' to 'Generable' has been explicitly marked unavailable here
4 | public static var generationSchema: GenerationSchema { get }
5 | public init(_ content: GeneratedContent) throws
macro expansion @Generable:16:5: error: conformance of 'Int' to 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|14 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|15 | addProperty(name: "defaultTTLSeconds", value: self.defaultTTLSeconds)
|16 | addProperty(name: "memoryCacheLimitBytes", value: self.memoryCacheLimitBytes)
| | `- error: conformance of 'Int' to 'Generable' is unavailable in tvOS
|17 | addProperty(name: "diskCacheLimitBytes", value: self.diskCacheLimitBytes)
|18 | return GeneratedContent(
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Int:3:11: note: conformance of 'Int' to 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Int : Generable {
| `- note: conformance of 'Int' to 'Generable' has been explicitly marked unavailable here
4 | public static var generationSchema: GenerationSchema { get }
5 | public init(_ content: GeneratedContent) throws
macro expansion @Generable:17:5: error: conformance of 'Int' to 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|15 | addProperty(name: "defaultTTLSeconds", value: self.defaultTTLSeconds)
|16 | addProperty(name: "memoryCacheLimitBytes", value: self.memoryCacheLimitBytes)
|17 | addProperty(name: "diskCacheLimitBytes", value: self.diskCacheLimitBytes)
| | `- error: conformance of 'Int' to 'Generable' is unavailable in tvOS
|18 | return GeneratedContent(
|19 | properties: properties,
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Int:3:11: note: conformance of 'Int' to 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Int : Generable {
| `- note: conformance of 'Int' to 'Generable' has been explicitly marked unavailable here
4 | public static var generationSchema: GenerationSchema { get }
5 | public init(_ content: GeneratedContent) throws
macro expansion @Generable:18:12: error: 'GeneratedContent' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|16 | addProperty(name: "memoryCacheLimitBytes", value: self.memoryCacheLimitBytes)
|17 | addProperty(name: "diskCacheLimitBytes", value: self.diskCacheLimitBytes)
|18 | return GeneratedContent(
| | `- error: 'GeneratedContent' is unavailable in tvOS
|19 | properties: properties,
|20 | uniquingKeysWith: { _, second in
+-------------------------------------------------------------------
216 | #endif
217 |
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
macro expansion @Generable:18:12: error: 'init(properties:id:uniquingKeysWith:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|16 | addProperty(name: "memoryCacheLimitBytes", value: self.memoryCacheLimitBytes)
|17 | addProperty(name: "diskCacheLimitBytes", value: self.diskCacheLimitBytes)
|18 | return GeneratedContent(
| | `- error: 'init(properties:id:uniquingKeysWith:)' is unavailable in tvOS
|19 | properties: properties,
|20 | uniquingKeysWith: { _, second in
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GeneratedContent.init:2:8: note: 'init(properties:id:uniquingKeysWith:)' has been explicitly marked unavailable here
1 | struct GeneratedContent {
2 | public init<S>(properties: S, id: GenerationID? = nil, uniquingKeysWith combine: (GeneratedContent, GeneratedContent) throws -> some ConvertibleToGeneratedContent) rethrows where S : Sequence, S.Element == (String, any ConvertibleToGeneratedContent)}
| `- note: 'init(properties:id:uniquingKeysWith:)' has been explicitly marked unavailable here
3 |
macro expansion @Generable:24:48: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|22 | }
|23 | )
|24 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is unavailable in tvOS
|25 | properties.append((name: name, value: value))
|26 | }
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:24:48: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|22 | }
|23 | )
|24 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is unavailable in tvOS
|25 | properties.append((name: name, value: value))
|26 | }
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:27:49: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|25 | properties.append((name: name, value: value))
|26 | }
|27 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is unavailable in tvOS
|28 | if explicitNil || value != nil {
|29 | properties.append((name: name, value: value))
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:27:49: error: 'Generable' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|25 | properties.append((name: name, value: value))
|26 | }
|27 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is unavailable in tvOS
|28 | if explicitNil || value != nil {
|29 | properties.append((name: name, value: value))
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Generable:3:17: note: 'Generable' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public protocol Generable : ConvertibleFromGeneratedContent, ConvertibleToGeneratedContent {
| `- note: 'Generable' has been explicitly marked unavailable here
4 | associatedtype PartiallyGenerated : ConvertibleFromGeneratedContent = Self
5 | static var generationSchema: GenerationSchema { get }
macro expansion @Generable:29:47: warning: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is unavailable in tvOS; this is an error in the Swift 6 language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|27 | func addProperty(name: String, value: (some Generable)?) {
|28 | if explicitNil || value != nil {
|29 | properties.append((name: name, value: value))
| | `- warning: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is unavailable in tvOS; this is an error in the Swift 6 language mode
|30 | }
|31 | }
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.Optional:3:11: note: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | extension Optional : ConvertibleToGeneratedContent, PromptRepresentable, InstructionsRepresentable where Wrapped : ConvertibleToGeneratedContent {
| `- note: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' has been explicitly marked unavailable here
4 | public var generatedContent: GeneratedContent { get }
5 | }
macro expansion @Generable:40:33: error: 'GenerationID' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|40 | self.id = content.id ?? GenerationID()
| | `- error: 'GenerationID' is unavailable in tvOS
|41 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
|42 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationID:3:15: note: 'GenerationID' has been explicitly marked unavailable here
1 | @available(iOS 26.0, macOS 26.0, watchOS 27.0, *)
2 | @available(tvOS, unavailable)
3 | public struct GenerationID : Sendable, Hashable {
| `- note: 'GenerationID' has been explicitly marked unavailable here
4 | public static func == (a: GenerationID, b: GenerationID) -> Bool
5 | public func hash(into hasher: inout Hasher)
macro expansion @Generable:40:33: error: 'init()' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|38 | var diskCacheLimitBytes: Int.PartiallyGenerated?
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|40 | self.id = content.id ?? GenerationID()
| | `- error: 'init()' is unavailable in tvOS
|41 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
|42 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
+-------------------------------------------------------------------
216 | #endif
217 |
FoundationModels.GenerationID.init:2:8: note: 'init()' has been explicitly marked unavailable here
1 | struct GenerationID {
2 | public init()}
| `- note: 'init()' has been explicitly marked unavailable here
3 |
macro expansion @Generable:41:46: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|39 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|40 | self.id = content.id ?? GenerationID()
|41 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|42 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
|43 | self.diskCacheLimitBytes = try content.value(forProperty: "diskCacheLimitBytes")
+-------------------------------------------------------------------
216 | #endif
217 |
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 |
macro expansion @Generable:42:50: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|40 | self.id = content.id ?? GenerationID()
|41 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
|42 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|43 | self.diskCacheLimitBytes = try content.value(forProperty: "diskCacheLimitBytes")
|44 | }
+-------------------------------------------------------------------
216 | #endif
217 |
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 |
macro expansion @Generable:43:48: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:1: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|41 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
|42 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
|43 | self.diskCacheLimitBytes = try content.value(forProperty: "diskCacheLimitBytes")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|44 | }
|45 | }
+-------------------------------------------------------------------
216 | #endif
217 |
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 |
macro expansion @Generable:4:46: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:2: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|2 | extension FoundationPolicyDecision: nonisolated FoundationModels.Generable {
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|4 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|5 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
|6 | self.diskCacheLimitBytes = try content.value(forProperty: "diskCacheLimitBytes")
+-------------------------------------------------------------------
216 | #endif
217 |
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 |
macro expansion @Generable:5:50: error: 'value(_:forProperty:)' is unavailable in tvOS
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/AdaptiveCachePolicy.swift:215:2: note: expanded code originates here
203 |
204 | @available(iOS 26.0, macOS 26.0, tvOS 26.0, watchOS 26.0, *)
205 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'FoundationPolicyDecision' here
206 | private struct FoundationPolicyDecision {
207 | @Guide(description: "Default cache TTL in seconds")
:
213 | @Guide(description: "Disk cache limit in bytes")
214 | var diskCacheLimitBytes: Int
215 | }
+--- macro expansion @Generable ------------------------------------
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|4 | self.defaultTTLSeconds = try content.value(forProperty: "defaultTTLSeconds")
|5 | self.memoryCacheLimitBytes = try content.value(forProperty: "memoryCacheLimitBytes")
| | `- error: 'value(_:forProperty:)' is unavailable in tvOS
|6 | self.diskCacheLimitBytes = try content.value(forProperty: "diskCacheLimitBytes")
|7 | }
+-------------------------------------------------------------------
216 | #endif
217 |
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/SwiftCache/Core/AdaptiveCachePolicy.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AdaptiveCachePolicy.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Core/CacheAnalytics.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CacheAnalytics.swift
SwiftCompile normal arm64 Compiling\ SwiftCache.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/SwiftCache.swift (in target 'SwiftCache' from project 'SwiftCache')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/SwiftCache.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCache.swift
SwiftCompile normal arm64 Compiling\ SwiftCacheError.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/SwiftCacheError.swift (in target 'SwiftCache' from project 'SwiftCache')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/Models/SwiftCacheError.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftCacheError.swift
SwiftCompile normal arm64 Compiling\ CachedImage.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/SwiftUI/CachedImage.swift (in target 'SwiftCache' from project 'SwiftCache')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftCache/SwiftUI/CachedImage.swift (in target 'SwiftCache' from project 'SwiftCache')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CachedImage.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-24 00:04:58.116 xcodebuild[744:4507] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ SwiftCache (in target 'SwiftCache' from project 'SwiftCache')
SwiftCompile normal arm64 (in target 'SwiftCache' from project 'SwiftCache')
Building workspace SwiftCache with scheme SwiftCache
(3 failures)
BUILD FAILURE 6.4 tvOS