Build Information
Failed to build AccessibilitySnapshotColorBlindness, reference main (b89d10
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 01:30:53 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sherlouk/AccessibilitySnapshotColorBlindness.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sherlouk/AccessibilitySnapshotColorBlindness
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b89d10f Add Example to README
Cloned https://github.com/sherlouk/AccessibilitySnapshotColorBlindness.git
Revision (git rev-parse @):
b89d10fca1c870ea877bd416057c984f866111e9
SUCCESS checkout https://github.com/sherlouk/AccessibilitySnapshotColorBlindness.git at main
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/12447] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (3.95s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.8.2 (0.60s)
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.8.2
========================================
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": "accessibilitysnapshotcolorblindness",
"name": "AccessibilitySnapshotColorBlindness",
"url": "https://github.com/sherlouk/AccessibilitySnapshotColorBlindness.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AccessibilitySnapshotColorBlindness",
"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/AccessibilitySnapshotColorBlindness.git
[3/40] Fetching accessibilitysnapshotcolorblindness
Fetched https://github.com/sherlouk/AccessibilitySnapshotColorBlindness.git from cache (1.13s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.53s)
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.57s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66683] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (8.28s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.63s)
Creating working copy for https://github.com/sherlouk/AccessibilitySnapshotColorBlindness.git
Working copy of https://github.com/sherlouk/AccessibilitySnapshotColorBlindness.git resolved at main (b89d10f)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
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
warning: '.resolve-product-dependencies': dependency 'accessibilitysnapshotcolorblindness' 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/sherlouk/AccessibilitySnapshotColorBlindness.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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/34] Emitting module SnapshotTesting
[5/37] Compiling SnapshotTesting Diff.swift
[6/37] Compiling SnapshotTesting Diffing.swift
[7/37] Compiling SnapshotTesting Wait.swift
[8/37] Compiling SnapshotTesting SnapshotTestCase.swift
[9/37] Compiling SnapshotTesting AssertInlineSnapshot.swift
[10/37] Compiling SnapshotTesting AssertSnapshot.swift
[11/37] Compiling SnapshotTesting Async.swift
[12/37] Compiling SnapshotTesting Internal.swift
[13/37] Compiling SnapshotTesting Snapshotting.swift
[14/37] Compiling SnapshotTesting Any.swift
[15/37] Compiling SnapshotTesting CALayer.swift
[16/37] Compiling SnapshotTesting UIView.swift
[17/37] Compiling SnapshotTesting UIViewController.swift
[18/37] Compiling SnapshotTesting URLRequest.swift
[19/37] Compiling SnapshotTesting CGPath.swift
[20/37] Compiling SnapshotTesting CaseIterable.swift
[21/37] Compiling SnapshotTesting Codable.swift
[22/37] Compiling SnapshotTesting NSImage.swift
[23/37] Compiling SnapshotTesting NSView.swift
[24/37] Compiling SnapshotTesting NSViewController.swift
[25/37] Compiling SnapshotTesting SceneKit.swift
[26/37] Compiling SnapshotTesting SpriteKit.swift
[27/37] Compiling SnapshotTesting String.swift
[28/37] 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 | ]
[29/37] 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 | ]
[30/37] 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 | ]
[31/37] Compiling SnapshotTesting PlistEncoder.swift
[32/37] Compiling SnapshotTesting String+SpecialCharacters.swift
[33/37] Compiling SnapshotTesting View.swift
[34/37] Compiling SnapshotTesting XCTAttachment.swift
[35/37] Compiling SnapshotTesting SwiftUIView.swift
[36/37] Compiling SnapshotTesting UIBezierPath.swift
[37/37] Compiling SnapshotTesting UIImage.swift
BUILD FAILURE 6.0 macosSpm