The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build ImageOCRUI with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.41.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fatihdurmaz/ImageOCRUI.git
Reference: v1.0.0
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/fatihdurmaz/ImageOCRUI
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at cfd4915 update readme
Cloned https://github.com/fatihdurmaz/ImageOCRUI.git
Revision (git rev-parse @):
cfd4915a59c2a781e8b6d591cddf01bdf2205b9c
SUCCESS checkout https://github.com/fatihdurmaz/ImageOCRUI.git at v1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $workDir
https://github.com/fatihdurmaz/ImageOCRUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[1/4] Compiling ImageOCRUI ScannedText.swift
[2/4] Compiling ImageOCRUI TextRecognizer.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/TextRecognizer.swift:13:21: error: cannot find type 'VNDocumentCameraScan' in scope
    let cameraScan: VNDocumentCameraScan
                    ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/TextRecognizer.swift:15:22: error: cannot find type 'VNDocumentCameraScan' in scope
    init(cameraScan: VNDocumentCameraScan) {
                     ^~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module ImageOCRUI
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:18:45: error: cannot find type 'VNDocumentCameraViewController' in scope
    public typealias UIViewControllerType = VNDocumentCameraViewController
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:20:101: error: cannot find type 'VNDocumentCameraViewController' in scope
    public func makeUIViewController(context: UIViewControllerRepresentableContext<ScannerView>) -> VNDocumentCameraViewController {
                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:20:47: error: cannot find type 'UIViewControllerRepresentableContext' in scope
    public func makeUIViewController(context: UIViewControllerRepresentableContext<ScannerView>) -> VNDocumentCameraViewController {
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:26:60: error: cannot find type 'VNDocumentCameraViewController' in scope
    public func updateUIViewController(_ uiViewController: VNDocumentCameraViewController, context: UIViewControllerRepresentableContext<ScannerView>) {}
                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:26:101: error: cannot find type 'UIViewControllerRepresentableContext' in scope
    public func updateUIViewController(_ uiViewController: VNDocumentCameraViewController, context: UIViewControllerRepresentableContext<ScannerView>) {}
                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:39:64: error: cannot find type 'VNDocumentCameraViewController' in scope
        public func documentCameraViewController(_ controller: VNDocumentCameraViewController, didFinishWith scan: VNDocumentCameraScan) {
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:39:116: error: cannot find type 'VNDocumentCameraScan' in scope
        public func documentCameraViewController(_ controller: VNDocumentCameraViewController, didFinishWith scan: VNDocumentCameraScan) {
                                                                                                                   ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:45:73: error: cannot find type 'VNDocumentCameraViewController' in scope
        public func documentCameraViewControllerDidCancel(_ controller: VNDocumentCameraViewController) {
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:49:64: error: cannot find type 'VNDocumentCameraViewController' in scope
        public func documentCameraViewController(_ controller: VNDocumentCameraViewController, didFailWithError error: Error) {
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:32:47: error: cannot find type 'VNDocumentCameraViewControllerDelegate' in scope
    final public class Coordinator: NSObject, VNDocumentCameraViewControllerDelegate {
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:11:28: error: cannot find type 'UIViewControllerRepresentable' in scope
public struct ScannerView: UIViewControllerRepresentable {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/TextRecognizer.swift:13:21: error: cannot find type 'VNDocumentCameraScan' in scope
    let cameraScan: VNDocumentCameraScan
                    ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/TextRecognizer.swift:15:22: error: cannot find type 'VNDocumentCameraScan' in scope
    init(cameraScan: VNDocumentCameraScan) {
                     ^~~~~~~~~~~~~~~~~~~~
[4/4] Compiling ImageOCRUI ScannerView.swift
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:18:45: error: cannot find type 'VNDocumentCameraViewController' in scope
    public typealias UIViewControllerType = VNDocumentCameraViewController
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:20:101: error: cannot find type 'VNDocumentCameraViewController' in scope
    public func makeUIViewController(context: UIViewControllerRepresentableContext<ScannerView>) -> VNDocumentCameraViewController {
                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:20:47: error: cannot find type 'UIViewControllerRepresentableContext' in scope
    public func makeUIViewController(context: UIViewControllerRepresentableContext<ScannerView>) -> VNDocumentCameraViewController {
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:26:60: error: cannot find type 'VNDocumentCameraViewController' in scope
    public func updateUIViewController(_ uiViewController: VNDocumentCameraViewController, context: UIViewControllerRepresentableContext<ScannerView>) {}
                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:26:101: error: cannot find type 'UIViewControllerRepresentableContext' in scope
    public func updateUIViewController(_ uiViewController: VNDocumentCameraViewController, context: UIViewControllerRepresentableContext<ScannerView>) {}
                                                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:39:64: error: cannot find type 'VNDocumentCameraViewController' in scope
        public func documentCameraViewController(_ controller: VNDocumentCameraViewController, didFinishWith scan: VNDocumentCameraScan) {
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:39:116: error: cannot find type 'VNDocumentCameraScan' in scope
        public func documentCameraViewController(_ controller: VNDocumentCameraViewController, didFinishWith scan: VNDocumentCameraScan) {
                                                                                                                   ^~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:45:73: error: cannot find type 'VNDocumentCameraViewController' in scope
        public func documentCameraViewControllerDidCancel(_ controller: VNDocumentCameraViewController) {
                                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:49:64: error: cannot find type 'VNDocumentCameraViewController' in scope
        public func documentCameraViewController(_ controller: VNDocumentCameraViewController, didFailWithError error: Error) {
                                                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:32:47: error: cannot find type 'VNDocumentCameraViewControllerDelegate' in scope
    final public class Coordinator: NSObject, VNDocumentCameraViewControllerDelegate {
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:11:28: error: cannot find type 'UIViewControllerRepresentable' in scope
public struct ScannerView: UIViewControllerRepresentable {
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/ScannerView.swift:21:30: error: cannot find 'VNDocumentCameraViewController' in scope
        let viewController = VNDocumentCameraViewController()
                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/builder/builds/UKfvDsi8u/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/ImageOCRUI/TextRecognizer.swift:15:22: error: cannot find type 'VNDocumentCameraScan' in scope
    init(cameraScan: VNDocumentCameraScan) {
                     ^~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm