The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build DitheringEngine, reference main (897dbf), with Swift 5.10 for macOS (SPM) on 20 Apr 2025 15:29:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Eskils/DitheringEngine.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Eskils/DitheringEngine
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 897dbfe [#14] Dithering Engine 1.9.0
Cloned https://github.com/Eskils/DitheringEngine.git
Revision (git rev-parse @):
897dbfed946ca23ad9c467fdadf8de8260557572
SUCCESS checkout https://github.com/Eskils/DitheringEngine.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/Eskils/DitheringEngine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/56] Emitting module DitheringEngine
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: consecutive declarations on a line must be separated by ';'
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
                                             ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: expected declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: consecutive declarations on a line must be separated by ';'
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
                                                ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: expected declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:17: error: expected '{' in body of function declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:17: error: expected '{' in body of function declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                ^
[5/61] Compiling DitheringEngine BayerSettingsConfiguration.swift
[6/61] Compiling DitheringEngine CGASettingsConfiguration.swift
[7/61] Compiling DitheringEngine CustomPaletteSettingsConfiguration.swift
[8/61] Compiling DitheringEngine DitherMethodSettingsConfiguration.swift
[9/61] Compiling DitheringEngine EmptySettingsConfiguration.swift
[10/61] Compiling DitheringEngine OrderedDitheringThresholdConfiguration.swift
[11/61] Compiling DitheringEngine Palette.swift
[12/61] Compiling DitheringEngine Palette-Apple2.swift
[13/61] Compiling DitheringEngine Palette-BlackAndWhite.swift
[14/61] Compiling DitheringEngine Palette-CGA.swift
[15/61] Compiling DitheringEngine Palette-GameBoy.swift
[16/61] Compiling DitheringEngine Dither-JarvisJudiceNinke.swift
[17/61] Compiling DitheringEngine Dither-Noise.swift
[18/61] Compiling DitheringEngine Dither-None.swift
[19/61] Compiling DitheringEngine Dither-Ordered.swift
[20/61] Compiling DitheringEngine Dither-WhiteNoise.swift
[21/61] Compiling DitheringEngine DitherMethods.swift
[22/61] Compiling DitheringEngine DitherMehtod.swift
[23/61] Compiling DitheringEngine Dither-Atkinson.swift
[24/61] Compiling DitheringEngine Dither-Bayer.swift
[25/61] Compiling DitheringEngine Dither-CleanThreshold.swift
[26/61] Compiling DitheringEngine Dither-ErrorDiffusion.swift
[27/61] Compiling DitheringEngine Dither-FloydSteinberg.swift
[28/61] Compiling DitheringEngine DitheringEngine.swift
[29/61] Compiling DitheringEngine ErrorDiffusionDitheringCustomization.swift
[30/61] Compiling DitheringEngine AnyPublisher+Extension.swift
[31/61] Compiling DitheringEngine Array+Extension.swift
[32/61] Compiling DitheringEngine Numeric+Extension.swift
[33/61] Compiling DitheringEngine SIMD3+Extension.swift
[34/61] Compiling DitheringEngine ImageDescription.swift
[35/61] Compiling DitheringEngine LUT.swift
[36/61] Compiling DitheringEngine LUTCollection.swift
[37/61] Compiling DitheringEngine LUTPalette.swift
[38/61] Compiling DitheringEngine MetalOrderedDithering.swift
[39/61] Compiling DitheringEngine Nameable.swift
[40/61] Compiling DitheringEngine ThresholdMap.swift
[41/61] Compiling DitheringEngine VideoAssembler.swift
[42/61] Compiling DitheringEngine VideoDescription.swift
[43/61] Compiling DitheringEngine VideoDitheringEngine.swift
[44/61] Compiling DitheringEngine resource_bundle_accessor.swift
[45/61] Compiling DitheringEngine Palette-Grayscale.swift
[46/61] Compiling DitheringEngine Palette-Intellivision.swift
[47/61] Compiling DitheringEngine Palette-Quantized.swift
[48/61] Compiling DitheringEngine Palettes.swift
[49/61] Compiling DitheringEngine SettingsConfiguration.swift
[50/61] Compiling DitheringEngine Apple2SettingsConfiguration.swift
[51/61] Compiling DitheringEngine FloydSteinbergSettingsConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: consecutive declarations on a line must be separated by ';'
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
                                             ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: expected declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: consecutive declarations on a line must be separated by ';'
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
                                                ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: expected declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:53:13: warning: constant 'data' inferred to have type '()?', which may be unexpected
        let data = try noisePattern.value.map { try CGImageDataTransformer.data(from: $0) }
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:53:13: note: add an explicit type annotation to silence this warning
        let data = try noisePattern.value.map { try CGImageDataTransformer.data(from: $0) }
            ^
                : ()?
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:55:23: error: no exact matches in call to instance method 'encodeIfPresent'
        try container.encodeIfPresent(data, forKey: .noisePattern)
                      ^
Swift.KeyedEncodingContainer:36:26: note: candidate requires that '()' conform to 'Encodable' (requirement specified as 'T' : 'Encodable')
    public mutating func encodeIfPresent<T>(_ value: T?, forKey key: KeyedEncodingContainer<K>.Key) throws where T : Encodable
                         ^
Swift.KeyedEncodingContainerProtocol:16:26: note: candidate requires that '()' conform to 'Encodable' (requirement specified as 'T' : 'Encodable')
    public mutating func encodeIfPresent<T>(_ value: T?, forKey key: Self.Key) throws where T : Encodable
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:65:13: warning: constant 'noisePattern' inferred to have type '()', which may be unexpected
        let noisePattern = try CGImageDataTransformer.image(from: noisePatternData)
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:65:13: note: add an explicit type annotation to silence this warning
        let noisePattern = try CGImageDataTransformer.image(from: noisePatternData)
            ^
                        : ()
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:69:33: error: cannot convert value of type '()' to expected argument type 'CGImage?'
        self.init(noisePattern: noisePattern, intensity: intensity, performOnCPU: performOnCPU)
                                ^
                                             as! CGImage
[52/61] Compiling DitheringEngine NoiseDitheringSettingsConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: consecutive declarations on a line must be separated by ';'
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
                                             ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: expected declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: consecutive declarations on a line must be separated by ';'
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
                                                ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: expected declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:53:13: warning: constant 'data' inferred to have type '()?', which may be unexpected
        let data = try noisePattern.value.map { try CGImageDataTransformer.data(from: $0) }
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:53:13: note: add an explicit type annotation to silence this warning
        let data = try noisePattern.value.map { try CGImageDataTransformer.data(from: $0) }
            ^
                : ()?
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:55:23: error: no exact matches in call to instance method 'encodeIfPresent'
        try container.encodeIfPresent(data, forKey: .noisePattern)
                      ^
Swift.KeyedEncodingContainer:36:26: note: candidate requires that '()' conform to 'Encodable' (requirement specified as 'T' : 'Encodable')
    public mutating func encodeIfPresent<T>(_ value: T?, forKey key: KeyedEncodingContainer<K>.Key) throws where T : Encodable
                         ^
Swift.KeyedEncodingContainerProtocol:16:26: note: candidate requires that '()' conform to 'Encodable' (requirement specified as 'T' : 'Encodable')
    public mutating func encodeIfPresent<T>(_ value: T?, forKey key: Self.Key) throws where T : Encodable
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:65:13: warning: constant 'noisePattern' inferred to have type '()', which may be unexpected
        let noisePattern = try CGImageDataTransformer.image(from: noisePatternData)
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:65:13: note: add an explicit type annotation to silence this warning
        let noisePattern = try CGImageDataTransformer.image(from: noisePatternData)
            ^
                        : ()
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:69:33: error: cannot convert value of type '()' to expected argument type 'CGImage?'
        self.init(noisePattern: noisePattern, intensity: intensity, performOnCPU: performOnCPU)
                                ^
                                             as! CGImage
[53/61] Compiling DitheringEngine PaletteSelectionSettingsConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: consecutive declarations on a line must be separated by ';'
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
                                             ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: expected declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: consecutive declarations on a line must be separated by ';'
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
                                                ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: expected declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:53:13: warning: constant 'data' inferred to have type '()?', which may be unexpected
        let data = try noisePattern.value.map { try CGImageDataTransformer.data(from: $0) }
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:53:13: note: add an explicit type annotation to silence this warning
        let data = try noisePattern.value.map { try CGImageDataTransformer.data(from: $0) }
            ^
                : ()?
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:55:23: error: no exact matches in call to instance method 'encodeIfPresent'
        try container.encodeIfPresent(data, forKey: .noisePattern)
                      ^
Swift.KeyedEncodingContainer:36:26: note: candidate requires that '()' conform to 'Encodable' (requirement specified as 'T' : 'Encodable')
    public mutating func encodeIfPresent<T>(_ value: T?, forKey key: KeyedEncodingContainer<K>.Key) throws where T : Encodable
                         ^
Swift.KeyedEncodingContainerProtocol:16:26: note: candidate requires that '()' conform to 'Encodable' (requirement specified as 'T' : 'Encodable')
    public mutating func encodeIfPresent<T>(_ value: T?, forKey key: Self.Key) throws where T : Encodable
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:65:13: warning: constant 'noisePattern' inferred to have type '()', which may be unexpected
        let noisePattern = try CGImageDataTransformer.image(from: noisePatternData)
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:65:13: note: add an explicit type annotation to silence this warning
        let noisePattern = try CGImageDataTransformer.image(from: noisePatternData)
            ^
                        : ()
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:69:33: error: cannot convert value of type '()' to expected argument type 'CGImage?'
        self.init(noisePattern: noisePattern, intensity: intensity, performOnCPU: performOnCPU)
                                ^
                                             as! CGImage
[54/61] Compiling DitheringEngine QuantizedColorSettingsConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: consecutive declarations on a line must be separated by ';'
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
                                             ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: expected declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: consecutive declarations on a line must be separated by ';'
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
                                                ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: expected declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:53:13: warning: constant 'data' inferred to have type '()?', which may be unexpected
        let data = try noisePattern.value.map { try CGImageDataTransformer.data(from: $0) }
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:53:13: note: add an explicit type annotation to silence this warning
        let data = try noisePattern.value.map { try CGImageDataTransformer.data(from: $0) }
            ^
                : ()?
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:55:23: error: no exact matches in call to instance method 'encodeIfPresent'
        try container.encodeIfPresent(data, forKey: .noisePattern)
                      ^
Swift.KeyedEncodingContainer:36:26: note: candidate requires that '()' conform to 'Encodable' (requirement specified as 'T' : 'Encodable')
    public mutating func encodeIfPresent<T>(_ value: T?, forKey key: KeyedEncodingContainer<K>.Key) throws where T : Encodable
                         ^
Swift.KeyedEncodingContainerProtocol:16:26: note: candidate requires that '()' conform to 'Encodable' (requirement specified as 'T' : 'Encodable')
    public mutating func encodeIfPresent<T>(_ value: T?, forKey key: Self.Key) throws where T : Encodable
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:65:13: warning: constant 'noisePattern' inferred to have type '()', which may be unexpected
        let noisePattern = try CGImageDataTransformer.image(from: noisePatternData)
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:65:13: note: add an explicit type annotation to silence this warning
        let noisePattern = try CGImageDataTransformer.image(from: noisePatternData)
            ^
                        : ()
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:69:33: error: cannot convert value of type '()' to expected argument type 'CGImage?'
        self.init(noisePattern: noisePattern, intensity: intensity, performOnCPU: performOnCPU)
                                ^
                                             as! CGImage
[55/61] Compiling DitheringEngine WhiteNoiseSettingsConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: consecutive declarations on a line must be separated by ';'
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
                                             ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: expected declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: consecutive declarations on a line must be separated by ';'
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
                                                ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: expected declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:53:13: warning: constant 'data' inferred to have type '()?', which may be unexpected
        let data = try noisePattern.value.map { try CGImageDataTransformer.data(from: $0) }
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:53:13: note: add an explicit type annotation to silence this warning
        let data = try noisePattern.value.map { try CGImageDataTransformer.data(from: $0) }
            ^
                : ()?
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:55:23: error: no exact matches in call to instance method 'encodeIfPresent'
        try container.encodeIfPresent(data, forKey: .noisePattern)
                      ^
Swift.KeyedEncodingContainer:36:26: note: candidate requires that '()' conform to 'Encodable' (requirement specified as 'T' : 'Encodable')
    public mutating func encodeIfPresent<T>(_ value: T?, forKey key: KeyedEncodingContainer<K>.Key) throws where T : Encodable
                         ^
Swift.KeyedEncodingContainerProtocol:16:26: note: candidate requires that '()' conform to 'Encodable' (requirement specified as 'T' : 'Encodable')
    public mutating func encodeIfPresent<T>(_ value: T?, forKey key: Self.Key) throws where T : Encodable
                         ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:65:13: warning: constant 'noisePattern' inferred to have type '()', which may be unexpected
        let noisePattern = try CGImageDataTransformer.image(from: noisePatternData)
            ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:65:13: note: add an explicit type annotation to silence this warning
        let noisePattern = try CGImageDataTransformer.image(from: noisePatternData)
            ^
                        : ()
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/SettingsConfigurations/NoiseDitheringSettingsConfiguration.swift:69:33: error: cannot convert value of type '()' to expected argument type 'CGImage?'
        self.init(noisePattern: noisePattern, intensity: intensity, performOnCPU: performOnCPU)
                                ^
                                             as! CGImage
[56/61] Compiling DitheringEngine CGImageDataTransformer.swift
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: consecutive declarations on a line must be separated by ';'
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
                                             ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: expected declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: consecutive declarations on a line must be separated by ';'
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
                                                ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: expected declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:17: error: expected '{' in body of function declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:17: error: expected '{' in body of function declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                ^
[57/61] Compiling DitheringEngine WhiteNoiseGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: consecutive declarations on a line must be separated by ';'
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
                                             ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: expected declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: consecutive declarations on a line must be separated by ';'
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
                                                ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: expected declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:17: error: expected '{' in body of function declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:17: error: expected '{' in body of function declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                ^
[58/61] Compiling DitheringEngine clamp.swift
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: consecutive declarations on a line must be separated by ';'
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
                                             ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: expected declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: consecutive declarations on a line must be separated by ';'
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
                                                ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: expected declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:17: error: expected '{' in body of function declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:17: error: expected '{' in body of function declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                ^
[59/61] Compiling DitheringEngine convertColorspace.swift
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: consecutive declarations on a line must be separated by ';'
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
                                             ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: expected declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: consecutive declarations on a line must be separated by ';'
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
                                                ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: expected declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:17: error: expected '{' in body of function declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:17: error: expected '{' in body of function declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                ^
[60/61] Compiling DitheringEngine equallySpacedColors.swift
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: consecutive declarations on a line must be separated by ';'
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
                                             ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: expected declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: consecutive declarations on a line must be separated by ';'
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
                                                ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: expected declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:17: error: expected '{' in body of function declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:17: error: expected '{' in body of function declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                ^
[61/61] Compiling DitheringEngine ImageColor.swift
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: consecutive declarations on a line must be separated by ';'
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
                                             ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:46: error: expected declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: consecutive declarations on a line must be separated by ';'
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
                                                ;
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:49: error: expected declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                                                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:12:8: note: in declaration of 'CGImageDataTransformer'
struct CGImageDataTransformer {
       ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:14:17: error: expected '{' in body of function declaration
    static func image(from data: Data) throws(CGImageDataTransformerError) -> CGImage {
                ^
/Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Helpers/CGImageDataTransformer.swift:26:17: error: expected '{' in body of function declaration
    static func data(from image: CGImage) throws(CGImageDataTransformerError) -> Data {
                ^
error: fatalError
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Tests/DitheringEngineTests/ProducedOutputImages/transparent-gradient-start+cga-fs.png
    /Users/admin/builder/spi-builder-workspace/Tests/DitheringEngineTests/InputImages/transparent-monochrome-gradient.png
    /Users/admin/builder/spi-builder-workspace/Tests/DitheringEngineTests/InputImages/transparent-gradient-star.png
    /Users/admin/builder/spi-builder-workspace/Tests/DitheringEngineTests/ExpectedOutputImages/transparent-gradient-start+cga-fs.png
    /Users/admin/builder/spi-builder-workspace/Tests/DitheringEngineTests/ExpectedOutputImages/transparent-monochrome-gradient+apple2-bayer.png
    /Users/admin/builder/spi-builder-workspace/Tests/DitheringEngineTests/ProducedOutputImages/transparent-monochrome-gradient+apple2-bayer.png
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/DitheringEngine/Metal/OrderedDithering.metal
BUILD FAILURE 5.10 macosSpm