The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SnapshotTestingImageRender, reference 1.0.0 (5b54ac), with Swift 6.4 for macOS (SPM) on 18 Sep 2026 23:54:28 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/john-flanagan/SnapshotTestingImageRender.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/john-flanagan/SnapshotTestingImageRender
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 5b54ac2 Initial commit
Cloned https://github.com/john-flanagan/SnapshotTestingImageRender.git
Revision (git rev-parse @):
5b54ac2635209c55f6f5ce0b4485913b2db710a3
SUCCESS checkout https://github.com/john-flanagan/SnapshotTestingImageRender.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/john-flanagan/SnapshotTestingImageRender.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 96]
[Planning deferred tasks]
[25 / 42]
[26 / 43] SnapshotTesting
[36 / 139]
[39 / 139]
[47 / 139]
[49 / 139]
[50 / 139]
[55 / 139]
[58 / 139]
[60 / 139]
[64 / 139]
[69 / 139]
[72 / 139]
[74 / 139]
[75 / 139]
[86 / 139]
[92 / 139]
[98 / 139]
[100 / 139]
[106 / 139]
[110 / 139]
[111 / 139]
[122 / 139] SnapshotTesting
[123 / 139] SnapshotTesting
[129 / 140]
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16416] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (6.34s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.5 (6.96s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5655] Fetching swift-custom-dump
[5656/85638] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump (6.13s)
Fetched https://github.com/swiftlang/swift-syntax (6.13s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (6.74s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6136] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (2.13s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.0 (4.37s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 604.0.0 (0.72s)
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.5
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 604.0.0
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line:     cd /Users/admin/builder

/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingImageRender/SnapshotTestingImageRender.swift:4:61: error: cannot find type 'UIImage' in scope
  2 | import SwiftUI
  3 |
  4 | extension Snapshotting where Value: SwiftUI.View, Format == UIImage {
    |                                                             `- error: cannot find type 'UIImage' in scope
  5 |
  6 |   /// A snapshot strategy for comparing SwiftUI Views based on pixel equality using iOS 16 `ImageRenderer`.
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingImageRender/SnapshotTestingImageRender.swift:36:13: error: cannot find type 'UITraitCollection' in scope
 34 |     layout: SwiftUISnapshotLayout = .sizeThatFits,
 35 |     proposedSize: ProposedViewSize? = nil,
 36 |     traits: UITraitCollection = .init()
    |             `- error: cannot find type 'UITraitCollection' in scope
 37 |     )
 38 |     -> Snapshotting {
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingImageRender/SnapshotTestingImageRender.swift:35:19: error: 'ProposedViewSize' is only available in macOS 13.0 or newer
  2 | import SwiftUI
  3 |
  4 | extension Snapshotting where Value: SwiftUI.View, Format == UIImage {
    | `- note: add '@available' attribute to enclosing extension
  5 |
  6 |   /// A snapshot strategy for comparing SwiftUI Views based on pixel equality using iOS 16 `ImageRenderer`.
    :
 29 |   ///   - proposedSize: The size proposed to the view. See ``SwiftUI/ImageRenderer/proposedSize``.
 30 |   ///   - traits: A trait collection override.
 31 |   public static func imageRender(
    |                      `- note: add '@available' attribute to enclosing static method
 32 |     precision: Float = 1,
 33 |     perceptualPrecision: Float = 1,
 34 |     layout: SwiftUISnapshotLayout = .sizeThatFits,
 35 |     proposedSize: ProposedViewSize? = nil,
    |                   `- error: 'ProposedViewSize' is only available in macOS 13.0 or newer
 36 |     traits: UITraitCollection = .init()
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingImageRender/SnapshotTestingImageRender.swift:58:15: error: cannot find type 'UITraitCollection' in scope
 56 | private struct SnapshottingView<Content: SwiftUI.View>: SwiftUI.View {
 57 |   let layout: SwiftUISnapshotLayout
 58 |   let traits: UITraitCollection
    |               `- error: cannot find type 'UITraitCollection' in scope
 59 |   let content: Content
 60 |
/Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingImageRender/SnapshotTestingImageRender.swift:92:15: error: cannot find type 'UITraitCollection' in scope
 90 |
 91 | private struct TraitsModifier: ViewModifier {
 92 |   let traits: UITraitCollection
    |               `- error: cannot find type 'UITraitCollection' in scope
 93 |
 94 |   func body(content: Content) -> some SwiftUI.View {
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/SnapshotTestingImageRender/SnapshotTestingImageRender.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing/libTestingMacros.dylib\#\#TestingMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SnapshotTestingImageRender.build/Debug/SnapshotTestingImageRender-t.build/Objects-normal/arm64/SnapshotTestingImageRender-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SnapshotTestingImageRender.build/Debug/SnapshotTestingImageRender-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SnapshotTestingImageRender.build/Debug/SnapshotTestingImageRender-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SnapshotTestingImageRender.build/Debug/SnapshotTestingImageRender-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SnapshotTestingImageRender -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SnapshotTestingImageRender.build/Debug/SnapshotTestingImageRender-t.build/Objects-normal/arm64/SnapshotTestingImageRender_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SnapshotTestingImageRender.build/Debug/SnapshotTestingImageRender-t.build/Objects-normal/arm64/SnapshotTestingImageRender.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SnapshotTestingImageRender.build/Debug/SnapshotTestingImageRender-t.build/Objects-normal/arm64/SnapshotTestingImageRender.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SnapshotTestingImageRender.build/Debug/SnapshotTestingImageRender-t.build/Objects-normal/arm64/SnapshotTestingImageRender-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SnapshotTestingImageRender.build/Debug/SnapshotTestingImageRender-t.build/Objects-normal/arm64/SnapshotTestingImageRender-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SnapshotTestingImageRender.build/Debug/SnapshotTestingImageRender-t.build/Objects-normal/arm64/SnapshotTestingImageRender-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SnapshotTestingImageRender.build/Debug/SnapshotTestingImageRender-t.build/Objects-normal/arm64/SnapshotTestingImageRender.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SnapshotTestingImageRender.build/Debug/SnapshotTestingImageRender-t.build/Objects-normal/arm64/SnapshotTestingImageRender.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm