Build Information
Successful build of Aperture, reference 0.0.0 (695d08), with Swift 6.1 for macOS (SPM) on 29 Dec 2025 16:43:52 UTC.
Swift 6 data race errors: 4
Build Command
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/LiYanan2004/Aperture.git
Reference: 0.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/LiYanan2004/Aperture
* tag 0.0.0 -> FETCH_HEAD
HEAD is now at 695d087 Update namings and source file structures
Cloned https://github.com/LiYanan2004/Aperture.git
Revision (git rev-parse @):
695d08772dc76516517a7093be26464c66f0e5f4
SUCCESS checkout https://github.com/LiYanan2004/Aperture.git at 0.0.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/LiYanan2004/Aperture.git
https://github.com/LiYanan2004/Aperture.git
{
"dependencies" : [
],
"manifest_display_name" : "Aperture",
"name" : "Aperture",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Aperture",
"targets" : [
"Aperture"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Aperture",
"module_type" : "SwiftTarget",
"name" : "Aperture",
"path" : "Sources/Aperture",
"product_memberships" : [
"Aperture"
],
"sources" : [
"CameraView.swift",
"Components/CameraSwitcher.swift",
"Components/FlashLightIndicator.swift",
"Components/Internals/CameraPreview.swift",
"Components/Internals/CameraZoomLevelPicker.swift",
"Components/Internals/FocusIndicator.swift",
"Components/Internals/Interactions/CameraPreviewFlip.swift",
"Components/Internals/Interactions/CameraTapToFocus.swift",
"Components/Internals/Interactions/CameraZoomingGesture.swift",
"Components/ShutterButton.swift",
"Components/SystemCameraExperience.swift",
"Components/ViewFinder.swift",
"Helpers/AppOrientationDelegate.swift",
"Helpers/DeviceType.swift",
"Helpers/PlatformView.swift",
"Model/Camera.swift",
"Model/CameraCaptureConfiguration+SwiftUI.swift",
"Model/CameraCaptureConfiguration.swift",
"Model/CameraCaptureError.swift",
"Model/CameraModel+ReadinessCoordinator.swift",
"Model/CapturedPhoto.swift",
"Model/PhotoProcessor.swift",
"Modifiers/AutoDeferredPhotoDelivery.swift",
"Modifiers/AutoSwitchingLens.swift",
"Modifiers/CaptureDeviceTypes.swift",
"Modifiers/CaptureQualityPrioritization.swift",
"Modifiers/ConstantColor.swift",
"Modifiers/MultiTasking.swift",
"Modifiers/ResponsiveCapture.swift",
"Modifiers/StabilizationMode.swift",
"Modifiers/ZeroShutterLag.swift",
"Styles/ResponsiveButtonStyle.swift",
"Styles/SpinningProgressView.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/33] Emitting module Aperture
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/CameraPreview.swift:6:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
4 | struct CameraPreview {
5 | var session: AVCaptureSession
6 | let preview = _PlatformViewBackedPreview()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/Interactions/CameraPreviewFlip.swift:46:16: warning: static property 'start' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | var scale: CGFloat
45 |
46 | static var start = CameraPreviewFlippingSide(rotation3DAngle: 0, scale: 1)
| |- warning: static property 'start' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'start' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'start' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | static var end = CameraPreviewFlippingSide(rotation3DAngle: -180, scale: 1)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/Interactions/CameraPreviewFlip.swift:47:16: warning: static property 'end' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | static var start = CameraPreviewFlippingSide(rotation3DAngle: 0, scale: 1)
47 | static var end = CameraPreviewFlippingSide(rotation3DAngle: -180, scale: 1)
| |- warning: static property 'end' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'end' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'end' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Model/CameraCaptureConfiguration+SwiftUI.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | /// Camera capture configuration for CameraModel to configure the session.
4 | struct _CameraCaptureConfigurationKey: EnvironmentKey {
5 | static var defaultValue = CameraCaptureConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
[4/36] Compiling Aperture ZeroShutterLag.swift
[5/36] Compiling Aperture ResponsiveButtonStyle.swift
[6/36] Compiling Aperture SpinningProgressView.swift
[7/36] Compiling Aperture MultiTasking.swift
[8/36] Compiling Aperture ResponsiveCapture.swift
[9/36] Compiling Aperture StabilizationMode.swift
[10/36] Compiling Aperture CameraView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/CameraPreview.swift:6:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
4 | struct CameraPreview {
5 | var session: AVCaptureSession
6 | let preview = _PlatformViewBackedPreview()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
7 | }
8 |
[11/36] Compiling Aperture CameraSwitcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/CameraPreview.swift:6:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
4 | struct CameraPreview {
5 | var session: AVCaptureSession
6 | let preview = _PlatformViewBackedPreview()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
7 | }
8 |
[12/36] Compiling Aperture FlashLightIndicator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/CameraPreview.swift:6:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
4 | struct CameraPreview {
5 | var session: AVCaptureSession
6 | let preview = _PlatformViewBackedPreview()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
7 | }
8 |
[13/36] Compiling Aperture CameraPreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/CameraPreview.swift:6:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
4 | struct CameraPreview {
5 | var session: AVCaptureSession
6 | let preview = _PlatformViewBackedPreview()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
7 | }
8 |
[14/36] Compiling Aperture AppOrientationDelegate.swift
[15/36] Compiling Aperture DeviceType.swift
[16/36] Compiling Aperture PlatformView.swift
[17/36] Compiling Aperture PhotoProcessor.swift
[18/36] Compiling Aperture AutoDeferredPhotoDelivery.swift
[19/36] Compiling Aperture AutoSwitchingLens.swift
[20/36] Compiling Aperture CameraZoomingGesture.swift
[21/36] Compiling Aperture ShutterButton.swift
[22/36] Compiling Aperture SystemCameraExperience.swift
[23/36] Compiling Aperture ViewFinder.swift
[24/36] Compiling Aperture Camera.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/CameraPreview.swift:6:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
4 | struct CameraPreview {
5 | var session: AVCaptureSession
6 | let preview = _PlatformViewBackedPreview()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Model/CameraCaptureConfiguration+SwiftUI.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | /// Camera capture configuration for CameraModel to configure the session.
4 | struct _CameraCaptureConfigurationKey: EnvironmentKey {
5 | static var defaultValue = CameraCaptureConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Model/Camera.swift:312:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
310 | let videoRotationAngle = self.videoDeviceRotationCoordinator.videoRotationAngleForHorizonLevelCapture
311 |
312 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
313 | if let photoOutputConnection = self.photoOutput.connection(with: .video) {
314 | photoOutputConnection.videoRotationAngle = videoRotationAngle
:
320 | readinessCoordinator.stopTrackingCaptureRequest(using: photoSettings.uniqueID)
321 | }
322 | completionHandler(capturedPhotoData)
| `- note: closure captures 'completionHandler' which is accessible to code in the current task
323 | }
324 | #endif
[25/36] Compiling Aperture CameraCaptureConfiguration+SwiftUI.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/CameraPreview.swift:6:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
4 | struct CameraPreview {
5 | var session: AVCaptureSession
6 | let preview = _PlatformViewBackedPreview()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Model/CameraCaptureConfiguration+SwiftUI.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | /// Camera capture configuration for CameraModel to configure the session.
4 | struct _CameraCaptureConfigurationKey: EnvironmentKey {
5 | static var defaultValue = CameraCaptureConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Model/Camera.swift:312:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
310 | let videoRotationAngle = self.videoDeviceRotationCoordinator.videoRotationAngleForHorizonLevelCapture
311 |
312 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
313 | if let photoOutputConnection = self.photoOutput.connection(with: .video) {
314 | photoOutputConnection.videoRotationAngle = videoRotationAngle
:
320 | readinessCoordinator.stopTrackingCaptureRequest(using: photoSettings.uniqueID)
321 | }
322 | completionHandler(capturedPhotoData)
| `- note: closure captures 'completionHandler' which is accessible to code in the current task
323 | }
324 | #endif
[26/36] Compiling Aperture CameraCaptureConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/CameraPreview.swift:6:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
4 | struct CameraPreview {
5 | var session: AVCaptureSession
6 | let preview = _PlatformViewBackedPreview()
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
7 | }
8 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Model/CameraCaptureConfiguration+SwiftUI.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | /// Camera capture configuration for CameraModel to configure the session.
4 | struct _CameraCaptureConfigurationKey: EnvironmentKey {
5 | static var defaultValue = CameraCaptureConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Model/Camera.swift:312:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
310 | let videoRotationAngle = self.videoDeviceRotationCoordinator.videoRotationAngleForHorizonLevelCapture
311 |
312 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
313 | if let photoOutputConnection = self.photoOutput.connection(with: .video) {
314 | photoOutputConnection.videoRotationAngle = videoRotationAngle
:
320 | readinessCoordinator.stopTrackingCaptureRequest(using: photoSettings.uniqueID)
321 | }
322 | completionHandler(capturedPhotoData)
| `- note: closure captures 'completionHandler' which is accessible to code in the current task
323 | }
324 | #endif
[27/36] Compiling Aperture CaptureDeviceTypes.swift
[28/36] Compiling Aperture CaptureQualityPrioritization.swift
[29/36] Compiling Aperture ConstantColor.swift
[30/36] Compiling Aperture CameraZoomLevelPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/Interactions/CameraPreviewFlip.swift:46:16: warning: static property 'start' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | var scale: CGFloat
45 |
46 | static var start = CameraPreviewFlippingSide(rotation3DAngle: 0, scale: 1)
| |- warning: static property 'start' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'start' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'start' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | static var end = CameraPreviewFlippingSide(rotation3DAngle: -180, scale: 1)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/Interactions/CameraPreviewFlip.swift:47:16: warning: static property 'end' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | static var start = CameraPreviewFlippingSide(rotation3DAngle: 0, scale: 1)
47 | static var end = CameraPreviewFlippingSide(rotation3DAngle: -180, scale: 1)
| |- warning: static property 'end' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'end' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'end' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
[31/36] Compiling Aperture FocusIndicator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/Interactions/CameraPreviewFlip.swift:46:16: warning: static property 'start' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | var scale: CGFloat
45 |
46 | static var start = CameraPreviewFlippingSide(rotation3DAngle: 0, scale: 1)
| |- warning: static property 'start' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'start' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'start' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | static var end = CameraPreviewFlippingSide(rotation3DAngle: -180, scale: 1)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/Interactions/CameraPreviewFlip.swift:47:16: warning: static property 'end' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | static var start = CameraPreviewFlippingSide(rotation3DAngle: 0, scale: 1)
47 | static var end = CameraPreviewFlippingSide(rotation3DAngle: -180, scale: 1)
| |- warning: static property 'end' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'end' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'end' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
[32/36] Compiling Aperture CameraPreviewFlip.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/Interactions/CameraPreviewFlip.swift:46:16: warning: static property 'start' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | var scale: CGFloat
45 |
46 | static var start = CameraPreviewFlippingSide(rotation3DAngle: 0, scale: 1)
| |- warning: static property 'start' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'start' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'start' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | static var end = CameraPreviewFlippingSide(rotation3DAngle: -180, scale: 1)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/Interactions/CameraPreviewFlip.swift:47:16: warning: static property 'end' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | static var start = CameraPreviewFlippingSide(rotation3DAngle: 0, scale: 1)
47 | static var end = CameraPreviewFlippingSide(rotation3DAngle: -180, scale: 1)
| |- warning: static property 'end' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'end' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'end' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
[33/36] Compiling Aperture CameraTapToFocus.swift
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/Interactions/CameraPreviewFlip.swift:46:16: warning: static property 'start' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | var scale: CGFloat
45 |
46 | static var start = CameraPreviewFlippingSide(rotation3DAngle: 0, scale: 1)
| |- warning: static property 'start' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'start' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'start' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | static var end = CameraPreviewFlippingSide(rotation3DAngle: -180, scale: 1)
48 | }
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Components/Internals/Interactions/CameraPreviewFlip.swift:47:16: warning: static property 'end' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | static var start = CameraPreviewFlippingSide(rotation3DAngle: 0, scale: 1)
47 | static var end = CameraPreviewFlippingSide(rotation3DAngle: -180, scale: 1)
| |- warning: static property 'end' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'end' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'end' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | }
49 |
[34/36] Compiling Aperture CameraCaptureError.swift
[35/36] Compiling Aperture CameraModel+ReadinessCoordinator.swift
[36/36] Compiling Aperture CapturedPhoto.swift
Build complete! (10.48s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Aperture",
"name" : "Aperture",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "17.0"
},
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Aperture",
"targets" : [
"Aperture"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Aperture",
"module_type" : "SwiftTarget",
"name" : "Aperture",
"path" : "Sources/Aperture",
"product_memberships" : [
"Aperture"
],
"sources" : [
"CameraView.swift",
"Components/CameraSwitcher.swift",
"Components/FlashLightIndicator.swift",
"Components/Internals/CameraPreview.swift",
"Components/Internals/CameraZoomLevelPicker.swift",
"Components/Internals/FocusIndicator.swift",
"Components/Internals/Interactions/CameraPreviewFlip.swift",
"Components/Internals/Interactions/CameraTapToFocus.swift",
"Components/Internals/Interactions/CameraZoomingGesture.swift",
"Components/ShutterButton.swift",
"Components/SystemCameraExperience.swift",
"Components/ViewFinder.swift",
"Helpers/AppOrientationDelegate.swift",
"Helpers/DeviceType.swift",
"Helpers/PlatformView.swift",
"Model/Camera.swift",
"Model/CameraCaptureConfiguration+SwiftUI.swift",
"Model/CameraCaptureConfiguration.swift",
"Model/CameraCaptureError.swift",
"Model/CameraModel+ReadinessCoordinator.swift",
"Model/CapturedPhoto.swift",
"Model/PhotoProcessor.swift",
"Modifiers/AutoDeferredPhotoDelivery.swift",
"Modifiers/AutoSwitchingLens.swift",
"Modifiers/CaptureDeviceTypes.swift",
"Modifiers/CaptureQualityPrioritization.swift",
"Modifiers/ConstantColor.swift",
"Modifiers/MultiTasking.swift",
"Modifiers/ResponsiveCapture.swift",
"Modifiers/StabilizationMode.swift",
"Modifiers/ZeroShutterLag.swift",
"Styles/ResponsiveButtonStyle.swift",
"Styles/SpinningProgressView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.