Build Information
Failed to build DocumentScannerView, reference main (b27831
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 19:04:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edonv/DocumentScannerView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/edonv/DocumentScannerView
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b278314 Update .spi.yml
Cloned https://github.com/edonv/DocumentScannerView.git
Revision (git rev-parse @):
b278314869450c1ed92d90c5e1f32ddb93673b43
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edonv/DocumentScannerView.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "documentscannerview",
"name": "DocumentScannerView",
"url": "https://github.com/edonv/DocumentScannerView.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DocumentScannerView",
"dependencies": [
]
}
]
}
Fetching https://github.com/edonv/DocumentScannerView.git
[1/104] Fetching documentscannerview
Fetched https://github.com/edonv/DocumentScannerView.git from cache (0.61s)
Creating working copy for https://github.com/edonv/DocumentScannerView.git
Working copy of https://github.com/edonv/DocumentScannerView.git resolved at main (b278314)
warning: '.resolve-product-dependencies': dependency 'documentscannerview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/edonv/DocumentScannerView.git
https://github.com/edonv/DocumentScannerView.git
{
"dependencies" : [
],
"manifest_display_name" : "DocumentScannerView",
"name" : "DocumentScannerView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "DocumentScannerView",
"targets" : [
"DocumentScannerView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DocumentScannerViewTests",
"module_type" : "SwiftTarget",
"name" : "DocumentScannerViewTests",
"path" : "Tests/DocumentScannerViewTests",
"sources" : [
"DocumentScanViewTests.swift"
],
"target_dependencies" : [
"DocumentScannerView"
],
"type" : "test"
},
{
"c99name" : "DocumentScannerView",
"module_type" : "SwiftTarget",
"name" : "DocumentScannerView",
"path" : "Sources/DocumentScannerView",
"product_memberships" : [
"DocumentScannerView"
],
"sources" : [
"DocumentScannerView.swift",
"FullScreenCoverCompat.swift",
"PDFDocument+UIImage Init.swift",
"View+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/7] Compiling DocumentScannerView View+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
[4/7] Compiling DocumentScannerView PDFDocument+UIImage Init.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
[5/7] Compiling DocumentScannerView FullScreenCoverCompat.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/7] Emitting module DocumentScannerView
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
[7/7] Compiling DocumentScannerView DocumentScannerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling DocumentScannerView PDFDocument+UIImage Init.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
[3/6] Compiling DocumentScannerView View+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
[4/6] Compiling DocumentScannerView FullScreenCoverCompat.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module DocumentScannerView
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
[6/6] Compiling DocumentScannerView DocumentScannerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DocumentScannerView/PDFDocument+UIImage Init.swift:8:8: error: no such module 'UIKit'
6 | //
7 |
8 | import UIKit
| `- error: no such module 'UIKit'
9 | import PDFKit
10 |
BUILD FAILURE 6.1 macosSpm