The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GoldenImage, reference main (fd5633), with Swift 6.1 for macOS (SPM) on 25 Apr 2026 04:51:44 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/schwa/GoldenImage.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/schwa/GoldenImage
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at fd56334 Add gain parameter to difference image APIs
Cloned https://github.com/schwa/GoldenImage.git
Revision (git rev-parse @):
fd563344797c3430bdec5e840790c2ca19783967
SUCCESS checkout https://github.com/schwa/GoldenImage.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/schwa/GoldenImage.git
https://github.com/schwa/GoldenImage.git
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    }
  ],
  "manifest_display_name" : "GoldenImage",
  "name" : "GoldenImage",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    }
  ],
  "products" : [
    {
      "name" : "GoldenImage",
      "targets" : [
        "GoldenImage"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "golden-image-compare",
      "targets" : [
        "GoldenImageCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GoldenImageTests",
      "module_type" : "SwiftTarget",
      "name" : "GoldenImageTests",
      "path" : "Tests/GoldenImageTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoldenImageTests/Resources/alpha_blend.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoldenImageTests/Resources/alpha_reference.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoldenImageTests/Resources/edge_aa_a.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoldenImageTests/Resources/edge_aa_b.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoldenImageTests/Resources/hdr_a.exr",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GoldenImageTests/Resources/hdr_b.exr",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "GoldenImageComparisonTests.swift",
        "ImageCompareTests.swift",
        "ImageComparisonOverloadsTests.swift",
        "TestImageGenerator.swift"
      ],
      "target_dependencies" : [
        "GoldenImage"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GoldenImageCLI",
      "module_type" : "SwiftTarget",
      "name" : "GoldenImageCLI",
      "path" : "Sources/GoldenImageCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "golden-image-compare"
      ],
      "sources" : [
        "GoldenImageCLI.swift",
        "PreviewWindow.swift"
      ],
      "target_dependencies" : [
        "GoldenImage"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "GoldenImage",
      "module_type" : "SwiftTarget",
      "name" : "GoldenImage",
      "path" : "Sources/GoldenImage",
      "product_memberships" : [
        "GoldenImage",
        "golden-image-compare"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureComparison.metal",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "CPUCompare.swift",
        "GoldenImageComparison.swift",
        "ImageComparison.swift",
        "Support.swift",
        "TextureCompare.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/12] Write sources
[3/12] Copying TextureComparison.metal
[4/12] Write golden-image-compare-entitlement.plist
[4/12] Write sources
[8/12] Write swift-version-2F0A5646E1D333AE.txt
[10/21] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/21] Emitting module ArgumentParserToolInfo
[12/68] Compiling ArgumentParser InputKey.swift
[13/68] Compiling ArgumentParser InputOrigin.swift
[14/68] Compiling ArgumentParser Name.swift
[15/68] Compiling ArgumentParser Parsed.swift
[16/68] Compiling ArgumentParser ParsedValues.swift
[17/73] Compiling ArgumentParser Platform.swift
[18/73] Compiling ArgumentParser SequenceExtensions.swift
[19/73] Compiling ArgumentParser StringExtensions.swift
[20/73] Compiling ArgumentParser SwiftExtensions.swift
[21/73] Compiling ArgumentParser Tree.swift
[22/73] Emitting module ArgumentParser
[23/73] Compiling ArgumentParser ArgumentHelp.swift
[24/73] Compiling ArgumentParser ArgumentVisibility.swift
[25/73] Compiling ArgumentParser CompletionKind.swift
[26/73] Compiling ArgumentParser Errors.swift
[27/73] Compiling ArgumentParser Flag.swift
[28/73] Compiling ArgumentParser NameSpecification.swift
[29/73] Compiling ArgumentParser Option.swift
[30/73] Compiling ArgumentParser OptionGroup.swift
[31/73] Compiling ArgumentParser ParentCommand.swift
[32/73] Compiling ArgumentParser AsyncParsableCommand.swift
[33/73] Compiling ArgumentParser CodingKeyValidator.swift
[34/73] Compiling ArgumentParser NonsenseFlagsValidator.swift
[35/73] Compiling ArgumentParser ParsableArgumentsValidation.swift
[36/73] Compiling ArgumentParser PositionalArgumentsValidator.swift
[37/73] Compiling ArgumentParser UniqueNamesValidator.swift
[38/73] Compiling ArgumentParser ParserError.swift
[39/73] Compiling ArgumentParser SplitArguments.swift
[40/73] Compiling ArgumentParser DumpHelpGenerator.swift
[41/73] Compiling ArgumentParser HelpCommand.swift
[42/73] Compiling ArgumentParser HelpGenerator.swift
[43/73] Compiling ArgumentParser ParsableCommand.swift
[44/73] Compiling ArgumentParser ArgumentDecoder.swift
[45/73] Compiling ArgumentParser ArgumentDefinition.swift
[46/73] Compiling ArgumentParser ArgumentSet.swift
[47/73] Compiling ArgumentParser CommandParser.swift
[48/73] Compiling ArgumentParser CommandConfiguration.swift
[49/73] Compiling ArgumentParser CommandGroup.swift
[50/73] Compiling ArgumentParser EnumerableFlag.swift
[51/73] Compiling ArgumentParser ExpressibleByArgument.swift
[52/73] Compiling ArgumentParser ParsableArguments.swift
[53/73] Compiling ArgumentParser MessageInfo.swift
[54/73] Compiling ArgumentParser UsageGenerator.swift
[55/73] Compiling ArgumentParser CollectionExtensions.swift
[56/73] Compiling ArgumentParser Foundation.swift
[57/73] Compiling ArgumentParser Mutex.swift
[58/73] Compiling ArgumentParser BashCompletionsGenerator.swift
[59/73] Compiling ArgumentParser CompletionsGenerator.swift
[60/73] Compiling ArgumentParser FishCompletionsGenerator.swift
[61/73] Compiling ArgumentParser ZshCompletionsGenerator.swift
[62/73] Compiling ArgumentParser Argument.swift
[63/73] Compiling ArgumentParser ArgumentDiscussion.swift
[64/73] Compiling GoldenImage resource_bundle_accessor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[65/73] Compiling GoldenImage TextureCompare.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:22:9: error: stored property 'device' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLDevice'
 20 |     static let shared = TextureCompare()
 21 |
 22 |     let device: MTLDevice
    |         `- error: stored property 'device' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLDevice'
 23 |     let commandQueue: MTLCommandQueue
 24 |     let psnrPipelineState: MTLComputePipelineState
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:434:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 432 |  */
 433 | API_AVAILABLE(macos(10.11), ios(8.0))
 434 | @protocol MTLDevice <NSObject>
     |           `- note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 435 |
 436 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:4:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import CoreImage
  3 | import Foundation
  4 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  5 | import MetalKit
  6 |
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:23:9: error: stored property 'commandQueue' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLCommandQueue'
 21 |
 22 |     let device: MTLDevice
 23 |     let commandQueue: MTLCommandQueue
    |         `- error: stored property 'commandQueue' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLCommandQueue'
 24 |     let psnrPipelineState: MTLComputePipelineState
 25 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 19 |  */
 20 | API_AVAILABLE(macos(10.11), ios(8.0))
 21 | @protocol MTLCommandQueue <NSObject>
    |           `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 22 |
 23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:24:9: error: stored property 'psnrPipelineState' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLComputePipelineState'
 22 |     let device: MTLDevice
 23 |     let commandQueue: MTLCommandQueue
 24 |     let psnrPipelineState: MTLComputePipelineState
    |         `- error: stored property 'psnrPipelineState' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLComputePipelineState'
 25 |
 26 |     private init() {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[66/73] Compiling GoldenImage GoldenImageComparison.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/73] Compiling GoldenImage CPUCompare.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[68/73] Compiling GoldenImage ImageComparison.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[69/73] Compiling GoldenImage Support.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[70/73] Emitting module GoldenImage
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:22:9: error: stored property 'device' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLDevice'
 20 |     static let shared = TextureCompare()
 21 |
 22 |     let device: MTLDevice
    |         `- error: stored property 'device' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLDevice'
 23 |     let commandQueue: MTLCommandQueue
 24 |     let psnrPipelineState: MTLComputePipelineState
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:434:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 432 |  */
 433 | API_AVAILABLE(macos(10.11), ios(8.0))
 434 | @protocol MTLDevice <NSObject>
     |           `- note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 435 |
 436 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:4:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import CoreImage
  3 | import Foundation
  4 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  5 | import MetalKit
  6 |
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:23:9: error: stored property 'commandQueue' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLCommandQueue'
 21 |
 22 |     let device: MTLDevice
 23 |     let commandQueue: MTLCommandQueue
    |         `- error: stored property 'commandQueue' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLCommandQueue'
 24 |     let psnrPipelineState: MTLComputePipelineState
 25 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 19 |  */
 20 | API_AVAILABLE(macos(10.11), ios(8.0))
 21 | @protocol MTLCommandQueue <NSObject>
    |           `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 22 |
 23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:24:9: error: stored property 'psnrPipelineState' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLComputePipelineState'
 22 |     let device: MTLDevice
 23 |     let commandQueue: MTLCommandQueue
 24 |     let psnrPipelineState: MTLComputePipelineState
    |         `- error: stored property 'psnrPipelineState' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLComputePipelineState'
 25 |
 26 |     private init() {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (1.34s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.91s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/6] Write swift-version-2F0A5646E1D333AE.txt
[4/15] Emitting module ArgumentParserToolInfo
[5/15] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/62] Compiling GoldenImage resource_bundle_accessor.swift
[7/62] Compiling GoldenImage TextureCompare.swift
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:22:9: error: stored property 'device' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLDevice'
 20 |     static let shared = TextureCompare()
 21 |
 22 |     let device: MTLDevice
    |         `- error: stored property 'device' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLDevice'
 23 |     let commandQueue: MTLCommandQueue
 24 |     let psnrPipelineState: MTLComputePipelineState
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:434:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 432 |  */
 433 | API_AVAILABLE(macos(10.11), ios(8.0))
 434 | @protocol MTLDevice <NSObject>
     |           `- note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 435 |
 436 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:4:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import CoreImage
  3 | import Foundation
  4 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  5 | import MetalKit
  6 |
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:23:9: error: stored property 'commandQueue' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLCommandQueue'
 21 |
 22 |     let device: MTLDevice
 23 |     let commandQueue: MTLCommandQueue
    |         `- error: stored property 'commandQueue' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLCommandQueue'
 24 |     let psnrPipelineState: MTLComputePipelineState
 25 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 19 |  */
 20 | API_AVAILABLE(macos(10.11), ios(8.0))
 21 | @protocol MTLCommandQueue <NSObject>
    |           `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 22 |
 23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:24:9: error: stored property 'psnrPipelineState' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLComputePipelineState'
 22 |     let device: MTLDevice
 23 |     let commandQueue: MTLCommandQueue
 24 |     let psnrPipelineState: MTLComputePipelineState
    |         `- error: stored property 'psnrPipelineState' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLComputePipelineState'
 25 |
 26 |     private init() {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[8/62] Compiling GoldenImage ImageComparison.swift
[9/62] Compiling GoldenImage GoldenImageComparison.swift
[10/62] Compiling GoldenImage Support.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/62] Emitting module GoldenImage
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:22:9: error: stored property 'device' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLDevice'
 20 |     static let shared = TextureCompare()
 21 |
 22 |     let device: MTLDevice
    |         `- error: stored property 'device' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLDevice'
 23 |     let commandQueue: MTLCommandQueue
 24 |     let psnrPipelineState: MTLComputePipelineState
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h:434:11: note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 432 |  */
 433 | API_AVAILABLE(macos(10.11), ios(8.0))
 434 | @protocol MTLDevice <NSObject>
     |           `- note: protocol 'MTLDevice' does not conform to the 'Sendable' protocol
 435 |
 436 | /*!
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:4:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  2 | import CoreImage
  3 | import Foundation
  4 | import Metal
    | `- warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'Metal' as warnings
  5 | import MetalKit
  6 |
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:23:9: error: stored property 'commandQueue' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLCommandQueue'
 21 |
 22 |     let device: MTLDevice
 23 |     let commandQueue: MTLCommandQueue
    |         `- error: stored property 'commandQueue' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLCommandQueue'
 24 |     let psnrPipelineState: MTLComputePipelineState
 25 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h:21:11: note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 19 |  */
 20 | API_AVAILABLE(macos(10.11), ios(8.0))
 21 | @protocol MTLCommandQueue <NSObject>
    |           `- note: protocol 'MTLCommandQueue' does not conform to the 'Sendable' protocol
 22 |
 23 | /*! @brief A string to help identify this object */
/Users/admin/builder/spi-builder-workspace/Sources/GoldenImage/TextureCompare.swift:24:9: error: stored property 'psnrPipelineState' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLComputePipelineState'
 22 |     let device: MTLDevice
 23 |     let commandQueue: MTLCommandQueue
 24 |     let psnrPipelineState: MTLComputePipelineState
    |         `- error: stored property 'psnrPipelineState' of 'Sendable'-conforming class 'TextureCompare' has non-sendable type 'any MTLComputePipelineState'
 25 |
 26 |     private init() {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h:154:11: note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
152 | */
153 | API_AVAILABLE(macos(10.11), ios(8.0))
154 | @protocol MTLComputePipelineState <NSObject>
    |           `- note: protocol 'MTLComputePipelineState' does not conform to the 'Sendable' protocol
155 |
156 | @property (nullable, readonly) NSString *label API_AVAILABLE(macos(10.13), ios(11.0));
[12/62] Compiling GoldenImage CPUCompare.swift
BUILD FAILURE 6.1 macosSpm