The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftSnapshotDocumentation, reference 2.0.0 (caf76f), with Swift 6.2 for macOS (SPM) on 29 Jun 2026 08:20:53 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sasha-riabchuk/SwiftSnapshotDocumentation.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sasha-riabchuk/SwiftSnapshotDocumentation
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at caf76f6 chore: ignore generated .swiftpm/ and *.xcresult
Cloned https://github.com/sasha-riabchuk/SwiftSnapshotDocumentation.git
Revision (git rev-parse @):
caf76f662a4ad353888a537f98a706ca8369af2c
SUCCESS checkout https://github.com/sasha-riabchuk/SwiftSnapshotDocumentation.git at 2.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sasha-riabchuk/SwiftSnapshotDocumentation.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[3/5] Copying FlowExplorerAssets
[4/5] Write swift-version--3CB7CFEC50E0D141.txt
[6/37] Emitting module SnapshotTesting
[7/37] Compiling SnapshotTesting Diffing.swift
[8/37] Compiling SnapshotTesting Wait.swift
[9/37] Compiling SnapshotTesting Deprecations.swift
[10/37] Compiling SnapshotTesting RecordIssue.swift
[11/40] Compiling SnapshotTesting SceneKit.swift
[12/40] Compiling SnapshotTesting SpriteKit.swift
[13/40] Compiling SnapshotTesting String.swift
[14/40] Compiling SnapshotTesting NSImage.swift
[15/40] Compiling SnapshotTesting NSView.swift
[16/40] Compiling SnapshotTesting NSViewController.swift
[17/40] Compiling SnapshotTesting CALayer.swift
[18/40] Compiling SnapshotTesting CGPath.swift
[19/40] Compiling SnapshotTesting CaseIterable.swift
[20/40] Compiling SnapshotTesting Data.swift
[21/40] Compiling SnapshotTesting Encodable.swift
[22/40] Compiling SnapshotTesting NSBezierPath.swift
[23/40] Compiling SnapshotTesting AssertSnapshot.swift
[24/40] Compiling SnapshotTesting Async.swift
[25/40] Compiling SnapshotTesting Internal.swift
[26/40] Compiling SnapshotTesting PlistEncoder.swift
[27/40] Compiling SnapshotTesting UIView.swift
[28/40] Compiling SnapshotTesting UIViewController.swift
[29/40] Compiling SnapshotTesting URLRequest.swift
[30/40] Compiling SnapshotTesting SnapshotTestingConfiguration.swift
[31/40] Compiling SnapshotTesting SnapshotsTestTrait.swift
[32/40] Compiling SnapshotTesting Snapshotting.swift
[33/40] Compiling SnapshotTesting Any.swift
[34/40] Compiling SnapshotTesting String+SpecialCharacters.swift
[35/40] Compiling SnapshotTesting View.swift
[36/40] Compiling SnapshotTesting XCTAttachment.swift
[37/40] Compiling SnapshotTesting Diff.swift
[38/40] Compiling SnapshotTesting SwiftUIView.swift
[39/40] Compiling SnapshotTesting UIBezierPath.swift
[40/40] Compiling SnapshotTesting UIImage.swift
[41/59] Compiling SwiftSnapshotDocumentation ThemeConfiguration.swift
[42/59] Compiling SwiftSnapshotDocumentation SwiftSnapshotDocumentation.swift
[43/59] Compiling SwiftSnapshotDocumentation ScreenTransition.swift
[44/59] Compiling SwiftSnapshotDocumentation SnapshotRecordMode.swift
[45/59] Compiling SwiftSnapshotDocumentation DocumentedScreen.swift
[46/59] Compiling SwiftSnapshotDocumentation ExportedFeature.swift
[47/60] Compiling SwiftSnapshotDocumentation FlowData.swift
[48/60] Compiling SwiftSnapshotDocumentation GeneratedCatalog.swift
[49/60] Compiling SwiftSnapshotDocumentation resource_bundle_accessor.swift
[50/60] Compiling SwiftSnapshotDocumentation DocumentationConfiguration.swift
[51/60] Compiling SwiftSnapshotDocumentation DocumentationError.swift
[52/60] Compiling SwiftSnapshotDocumentation DocumentedFlow.swift
[53/60] Compiling SwiftSnapshotDocumentation FlowEdgeResolver.swift
[54/60] Compiling SwiftSnapshotDocumentation DeviceConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentation/Models/DeviceConfiguration.swift:52:16: warning: stored property 'viewImageConfig' of 'Sendable'-conforming struct 'DeviceConfiguration' has non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 50 |     public let viewImageConfig: ViewImageConfig
 51 |     #else
 52 |     public let viewImageConfig: Any
    |                `- warning: stored property 'viewImageConfig' of 'Sendable'-conforming struct 'DeviceConfiguration' has non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 53 |     #endif
 54 |
[55/60] Compiling SwiftSnapshotDocumentation DeviceFrame.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentation/Models/DeviceConfiguration.swift:52:16: warning: stored property 'viewImageConfig' of 'Sendable'-conforming struct 'DeviceConfiguration' has non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 50 |     public let viewImageConfig: ViewImageConfig
 51 |     #else
 52 |     public let viewImageConfig: Any
    |                `- warning: stored property 'viewImageConfig' of 'Sendable'-conforming struct 'DeviceConfiguration' has non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 53 |     #endif
 54 |
[56/60] Compiling SwiftSnapshotDocumentation FlowExplorerExporter.swift
[57/60] Compiling SwiftSnapshotDocumentation SnapshotImageCopier.swift
[58/60] Compiling SwiftSnapshotDocumentation DeviceFrameRenderer.swift
[59/60] Compiling SwiftSnapshotDocumentation DoCCGenerator.swift
[60/60] Emitting module SwiftSnapshotDocumentation
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentation/Models/DeviceConfiguration.swift:52:16: warning: stored property 'viewImageConfig' of 'Sendable'-conforming struct 'DeviceConfiguration' has non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 50 |     public let viewImageConfig: ViewImageConfig
 51 |     #else
 52 |     public let viewImageConfig: Any
    |                `- warning: stored property 'viewImageConfig' of 'Sendable'-conforming struct 'DeviceConfiguration' has non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 53 |     #endif
 54 |
[61/67] Compiling SwiftSnapshotDocumentationExamples WelcomeExampleView.swift
[62/67] Compiling SwiftSnapshotDocumentationExamples RegressionExampleViews.swift
[63/67] Compiling SwiftSnapshotDocumentationExamples ProfileFormExampleView.swift
[64/67] Compiling SwiftSnapshotDocumentationExamples ModernSwiftUIExampleViews.swift
[65/67] Emitting module SwiftSnapshotDocumentationExamples
[66/67] Compiling SwiftSnapshotDocumentationExamples LoginExampleView.swift
[67/67] Compiling SwiftSnapshotDocumentationExamples IOSComponentsExampleViews.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:31:46: error: reference to member 'systemGray5' cannot be resolved without a contextual type
 29 |                         HStack(spacing: 12) {
 30 |                             RoundedRectangle(cornerRadius: 8)
 31 |                                 .fill(Color(.systemGray5))
    |                                              `- error: reference to member 'systemGray5' cannot be resolved without a contextual type
 32 |                                 .frame(width: 44, height: 44)
 33 |                             VStack(alignment: .leading, spacing: 3) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:48:28: error: reference to member 'systemBackground' cannot be resolved without a contextual type
 46 |         }
 47 |         .frame(maxWidth: .infinity, maxHeight: .infinity, alignment: .topLeading)
 48 |         .background(Color(.systemBackground))
    |                            `- error: reference to member 'systemBackground' cannot be resolved without a contextual type
 49 |     }
 50 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:80:32: error: reference to member 'tertiarySystemBackground' cannot be resolved without a contextual type
 78 |             }
 79 |             .frame(width: 270)
 80 |             .background(Color(.tertiarySystemBackground), in: RoundedRectangle(cornerRadius: 14))
    |                                `- error: reference to member 'tertiarySystemBackground' cannot be resolved without a contextual type
 81 |         }
 82 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:101:36: error: reference to member 'tertiarySystemBackground' cannot be resolved without a contextual type
 99 |                     sheetRow("Remove Photo", color: .red)
100 |                 }
101 |                 .background(Color(.tertiarySystemBackground), in: RoundedRectangle(cornerRadius: 14))
    |                                    `- error: reference to member 'tertiarySystemBackground' cannot be resolved without a contextual type
102 |                 Text("Cancel").fontWeight(.semibold).foregroundStyle(.blue)
103 |                     .frame(maxWidth: .infinity).frame(height: 57)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:123:39: error: reference to member 'systemGray3' cannot be resolved without a contextual type
121 |             Color.black.opacity(0.12).ignoresSafeArea()
122 |             VStack(spacing: 0) {
123 |                 Capsule().fill(Color(.systemGray3)).frame(width: 36, height: 5).padding(.top, 6).padding(.bottom, 14)
    |                                       `- error: reference to member 'systemGray3' cannot be resolved without a contextual type
124 |                 Text("New Reminder").font(.title3.bold()).frame(maxWidth: .infinity, alignment: .leading)
125 |                     .padding(.horizontal, 20)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:141:32: error: reference to member 'systemBackground' cannot be resolved without a contextual type
139 |             .frame(maxWidth: .infinity)
140 |             .frame(height: 420)
141 |             .background(Color(.systemBackground), in: UnevenRoundedRectangle(topLeadingRadius: 16, topTrailingRadius: 16))
    |                                `- error: reference to member 'systemBackground' cannot be resolved without a contextual type
142 |         }
143 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:176:28: error: reference to member 'systemBackground' cannot be resolved without a contextual type
174 |         }
175 |         .frame(maxWidth: .infinity, maxHeight: .infinity)
176 |         .background(Color(.systemBackground))
    |                            `- error: reference to member 'systemBackground' cannot be resolved without a contextual type
177 |     }
178 |     private func composeRow(_ label: String, _ value: String) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:203:36: error: reference to member 'tertiarySystemBackground' cannot be resolved without a contextual type
201 |                 }
202 |                 .frame(width: 230)
203 |                 .background(Color(.tertiarySystemBackground), in: RoundedRectangle(cornerRadius: 12))
    |                                    `- error: reference to member 'tertiarySystemBackground' cannot be resolved without a contextual type
204 |             }
205 |             .padding(.top, 120).padding(.trailing, 24)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:229:20: error: reference to member 'systemGroupedBackground' cannot be resolved without a contextual type
227 |     private func placeholder(_ title: String) -> some View {
228 |         ZStack {
229 |             Color(.systemGroupedBackground).ignoresSafeArea()
    |                    `- error: reference to member 'systemGroupedBackground' cannot be resolved without a contextual type
230 |             VStack(spacing: 10) {
231 |                 Image(systemName: "square.grid.2x2.fill").font(.system(size: 44)).foregroundStyle(.blue)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:257:41: error: 'topBarTrailing' is unavailable in macOS
255 |             .navigationTitle("Settings")
256 |             .toolbar {
257 |                 ToolbarItem(placement: .topBarTrailing) { Image(systemName: "magnifyingglass") }
    |                                         `- error: 'topBarTrailing' is unavailable in macOS
258 |                 ToolbarItem(placement: .topBarLeading) { Image(systemName: "person.crop.circle") }
259 |             }
SwiftUI.ToolbarItemPlacement.topBarTrailing:5:21: note: 'topBarTrailing' has been explicitly marked unavailable here
3 |   @backDeployed(before: iOS 17.0, tvOS 17.0)
4 |   @available(macOS, unavailable)
5 |   public static var topBarTrailing: ToolbarItemPlacement { get }}
  |                     `- note: 'topBarTrailing' has been explicitly marked unavailable here
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:258:41: error: 'topBarLeading' is unavailable in macOS
256 |             .toolbar {
257 |                 ToolbarItem(placement: .topBarTrailing) { Image(systemName: "magnifyingglass") }
258 |                 ToolbarItem(placement: .topBarLeading) { Image(systemName: "person.crop.circle") }
    |                                         `- error: 'topBarLeading' is unavailable in macOS
259 |             }
260 |         }
SwiftUI.ToolbarItemPlacement.topBarLeading:5:21: note: 'topBarLeading' has been explicitly marked unavailable here
3 |   @backDeployed(before: iOS 17.0, tvOS 17.0)
4 |   @available(macOS, unavailable)
5 |   public static var topBarLeading: ToolbarItemPlacement { get }}
  |                     `- note: 'topBarLeading' has been explicitly marked unavailable here
6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:290:32: error: reference to member 'tertiarySystemBackground' cannot be resolved without a contextual type
288 |             }
289 |             .padding(.horizontal, 16).padding(.vertical, 12)
290 |             .background(Color(.tertiarySystemBackground), in: Capsule())
    |                                `- error: reference to member 'tertiarySystemBackground' cannot be resolved without a contextual type
291 |             .overlay(Capsule().strokeBorder(Color(.separator).opacity(0.4)))
292 |             .shadow(color: .black.opacity(0.12), radius: 12, y: 4)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:291:45: error: initializer 'init(_:)' requires the types 'SeparatorShapeStyle.Resolved' (aka 'Never') and 'Color.Resolved' be equivalent
289 |             .padding(.horizontal, 16).padding(.vertical, 12)
290 |             .background(Color(.tertiarySystemBackground), in: Capsule())
291 |             .overlay(Capsule().strokeBorder(Color(.separator).opacity(0.4)))
    |                                             `- error: initializer 'init(_:)' requires the types 'SeparatorShapeStyle.Resolved' (aka 'Never') and 'Color.Resolved' be equivalent
292 |             .shadow(color: .black.opacity(0.12), radius: 12, y: 4)
293 |             .padding(.horizontal, 16).padding(.top, 56)
SwiftUI.Color.init:3:10: note: where 'T.Resolved' = 'SeparatorShapeStyle.Resolved' (aka 'Never')
1 | struct Color {
2 | @available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *)
3 |   public init<T>(_ color: T) where T : Hashable, T : ShapeStyle, T.Resolved == Color.Resolved}
  |          `- note: where 'T.Resolved' = 'SeparatorShapeStyle.Resolved' (aka 'Never')
4 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSnapshotDocumentationExamples/Views/IOSComponentsExampleViews.swift:291:45: error: initializer 'init(_:)' requires that 'SeparatorShapeStyle' conform to 'Hashable'
289 |             .padding(.horizontal, 16).padding(.vertical, 12)
290 |             .background(Color(.tertiarySystemBackground), in: Capsule())
291 |             .overlay(Capsule().strokeBorder(Color(.separator).opacity(0.4)))
    |                                             `- error: initializer 'init(_:)' requires that 'SeparatorShapeStyle' conform to 'Hashable'
292 |             .shadow(color: .black.opacity(0.12), radius: 12, y: 4)
293 |             .padding(.horizontal, 16).padding(.top, 56)
SwiftUI.Color.init:3:10: note: where 'T' = 'SeparatorShapeStyle'
1 | struct Color {
2 | @available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *)
3 |   public init<T>(_ color: T) where T : Hashable, T : ShapeStyle, T.Resolved == Color.Resolved}
  |          `- note: where 'T' = 'SeparatorShapeStyle'
4 |
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16173] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.62s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.2 (5.23s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5609] Fetching swift-custom-dump
[5610/81359] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (4.27s)
Fetched https://github.com/swiftlang/swift-syntax from cache (4.27s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.6.1 (4.90s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5891] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.31s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 603.0.2 (4.48s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.10.1 (0.56s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.6.1
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.10.1
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.2
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 603.0.2
warning: 'spi-builder-workspace': Invalid Resource 'Resources': File not found.
BUILD FAILURE 6.2 macosSpm