Build Information
Failed to build DitheringEngine, reference 1.10.0 (0197a1), with Swift 5.10 for macOS (SPM) on 11 Nov 2025 12:28:48 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Eskils/DitheringEngine.git
Reference: 1.10.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Eskils/DitheringEngine
* tag 1.10.0 -> FETCH_HEAD
HEAD is now at 0197a14 Merge pull request #15 from Eskils/develop
Cloned https://github.com/Eskils/DitheringEngine.git
Revision (git rev-parse @):
0197a146b3f62fa9003f55129ec610043e109390
SUCCESS checkout https://github.com/Eskils/DitheringEngine.git at 1.10.0
========================================
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/58] 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/63] Compiling DitheringEngine Dither-FloydSteinberg.swift
[6/63] Compiling DitheringEngine Dither-JarvisJudiceNinke.swift
[7/63] Compiling DitheringEngine Dither-Noise.swift
[8/63] Compiling DitheringEngine Dither-None.swift
[9/63] Compiling DitheringEngine Dither-Ordered.swift
[10/63] Compiling DitheringEngine Dither-WhiteNoise.swift
[11/63] Compiling DitheringEngine CustomPaletteSettings.swift
[12/63] Compiling DitheringEngine DitherMehtod.swift
[13/63] Compiling DitheringEngine Dither-Atkinson.swift
[14/63] Compiling DitheringEngine Dither-Bayer.swift
[15/63] Compiling DitheringEngine Dither-CleanThreshold.swift
[16/63] Compiling DitheringEngine Dither-ErrorDiffusion.swift
[17/63] Compiling DitheringEngine Palette-CGA.swift
[18/63] Compiling DitheringEngine Palette-GameBoy.swift
[19/63] Compiling DitheringEngine Palette-Grayscale.swift
[20/63] Compiling DitheringEngine Palette-Intellivision.swift
[21/63] Compiling DitheringEngine Palette-Quantized.swift
[22/63] Compiling DitheringEngine Palettes.swift
[23/63] Compiling DitheringEngine MetalOrderedDithering.swift
[24/63] Compiling DitheringEngine Nameable.swift
[25/63] Compiling DitheringEngine OrderedDitheringThresholdConfiguration.swift
[26/63] Compiling DitheringEngine Palette.swift
[27/63] Compiling DitheringEngine Palette-Apple2.swift
[28/63] Compiling DitheringEngine Palette-BlackAndWhite.swift
[29/63] Compiling DitheringEngine SettingsConfiguration.swift
[30/63] Compiling DitheringEngine Apple2SettingsConfiguration.swift
[31/63] Compiling DitheringEngine BayerSettingsConfiguration.swift
[32/63] Compiling DitheringEngine CGASettingsConfiguration.swift
[33/63] Compiling DitheringEngine CustomPaletteSettingsConfiguration.swift
[34/63] Compiling DitheringEngine DitherMethodSettingsConfiguration.swift
[35/63] Compiling DitheringEngine DitherMethods.swift
[36/63] Compiling DitheringEngine DitheringEngine.swift
[37/63] Compiling DitheringEngine ErrorDiffusionDitheringCustomization.swift
[38/63] Compiling DitheringEngine AnyPublisher+Extension.swift
[39/63] Compiling DitheringEngine Array+Extension.swift
[40/63] Compiling DitheringEngine Numeric+Extension.swift
[41/63] Compiling DitheringEngine ImageColor.swift
[42/63] Compiling DitheringEngine ImageDescription.swift
[43/63] Compiling DitheringEngine ImageDescriptionFormat.swift
[44/63] Compiling DitheringEngine LUT.swift
[45/63] Compiling DitheringEngine LUTCollection.swift
[46/63] Compiling DitheringEngine LUTPalette.swift
[47/63] Compiling DitheringEngine ThresholdMap.swift
[48/63] Compiling DitheringEngine VideoAssembler.swift
[49/63] Compiling DitheringEngine VideoDescription.swift
[50/63] Compiling DitheringEngine VideoDitheringEngine.swift
[51/63] Compiling DitheringEngine resource_bundle_accessor.swift
[52/63] Compiling DitheringEngine SIMD3+Extension.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 {
^
[53/63] 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 {
^
[54/63] 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 {
^
[55/63] 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 {
^
[56/63] 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 {
^
[57/63] 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 {
^
[58/63] Compiling DitheringEngine EmptySettingsConfiguration.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
[59/63] 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
[60/63] 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
[61/63] 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
[62/63] 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
[63/63] 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
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/InputImages/transparent-gradient-star.png
/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/ExpectedOutputImages/transparent-gradient-start+cga-fs.png
/Users/admin/builder/spi-builder-workspace/Tests/DitheringEngineTests/ProducedOutputImages/transparent-monochrome-gradient+apple2-bayer.png
/Users/admin/builder/spi-builder-workspace/Tests/DitheringEngineTests/ExpectedOutputImages/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