The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SinglePageScanner with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mhennemeyer/singlepagescanner.git
Reference: master
Cloned https://github.com/mhennemeyer/singlepagescanner.git into spi-builder-workspace
SUCCESS checkout https://github.com/mhennemeyer/singlepagescanner.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/29] Emitting module SinglePageScanner
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[2/33] Compiling SinglePageScanner CGPoint+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[3/33] Compiling SinglePageScanner CGRect+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[4/33] Compiling SinglePageScanner CGSize+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[5/33] Compiling SinglePageScanner CIImage+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[6/33] Compiling SinglePageScanner CaptureSession+Focus.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[7/33] Compiling SinglePageScanner CaptureSession+Orientation.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/33] Compiling SinglePageScanner CaptureSession.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[9/33] Compiling SinglePageScanner SinglePageScanner.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[10/33] Compiling SinglePageScanner UIImage+Orientation.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[11/33] Compiling SinglePageScanner UIImage+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[12/33] Compiling SinglePageScanner ImageScannerController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[13/33] Compiling SinglePageScanner CaptureDevice.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[14/33] Compiling SinglePageScanner AVCaptureVideoOrientation+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[15/33] Compiling SinglePageScanner Array+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[16/33] Compiling SinglePageScanner CGAffineTransform+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[17/33] Compiling SinglePageScanner CGImagePropertyOrientation.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[18/33] Compiling SinglePageScanner RectangleFeaturesFunnel.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[19/33] Compiling SinglePageScanner ScannerViewController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[20/33] Compiling SinglePageScanner ShutterButton.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[21/33] Compiling SinglePageScanner CaptureSession+Flash.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[22/33] Compiling SinglePageScanner CIRectangleDetector.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[23/33] Compiling SinglePageScanner EditScanCornerView.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[24/33] Compiling SinglePageScanner Error.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[25/33] Compiling SinglePageScanner Quadrilateral.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[26/33] Compiling SinglePageScanner Transformable.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[27/33] Compiling SinglePageScanner ReviewViewController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[28/33] Compiling SinglePageScanner CaptureSessionManager.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[29/33] Compiling SinglePageScanner FocusRectangleView.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[30/33] Compiling SinglePageScanner QuadrilateralView.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[31/33] Compiling SinglePageScanner VisionRectangleDetector.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[32/33] Compiling SinglePageScanner EditScanViewController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[33/33] Compiling SinglePageScanner ZoomGestureController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2