The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SinglePageScanner, reference 1.0.15 (acc3ae), with Swift 6.2 for Wasm on 18 Jun 2025 18:41:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mhennemeyer/singlepagescanner.git
Reference: 1.0.15
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
 * tag               1.0.15     -> FETCH_HEAD
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 1.0.15
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mhennemeyer/singlepagescanner.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
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'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[4/35] Compiling SinglePageScanner AVCaptureVideoOrientation+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[5/35] Compiling SinglePageScanner Array+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[6/35] Compiling SinglePageScanner CGAffineTransform+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[7/35] Compiling SinglePageScanner CGImagePropertyOrientation.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[8/35] Compiling SinglePageScanner CaptureSession+Focus.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[9/35] Compiling SinglePageScanner CaptureSession+Orientation.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[10/35] Compiling SinglePageScanner CaptureSession.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[11/35] Compiling SinglePageScanner SinglePageScanner.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[12/35] Compiling SinglePageScanner UIImage+Orientation.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[13/35] Compiling SinglePageScanner UIImage+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[14/35] Compiling SinglePageScanner ImageScannerController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[15/35] Compiling SinglePageScanner CaptureDevice.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[16/35] Compiling SinglePageScanner RectangleFeaturesFunnel.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[17/35] Compiling SinglePageScanner ScannerViewController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[18/35] Compiling SinglePageScanner ShutterButton.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[19/35] Compiling SinglePageScanner CaptureSession+Flash.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[20/35] Compiling SinglePageScanner CIRectangleDetector.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[21/35] Compiling SinglePageScanner EditScanCornerView.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[22/35] Compiling SinglePageScanner Error.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[23/35] Compiling SinglePageScanner Quadrilateral.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[24/35] Compiling SinglePageScanner Transformable.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[25/35] Compiling SinglePageScanner ReviewViewController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[26/35] Compiling SinglePageScanner CaptureSessionManager.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[27/35] Compiling SinglePageScanner FocusRectangleView.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[28/35] Compiling SinglePageScanner CGPoint+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[29/35] Compiling SinglePageScanner CGRect+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[30/35] Compiling SinglePageScanner CGSize+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[31/35] Compiling SinglePageScanner CIImage+Utils.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[32/35] Compiling SinglePageScanner QuadrilateralView.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[33/35] Compiling SinglePageScanner VisionRectangleDetector.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[34/35] Compiling SinglePageScanner EditScanViewController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
[35/35] Compiling SinglePageScanner ZoomGestureController.swift
/host/spi-builder-workspace/Sources/SinglePageScanner/Common/CIRectangleDetector.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 | import AVFoundation
11 |
BUILD FAILURE 6.2 wasm