Build Information
Failed to build SwiftDelta, reference v1.0.0 (619456), with Swift 6.4 for visionOS using Xcode 27.0 on 26 Sep 2026 21:10:58 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 SwiftDelta-Package -destination generic/platform=xrOSBuild Log
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SourcePresence.swift
SwiftDriverJobDiscovery normal arm64 Compiling SyntaxProtocol.swift, SyntaxText.swift, SyntaxTreeViewMode.swift, TokenDiagnostic.swift, TokenSequence.swift, TokenSyntax.swift, Trivia.swift (in target 'SwiftSyntax' from project 'swift-syntax')
SwiftCompile normal arm64 Compiling\ SwiftPackageDependencyCacheSeeder.swift,\ XcodeBuildSettingsProvider.swift,\ XcodeInstallation.swift,\ XcodeProjectBuilder.swift,\ ConfigurationLoader.swift,\ ConfigurationOverrides.swift,\ SwiftDeltaConfiguration.swift,\ CompilerDiagnosticParser.swift,\ DiagnosticComparison.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Build/SwiftPackageDependencyCacheSeeder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Build/XcodeBuildSettingsProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Build/XcodeInstallation.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Build/XcodeProjectBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Configuration/ConfigurationLoader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Configuration/ConfigurationOverrides.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Configuration/SwiftDeltaConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Diagnostics/CompilerDiagnosticParser.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Diagnostics/DiagnosticComparison.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Build/SwiftPackageDependencyCacheSeeder.swift:101:40: error: 'homeDirectoryForCurrentUser' is unavailable in visionOS
99 |
100 | fileprivate static func repositoryCacheRoots() -> [URL] {
101 | let home = FileManager.default.homeDirectoryForCurrentUser
| `- error: 'homeDirectoryForCurrentUser' is unavailable in visionOS
102 | return [
103 | home.appendingPathComponent(
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:1004:35: note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1002 |
1003 | /// The home directory for the current user.
1004 | @property (readonly, copy) NSURL *homeDirectoryForCurrentUser API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1005 | /// The temporary directory for the current user.
1006 | @property (readonly, copy) NSURL *temporaryDirectory API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Build/XcodeInstallation.swift:147:33: error: 'homeDirectoryForCurrentUser' is unavailable in visionOS
145 | let conventionalRoots = [
146 | URL(fileURLWithPath: "/Applications", isDirectory: true),
147 | FileManager.default.homeDirectoryForCurrentUser
| `- error: 'homeDirectoryForCurrentUser' is unavailable in visionOS
148 | .appendingPathComponent("Applications", isDirectory: true),
149 | FileManager.default.homeDirectoryForCurrentUser
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:1004:35: note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1002 |
1003 | /// The home directory for the current user.
1004 | @property (readonly, copy) NSURL *homeDirectoryForCurrentUser API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
| `- note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1005 | /// The temporary directory for the current user.
1006 | @property (readonly, copy) NSURL *temporaryDirectory API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Build/SwiftPackageDependencyCacheSeeder.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftPackageDependencyCacheSeeder.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Build/XcodeBuildSettingsProvider.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XcodeBuildSettingsProvider.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Build/XcodeInstallation.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XcodeInstallation.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Build/XcodeProjectBuilder.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile XcodeProjectBuilder.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Configuration/ConfigurationLoader.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfigurationLoader.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Configuration/ConfigurationOverrides.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile ConfigurationOverrides.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Configuration/SwiftDeltaConfiguration.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SwiftDeltaConfiguration.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Diagnostics/CompilerDiagnosticParser.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CompilerDiagnosticParser.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Diagnostics/DiagnosticComparison.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile DiagnosticComparison.swift
SwiftDriverJobDiscovery normal arm64 Compiling CustomTraits.swift, EditorPlaceholder.swift, Identifier.swift, MemoryLayout.swift, MissingNodeInitializers.swift, RawSyntax.swift, RawSyntaxArena.swift (in target 'SwiftSyntax' from project 'swift-syntax')
SwiftCompile normal arm64 Compiling\ SecretRedactor.swift,\ RepairTransaction.swift,\ CompilerFixItExtractor.swift,\ SerializedDiagnosticReader.swift,\ AppleFoundationModelRepairProvider.swift,\ FoundationModelPrompts.swift,\ FoundationModelRepairContext.swift,\ FoundationModelRepairModels.swift,\ FoundationModelRepairPlanner.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Infrastructure/Process/SecretRedactor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Application/RepairTransaction.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Evidence/CompilerFixItExtractor.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Evidence/SerializedDiagnosticReader.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/FoundationModelPrompts.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/FoundationModelRepairContext.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/FoundationModelRepairModels.swift /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/FoundationModelRepairPlanner.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:17:2: error: 'Generable(description:)' is only available in visionOS 26.0 or newer
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| `- error: 'Generable(description:)' is only available in visionOS 26.0 or newer
18 | private struct AppleGeneratedRepairEdit {
19 | @Guide(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:19:6: error: 'Guide(description:_:)' is only available in visionOS 26.0 or newer
16 | @available(macOS 26.0, *)
17 | @Generable
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
| `- error: 'Guide(description:_:)' is only available in visionOS 26.0 or newer
20 | description: "The exact source operation.",
21 | .anyOf(["replace", "insertBefore", "insertAfter", "delete"])
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:21:10: error: 'anyOf' is only available in visionOS 26.0 or newer
16 | @available(macOS 26.0, *)
17 | @Generable
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
21 | .anyOf(["replace", "insertBefore", "insertAfter", "delete"])
| `- error: 'anyOf' is only available in visionOS 26.0 or newer
22 | )
23 | var operation: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:25:6: error: 'Guide(description:)' is only available in visionOS 26.0 or newer
16 | @available(macOS 26.0, *)
17 | @Generable
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
23 | var operation: String
24 |
25 | @Guide(
| `- error: 'Guide(description:)' is only available in visionOS 26.0 or newer
26 | description:
27 | "A nonempty exact substring copied from the supplied source. It "
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:32:6: error: 'Guide(description:)' is only available in visionOS 26.0 or newer
16 | @available(macOS 26.0, *)
17 | @Generable
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
30 | var originalAnchor: String
31 |
32 | @Guide(
| `- error: 'Guide(description:)' is only available in visionOS 26.0 or newer
33 | description:
34 | "Only the replacement or inserted source. Empty only for delete."
macro expansion @Generable:1:59: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | | `- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:13:35: error: 'GeneratedContent' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|11 | }
|12 |
|13 | nonisolated var generatedContent: GeneratedContent {
| | | `- error: 'GeneratedContent' is only available in visionOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing property
|14 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:36:13: error: 'GenerationID' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
19 | @Guide(
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|33 | }
|34 |
|35 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | var id: GenerationID
| | `- error: 'GenerationID' is only available in visionOS 26.0 or newer
|37 | var operation: String.PartiallyGenerated?
|38 | var originalAnchor: String.PartiallyGenerated?
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:37:27: error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
19 | @Guide(
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|33 | }
|34 |
|35 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | var id: GenerationID
|37 | var operation: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
|38 | var originalAnchor: String.PartiallyGenerated?
|39 | var source: String.PartiallyGenerated?
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:38:32: error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
19 | @Guide(
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|33 | }
|34 |
|35 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | var id: GenerationID
|37 | var operation: String.PartiallyGenerated?
|38 | var originalAnchor: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
|39 | var source: String.PartiallyGenerated?
|40 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:39:24: error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
19 | @Guide(
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|33 | }
|34 |
|35 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | var id: GenerationID
|37 | var operation: String.PartiallyGenerated?
|38 | var originalAnchor: String.PartiallyGenerated?
|39 | var source: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
|40 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|41 | self.id = content.id ?? GenerationID()
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:40:50: error: 'GeneratedContent' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
19 | @Guide(
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|33 | }
|34 |
|35 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | var id: GenerationID
|37 | var operation: String.PartiallyGenerated?
|38 | var originalAnchor: String.PartiallyGenerated?
|39 | var source: String.PartiallyGenerated?
|40 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | | `- error: 'GeneratedContent' is only available in visionOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing initializer
|41 | self.id = content.id ?? GenerationID()
|42 | self.operation = try content.value(forProperty: "operation")
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:35:20: warning: protocol 'Identifiable' requires 'GenerationID' to be available in visionOS 1.0 and newer; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
19 | @Guide(
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|33 | }
|34 |
|35 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- warning: protocol 'Identifiable' requires 'GenerationID' to be available in visionOS 1.0 and newer; this will be an error in a future Swift language mode
|36 | var id: GenerationID
|37 | var operation: String.PartiallyGenerated?
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
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)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:17:2: error: 'Generable(description:)' is only available in visionOS 26.0 or newer
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| `- error: 'Generable(description:)' is only available in visionOS 26.0 or newer
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:40:2: error: 'Generable(description:)' is only available in visionOS 26.0 or newer
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| `- error: 'Generable(description:)' is only available in visionOS 26.0 or newer
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:42:6: error: 'Guide(description:_:)' is only available in visionOS 26.0 or newer
39 | @available(macOS 26.0, *)
40 | @Generable
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
| `- error: 'Guide(description:_:)' is only available in visionOS 26.0 or newer
43 | description:
44 | "applicable only for exact evidence-backed edits; "
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:47:10: error: 'anyOf' is only available in visionOS 26.0 or newer
39 | @available(macOS 26.0, *)
40 | @Generable
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
45 | + "reviewOnly for a concrete suggestion with unresolved risk; "
46 | + "notRepairable when evidence is insufficient.",
47 | .anyOf(["applicable", "reviewOnly", "notRepairable"])
| `- error: 'anyOf' is only available in visionOS 26.0 or newer
48 | )
49 | var disposition: String
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:51:6: error: 'Guide(description:_:)' is only available in visionOS 26.0 or newer
39 | @available(macOS 26.0, *)
40 | @Generable
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
49 | var disposition: String
50 |
51 | @Guide(
| `- error: 'Guide(description:_:)' is only available in visionOS 26.0 or newer
52 | description:
53 | "A bounded ordered set of exact anchored source edits. Empty when "
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:55:10: error: 'maximumCount' is only available in visionOS 26.0 or newer
39 | @available(macOS 26.0, *)
40 | @Generable
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
53 | "A bounded ordered set of exact anchored source edits. Empty when "
54 | + "disposition is notRepairable.",
55 | .maximumCount(8)
| `- error: 'maximumCount' is only available in visionOS 26.0 or newer
56 | )
57 | var edits: [AppleGeneratedRepairEdit]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:59:6: error: 'Guide(description:_:)' is only available in visionOS 26.0 or newer
39 | @available(macOS 26.0, *)
40 | @Generable
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
57 | var edits: [AppleGeneratedRepairEdit]
58 |
59 | @Guide(
| `- error: 'Guide(description:_:)' is only available in visionOS 26.0 or newer
60 | description:
61 | "The complete modified allowed source fragment as one source line "
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:65:10: error: 'minimumCount' is only available in visionOS 26.0 or newer
39 | @available(macOS 26.0, *)
40 | @Generable
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
63 | + "migrations. Preserve the declaration and unrelated source. For "
64 | + "notRepairable, copy the supplied source unchanged.",
65 | .minimumCount(1),
| `- error: 'minimumCount' is only available in visionOS 26.0 or newer
66 | .maximumCount(160)
67 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:66:10: error: 'maximumCount' is only available in visionOS 26.0 or newer
39 | @available(macOS 26.0, *)
40 | @Generable
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
64 | + "notRepairable, copy the supplied source unchanged.",
65 | .minimumCount(1),
66 | .maximumCount(160)
| `- error: 'maximumCount' is only available in visionOS 26.0 or newer
67 | )
68 | var revisedSourceLines: [String]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:70:6: error: 'Guide(description:)' is only available in visionOS 26.0 or newer
39 | @available(macOS 26.0, *)
40 | @Generable
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
68 | var revisedSourceLines: [String]
69 |
70 | @Guide(description: "A concise explanation based only on supplied evidence.")
| `- error: 'Guide(description:)' is only available in visionOS 26.0 or newer
71 | var explanation: String
72 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:73:6: error: 'Guide(description:_:)' is only available in visionOS 26.0 or newer
39 | @available(macOS 26.0, *)
40 | @Generable
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
71 | var explanation: String
72 |
73 | @Guide(
| `- error: 'Guide(description:_:)' is only available in visionOS 26.0 or newer
74 | description: "Any assumptions required by the proposal; empty when none.",
75 | .maximumCount(6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:75:10: error: 'maximumCount' is only available in visionOS 26.0 or newer
39 | @available(macOS 26.0, *)
40 | @Generable
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
73 | @Guide(
74 | description: "Any assumptions required by the proposal; empty when none.",
75 | .maximumCount(6)
| `- error: 'maximumCount' is only available in visionOS 26.0 or newer
76 | )
77 | var assumptions: [String]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:79:6: error: 'Guide(description:_:)' is only available in visionOS 26.0 or newer
39 | @available(macOS 26.0, *)
40 | @Generable
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
77 | var assumptions: [String]
78 |
79 | @Guide(
| `- error: 'Guide(description:_:)' is only available in visionOS 26.0 or newer
80 | description: "Unresolved safety or compatibility risks; empty when none.",
81 | .maximumCount(6)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:81:10: error: 'maximumCount' is only available in visionOS 26.0 or newer
39 | @available(macOS 26.0, *)
40 | @Generable
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
79 | @Guide(
80 | description: "Unresolved safety or compatibility risks; empty when none.",
81 | .maximumCount(6)
| `- error: 'maximumCount' is only available in visionOS 26.0 or newer
82 | )
83 | var unresolvedRisks: [String]
macro expansion @Generable:1:59: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | | `- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:21:35: error: 'GeneratedContent' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | | `- error: 'GeneratedContent' is only available in visionOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:47:13: error: 'GenerationID' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
| | `- error: 'GenerationID' is only available in visionOS 26.0 or newer
|48 | var disposition: String.PartiallyGenerated?
|49 | var edits: [AppleGeneratedRepairEdit].PartiallyGenerated?
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:48:29: error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
|49 | var edits: [AppleGeneratedRepairEdit].PartiallyGenerated?
|50 | var revisedSourceLines: [String].PartiallyGenerated?
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:49:43: error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
|49 | var edits: [AppleGeneratedRepairEdit].PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
|50 | var revisedSourceLines: [String].PartiallyGenerated?
|51 | var explanation: String.PartiallyGenerated?
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:50:38: error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
|49 | var edits: [AppleGeneratedRepairEdit].PartiallyGenerated?
|50 | var revisedSourceLines: [String].PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
|51 | var explanation: String.PartiallyGenerated?
|52 | var assumptions: [String].PartiallyGenerated?
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:51:29: error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
|49 | var edits: [AppleGeneratedRepairEdit].PartiallyGenerated?
|50 | var revisedSourceLines: [String].PartiallyGenerated?
|51 | var explanation: String.PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
|52 | var assumptions: [String].PartiallyGenerated?
|53 | var unresolvedRisks: [String].PartiallyGenerated?
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:52:31: error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
| :
|50 | var revisedSourceLines: [String].PartiallyGenerated?
|51 | var explanation: String.PartiallyGenerated?
|52 | var assumptions: [String].PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
|53 | var unresolvedRisks: [String].PartiallyGenerated?
|54 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:53:35: error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
| :
|51 | var explanation: String.PartiallyGenerated?
|52 | var assumptions: [String].PartiallyGenerated?
|53 | var unresolvedRisks: [String].PartiallyGenerated?
| | `- error: 'PartiallyGenerated' is only available in visionOS 26.0 or newer
|54 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
|55 | self.id = content.id ?? GenerationID()
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:54:50: error: 'GeneratedContent' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
| :
|52 | var assumptions: [String].PartiallyGenerated?
|53 | var unresolvedRisks: [String].PartiallyGenerated?
|54 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | | `- error: 'GeneratedContent' is only available in visionOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing initializer
|55 | self.id = content.id ?? GenerationID()
|56 | self.disposition = try content.value(forProperty: "disposition")
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:46:20: warning: protocol 'Identifiable' requires 'GenerationID' to be available in visionOS 1.0 and newer; this will be an error in a future Swift language mode
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- warning: protocol 'Identifiable' requires 'GenerationID' to be available in visionOS 1.0 and newer; this will be an error in a future Swift language mode
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
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)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:40:2: error: 'Generable(description:)' is only available in visionOS 26.0 or newer
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| `- error: 'Generable(description:)' is only available in visionOS 26.0 or newer
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:319:10: error: 'ContextOptions' is only available in visionOS 27.0 or newer
84 | }
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
| `- note: add '@available' attribute to enclosing struct
87 | private let operatingSystemVersion: OperatingSystemVersion
88 |
:
315 |
316 | @available(macOS 27.0, *)
317 | private func reasoning(
| `- note: add '@available' attribute to enclosing instance method
318 | _ value: String
319 | ) -> ContextOptions.ReasoningLevel {
| `- error: 'ContextOptions' is only available in visionOS 27.0 or newer
320 | switch value {
321 | case FoundationModelReasoningLevel.light.rawValue:
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:332:25: error: 'SystemLanguageModel' is only available in visionOS 26.0 or newer
84 | }
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
| `- note: add '@available' attribute to enclosing struct
87 | private let operatingSystemVersion: OperatingSystemVersion
88 |
:
329 |
330 | @available(macOS 26.0, *)
331 | private func availabilityState(
| `- note: add '@available' attribute to enclosing instance method
332 | _ availability: SystemLanguageModel.Availability
| `- error: 'SystemLanguageModel' is only available in visionOS 26.0 or newer
333 | ) -> FoundationModelAvailabilityState {
334 | switch availability {
macro expansion @Generable:3:50: error: 'GeneratedContent' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:2: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
19 | @Guide(
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|1 | @available(macOS 26.0, *)
|2 | extension AppleGeneratedRepairEdit: nonisolated FoundationModels.Generable {
| | `- note: add '@available' attribute to enclosing extension
|3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | | `- error: 'GeneratedContent' is only available in visionOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing initializer
|4 | self.operation = try content.value(forProperty: "operation")
|5 | self.originalAnchor = try content.value(forProperty: "originalAnchor")
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:3:50: error: 'GeneratedContent' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:2: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | @available(macOS 26.0, *)
| 2 | extension AppleGeneratedRepairProposal: nonisolated FoundationModels.Generable {
| | `- note: add '@available' attribute to enclosing extension
| 3 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | | `- error: 'GeneratedContent' is only available in visionOS 26.0 or newer
| | `- note: add '@available' attribute to enclosing initializer
| 4 | self.disposition = try content.value(forProperty: "disposition")
| 5 | self.edits = try content.value(forProperty: "edits")
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:2:22: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| | |- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 3 | type: Self.self,
| 4 | properties: [
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:2:22: error: 'init(type:description:properties:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| | |- error: 'init(type:description:properties:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 3 | type: Self.self,
| 4 | properties: [
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:5:30: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "operation", description: "The exact source operation.", type: String.self, guides: [.anyOf(["replace", "insertBefore", "insertAfter", "delete"])]),
| | |- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 6 | FoundationModels.GenerationSchema.Property(name: "originalAnchor", description: "A nonempty exact substring copied from the supplied source. It "
| 7 | + "anchors the replacement, insertion, or deletion.", type: String.self),
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:5:47: error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "operation", description: "The exact source operation.", type: String.self, guides: [.anyOf(["replace", "insertBefore", "insertAfter", "delete"])]),
| | |- error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 6 | FoundationModels.GenerationSchema.Property(name: "originalAnchor", description: "A nonempty exact substring copied from the supplied source. It "
| 7 | + "anchors the replacement, insertion, or deletion.", type: String.self),
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:5:148: error: 'anyOf' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "operation", description: "The exact source operation.", type: String.self, guides: [.anyOf(["replace", "insertBefore", "insertAfter", "delete"])]),
| | |- error: 'anyOf' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 6 | FoundationModels.GenerationSchema.Property(name: "originalAnchor", description: "A nonempty exact substring copied from the supplied source. It "
| 7 | + "anchors the replacement, insertion, or deletion.", type: String.self),
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:6:30: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "operation", description: "The exact source operation.", type: String.self, guides: [.anyOf(["replace", "insertBefore", "insertAfter", "delete"])]),
| 6 | FoundationModels.GenerationSchema.Property(name: "originalAnchor", description: "A nonempty exact substring copied from the supplied source. It "
| | |- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 7 | + "anchors the replacement, insertion, or deletion.", type: String.self),
| 8 | FoundationModels.GenerationSchema.Property(name: "source", description: "Only the replacement or inserted source. Empty only for delete.", type: String.self)
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:6:47: error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "operation", description: "The exact source operation.", type: String.self, guides: [.anyOf(["replace", "insertBefore", "insertAfter", "delete"])]),
| 6 | FoundationModels.GenerationSchema.Property(name: "originalAnchor", description: "A nonempty exact substring copied from the supplied source. It "
| | |- error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 7 | + "anchors the replacement, insertion, or deletion.", type: String.self),
| 8 | FoundationModels.GenerationSchema.Property(name: "source", description: "Only the replacement or inserted source. Empty only for delete.", type: String.self)
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:8:30: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
| 6 | FoundationModels.GenerationSchema.Property(name: "originalAnchor", description: "A nonempty exact substring copied from the supplied source. It "
| 7 | + "anchors the replacement, insertion, or deletion.", type: String.self),
| 8 | FoundationModels.GenerationSchema.Property(name: "source", description: "Only the replacement or inserted source. Empty only for delete.", type: String.self)
| | |- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 9 | ]
|10 | )
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:8:47: error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
| 6 | FoundationModels.GenerationSchema.Property(name: "originalAnchor", description: "A nonempty exact substring copied from the supplied source. It "
| 7 | + "anchors the replacement, insertion, or deletion.", type: String.self),
| 8 | FoundationModels.GenerationSchema.Property(name: "source", description: "Only the replacement or inserted source. Empty only for delete.", type: String.self)
| | |- error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 9 | ]
|10 | )
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:15:49: error: 'ConvertibleToGeneratedContent' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|11 | }
|12 |
|13 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| | |- error: 'ConvertibleToGeneratedContent' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|16 | addProperty(name: "operation", value: self.operation)
|17 | addProperty(name: "originalAnchor", value: self.originalAnchor)
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:16:5: error: conformance of 'String' to 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|11 | }
|12 |
|13 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|16 | addProperty(name: "operation", value: self.operation)
| | |- error: conformance of 'String' to 'Generable' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|17 | addProperty(name: "originalAnchor", value: self.originalAnchor)
|18 | addProperty(name: "source", value: self.source)
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:17:5: error: conformance of 'String' to 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|11 | }
|12 |
|13 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|16 | addProperty(name: "operation", value: self.operation)
|17 | addProperty(name: "originalAnchor", value: self.originalAnchor)
| | |- error: conformance of 'String' to 'Generable' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|18 | addProperty(name: "source", value: self.source)
|19 | return GeneratedContent(
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:18:5: error: conformance of 'String' to 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|11 | }
|12 |
|13 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|16 | addProperty(name: "operation", value: self.operation)
|17 | addProperty(name: "originalAnchor", value: self.originalAnchor)
|18 | addProperty(name: "source", value: self.source)
| | |- error: conformance of 'String' to 'Generable' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|19 | return GeneratedContent(
|20 | properties: properties,
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:19:12: error: 'GeneratedContent' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|11 | }
|12 |
|13 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|17 | addProperty(name: "originalAnchor", value: self.originalAnchor)
|18 | addProperty(name: "source", value: self.source)
|19 | return GeneratedContent(
| | |- error: 'GeneratedContent' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|20 | properties: properties,
|21 | uniquingKeysWith: { _, second in
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:19:12: error: 'init(properties:id:uniquingKeysWith:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|11 | }
|12 |
|13 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|17 | addProperty(name: "originalAnchor", value: self.originalAnchor)
|18 | addProperty(name: "source", value: self.source)
|19 | return GeneratedContent(
| | |- error: 'init(properties:id:uniquingKeysWith:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|20 | properties: properties,
|21 | uniquingKeysWith: { _, second in
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:25:48: error: 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|11 | }
|12 |
|13 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|23 | }
|24 | )
|25 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in visionOS 26.0 or newer
|26 | properties.append((name: name, value: value))
|27 | }
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:25:48: error: 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|11 | }
|12 |
|13 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|23 | }
|24 | )
|25 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in visionOS 26.0 or newer
|26 | properties.append((name: name, value: value))
|27 | }
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:28:49: error: 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|11 | }
|12 |
|13 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|26 | properties.append((name: name, value: value))
|27 | }
|28 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in visionOS 26.0 or newer
|29 | if explicitNil || value != nil {
|30 | properties.append((name: name, value: value))
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:28:49: error: 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|11 | }
|12 |
|13 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|26 | properties.append((name: name, value: value))
|27 | }
|28 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in visionOS 26.0 or newer
|29 | if explicitNil || value != nil {
|30 | properties.append((name: name, value: value))
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:30:47: error: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
| `- note: add '@available' attribute to enclosing struct
19 | @Guide(
20 | description: "The exact source operation.",
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|11 | }
|12 |
|13 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|14 | let explicitNil = false
|15 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|28 | func addProperty(name: String, value: (some Generable)?) {
|29 | if explicitNil || value != nil {
|30 | properties.append((name: name, value: value))
| | |- error: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|31 | }
|32 | }
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:41:33: error: 'GenerationID' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
19 | @Guide(
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|33 | }
|34 |
|35 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | var id: GenerationID
|37 | var operation: String.PartiallyGenerated?
|38 | var originalAnchor: String.PartiallyGenerated?
|39 | var source: String.PartiallyGenerated?
|40 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|41 | self.id = content.id ?? GenerationID()
| | |- error: 'GenerationID' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|42 | self.operation = try content.value(forProperty: "operation")
|43 | self.originalAnchor = try content.value(forProperty: "originalAnchor")
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:41:33: error: 'init()' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
19 | @Guide(
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|33 | }
|34 |
|35 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | var id: GenerationID
|37 | var operation: String.PartiallyGenerated?
|38 | var originalAnchor: String.PartiallyGenerated?
|39 | var source: String.PartiallyGenerated?
|40 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|41 | self.id = content.id ?? GenerationID()
| | |- error: 'init()' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|42 | self.operation = try content.value(forProperty: "operation")
|43 | self.originalAnchor = try content.value(forProperty: "originalAnchor")
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:42:38: error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
19 | @Guide(
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|33 | }
|34 |
|35 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | var id: GenerationID
|37 | var operation: String.PartiallyGenerated?
|38 | var originalAnchor: String.PartiallyGenerated?
|39 | var source: String.PartiallyGenerated?
|40 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|41 | self.id = content.id ?? GenerationID()
|42 | self.operation = try content.value(forProperty: "operation")
| | |- error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|43 | self.originalAnchor = try content.value(forProperty: "originalAnchor")
|44 | self.source = try content.value(forProperty: "source")
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:43:43: error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
19 | @Guide(
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|33 | }
|34 |
|35 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | var id: GenerationID
|37 | var operation: String.PartiallyGenerated?
|38 | var originalAnchor: String.PartiallyGenerated?
|39 | var source: String.PartiallyGenerated?
|40 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|41 | self.id = content.id ?? GenerationID()
|42 | self.operation = try content.value(forProperty: "operation")
|43 | self.originalAnchor = try content.value(forProperty: "originalAnchor")
| | |- error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|44 | self.source = try content.value(forProperty: "source")
|45 | }
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:44:35: error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:37:1: note: expanded code originates here
15 |
16 | @available(macOS 26.0, *)
17 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairEdit' here
18 | private struct AppleGeneratedRepairEdit {
19 | @Guide(
:
35 | )
36 | var source: String
37 | }
+--- macro expansion @Generable ------------------------------------
|33 | }
|34 |
|35 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|36 | var id: GenerationID
|37 | var operation: String.PartiallyGenerated?
|38 | var originalAnchor: String.PartiallyGenerated?
|39 | var source: String.PartiallyGenerated?
|40 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|41 | self.id = content.id ?? GenerationID()
|42 | self.operation = try content.value(forProperty: "operation")
|43 | self.originalAnchor = try content.value(forProperty: "originalAnchor")
|44 | self.source = try content.value(forProperty: "source")
| | |- error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|45 | }
|46 | }
+-------------------------------------------------------------------
38 |
39 | @available(macOS 26.0, *)
macro expansion @Generable:2:22: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| | |- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 3 | type: Self.self,
| 4 | properties: [
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:2:22: error: 'init(type:description:properties:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| | |- error: 'init(type:description:properties:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 3 | type: Self.self,
| 4 | properties: [
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:5:30: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "disposition", description: "applicable only for exact evidence-backed edits; "
| | |- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 6 | + "reviewOnly for a concrete suggestion with unresolved risk; "
| 7 | + "notRepairable when evidence is insufficient.", type: String.self, guides: [.anyOf(["applicable", "reviewOnly", "notRepairable"])]),
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:5:47: error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| 4 | properties: [
| 5 | FoundationModels.GenerationSchema.Property(name: "disposition", description: "applicable only for exact evidence-backed edits; "
| | |- error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 6 | + "reviewOnly for a concrete suggestion with unresolved risk; "
| 7 | + "notRepairable when evidence is insufficient.", type: String.self, guides: [.anyOf(["applicable", "reviewOnly", "notRepairable"])]),
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:7:104: error: 'anyOf' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
| 5 | FoundationModels.GenerationSchema.Property(name: "disposition", description: "applicable only for exact evidence-backed edits; "
| 6 | + "reviewOnly for a concrete suggestion with unresolved risk; "
| 7 | + "notRepairable when evidence is insufficient.", type: String.self, guides: [.anyOf(["applicable", "reviewOnly", "notRepairable"])]),
| | |- error: 'anyOf' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 8 | FoundationModels.GenerationSchema.Property(name: "edits", description: "A bounded ordered set of exact anchored source edits. Empty when "
| 9 | + "disposition is notRepairable.", type: [AppleGeneratedRepairEdit].self, guides: [.maximumCount(8)]),
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:8:30: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
| 6 | + "reviewOnly for a concrete suggestion with unresolved risk; "
| 7 | + "notRepairable when evidence is insufficient.", type: String.self, guides: [.anyOf(["applicable", "reviewOnly", "notRepairable"])]),
| 8 | FoundationModels.GenerationSchema.Property(name: "edits", description: "A bounded ordered set of exact anchored source edits. Empty when "
| | |- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 9 | + "disposition is notRepairable.", type: [AppleGeneratedRepairEdit].self, guides: [.maximumCount(8)]),
|10 | FoundationModels.GenerationSchema.Property(name: "revisedSourceLines", description: "The complete modified allowed source fragment as one source line "
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:8:47: error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
| 6 | + "reviewOnly for a concrete suggestion with unresolved risk; "
| 7 | + "notRepairable when evidence is insufficient.", type: String.self, guides: [.anyOf(["applicable", "reviewOnly", "notRepairable"])]),
| 8 | FoundationModels.GenerationSchema.Property(name: "edits", description: "A bounded ordered set of exact anchored source edits. Empty when "
| | |- error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
| 9 | + "disposition is notRepairable.", type: [AppleGeneratedRepairEdit].self, guides: [.maximumCount(8)]),
|10 | FoundationModels.GenerationSchema.Property(name: "revisedSourceLines", description: "The complete modified allowed source fragment as one source line "
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:9:109: error: 'maximumCount' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
| 7 | + "notRepairable when evidence is insufficient.", type: String.self, guides: [.anyOf(["applicable", "reviewOnly", "notRepairable"])]),
| 8 | FoundationModels.GenerationSchema.Property(name: "edits", description: "A bounded ordered set of exact anchored source edits. Empty when "
| 9 | + "disposition is notRepairable.", type: [AppleGeneratedRepairEdit].self, guides: [.maximumCount(8)]),
| | |- error: 'maximumCount' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|10 | FoundationModels.GenerationSchema.Property(name: "revisedSourceLines", description: "The complete modified allowed source fragment as one source line "
|11 | + "per array element. Use this for coordinated or structural "
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:10:30: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
| 8 | FoundationModels.GenerationSchema.Property(name: "edits", description: "A bounded ordered set of exact anchored source edits. Empty when "
| 9 | + "disposition is notRepairable.", type: [AppleGeneratedRepairEdit].self, guides: [.maximumCount(8)]),
|10 | FoundationModels.GenerationSchema.Property(name: "revisedSourceLines", description: "The complete modified allowed source fragment as one source line "
| | |- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|11 | + "per array element. Use this for coordinated or structural "
|12 | + "migrations. Preserve the declaration and unrelated source. For "
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:10:47: error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
| 8 | FoundationModels.GenerationSchema.Property(name: "edits", description: "A bounded ordered set of exact anchored source edits. Empty when "
| 9 | + "disposition is notRepairable.", type: [AppleGeneratedRepairEdit].self, guides: [.maximumCount(8)]),
|10 | FoundationModels.GenerationSchema.Property(name: "revisedSourceLines", description: "The complete modified allowed source fragment as one source line "
| | |- error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|11 | + "per array element. Use this for coordinated or structural "
|12 | + "migrations. Preserve the declaration and unrelated source. For "
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:13:112: error: 'minimumCount' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
|11 | + "per array element. Use this for coordinated or structural "
|12 | + "migrations. Preserve the declaration and unrelated source. For "
|13 | + "notRepairable, copy the supplied source unchanged.", type: [String].self, guides: [.minimumCount(1), .maximumCount(160)]),
| | |- error: 'minimumCount' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|14 | FoundationModels.GenerationSchema.Property(name: "explanation", description: "A concise explanation based only on supplied evidence.", type: String.self),
|15 | FoundationModels.GenerationSchema.Property(name: "assumptions", description: "Any assumptions required by the proposal; empty when none.", type: [String].self, guides: [.maximumCount(6)]),
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:13:130: error: 'maximumCount' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
|11 | + "per array element. Use this for coordinated or structural "
|12 | + "migrations. Preserve the declaration and unrelated source. For "
|13 | + "notRepairable, copy the supplied source unchanged.", type: [String].self, guides: [.minimumCount(1), .maximumCount(160)]),
| | |- error: 'maximumCount' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|14 | FoundationModels.GenerationSchema.Property(name: "explanation", description: "A concise explanation based only on supplied evidence.", type: String.self),
|15 | FoundationModels.GenerationSchema.Property(name: "assumptions", description: "Any assumptions required by the proposal; empty when none.", type: [String].self, guides: [.maximumCount(6)]),
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:14:30: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
|12 | + "migrations. Preserve the declaration and unrelated source. For "
|13 | + "notRepairable, copy the supplied source unchanged.", type: [String].self, guides: [.minimumCount(1), .maximumCount(160)]),
|14 | FoundationModels.GenerationSchema.Property(name: "explanation", description: "A concise explanation based only on supplied evidence.", type: String.self),
| | |- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|15 | FoundationModels.GenerationSchema.Property(name: "assumptions", description: "Any assumptions required by the proposal; empty when none.", type: [String].self, guides: [.maximumCount(6)]),
|16 | FoundationModels.GenerationSchema.Property(name: "unresolvedRisks", description: "Unresolved safety or compatibility risks; empty when none.", type: [String].self, guides: [.maximumCount(6)])
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:14:47: error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
|12 | + "migrations. Preserve the declaration and unrelated source. For "
|13 | + "notRepairable, copy the supplied source unchanged.", type: [String].self, guides: [.minimumCount(1), .maximumCount(160)]),
|14 | FoundationModels.GenerationSchema.Property(name: "explanation", description: "A concise explanation based only on supplied evidence.", type: String.self),
| | |- error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|15 | FoundationModels.GenerationSchema.Property(name: "assumptions", description: "Any assumptions required by the proposal; empty when none.", type: [String].self, guides: [.maximumCount(6)]),
|16 | FoundationModels.GenerationSchema.Property(name: "unresolvedRisks", description: "Unresolved safety or compatibility risks; empty when none.", type: [String].self, guides: [.maximumCount(6)])
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:15:30: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
|13 | + "notRepairable, copy the supplied source unchanged.", type: [String].self, guides: [.minimumCount(1), .maximumCount(160)]),
|14 | FoundationModels.GenerationSchema.Property(name: "explanation", description: "A concise explanation based only on supplied evidence.", type: String.self),
|15 | FoundationModels.GenerationSchema.Property(name: "assumptions", description: "Any assumptions required by the proposal; empty when none.", type: [String].self, guides: [.maximumCount(6)]),
| | |- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|16 | FoundationModels.GenerationSchema.Property(name: "unresolvedRisks", description: "Unresolved safety or compatibility risks; empty when none.", type: [String].self, guides: [.maximumCount(6)])
|17 | ]
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:15:47: error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
|13 | + "notRepairable, copy the supplied source unchanged.", type: [String].self, guides: [.minimumCount(1), .maximumCount(160)]),
|14 | FoundationModels.GenerationSchema.Property(name: "explanation", description: "A concise explanation based only on supplied evidence.", type: String.self),
|15 | FoundationModels.GenerationSchema.Property(name: "assumptions", description: "Any assumptions required by the proposal; empty when none.", type: [String].self, guides: [.maximumCount(6)]),
| | |- error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|16 | FoundationModels.GenerationSchema.Property(name: "unresolvedRisks", description: "Unresolved safety or compatibility risks; empty when none.", type: [String].self, guides: [.maximumCount(6)])
|17 | ]
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:15:183: error: 'maximumCount' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
|13 | + "notRepairable, copy the supplied source unchanged.", type: [String].self, guides: [.minimumCount(1), .maximumCount(160)]),
|14 | FoundationModels.GenerationSchema.Property(name: "explanation", description: "A concise explanation based only on supplied evidence.", type: String.self),
|15 | FoundationModels.GenerationSchema.Property(name: "assumptions", description: "Any assumptions required by the proposal; empty when none.", type: [String].self, guides: [.maximumCount(6)]),
| | |- error: 'maximumCount' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|16 | FoundationModels.GenerationSchema.Property(name: "unresolvedRisks", description: "Unresolved safety or compatibility risks; empty when none.", type: [String].self, guides: [.maximumCount(6)])
|17 | ]
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:16:30: error: 'GenerationSchema' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
|14 | FoundationModels.GenerationSchema.Property(name: "explanation", description: "A concise explanation based only on supplied evidence.", type: String.self),
|15 | FoundationModels.GenerationSchema.Property(name: "assumptions", description: "Any assumptions required by the proposal; empty when none.", type: [String].self, guides: [.maximumCount(6)]),
|16 | FoundationModels.GenerationSchema.Property(name: "unresolvedRisks", description: "Unresolved safety or compatibility risks; empty when none.", type: [String].self, guides: [.maximumCount(6)])
| | |- error: 'GenerationSchema' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|17 | ]
|18 | )
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:16:47: error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
|14 | FoundationModels.GenerationSchema.Property(name: "explanation", description: "A concise explanation based only on supplied evidence.", type: String.self),
|15 | FoundationModels.GenerationSchema.Property(name: "assumptions", description: "Any assumptions required by the proposal; empty when none.", type: [String].self, guides: [.maximumCount(6)]),
|16 | FoundationModels.GenerationSchema.Property(name: "unresolvedRisks", description: "Unresolved safety or compatibility risks; empty when none.", type: [String].self, guides: [.maximumCount(6)])
| | |- error: 'init(name:description:type:guides:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|17 | ]
|18 | )
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:16:187: error: 'maximumCount' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
| 1 | nonisolated static var generationSchema: FoundationModels.GenerationSchema {
| | `- note: add '@available' attribute to enclosing static property
| 2 | FoundationModels.GenerationSchema(
| 3 | type: Self.self,
| :
|14 | FoundationModels.GenerationSchema.Property(name: "explanation", description: "A concise explanation based only on supplied evidence.", type: String.self),
|15 | FoundationModels.GenerationSchema.Property(name: "assumptions", description: "Any assumptions required by the proposal; empty when none.", type: [String].self, guides: [.maximumCount(6)]),
|16 | FoundationModels.GenerationSchema.Property(name: "unresolvedRisks", description: "Unresolved safety or compatibility risks; empty when none.", type: [String].self, guides: [.maximumCount(6)])
| | |- error: 'maximumCount' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|17 | ]
|18 | )
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:23:49: error: 'ConvertibleToGeneratedContent' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| | |- error: 'ConvertibleToGeneratedContent' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|24 | addProperty(name: "disposition", value: self.disposition)
|25 | addProperty(name: "edits", value: self.edits)
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:24:5: error: conformance of 'String' to 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|24 | addProperty(name: "disposition", value: self.disposition)
| | |- error: conformance of 'String' to 'Generable' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|25 | addProperty(name: "edits", value: self.edits)
|26 | addProperty(name: "revisedSourceLines", value: self.revisedSourceLines)
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:25:5: error: conformance of 'Array<Element>' to 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|24 | addProperty(name: "disposition", value: self.disposition)
|25 | addProperty(name: "edits", value: self.edits)
| | |- error: conformance of 'Array<Element>' to 'Generable' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|26 | addProperty(name: "revisedSourceLines", value: self.revisedSourceLines)
|27 | addProperty(name: "explanation", value: self.explanation)
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:26:5: error: conformance of 'Array<Element>' to 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
|24 | addProperty(name: "disposition", value: self.disposition)
|25 | addProperty(name: "edits", value: self.edits)
|26 | addProperty(name: "revisedSourceLines", value: self.revisedSourceLines)
| | |- error: conformance of 'Array<Element>' to 'Generable' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|27 | addProperty(name: "explanation", value: self.explanation)
|28 | addProperty(name: "assumptions", value: self.assumptions)
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:27:5: error: conformance of 'String' to 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|25 | addProperty(name: "edits", value: self.edits)
|26 | addProperty(name: "revisedSourceLines", value: self.revisedSourceLines)
|27 | addProperty(name: "explanation", value: self.explanation)
| | |- error: conformance of 'String' to 'Generable' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|28 | addProperty(name: "assumptions", value: self.assumptions)
|29 | addProperty(name: "unresolvedRisks", value: self.unresolvedRisks)
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:28:5: error: conformance of 'Array<Element>' to 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|26 | addProperty(name: "revisedSourceLines", value: self.revisedSourceLines)
|27 | addProperty(name: "explanation", value: self.explanation)
|28 | addProperty(name: "assumptions", value: self.assumptions)
| | |- error: conformance of 'Array<Element>' to 'Generable' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|29 | addProperty(name: "unresolvedRisks", value: self.unresolvedRisks)
|30 | return GeneratedContent(
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:29:5: error: conformance of 'Array<Element>' to 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|27 | addProperty(name: "explanation", value: self.explanation)
|28 | addProperty(name: "assumptions", value: self.assumptions)
|29 | addProperty(name: "unresolvedRisks", value: self.unresolvedRisks)
| | |- error: conformance of 'Array<Element>' to 'Generable' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|30 | return GeneratedContent(
|31 | properties: properties,
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:30:12: error: 'GeneratedContent' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|28 | addProperty(name: "assumptions", value: self.assumptions)
|29 | addProperty(name: "unresolvedRisks", value: self.unresolvedRisks)
|30 | return GeneratedContent(
| | |- error: 'GeneratedContent' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|31 | properties: properties,
|32 | uniquingKeysWith: { _, second in
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:30:12: error: 'init(properties:id:uniquingKeysWith:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|28 | addProperty(name: "assumptions", value: self.assumptions)
|29 | addProperty(name: "unresolvedRisks", value: self.unresolvedRisks)
|30 | return GeneratedContent(
| | |- error: 'init(properties:id:uniquingKeysWith:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|31 | properties: properties,
|32 | uniquingKeysWith: { _, second in
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:36:48: error: 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|34 | }
|35 | )
|36 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in visionOS 26.0 or newer
|37 | properties.append((name: name, value: value))
|38 | }
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:36:48: error: 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|34 | }
|35 | )
|36 | func addProperty(name: String, value: some Generable) {
| | `- error: 'Generable' is only available in visionOS 26.0 or newer
|37 | properties.append((name: name, value: value))
|38 | }
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:39:49: error: 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|37 | properties.append((name: name, value: value))
|38 | }
|39 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in visionOS 26.0 or newer
|40 | if explicitNil || value != nil {
|41 | properties.append((name: name, value: value))
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:39:49: error: 'Generable' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|37 | properties.append((name: name, value: value))
|38 | }
|39 | func addProperty(name: String, value: (some Generable)?) {
| | `- error: 'Generable' is only available in visionOS 26.0 or newer
|40 | if explicitNil || value != nil {
|41 | properties.append((name: name, value: value))
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:41:47: error: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
| `- note: add '@available' attribute to enclosing struct
42 | @Guide(
43 | description:
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|19 | }
|20 |
|21 | nonisolated var generatedContent: GeneratedContent {
| | `- note: add '@available' attribute to enclosing property
|22 | let explicitNil = false
|23 | var properties = [(name: String, value: any ConvertibleToGeneratedContent)]()
| :
|39 | func addProperty(name: String, value: (some Generable)?) {
|40 | if explicitNil || value != nil {
|41 | properties.append((name: name, value: value))
| | |- error: conformance of 'Optional<Wrapped>' to 'ConvertibleToGeneratedContent' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|42 | }
|43 | }
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:55:33: error: 'GenerationID' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
| :
|52 | var assumptions: [String].PartiallyGenerated?
|53 | var unresolvedRisks: [String].PartiallyGenerated?
|54 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|55 | self.id = content.id ?? GenerationID()
| | |- error: 'GenerationID' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|56 | self.disposition = try content.value(forProperty: "disposition")
|57 | self.edits = try content.value(forProperty: "edits")
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:55:33: error: 'init()' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
| :
|52 | var assumptions: [String].PartiallyGenerated?
|53 | var unresolvedRisks: [String].PartiallyGenerated?
|54 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|55 | self.id = content.id ?? GenerationID()
| | |- error: 'init()' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|56 | self.disposition = try content.value(forProperty: "disposition")
|57 | self.edits = try content.value(forProperty: "edits")
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:56:40: error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
| :
|52 | var assumptions: [String].PartiallyGenerated?
|53 | var unresolvedRisks: [String].PartiallyGenerated?
|54 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|55 | self.id = content.id ?? GenerationID()
|56 | self.disposition = try content.value(forProperty: "disposition")
| | |- error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|57 | self.edits = try content.value(forProperty: "edits")
|58 | self.revisedSourceLines = try content.value(forProperty: "revisedSourceLines")
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:57:34: error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
| :
|52 | var assumptions: [String].PartiallyGenerated?
|53 | var unresolvedRisks: [String].PartiallyGenerated?
|54 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|55 | self.id = content.id ?? GenerationID()
|56 | self.disposition = try content.value(forProperty: "disposition")
|57 | self.edits = try content.value(forProperty: "edits")
| | |- error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|58 | self.revisedSourceLines = try content.value(forProperty: "revisedSourceLines")
|59 | self.explanation = try content.value(forProperty: "explanation")
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:58:47: error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
| :
|52 | var assumptions: [String].PartiallyGenerated?
|53 | var unresolvedRisks: [String].PartiallyGenerated?
|54 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|55 | self.id = content.id ?? GenerationID()
|56 | self.disposition = try content.value(forProperty: "disposition")
|57 | self.edits = try content.value(forProperty: "edits")
|58 | self.revisedSourceLines = try content.value(forProperty: "revisedSourceLines")
| | |- error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|59 | self.explanation = try content.value(forProperty: "explanation")
|60 | self.assumptions = try content.value(forProperty: "assumptions")
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:59:40: error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
| :
|52 | var assumptions: [String].PartiallyGenerated?
|53 | var unresolvedRisks: [String].PartiallyGenerated?
|54 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|55 | self.id = content.id ?? GenerationID()
|56 | self.disposition = try content.value(forProperty: "disposition")
|57 | self.edits = try content.value(forProperty: "edits")
|58 | self.revisedSourceLines = try content.value(forProperty: "revisedSourceLines")
|59 | self.explanation = try content.value(forProperty: "explanation")
| | |- error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|60 | self.assumptions = try content.value(forProperty: "assumptions")
|61 | self.unresolvedRisks = try content.value(forProperty: "unresolvedRisks")
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:60:40: error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
| :
|52 | var assumptions: [String].PartiallyGenerated?
|53 | var unresolvedRisks: [String].PartiallyGenerated?
|54 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|55 | self.id = content.id ?? GenerationID()
|56 | self.disposition = try content.value(forProperty: "disposition")
| :
|58 | self.revisedSourceLines = try content.value(forProperty: "revisedSourceLines")
|59 | self.explanation = try content.value(forProperty: "explanation")
|60 | self.assumptions = try content.value(forProperty: "assumptions")
| | |- error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|61 | self.unresolvedRisks = try content.value(forProperty: "unresolvedRisks")
|62 | }
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
macro expansion @Generable:61:44: error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
`- /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:84:1: note: expanded code originates here
38 |
39 | @available(macOS 26.0, *)
40 | @Generable
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| |- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
| `- note: in expansion of macro 'Generable' on struct 'AppleGeneratedRepairProposal' here
41 | private struct AppleGeneratedRepairProposal {
42 | @Guide(
:
82 | )
83 | var unresolvedRisks: [String]
84 | }
+--- macro expansion @Generable ------------------------------------
|44 | }
|45 |
|46 | nonisolated struct PartiallyGenerated: Identifiable, nonisolated FoundationModels.ConvertibleFromGeneratedContent {
| | `- note: add '@available' attribute to enclosing struct
|47 | var id: GenerationID
|48 | var disposition: String.PartiallyGenerated?
| :
|52 | var assumptions: [String].PartiallyGenerated?
|53 | var unresolvedRisks: [String].PartiallyGenerated?
|54 | nonisolated init(_ content: FoundationModels.GeneratedContent) throws {
| | `- note: add '@available' attribute to enclosing initializer
|55 | self.id = content.id ?? GenerationID()
|56 | self.disposition = try content.value(forProperty: "disposition")
| :
|59 | self.explanation = try content.value(forProperty: "explanation")
|60 | self.assumptions = try content.value(forProperty: "assumptions")
|61 | self.unresolvedRisks = try content.value(forProperty: "unresolvedRisks")
| | |- error: 'value(_:forProperty:)' is only available in visionOS 26.0 or newer
| | `- note: add 'if #available' version check
|62 | }
|63 | }
+-------------------------------------------------------------------
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:145:25: error: 'SystemLanguageModel' is only available in visionOS 26.0 or newer
84 | }
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
| `- note: add '@available' attribute to enclosing struct
87 | private let operatingSystemVersion: OperatingSystemVersion
88 |
:
121 | }
122 |
123 | func contextBudget(
| `- note: add '@available' attribute to enclosing instance method
124 | for context: RepairContext,
125 | options: FoundationModelRepairOptions,
:
143 | cancellation: cancellation
144 | ) {
145 | let model = SystemLanguageModel.default
| |- error: 'SystemLanguageModel' is only available in visionOS 26.0 or newer
| `- note: add 'if #available' version check
146 | let tokenCount = try await model.tokenCount(
147 | for: definition.instructions + "\n" + prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:145:45: error: 'default' is only available in visionOS 26.0 or newer
84 | }
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
| `- note: add '@available' attribute to enclosing struct
87 | private let operatingSystemVersion: OperatingSystemVersion
88 |
:
121 | }
122 |
123 | func contextBudget(
| `- note: add '@available' attribute to enclosing instance method
124 | for context: RepairContext,
125 | options: FoundationModelRepairOptions,
:
143 | cancellation: cancellation
144 | ) {
145 | let model = SystemLanguageModel.default
| |- error: 'default' is only available in visionOS 26.0 or newer
| `- note: add 'if #available' version check
146 | let tokenCount = try await model.tokenCount(
147 | for: definition.instructions + "\n" + prompt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift:146:46: error: 'tokenCount(for:)' is only available in visionOS 26.4 or newer
84 | }
85 |
86 | struct AppleFoundationModelRepairProvider: FoundationModelRepairProviding {
| `- note: add '@available' attribute to enclosing struct
87 | private let operatingSystemVersion: OperatingSystemVersion
88 |
:
121 | }
122 |
123 | func contextBudget(
| `- note: add '@available' attribute to enclosing instance method
124 | for context: RepairContext,
125 | options: FoundationModelRepairOptions,
:
144 | ) {
145 | let model = SystemLanguageModel.default
146 | let tokenCount = try await model.tokenCount(
| |- error: 'tokenCount(for:)' is only available in visionOS 26.4 or newer
| `- note: add 'if #available' version check
147 | for: definition.instructions + "\n" + prompt
148 | )
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Infrastructure/Process/SecretRedactor.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SecretRedactor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Application/RepairTransaction.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile RepairTransaction.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Evidence/CompilerFixItExtractor.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile CompilerFixItExtractor.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Evidence/SerializedDiagnosticReader.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile SerializedDiagnosticReader.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/AppleFoundationModelRepairProvider.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile AppleFoundationModelRepairProvider.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/FoundationModelPrompts.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FoundationModelPrompts.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/FoundationModelRepairContext.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FoundationModelRepairContext.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/FoundationModelRepairModels.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FoundationModelRepairModels.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/SwiftDeltaCore/Repair/Model/FoundationModelRepairPlanner.swift (in target 'SwiftDeltaCore' from project 'SwiftDelta')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-SwiftPerFileCompile FoundationModelRepairPlanner.swift
SwiftDriverJobDiscovery normal arm64 Compiling SwiftSyntaxCompatibility.swift, Syntax.swift, SyntaxChildren.swift, SyntaxCollection.swift, SyntaxHashable.swift, SyntaxIdentifier.swift, SyntaxNodeStructure.swift (in target 'SwiftSyntax' from project 'swift-syntax')
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
2026-09-26 17:10:55.213 xcodebuild[946:5556] [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\ SwiftDeltaCore (in target 'SwiftDeltaCore' from project 'SwiftDelta')
SwiftCompile normal arm64 (in target 'SwiftDeltaCore' from project 'SwiftDelta')
Building workspace SwiftDelta with scheme SwiftDelta-Package
(3 failures)
BUILD FAILURE 6.4 visionOS