Build Information
Failed to build AccessibilitySnapshotColorBlindness with Swift 6.0 (beta) for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/sherlouk/AccessibilitySnapshotColorBlindness.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[4/34] Emitting module SnapshotTesting
[5/37] Compiling SnapshotTesting AssertInlineSnapshot.swift
[6/37] Compiling SnapshotTesting AssertSnapshot.swift
[7/37] Compiling SnapshotTesting Async.swift
[8/37] Compiling SnapshotTesting Internal.swift
[9/37] Compiling SnapshotTesting NSImage.swift
[10/37] Compiling SnapshotTesting NSView.swift
[11/37] Compiling SnapshotTesting NSViewController.swift
[12/37] Compiling SnapshotTesting UIView.swift
[13/37] Compiling SnapshotTesting UIViewController.swift
[14/37] Compiling SnapshotTesting URLRequest.swift
[15/37] Compiling SnapshotTesting CGPath.swift
[16/37] Compiling SnapshotTesting CaseIterable.swift
[17/37] Compiling SnapshotTesting Codable.swift
[18/37] Compiling SnapshotTesting Snapshotting.swift
[19/37] Compiling SnapshotTesting Any.swift
[20/37] Compiling SnapshotTesting CALayer.swift
[21/37] Compiling SnapshotTesting SceneKit.swift
[22/37] Compiling SnapshotTesting SpriteKit.swift
[23/37] Compiling SnapshotTesting String.swift
[24/37] Compiling SnapshotTesting PlistEncoder.swift
[25/37] Compiling SnapshotTesting String+SpecialCharacters.swift
[26/37] Compiling SnapshotTesting View.swift
[27/37] Compiling SnapshotTesting XCTAttachment.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: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/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 | ]
[37/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 | ]
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/11249] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (4.78s)
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.76s)
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
BUILD FAILURE 6.0 macosSpm