Build Information
Failed to build SnapshotTestingStitch, reference 1.2.0 (8e5e51
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 04:53:31 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sherlouk/swift-snapshot-testing-stitch.git
Reference: 1.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sherlouk/swift-snapshot-testing-stitch
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at 8e5e510 Merge pull request #6 from alexey1312/feature/addHEICformat
Cloned https://github.com/sherlouk/swift-snapshot-testing-stitch.git
Revision (git rev-parse @):
8e5e510f85127550f75b94523e727185b54d8749
SUCCESS checkout https://github.com/sherlouk/swift-snapshot-testing-stitch.git at 1.2.0
Fetching https://github.com/alexey1312/SnapshotTestingHEIC.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/194] Fetching snapshottestingheic
Fetched https://github.com/alexey1312/SnapshotTestingHEIC.git from cache (0.81s)
[1/12436] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.77s)
Computing version for https://github.com/alexey1312/SnapshotTestingHEIC.git
Computed https://github.com/alexey1312/SnapshotTestingHEIC.git at 1.0.1 (0.67s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.9.0 (0.69s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.9.0
Creating working copy for https://github.com/alexey1312/SnapshotTestingHEIC.git
Working copy of https://github.com/alexey1312/SnapshotTestingHEIC.git resolved at 1.0.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-snapshot-testing-stitch",
"name": "SnapshotTestingStitch",
"url": "https://github.com/sherlouk/swift-snapshot-testing-stitch.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing-stitch",
"dependencies": [
{
"identity": "swift-snapshot-testing",
"name": "swift-snapshot-testing",
"url": "https://github.com/pointfreeco/swift-snapshot-testing.git",
"version": "1.17.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing",
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax",
"version": "600.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
},
{
"identity": "snapshottestingheic",
"name": "SnapshotTestingHEIC",
"url": "https://github.com/alexey1312/SnapshotTestingHEIC.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SnapshotTestingHEIC",
"dependencies": [
{
"identity": "swift-snapshot-testing",
"name": "swift-snapshot-testing",
"url": "https://github.com/pointfreeco/swift-snapshot-testing.git",
"version": "1.17.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing",
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax",
"version": "600.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
]
}
]
}
Fetching https://github.com/sherlouk/swift-snapshot-testing-stitch.git
[1/221] Fetching swift-snapshot-testing-stitch
Fetched https://github.com/sherlouk/swift-snapshot-testing-stitch.git from cache (0.81s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetching https://github.com/alexey1312/SnapshotTestingHEIC.git from cache
Fetched https://github.com/alexey1312/SnapshotTestingHEIC.git from cache (0.55s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.55s)
Computing version for https://github.com/alexey1312/SnapshotTestingHEIC.git
Computed https://github.com/alexey1312/SnapshotTestingHEIC.git at 1.5.0 (0.69s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.6 (0.65s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66399] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.91s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.74s)
Creating working copy for https://github.com/alexey1312/SnapshotTestingHEIC.git
Working copy of https://github.com/alexey1312/SnapshotTestingHEIC.git resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.17.6
Creating working copy for https://github.com/sherlouk/swift-snapshot-testing-stitch.git
Working copy of https://github.com/sherlouk/swift-snapshot-testing-stitch.git resolved at 1.2.0 (8e5e510)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
warning: '.resolve-product-dependencies': dependency 'swift-snapshot-testing-stitch' is not used by any target
Found 2 product dependencies
- swift-snapshot-testing
- SnapshotTestingHEIC
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/sherlouk/swift-snapshot-testing-stitch.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/35] Emitting module SnapshotTesting
[6/38] Compiling SnapshotTesting AssertInlineSnapshot.swift
[7/38] Compiling SnapshotTesting AssertSnapshot.swift
[8/38] Compiling SnapshotTesting Async.swift
[9/38] Compiling SnapshotTesting Internal.swift
[10/38] Compiling SnapshotTesting Diff.swift
[11/38] Compiling SnapshotTesting Diffing.swift
[12/38] Compiling SnapshotTesting Wait.swift
[13/38] Compiling SnapshotTesting SnapshotTestCase.swift
[14/38] Compiling SnapshotTesting Snapshotting.swift
[15/38] Compiling SnapshotTesting Any.swift
[16/38] Compiling SnapshotTesting CALayer.swift
[17/38] Compiling SnapshotTesting UIView.swift
[18/38] Compiling SnapshotTesting UIViewController.swift
[19/38] Compiling SnapshotTesting URLRequest.swift
[20/38] Compiling SnapshotTesting CGPath.swift
[21/38] Compiling SnapshotTesting CaseIterable.swift
[22/38] Compiling SnapshotTesting Codable.swift
[23/38] Compiling SnapshotTesting SceneKit.swift
[24/38] Compiling SnapshotTesting SpriteKit.swift
[25/38] Compiling SnapshotTesting String.swift
[26/38] Compiling SnapshotTesting NSImage.swift
[27/38] Compiling SnapshotTesting NSView.swift
[28/38] Compiling SnapshotTesting NSViewController.swift
[29/38] Compiling SnapshotTesting PlistEncoder.swift
[30/38] Compiling SnapshotTesting String+SpecialCharacters.swift
[31/38] Compiling SnapshotTesting View.swift
[32/38] Compiling SnapshotTesting XCTAttachment.swift
[33/38] Compiling SnapshotTesting Data.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:44:8: error: 'curveTo' is only available in macOS 11.0 or newer
27 | }
28 |
29 | extension Snapshotting where Value == NSBezierPath, Format == String {
| `- note: add @available attribute to enclosing extension
30 | /// A snapshot strategy for comparing bezier paths based on pixel equality.
31 | @available(iOS 11.0, *)
:
38 | /// - Parameter numberFormatter: The number formatter used for formatting points.
39 | @available(iOS 11.0, *)
40 | public static func elementsDescription(numberFormatter: NumberFormatter) -> Snapshotting {
| `- note: add @available attribute to enclosing static method
41 | let namesByType: [NSBezierPath.ElementType: String] = [
42 | .moveTo: "MoveTo",
43 | .lineTo: "LineTo",
44 | .curveTo: "CurveTo",
| |- error: 'curveTo' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
45 | .closePath: "Close",
46 | ]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:51:8: error: 'curveTo' is only available in macOS 11.0 or newer
27 | }
28 |
29 | extension Snapshotting where Value == NSBezierPath, Format == String {
| `- note: add @available attribute to enclosing extension
30 | /// A snapshot strategy for comparing bezier paths based on pixel equality.
31 | @available(iOS 11.0, *)
:
38 | /// - Parameter numberFormatter: The number formatter used for formatting points.
39 | @available(iOS 11.0, *)
40 | public static func elementsDescription(numberFormatter: NumberFormatter) -> Snapshotting {
| `- note: add @available attribute to enclosing static method
41 | let namesByType: [NSBezierPath.ElementType: String] = [
42 | .moveTo: "MoveTo",
:
49 | .moveTo: 1,
50 | .lineTo: 1,
51 | .curveTo: 3,
| |- error: 'curveTo' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
52 | .closePath: 0,
53 | ]
[34/38] Compiling SnapshotTesting Description.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:44:8: error: 'curveTo' is only available in macOS 11.0 or newer
27 | }
28 |
29 | extension Snapshotting where Value == NSBezierPath, Format == String {
| `- note: add @available attribute to enclosing extension
30 | /// A snapshot strategy for comparing bezier paths based on pixel equality.
31 | @available(iOS 11.0, *)
:
38 | /// - Parameter numberFormatter: The number formatter used for formatting points.
39 | @available(iOS 11.0, *)
40 | public static func elementsDescription(numberFormatter: NumberFormatter) -> Snapshotting {
| `- note: add @available attribute to enclosing static method
41 | let namesByType: [NSBezierPath.ElementType: String] = [
42 | .moveTo: "MoveTo",
43 | .lineTo: "LineTo",
44 | .curveTo: "CurveTo",
| |- error: 'curveTo' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
45 | .closePath: "Close",
46 | ]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:51:8: error: 'curveTo' is only available in macOS 11.0 or newer
27 | }
28 |
29 | extension Snapshotting where Value == NSBezierPath, Format == String {
| `- note: add @available attribute to enclosing extension
30 | /// A snapshot strategy for comparing bezier paths based on pixel equality.
31 | @available(iOS 11.0, *)
:
38 | /// - Parameter numberFormatter: The number formatter used for formatting points.
39 | @available(iOS 11.0, *)
40 | public static func elementsDescription(numberFormatter: NumberFormatter) -> Snapshotting {
| `- note: add @available attribute to enclosing static method
41 | let namesByType: [NSBezierPath.ElementType: String] = [
42 | .moveTo: "MoveTo",
:
49 | .moveTo: 1,
50 | .lineTo: 1,
51 | .curveTo: 3,
| |- error: 'curveTo' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
52 | .closePath: 0,
53 | ]
[35/38] Compiling SnapshotTesting NSBezierPath.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:44:8: error: 'curveTo' is only available in macOS 11.0 or newer
27 | }
28 |
29 | extension Snapshotting where Value == NSBezierPath, Format == String {
| `- note: add @available attribute to enclosing extension
30 | /// A snapshot strategy for comparing bezier paths based on pixel equality.
31 | @available(iOS 11.0, *)
:
38 | /// - Parameter numberFormatter: The number formatter used for formatting points.
39 | @available(iOS 11.0, *)
40 | public static func elementsDescription(numberFormatter: NumberFormatter) -> Snapshotting {
| `- note: add @available attribute to enclosing static method
41 | let namesByType: [NSBezierPath.ElementType: String] = [
42 | .moveTo: "MoveTo",
43 | .lineTo: "LineTo",
44 | .curveTo: "CurveTo",
| |- error: 'curveTo' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
45 | .closePath: "Close",
46 | ]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:51:8: error: 'curveTo' is only available in macOS 11.0 or newer
27 | }
28 |
29 | extension Snapshotting where Value == NSBezierPath, Format == String {
| `- note: add @available attribute to enclosing extension
30 | /// A snapshot strategy for comparing bezier paths based on pixel equality.
31 | @available(iOS 11.0, *)
:
38 | /// - Parameter numberFormatter: The number formatter used for formatting points.
39 | @available(iOS 11.0, *)
40 | public static func elementsDescription(numberFormatter: NumberFormatter) -> Snapshotting {
| `- note: add @available attribute to enclosing static method
41 | let namesByType: [NSBezierPath.ElementType: String] = [
42 | .moveTo: "MoveTo",
:
49 | .moveTo: 1,
50 | .lineTo: 1,
51 | .curveTo: 3,
| |- error: 'curveTo' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
52 | .closePath: 0,
53 | ]
[36/38] Compiling SnapshotTesting SwiftUIView.swift
[37/38] Compiling SnapshotTesting UIBezierPath.swift
[38/38] Compiling SnapshotTesting UIImage.swift
BUILD FAILURE 6.0 macosSpm