Build Information
Failed to build XcodeCloudSnapshotTesting, reference 1.11.0 (389239
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 00:33:17 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/invia-flights/swift-xcode-cloud-snapshot-testing.git
Reference: 1.11.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/invia-flights/swift-xcode-cloud-snapshot-testing
* tag 1.11.0 -> FETCH_HEAD
HEAD is now at 3892396 Create LICENSE.md
Cloned https://github.com/invia-flights/swift-xcode-cloud-snapshot-testing.git
Revision (git rev-parse @):
38923964549899c1ede320b634efb728664c1eeb
SUCCESS checkout https://github.com/invia-flights/swift-xcode-cloud-snapshot-testing.git at 1.11.0
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/12436] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.67s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.11.0 (0.64s)
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.11.0
========================================
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-xcode-cloud-snapshot-testing",
"name": "XcodeCloudSnapshotTesting",
"url": "https://github.com/invia-flights/swift-xcode-cloud-snapshot-testing.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-xcode-cloud-snapshot-testing",
"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/invia-flights/swift-xcode-cloud-snapshot-testing.git
[1/19] Fetching swift-xcode-cloud-snapshot-testing
Fetched https://github.com/invia-flights/swift-xcode-cloud-snapshot-testing.git from cache (0.64s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.59s)
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.62s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66399] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.13s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.73s)
Creating working copy for https://github.com/invia-flights/swift-xcode-cloud-snapshot-testing.git
Working copy of https://github.com/invia-flights/swift-xcode-cloud-snapshot-testing.git resolved at 1.11.0 (3892396)
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/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
warning: '.resolve-product-dependencies': dependency 'swift-xcode-cloud-snapshot-testing' is not used by any target
Found 1 product dependencies
- swift-snapshot-testing
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/invia-flights/swift-xcode-cloud-snapshot-testing.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/34] Emitting module SnapshotTesting
[5/37] Compiling SnapshotTesting NSImage.swift
[6/37] Compiling SnapshotTesting NSView.swift
[7/37] Compiling SnapshotTesting NSViewController.swift
[8/37] Compiling SnapshotTesting UIView.swift
[9/37] Compiling SnapshotTesting UIViewController.swift
[10/37] Compiling SnapshotTesting URLRequest.swift
[11/37] Compiling SnapshotTesting Snapshotting.swift
[12/37] Compiling SnapshotTesting Any.swift
[13/37] Compiling SnapshotTesting CALayer.swift
[14/37] Compiling SnapshotTesting AssertInlineSnapshot.swift
[15/37] Compiling SnapshotTesting AssertSnapshot.swift
[16/37] Compiling SnapshotTesting Async.swift
[17/37] Compiling SnapshotTesting Internal.swift
[18/37] Compiling SnapshotTesting SceneKit.swift
[19/37] Compiling SnapshotTesting SpriteKit.swift
[20/37] Compiling SnapshotTesting String.swift
[21/37] Compiling SnapshotTesting PlistEncoder.swift
[22/37] Compiling SnapshotTesting String+SpecialCharacters.swift
[23/37] Compiling SnapshotTesting View.swift
[24/37] Compiling SnapshotTesting XCTAttachment.swift
[25/37] Compiling SnapshotTesting CGPath.swift
[26/37] Compiling SnapshotTesting CaseIterable.swift
[27/37] Compiling SnapshotTesting Codable.swift
[28/37] Compiling SnapshotTesting Diff.swift
[29/37] Compiling SnapshotTesting Diffing.swift
[30/37] Compiling SnapshotTesting Wait.swift
[31/37] Compiling SnapshotTesting SnapshotTestCase.swift
[32/37] Compiling SnapshotTesting SwiftUIView.swift
[33/37] Compiling SnapshotTesting UIBezierPath.swift
[34/37] Compiling SnapshotTesting UIImage.swift
[35/37] Compiling SnapshotTesting Data.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:46:8: error: 'curveTo' is only available in macOS 11.0 or newer
29 | }
30 |
31 | extension Snapshotting where Value == NSBezierPath, Format == String {
| `- note: add @available attribute to enclosing extension
32 | /// A snapshot strategy for comparing bezier paths based on pixel equality.
33 | @available(iOS 11.0, *)
:
40 | /// - Parameter numberFormatter: The number formatter used for formatting points.
41 | @available(iOS 11.0, *)
42 | public static func elementsDescription(numberFormatter: NumberFormatter) -> Snapshotting {
| `- note: add @available attribute to enclosing static method
43 | let namesByType: [NSBezierPath.ElementType: String] = [
44 | .moveTo: "MoveTo",
45 | .lineTo: "LineTo",
46 | .curveTo: "CurveTo",
| |- error: 'curveTo' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
47 | .closePath: "Close",
48 | ]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:53:8: error: 'curveTo' is only available in macOS 11.0 or newer
29 | }
30 |
31 | extension Snapshotting where Value == NSBezierPath, Format == String {
| `- note: add @available attribute to enclosing extension
32 | /// A snapshot strategy for comparing bezier paths based on pixel equality.
33 | @available(iOS 11.0, *)
:
40 | /// - Parameter numberFormatter: The number formatter used for formatting points.
41 | @available(iOS 11.0, *)
42 | public static func elementsDescription(numberFormatter: NumberFormatter) -> Snapshotting {
| `- note: add @available attribute to enclosing static method
43 | let namesByType: [NSBezierPath.ElementType: String] = [
44 | .moveTo: "MoveTo",
:
51 | .moveTo: 1,
52 | .lineTo: 1,
53 | .curveTo: 3,
| |- error: 'curveTo' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
54 | .closePath: 0,
55 | ]
[36/37] Compiling SnapshotTesting Description.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:46:8: error: 'curveTo' is only available in macOS 11.0 or newer
29 | }
30 |
31 | extension Snapshotting where Value == NSBezierPath, Format == String {
| `- note: add @available attribute to enclosing extension
32 | /// A snapshot strategy for comparing bezier paths based on pixel equality.
33 | @available(iOS 11.0, *)
:
40 | /// - Parameter numberFormatter: The number formatter used for formatting points.
41 | @available(iOS 11.0, *)
42 | public static func elementsDescription(numberFormatter: NumberFormatter) -> Snapshotting {
| `- note: add @available attribute to enclosing static method
43 | let namesByType: [NSBezierPath.ElementType: String] = [
44 | .moveTo: "MoveTo",
45 | .lineTo: "LineTo",
46 | .curveTo: "CurveTo",
| |- error: 'curveTo' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
47 | .closePath: "Close",
48 | ]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:53:8: error: 'curveTo' is only available in macOS 11.0 or newer
29 | }
30 |
31 | extension Snapshotting where Value == NSBezierPath, Format == String {
| `- note: add @available attribute to enclosing extension
32 | /// A snapshot strategy for comparing bezier paths based on pixel equality.
33 | @available(iOS 11.0, *)
:
40 | /// - Parameter numberFormatter: The number formatter used for formatting points.
41 | @available(iOS 11.0, *)
42 | public static func elementsDescription(numberFormatter: NumberFormatter) -> Snapshotting {
| `- note: add @available attribute to enclosing static method
43 | let namesByType: [NSBezierPath.ElementType: String] = [
44 | .moveTo: "MoveTo",
:
51 | .moveTo: 1,
52 | .lineTo: 1,
53 | .curveTo: 3,
| |- error: 'curveTo' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
54 | .closePath: 0,
55 | ]
[37/37] Compiling SnapshotTesting NSBezierPath.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:46:8: error: 'curveTo' is only available in macOS 11.0 or newer
29 | }
30 |
31 | extension Snapshotting where Value == NSBezierPath, Format == String {
| `- note: add @available attribute to enclosing extension
32 | /// A snapshot strategy for comparing bezier paths based on pixel equality.
33 | @available(iOS 11.0, *)
:
40 | /// - Parameter numberFormatter: The number formatter used for formatting points.
41 | @available(iOS 11.0, *)
42 | public static func elementsDescription(numberFormatter: NumberFormatter) -> Snapshotting {
| `- note: add @available attribute to enclosing static method
43 | let namesByType: [NSBezierPath.ElementType: String] = [
44 | .moveTo: "MoveTo",
45 | .lineTo: "LineTo",
46 | .curveTo: "CurveTo",
| |- error: 'curveTo' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
47 | .closePath: "Close",
48 | ]
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-snapshot-testing/Sources/SnapshotTesting/Snapshotting/NSBezierPath.swift:53:8: error: 'curveTo' is only available in macOS 11.0 or newer
29 | }
30 |
31 | extension Snapshotting where Value == NSBezierPath, Format == String {
| `- note: add @available attribute to enclosing extension
32 | /// A snapshot strategy for comparing bezier paths based on pixel equality.
33 | @available(iOS 11.0, *)
:
40 | /// - Parameter numberFormatter: The number formatter used for formatting points.
41 | @available(iOS 11.0, *)
42 | public static func elementsDescription(numberFormatter: NumberFormatter) -> Snapshotting {
| `- note: add @available attribute to enclosing static method
43 | let namesByType: [NSBezierPath.ElementType: String] = [
44 | .moveTo: "MoveTo",
:
51 | .moveTo: 1,
52 | .lineTo: 1,
53 | .curveTo: 3,
| |- error: 'curveTo' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
54 | .closePath: 0,
55 | ]
BUILD FAILURE 6.0 macosSpm