Build Information
Failed to build Evil with Swift 5.9 for macOS (SPM).
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/evilgix/Evil.git
Reference: master
Initialized empty Git repository in /Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/evilgix/Evil
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 91ff2fc fix code style.
Cloned https://github.com/evilgix/Evil.git
Revision (git rev-parse @):
91ff2fc58113231af91033cedd0486a7a7ac01df
SUCCESS checkout https://github.com/evilgix/Evil.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "evil",
"name": "Evil",
"url": "https://github.com/evilgix/Evil.git",
"version": "unspecified",
"path": "/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Evil",
"dependencies": [
]
}
]
}
Fetching https://github.com/evilgix/Evil.git
[1/378] Fetching evil
Fetched https://github.com/evilgix/Evil.git (0.64s)
Creating working copy for https://github.com/evilgix/Evil.git
Working copy of https://github.com/evilgix/Evil.git resolved at master
warning: '.resolve-product-dependencies': dependency 'evil' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/9] Compiling Evil_macOS UIImage.swift
[2/10] Compiling Evil_macOS Utils.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:14:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func scaled(to size: CGSize) -> CGRect {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:23:5: warning: 'public' modifier is redundant for property declared in a public extension
public var area: CGFloat {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:29:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func scaled(to size: CGSize) -> CGPoint {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func resize(_ size: CGSize) -> CIImage {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:53:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func pixelBuffer(_ colorspace: CGColorSpace = CGColorSpaceCreateDeviceRGB()) -> CVPixelBuffer? {
^~~~~~~
[3/10] Compiling Evil_macOS SmoothThresholdFilter.swift
[4/10] Compiling Evil_macOS AdaptiveThresholdFilter.swift
[5/10] Compiling Evil_macOS Error.swift
[6/10] Compiling Evil_macOS Preprocessor.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:98:11: error: cannot find type 'CIImage' in scope
extension CIImage: Preprocessable {}
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:13:30: error: cannot find type 'CIImage' in scope
public typealias Debugger = (CIImage) -> ()
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:20:49: error: cannot find type 'CIColor' in scope
public var colorMonochromeFilterInputColor: CIColor? // CIColorMonochrome kCIInputColorKey 参数
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:47:23: error: cannot find type 'CIImage' in scope
public let image: CIImage
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:50:27: error: cannot find type 'CIImage' in scope
public init (_ image: CIImage, _ bounds: CGRect) {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:102:43: error: cannot find type 'CIImage' in scope
public var preprocessor: Preprocessor<CIImage> {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:108:43: error: cannot find type 'CIImage' in scope
public var preprocessor: Preprocessor<CIImage> {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:114:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func process(conf: Configuration = Configuration.`default`, debugger: Debugger? = nil) -> ProcessedResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:118:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func divideText(result resize: CGSize? = nil, adjustment: Bool = false, debugger: Debugger? = nil) -> DivideResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:122:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func correctionByFace() -> FaceCorrectionResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:128:40: error: cannot find type 'CIImage' in scope
public extension Preprocessor where T: CIImage {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:138:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func process(conf: Configuration = Configuration.`default`, debugger: Debugger? = nil) -> ProcessedResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:188:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func divideText(result resize: CGSize? = nil, adjustment: Bool = true, debugger: Debugger? = nil) -> DivideResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:233:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func croppedMaxRectangle() -> CorpMaxRectangleResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:264:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func correctionByFace() -> FaceCorrectionResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:313:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func perspectiveCorrection(boundingBox box: CGRect, topLeft: CGPoint, topRight: CGPoint, bottomLeft: CGPoint, bottomRight: CGPoint) -> PerspectiveCorrectionResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:31:43: error: cannot find 'CIColor' in scope
colorMonochromeFilterInputColor = CIColor(red: 0.75, green: 0.75, blue: 0.75)
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:140:25: error: cannot find type 'CIImage' in scope
var inputImage: CIImage = self.image
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:145:86: error: cannot find 'kCIInputColorKey' in scope
inputImage = inputImage.applyingFilter("CIColorMonochrome", parameters: [kCIInputColorKey: color])
^~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:151:13: error: cannot find 'kCIInputSaturationKey' in scope
kCIInputSaturationKey: conf.colorControls.0,
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:152:13: error: cannot find 'kCIInputBrightnessKey' in scope
kCIInputBrightnessKey: conf.colorControls.1,
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:153:13: error: cannot find 'kCIInputContrastKey' in scope
kCIInputContrastKey: conf.colorControls.2])
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:157:81: error: cannot find 'kCIInputEVKey' in scope
inputImage = inputImage.applyingFilter("CIExposureAdjust", parameters: [kCIInputEVKey: conf.exposureAdjustEV])
^~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:174:61: error: cannot find 'kCIInputRadiusKey' in scope
parameters: [kCIInputRadiusKey: conf.unsharpMask.0, kCIInputIntensityKey: conf.unsharpMask.1])
^~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:174:100: error: cannot find 'kCIInputIntensityKey' in scope
parameters: [kCIInputRadiusKey: conf.unsharpMask.0, kCIInputIntensityKey: conf.unsharpMask.1])
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:193:54: error: cannot convert value of type 'T' to expected argument type 'CIImage'
let handler = VNImageRequestHandler(ciImage: image, options: [:])
^
as! CIImage
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:196:64: warning: conditional downcast from '[VNTextObservation]?' to '[VNTextObservation]' does nothing
guard let textObservations = detectTextRequest.results as? [VNTextObservation] else {
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:208:61: error: value of type 'T' has no member 'extent'
let rect = c.boundingBox.scaled(to: ciImage.extent.size)
~~~~~~~ ^~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:210:37: error: value of type 'T' has no member 'cropped'
var image = ciImage.cropped(to: CGRect(x: rect.origin.x - 3, y: rect.origin.y - 3, width: rect.width + 6, height: rect.height + 6))
~~~~~~~ ^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:236:54: error: cannot convert value of type 'T' to expected argument type 'CIImage'
let handler = VNImageRequestHandler(ciImage: image, options: [:])
^
as! CIImage
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:244:50: warning: conditional downcast from '[VNRectangleObservation]?' to '[VNRectangleObservation]' does nothing
guard let observations = request.results as? [VNRectangleObservation] else {
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:254:22: error: value of type 'T' has no member 'preprocessor'
return image.preprocessor.perspectiveCorrection(boundingBox: maxObservation.boundingBox,
~~~~~ ^~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:266:24: error: cannot find 'CIDetector' in scope
let detector = CIDetector(ofType: CIDetectorTypeFace, context: nil, options: [CIDetectorAccuracy: CIDetectorAccuracyLow])!
^~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:266:43: error: cannot find 'CIDetectorTypeFace' in scope
let detector = CIDetector(ofType: CIDetectorTypeFace, context: nil, options: [CIDetectorAccuracy: CIDetectorAccuracyLow])!
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:266:87: error: cannot find 'CIDetectorAccuracy' in scope
let detector = CIDetector(ofType: CIDetectorTypeFace, context: nil, options: [CIDetectorAccuracy: CIDetectorAccuracyLow])!
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:266:107: error: cannot find 'CIDetectorAccuracyLow' in scope
let detector = CIDetector(ofType: CIDetectorTypeFace, context: nil, options: [CIDetectorAccuracy: CIDetectorAccuracyLow])!
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:266:72: error: 'nil' requires a contextual type
let detector = CIDetector(ofType: CIDetectorTypeFace, context: nil, options: [CIDetectorAccuracy: CIDetectorAccuracyLow])!
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:268:61: error: value of type 'T' has no member 'extent'
var orientation: CGImagePropertyOrientation = image.extent.width > image.extent.height ? .up : .right
~~~~~ ^~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:268:82: error: value of type 'T' has no member 'extent'
var orientation: CGImagePropertyOrientation = image.extent.width > image.extent.height ? .up : .right
~~~~~ ^~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:270:67: error: cannot find 'CIDetectorImageOrientation' in scope
var faceFeatures = detector.features(in: image, options: [CIDetectorImageOrientation: orientation.rawValue])
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:273:70: error: cannot find 'CIDetectorImageOrientation' in scope
let newFeatures = detector.features(in: image, options: [CIDetectorImageOrientation: CGImagePropertyOrientation.left.rawValue])
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:287:67: error: cannot find 'CIDetectorImageOrientation' in scope
faceFeatures = detector.features(in: image, options: [CIDetectorImageOrientation: orientation.rawValue])
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:290:56: error: cannot find type 'CIFaceFeature' in scope
guard var faceFeature = faceFeatures.first as? CIFaceFeature,
^~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:300:68: error: value of type 'T' has no member 'extent'
if orientation == .up && faceFeature.bounds.height > image.extent.height * 0.4 {
~~~~~ ^~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:301:66: error: cannot find 'CIDetectorImageOrientation' in scope
if let newF = detector.features(in: image, options: [CIDetectorImageOrientation: CGImagePropertyOrientation.down.rawValue]).first as? CIFaceFeature {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:301:147: error: cannot find type 'CIFaceFeature' in scope
if let newF = detector.features(in: image, options: [CIDetectorImageOrientation: CGImagePropertyOrientation.down.rawValue]).first as? CIFaceFeature {
^~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:307:56: error: value of type 'T' has no member 'orientationTransform'
let bounds = faceFeature.bounds.applying(image.orientationTransform(for: orientation))
~~~~~ ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:309:37: error: value of type 'T' has no member 'oriented'
return .success(Value(image.oriented(orientation), bounds))
~~~~~ ^~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:315:26: error: value of type 'T' has no member 'extent'
let size = image.extent.size
~~~~~ ^~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:317:18: error: value of type 'T' has no member 'extent'
if image.extent.contains(boundingBox) {
~~~~~ ^~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:325:37: error: cannot find 'CIVector' in scope
"inputTopLeft": CIVector(cgPoint: topLeft),
^~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:326:38: error: cannot find 'CIVector' in scope
"inputTopRight": CIVector(cgPoint: topRight),
^~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:327:40: error: cannot find 'CIVector' in scope
"inputBottomLeft": CIVector(cgPoint: bottomLeft),
^~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:328:41: error: cannot find 'CIVector' in scope
"inputBottomRight": CIVector(cgPoint: bottomRight)
^~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:323:37: error: value of type 'T' has no member 'cropped'
let outputImage = image.cropped(to: boundingBox)
~~~~~ ^~~~~~~
[7/10] Compiling Evil_macOS Recognizer.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Recognizer.swift:144:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func cropChineseIDCardNumberArea() -> Result<Value> {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Recognizer.swift:153:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func cropChineseIDCardNumberArea() -> Value {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Recognizer.swift:21:16: error: cannot find 'preprocessor' in scope
return preprocessor.croppedMaxRectangle()
^~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:13:30: error: cannot find type 'CIImage' in scope
public typealias Debugger = (CIImage) -> ()
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Recognizer.swift:136:56: error: value of type 'CIImage' has no member 'preprocessor'
if let images = recognizer.processor?(object)?.preprocessor.divideText().value?.map({ $0.image }) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Evil.swift:44:39: error: cannot find type 'CIImage' in scope
public func prediction(_ images: [CIImage]) throws -> [String?] {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:47:23: error: cannot find type 'CIImage' in scope
public let image: CIImage
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:50:27: error: cannot find type 'CIImage' in scope
public init (_ image: CIImage, _ bounds: CGRect) {
^~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/10] Compiling Evil_macOS NSImage.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/NSImage.swift:13:9: warning: 'public' modifier is redundant for initializer declared in a public extension
public convenience init?(image: NSImage) {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/NSImage.swift:20:9: warning: 'public' modifier is redundant for property declared in a public extension
public var cgImage: CGImage? {
^~~~~~~
[9/10] Emitting module Evil_macOS
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Evil.swift:44:39: error: cannot find type 'CIImage' in scope
public func prediction(_ images: [CIImage]) throws -> [String?] {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Evil.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func prediction(_ images: [CIImage]) throws -> [String?] {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/NSImage.swift:13:9: warning: 'public' modifier is redundant for initializer declared in a public extension
public convenience init?(image: NSImage) {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/NSImage.swift:20:9: warning: 'public' modifier is redundant for property declared in a public extension
public var cgImage: CGImage? {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:98:11: error: cannot find type 'CIImage' in scope
extension CIImage: Preprocessable {}
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:13:30: error: cannot find type 'CIImage' in scope
public typealias Debugger = (CIImage) -> ()
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:20:49: error: cannot find type 'CIColor' in scope
public var colorMonochromeFilterInputColor: CIColor? // CIColorMonochrome kCIInputColorKey 参数
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:47:23: error: cannot find type 'CIImage' in scope
public let image: CIImage
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:50:27: error: cannot find type 'CIImage' in scope
public init (_ image: CIImage, _ bounds: CGRect) {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:102:43: error: cannot find type 'CIImage' in scope
public var preprocessor: Preprocessor<CIImage> {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:108:43: error: cannot find type 'CIImage' in scope
public var preprocessor: Preprocessor<CIImage> {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:114:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func process(conf: Configuration = Configuration.`default`, debugger: Debugger? = nil) -> ProcessedResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:118:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func divideText(result resize: CGSize? = nil, adjustment: Bool = false, debugger: Debugger? = nil) -> DivideResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:122:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func correctionByFace() -> FaceCorrectionResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:128:40: error: cannot find type 'CIImage' in scope
public extension Preprocessor where T: CIImage {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:138:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func process(conf: Configuration = Configuration.`default`, debugger: Debugger? = nil) -> ProcessedResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:188:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func divideText(result resize: CGSize? = nil, adjustment: Bool = true, debugger: Debugger? = nil) -> DivideResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:233:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func croppedMaxRectangle() -> CorpMaxRectangleResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:264:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func correctionByFace() -> FaceCorrectionResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:313:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func perspectiveCorrection(boundingBox box: CGRect, topLeft: CGPoint, topRight: CGPoint, bottomLeft: CGPoint, bottomRight: CGPoint) -> PerspectiveCorrectionResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Recognizer.swift:144:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func cropChineseIDCardNumberArea() -> Result<Value> {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Recognizer.swift:153:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func cropChineseIDCardNumberArea() -> Value {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:14:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func scaled(to size: CGSize) -> CGRect {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:23:5: warning: 'public' modifier is redundant for property declared in a public extension
public var area: CGFloat {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:29:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func scaled(to size: CGSize) -> CGPoint {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func resize(_ size: CGSize) -> CIImage {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:53:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func pixelBuffer(_ colorspace: CGColorSpace = CGColorSpaceCreateDeviceRGB()) -> CVPixelBuffer? {
^~~~~~~
[10/10] Compiling Evil_macOS Evil.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Evil.swift:44:39: error: cannot find type 'CIImage' in scope
public func prediction(_ images: [CIImage]) throws -> [String?] {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Evil.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func prediction(_ images: [CIImage]) throws -> [String?] {
^~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[1/4] Compiling Evil_macOS Evil.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Evil.swift:44:39: error: cannot find type 'CIImage' in scope
public func prediction(_ images: [CIImage]) throws -> [String?] {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Evil.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func prediction(_ images: [CIImage]) throws -> [String?] {
^~~~~~~
[2/4] Compiling Evil_macOS Recognizer.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Recognizer.swift:144:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func cropChineseIDCardNumberArea() -> Result<Value> {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Recognizer.swift:153:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func cropChineseIDCardNumberArea() -> Value {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Recognizer.swift:21:16: error: cannot find 'preprocessor' in scope
return preprocessor.croppedMaxRectangle()
^~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:13:30: error: cannot find type 'CIImage' in scope
public typealias Debugger = (CIImage) -> ()
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Recognizer.swift:136:56: error: value of type 'CIImage' has no member 'preprocessor'
if let images = recognizer.processor?(object)?.preprocessor.divideText().value?.map({ $0.image }) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Evil.swift:44:39: error: cannot find type 'CIImage' in scope
public func prediction(_ images: [CIImage]) throws -> [String?] {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:47:23: error: cannot find type 'CIImage' in scope
public let image: CIImage
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:50:27: error: cannot find type 'CIImage' in scope
public init (_ image: CIImage, _ bounds: CGRect) {
^~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Evil_macOS
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Evil.swift:44:39: error: cannot find type 'CIImage' in scope
public func prediction(_ images: [CIImage]) throws -> [String?] {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Evil.swift:44:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func prediction(_ images: [CIImage]) throws -> [String?] {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/NSImage.swift:13:9: warning: 'public' modifier is redundant for initializer declared in a public extension
public convenience init?(image: NSImage) {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/NSImage.swift:20:9: warning: 'public' modifier is redundant for property declared in a public extension
public var cgImage: CGImage? {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:98:11: error: cannot find type 'CIImage' in scope
extension CIImage: Preprocessable {}
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:13:30: error: cannot find type 'CIImage' in scope
public typealias Debugger = (CIImage) -> ()
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:20:49: error: cannot find type 'CIColor' in scope
public var colorMonochromeFilterInputColor: CIColor? // CIColorMonochrome kCIInputColorKey 参数
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:47:23: error: cannot find type 'CIImage' in scope
public let image: CIImage
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:50:27: error: cannot find type 'CIImage' in scope
public init (_ image: CIImage, _ bounds: CGRect) {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:102:43: error: cannot find type 'CIImage' in scope
public var preprocessor: Preprocessor<CIImage> {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:108:43: error: cannot find type 'CIImage' in scope
public var preprocessor: Preprocessor<CIImage> {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:114:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func process(conf: Configuration = Configuration.`default`, debugger: Debugger? = nil) -> ProcessedResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:118:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func divideText(result resize: CGSize? = nil, adjustment: Bool = false, debugger: Debugger? = nil) -> DivideResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:122:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func correctionByFace() -> FaceCorrectionResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:128:40: error: cannot find type 'CIImage' in scope
public extension Preprocessor where T: CIImage {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:138:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func process(conf: Configuration = Configuration.`default`, debugger: Debugger? = nil) -> ProcessedResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:188:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func divideText(result resize: CGSize? = nil, adjustment: Bool = true, debugger: Debugger? = nil) -> DivideResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:233:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func croppedMaxRectangle() -> CorpMaxRectangleResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:264:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func correctionByFace() -> FaceCorrectionResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:313:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func perspectiveCorrection(boundingBox box: CGRect, topLeft: CGPoint, topRight: CGPoint, bottomLeft: CGPoint, bottomRight: CGPoint) -> PerspectiveCorrectionResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Recognizer.swift:144:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func cropChineseIDCardNumberArea() -> Result<Value> {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Recognizer.swift:153:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func cropChineseIDCardNumberArea() -> Value {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:14:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func scaled(to size: CGSize) -> CGRect {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:23:5: warning: 'public' modifier is redundant for property declared in a public extension
public var area: CGFloat {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:29:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func scaled(to size: CGSize) -> CGPoint {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:36:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func resize(_ size: CGSize) -> CIImage {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Utils.swift:53:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func pixelBuffer(_ colorspace: CGColorSpace = CGColorSpaceCreateDeviceRGB()) -> CVPixelBuffer? {
^~~~~~~
[4/4] Compiling Evil_macOS Preprocessor.swift
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:98:11: error: cannot find type 'CIImage' in scope
extension CIImage: Preprocessable {}
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:13:30: error: cannot find type 'CIImage' in scope
public typealias Debugger = (CIImage) -> ()
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:20:49: error: cannot find type 'CIColor' in scope
public var colorMonochromeFilterInputColor: CIColor? // CIColorMonochrome kCIInputColorKey 参数
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:47:23: error: cannot find type 'CIImage' in scope
public let image: CIImage
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:50:27: error: cannot find type 'CIImage' in scope
public init (_ image: CIImage, _ bounds: CGRect) {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:102:43: error: cannot find type 'CIImage' in scope
public var preprocessor: Preprocessor<CIImage> {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:108:43: error: cannot find type 'CIImage' in scope
public var preprocessor: Preprocessor<CIImage> {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:114:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func process(conf: Configuration = Configuration.`default`, debugger: Debugger? = nil) -> ProcessedResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:118:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func divideText(result resize: CGSize? = nil, adjustment: Bool = false, debugger: Debugger? = nil) -> DivideResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:122:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func correctionByFace() -> FaceCorrectionResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:128:40: error: cannot find type 'CIImage' in scope
public extension Preprocessor where T: CIImage {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:138:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func process(conf: Configuration = Configuration.`default`, debugger: Debugger? = nil) -> ProcessedResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:188:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func divideText(result resize: CGSize? = nil, adjustment: Bool = true, debugger: Debugger? = nil) -> DivideResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:233:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func croppedMaxRectangle() -> CorpMaxRectangleResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:264:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func correctionByFace() -> FaceCorrectionResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:313:5: warning: 'public' modifier is redundant for instance method declared in a public extension
public func perspectiveCorrection(boundingBox box: CGRect, topLeft: CGPoint, topRight: CGPoint, bottomLeft: CGPoint, bottomRight: CGPoint) -> PerspectiveCorrectionResult {
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:31:43: error: cannot find 'CIColor' in scope
colorMonochromeFilterInputColor = CIColor(red: 0.75, green: 0.75, blue: 0.75)
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:140:25: error: cannot find type 'CIImage' in scope
var inputImage: CIImage = self.image
^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:145:86: error: cannot find 'kCIInputColorKey' in scope
inputImage = inputImage.applyingFilter("CIColorMonochrome", parameters: [kCIInputColorKey: color])
^~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:151:13: error: cannot find 'kCIInputSaturationKey' in scope
kCIInputSaturationKey: conf.colorControls.0,
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:152:13: error: cannot find 'kCIInputBrightnessKey' in scope
kCIInputBrightnessKey: conf.colorControls.1,
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:153:13: error: cannot find 'kCIInputContrastKey' in scope
kCIInputContrastKey: conf.colorControls.2])
^~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:157:81: error: cannot find 'kCIInputEVKey' in scope
inputImage = inputImage.applyingFilter("CIExposureAdjust", parameters: [kCIInputEVKey: conf.exposureAdjustEV])
^~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:174:61: error: cannot find 'kCIInputRadiusKey' in scope
parameters: [kCIInputRadiusKey: conf.unsharpMask.0, kCIInputIntensityKey: conf.unsharpMask.1])
^~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:174:100: error: cannot find 'kCIInputIntensityKey' in scope
parameters: [kCIInputRadiusKey: conf.unsharpMask.0, kCIInputIntensityKey: conf.unsharpMask.1])
^~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:193:54: error: cannot convert value of type 'T' to expected argument type 'CIImage'
let handler = VNImageRequestHandler(ciImage: image, options: [:])
^
as! CIImage
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:196:64: warning: conditional downcast from '[VNTextObservation]?' to '[VNTextObservation]' does nothing
guard let textObservations = detectTextRequest.results as? [VNTextObservation] else {
~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:208:61: error: value of type 'T' has no member 'extent'
let rect = c.boundingBox.scaled(to: ciImage.extent.size)
~~~~~~~ ^~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:210:37: error: value of type 'T' has no member 'cropped'
var image = ciImage.cropped(to: CGRect(x: rect.origin.x - 3, y: rect.origin.y - 3, width: rect.width + 6, height: rect.height + 6))
~~~~~~~ ^~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:236:54: error: cannot convert value of type 'T' to expected argument type 'CIImage'
let handler = VNImageRequestHandler(ciImage: image, options: [:])
^
as! CIImage
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:244:50: warning: conditional downcast from '[VNRectangleObservation]?' to '[VNRectangleObservation]' does nothing
guard let observations = request.results as? [VNRectangleObservation] else {
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:254:22: error: value of type 'T' has no member 'preprocessor'
return image.preprocessor.perspectiveCorrection(boundingBox: maxObservation.boundingBox,
~~~~~ ^~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:266:24: error: cannot find 'CIDetector' in scope
let detector = CIDetector(ofType: CIDetectorTypeFace, context: nil, options: [CIDetectorAccuracy: CIDetectorAccuracyLow])!
^~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:266:43: error: cannot find 'CIDetectorTypeFace' in scope
let detector = CIDetector(ofType: CIDetectorTypeFace, context: nil, options: [CIDetectorAccuracy: CIDetectorAccuracyLow])!
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:266:87: error: cannot find 'CIDetectorAccuracy' in scope
let detector = CIDetector(ofType: CIDetectorTypeFace, context: nil, options: [CIDetectorAccuracy: CIDetectorAccuracyLow])!
^~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:266:107: error: cannot find 'CIDetectorAccuracyLow' in scope
let detector = CIDetector(ofType: CIDetectorTypeFace, context: nil, options: [CIDetectorAccuracy: CIDetectorAccuracyLow])!
^~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:266:72: error: 'nil' requires a contextual type
let detector = CIDetector(ofType: CIDetectorTypeFace, context: nil, options: [CIDetectorAccuracy: CIDetectorAccuracyLow])!
^
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:268:61: error: value of type 'T' has no member 'extent'
var orientation: CGImagePropertyOrientation = image.extent.width > image.extent.height ? .up : .right
~~~~~ ^~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:268:82: error: value of type 'T' has no member 'extent'
var orientation: CGImagePropertyOrientation = image.extent.width > image.extent.height ? .up : .right
~~~~~ ^~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:270:67: error: cannot find 'CIDetectorImageOrientation' in scope
var faceFeatures = detector.features(in: image, options: [CIDetectorImageOrientation: orientation.rawValue])
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:273:70: error: cannot find 'CIDetectorImageOrientation' in scope
let newFeatures = detector.features(in: image, options: [CIDetectorImageOrientation: CGImagePropertyOrientation.left.rawValue])
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:287:67: error: cannot find 'CIDetectorImageOrientation' in scope
faceFeatures = detector.features(in: image, options: [CIDetectorImageOrientation: orientation.rawValue])
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:290:56: error: cannot find type 'CIFaceFeature' in scope
guard var faceFeature = faceFeatures.first as? CIFaceFeature,
^~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:300:68: error: value of type 'T' has no member 'extent'
if orientation == .up && faceFeature.bounds.height > image.extent.height * 0.4 {
~~~~~ ^~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:301:66: error: cannot find 'CIDetectorImageOrientation' in scope
if let newF = detector.features(in: image, options: [CIDetectorImageOrientation: CGImagePropertyOrientation.down.rawValue]).first as? CIFaceFeature {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:301:147: error: cannot find type 'CIFaceFeature' in scope
if let newF = detector.features(in: image, options: [CIDetectorImageOrientation: CGImagePropertyOrientation.down.rawValue]).first as? CIFaceFeature {
^~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:307:56: error: value of type 'T' has no member 'orientationTransform'
let bounds = faceFeature.bounds.applying(image.orientationTransform(for: orientation))
~~~~~ ^~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:309:37: error: value of type 'T' has no member 'oriented'
return .success(Value(image.oriented(orientation), bounds))
~~~~~ ^~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:315:26: error: value of type 'T' has no member 'extent'
let size = image.extent.size
~~~~~ ^~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:317:18: error: value of type 'T' has no member 'extent'
if image.extent.contains(boundingBox) {
~~~~~ ^~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:325:37: error: cannot find 'CIVector' in scope
"inputTopLeft": CIVector(cgPoint: topLeft),
^~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:326:38: error: cannot find 'CIVector' in scope
"inputTopRight": CIVector(cgPoint: topRight),
^~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:327:40: error: cannot find 'CIVector' in scope
"inputBottomLeft": CIVector(cgPoint: bottomLeft),
^~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:328:41: error: cannot find 'CIVector' in scope
"inputBottomRight": CIVector(cgPoint: bottomRight)
^~~~~~~~
/Users/admin/builds/h8344Zi3/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Source/Preprocessor.swift:323:37: error: value of type 'T' has no member 'cropped'
let outputImage = image.cropped(to: boundingBox)
~~~~~ ^~~~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm