The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SinglePageScanner with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mhennemeyer/singlepagescanner.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/mhennemeyer/singlepagescanner
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at acc3aeb rectDetectRequest
Cloned https://github.com/mhennemeyer/singlepagescanner.git
Revision (git rev-parse @):
acc3aebd3f2e590e17b74af639f85713c7bf6623
SUCCESS checkout https://github.com/mhennemeyer/singlepagescanner.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/mhennemeyer/singlepagescanner.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/31] Emitting module SinglePageScanner
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[4/35] Compiling SinglePageScanner CGPoint+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[5/35] Compiling SinglePageScanner CGRect+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[6/35] Compiling SinglePageScanner CGSize+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[7/35] Compiling SinglePageScanner CIImage+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/35] Compiling SinglePageScanner CaptureSession+Focus.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[9/35] Compiling SinglePageScanner CaptureSession+Orientation.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[10/35] Compiling SinglePageScanner CaptureSession.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[11/35] Compiling SinglePageScanner SinglePageScanner.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[12/35] Compiling SinglePageScanner AVCaptureVideoOrientation+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[13/35] Compiling SinglePageScanner Array+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[14/35] Compiling SinglePageScanner CGAffineTransform+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[15/35] Compiling SinglePageScanner CGImagePropertyOrientation.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[16/35] Compiling SinglePageScanner RectangleFeaturesFunnel.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[17/35] Compiling SinglePageScanner ScannerViewController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[18/35] Compiling SinglePageScanner ShutterButton.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[19/35] Compiling SinglePageScanner CaptureSession+Flash.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[20/35] Compiling SinglePageScanner UIImage+Orientation.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[21/35] Compiling SinglePageScanner UIImage+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[22/35] Compiling SinglePageScanner ImageScannerController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[23/35] Compiling SinglePageScanner CaptureDevice.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[24/35] Compiling SinglePageScanner Transformable.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[25/35] Compiling SinglePageScanner ReviewViewController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[26/35] Compiling SinglePageScanner CaptureSessionManager.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[27/35] Compiling SinglePageScanner FocusRectangleView.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[28/35] Compiling SinglePageScanner QuadrilateralView.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[29/35] Compiling SinglePageScanner VisionRectangleDetector.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[30/35] Compiling SinglePageScanner EditScanViewController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[31/35] Compiling SinglePageScanner ZoomGestureController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[32/35] Compiling SinglePageScanner CIRectangleDetector.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[33/35] Compiling SinglePageScanner EditScanCornerView.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[34/35] Compiling SinglePageScanner Error.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[35/35] Compiling SinglePageScanner Quadrilateral.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/30] Compiling SinglePageScanner CGPoint+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[3/30] Compiling SinglePageScanner CGRect+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[4/30] Compiling SinglePageScanner CGSize+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[5/30] Compiling SinglePageScanner CIImage+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[6/30] Compiling SinglePageScanner AVCaptureVideoOrientation+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[7/30] Compiling SinglePageScanner Array+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[8/30] Compiling SinglePageScanner CGAffineTransform+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[9/30] Compiling SinglePageScanner CGImagePropertyOrientation.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/34] Emitting module SinglePageScanner
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[11/34] Compiling SinglePageScanner CaptureSession+Focus.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[12/34] Compiling SinglePageScanner CaptureSession+Orientation.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[13/34] Compiling SinglePageScanner CaptureSession.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[14/34] Compiling SinglePageScanner SinglePageScanner.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[15/34] Compiling SinglePageScanner UIImage+Orientation.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[16/34] Compiling SinglePageScanner UIImage+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[17/34] Compiling SinglePageScanner ImageScannerController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[18/34] Compiling SinglePageScanner CaptureDevice.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[19/34] Compiling SinglePageScanner RectangleFeaturesFunnel.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[20/34] Compiling SinglePageScanner ScannerViewController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[21/34] Compiling SinglePageScanner ShutterButton.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[22/34] Compiling SinglePageScanner CaptureSession+Flash.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[23/34] Compiling SinglePageScanner CIRectangleDetector.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[24/34] Compiling SinglePageScanner EditScanCornerView.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[25/34] Compiling SinglePageScanner Error.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[26/34] Compiling SinglePageScanner Quadrilateral.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[27/34] Compiling SinglePageScanner Transformable.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[28/34] Compiling SinglePageScanner ReviewViewController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[29/34] Compiling SinglePageScanner CaptureSessionManager.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[30/34] Compiling SinglePageScanner FocusRectangleView.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[31/34] Compiling SinglePageScanner QuadrilateralView.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[32/34] Compiling SinglePageScanner VisionRectangleDetector.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[33/34] Compiling SinglePageScanner EditScanViewController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[34/34] 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.10 linux

Build Machine: Linux 2