Build Information
Failed to build DitheringEngine, reference v1.9.0 (897dbf
), with Swift 5.9 for macOS (SPM) on 20 Apr 2025 15:31:10 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.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: v1.9.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Eskils/DitheringEngine
* tag v1.9.0 -> FETCH_HEAD
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 v1.9.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/Eskils/DitheringEngine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/54] 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 {
^
[3/59] Compiling DitheringEngine Dither-JarvisJudiceNinke.swift
[4/59] Compiling DitheringEngine Dither-Noise.swift
[5/59] Compiling DitheringEngine Dither-None.swift
[6/59] Compiling DitheringEngine Dither-Ordered.swift
[7/59] Compiling DitheringEngine Dither-WhiteNoise.swift
[8/59] Compiling DitheringEngine DitherMethods.swift
[9/59] Compiling DitheringEngine BayerSettingsConfiguration.swift
[10/59] Compiling DitheringEngine CGASettingsConfiguration.swift
[11/59] Compiling DitheringEngine CustomPaletteSettingsConfiguration.swift
[12/59] Compiling DitheringEngine DitherMethodSettingsConfiguration.swift
[13/59] Compiling DitheringEngine EmptySettingsConfiguration.swift
[14/59] Compiling DitheringEngine DitherMehtod.swift
[15/59] Compiling DitheringEngine Dither-Atkinson.swift
[16/59] Compiling DitheringEngine Dither-Bayer.swift
[17/59] Compiling DitheringEngine Dither-CleanThreshold.swift
[18/59] Compiling DitheringEngine Dither-ErrorDiffusion.swift
[19/59] Compiling DitheringEngine Dither-FloydSteinberg.swift
[20/59] Compiling DitheringEngine Palette-Grayscale.swift
[21/59] Compiling DitheringEngine Palette-Intellivision.swift
[22/59] Compiling DitheringEngine Palette-Quantized.swift
[23/59] Compiling DitheringEngine Palettes.swift
[24/59] Compiling DitheringEngine SettingsConfiguration.swift
[25/59] Compiling DitheringEngine Apple2SettingsConfiguration.swift
[26/59] Compiling DitheringEngine OrderedDitheringThresholdConfiguration.swift
[27/59] Compiling DitheringEngine Palette.swift
[28/59] Compiling DitheringEngine Palette-Apple2.swift
[29/59] Compiling DitheringEngine Palette-BlackAndWhite.swift
[30/59] Compiling DitheringEngine Palette-CGA.swift
[31/59] Compiling DitheringEngine Palette-GameBoy.swift
[32/59] Compiling DitheringEngine ImageDescription.swift
[33/59] Compiling DitheringEngine LUT.swift
[34/59] Compiling DitheringEngine LUTCollection.swift
[35/59] Compiling DitheringEngine LUTPalette.swift
[36/59] Compiling DitheringEngine MetalOrderedDithering.swift
[37/59] Compiling DitheringEngine Nameable.swift
[38/59] 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 {
^
[39/59] 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 {
^
[40/59] 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 {
^
[41/59] 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 {
^
[42/59] 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 {
^
[43/59] 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 {
^
[44/59] Compiling DitheringEngine ThresholdMap.swift
[45/59] Compiling DitheringEngine VideoAssembler.swift
[46/59] Compiling DitheringEngine VideoDescription.swift
[47/59] Compiling DitheringEngine VideoDitheringEngine.swift
[48/59] Compiling DitheringEngine resource_bundle_accessor.swift
[49/59] Compiling DitheringEngine DitheringEngine.swift
[50/59] Compiling DitheringEngine ErrorDiffusionDitheringCustomization.swift
[51/59] Compiling DitheringEngine AnyPublisher+Extension.swift
[52/59] Compiling DitheringEngine Array+Extension.swift
[53/59] Compiling DitheringEngine Numeric+Extension.swift
[54/59] Compiling DitheringEngine SIMD3+Extension.swift
[55/59] 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
[56/59] 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
[57/59] 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
[58/59] 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
[59/59] 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/ExpectedOutputImages/transparent-gradient-start+cga-fs.png
/Users/admin/builder/spi-builder-workspace/Tests/DitheringEngineTests/InputImages/transparent-gradient-star.png
/Users/admin/builder/spi-builder-workspace/Tests/DitheringEngineTests/InputImages/transparent-monochrome-gradient.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
/Users/admin/builder/spi-builder-workspace/Tests/DitheringEngineTests/ProducedOutputImages/transparent-gradient-start+cga-fs.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.9 macosSpm