Build Information
Failed to build CameraCapture, reference main (d84247
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 20:04:51 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/samst-one/CameraCapture.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/samst-one/CameraCapture
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d84247a Update README.md
Cloned https://github.com/samst-one/CameraCapture.git
Revision (git rev-parse @):
d84247ac7baff17e76bc5915be102da233e25a48
SUCCESS checkout https://github.com/samst-one/CameraCapture.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": "cameracapture",
"name": "CameraCapture",
"url": "https://github.com/samst-one/CameraCapture.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CameraCapture",
"dependencies": [
]
}
]
}
Fetching https://github.com/samst-one/CameraCapture.git
[7/333] Fetching cameracapture
Fetched https://github.com/samst-one/CameraCapture.git from cache (0.71s)
Creating working copy for https://github.com/samst-one/CameraCapture.git
Working copy of https://github.com/samst-one/CameraCapture.git resolved at main (d84247a)
warning: '.resolve-product-dependencies': dependency 'cameracapture' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/samst-one/CameraCapture.git
{
"dependencies" : [
],
"manifest_display_name" : "CameraCapture",
"name" : "CameraCapture",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "CameraCapture",
"targets" : [
"CameraCapture"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CameraCaptureTests",
"module_type" : "SwiftTarget",
"name" : "CameraCaptureTests",
"path" : "Tests/CameraCaptureTests",
"sources" : [
"CameraSettingsToAVSettingsTests.swift",
"DeviceAdaptionTests.swift",
"FocusTests.swift",
"RetrieveAvailableCamerasTests.swift",
"RotateCameraTests.swift",
"SetCameraTests.swift",
"SetFlashStateTests.swift",
"StartCameraTests.swift",
"System.swift",
"TakePhotoTests.swift",
"ZoomTests.swift"
],
"target_dependencies" : [
"CameraCapture"
],
"type" : "test"
},
{
"c99name" : "CameraCapture",
"module_type" : "SwiftTarget",
"name" : "CameraCapture",
"path" : "Sources/CameraCapture",
"product_memberships" : [
"CameraCapture"
],
"sources" : [
"Implementation/AVFoundation/AVCameraController.swift",
"Implementation/AVFoundation/AVCameraSession.swift",
"Implementation/AVFoundation/AVCaptureDelegate.swift",
"Implementation/AVFoundation/AVDataSource.swift",
"Implementation/AVFoundation/AVFlashController.swift",
"Implementation/AVFoundation/AVFocusController.swift",
"Implementation/AVFoundation/AVZoomController.swift",
"Implementation/Adapters.swift",
"Implementation/CameraRepo.swift",
"Implementation/CaptureHandler.swift",
"Implementation/DefaultCamera.swift",
"Implementation/SettingsRepo.swift",
"Implementation/Use Cases/FocusUseCase.swift",
"Implementation/Use Cases/RetrieveAvailableCamerasUseCase.swift",
"Implementation/Use Cases/RotateCameraUseCase.swift",
"Implementation/Use Cases/SetCameraUseCase.swift",
"Implementation/Use Cases/SetFlashStateUseCase.swift",
"Implementation/Use Cases/SetRotationUseCase.swift",
"Implementation/Use Cases/SetZoomUseCase.swift",
"Implementation/Use Cases/StartCameraUseCase.swift",
"Implementation/Use Cases/TakePhotoUseCase.swift",
"Implementation/Views/Presenter.swift",
"Implementation/Views/PreviewView.swift",
"Public API/Camera.swift",
"Public API/CameraFactory.swift",
"Public API/Models/CameraSettings.swift",
"Public API/Models/Device.swift",
"Public API/Models/PhotoCaptureError.swift",
"Public API/Models/ZoomObserver.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/30] Compiling CameraCapture SetCameraUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[4/30] Compiling CameraCapture SetFlashStateUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[5/30] Compiling CameraCapture SetRotationUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[6/32] Compiling CameraCapture SetZoomUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[7/32] Compiling CameraCapture StartCameraUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[8/32] Compiling CameraCapture TakePhotoUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[9/32] Compiling CameraCapture PhotoCaptureError.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[10/32] Compiling CameraCapture ZoomObserver.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[11/32] Compiling CameraCapture CaptureHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[12/32] Compiling CameraCapture DefaultCamera.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[13/32] Compiling CameraCapture SettingsRepo.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/32] Emitting module CameraCapture
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[15/32] Compiling CameraCapture AVZoomController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[16/32] Compiling CameraCapture Adapters.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[17/32] Compiling CameraCapture CameraRepo.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[18/32] Compiling CameraCapture Presenter.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[19/32] Compiling CameraCapture PreviewView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[20/32] Compiling CameraCapture Camera.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[21/32] Compiling CameraCapture FocusUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[22/32] Compiling CameraCapture RetrieveAvailableCamerasUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[23/32] Compiling CameraCapture RotateCameraUseCase.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[24/32] Compiling CameraCapture AVDataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[25/32] Compiling CameraCapture AVFlashController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[26/32] Compiling CameraCapture AVFocusController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[27/32] Compiling CameraCapture AVCameraController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[28/32] Compiling CameraCapture AVCameraSession.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[29/32] Compiling CameraCapture AVCaptureDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[30/32] Compiling CameraCapture CameraFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[31/32] Compiling CameraCapture CameraSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
[32/32] Compiling CameraCapture Device.swift
/Users/admin/builder/spi-builder-workspace/Sources/CameraCapture/Implementation/AVFoundation/AVCaptureDelegate.swift:2:8: error: no such module 'UIKit'
1 | import AVFoundation
2 | import UIKit
| `- error: no such module 'UIKit'
3 |
4 | class AVCaptureDelegate: NSObject, AVCapturePhotoCaptureDelegate {
BUILD FAILURE 6.0 macosSpm