The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Aperture, reference 0.0.0 (695d08), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 17:15:20 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/LiYanan2004/Aperture.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] Aperture
[30 / 113]
[33 / 113]
[41 / 113]
[43 / 113]
[44 / 113]
[50 / 113]
[52 / 113]
[55 / 113]
[61 / 113]
[64 / 113]
[66 / 113]
[67 / 113]
[78 / 113]
[81 / 113]
[82 / 113]
[86 / 113]
[91 / 113]
[92 / 113]
[104 / 113] Aperture
[105 / 113] Aperture
Build complete! (12.16 sec)
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Model/Camera.swift:225:21: warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
223 |                     }
224 |
225 |                     Task { @MainActor in
    |                     |- warning: unstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
    |                     `- note: to silence this warning, handle the error inside the task, or store/discard the task value explicitly
226 |                         // Resume preview connection in the middle of the dimming effect
227 |                         try await Task.sleep(for: .seconds(0.15))
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Model/Camera.swift:211:49: warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
205 |             configurePhotoOutput()
206 |
207 |             Task { @MainActor in
    |                  |- note: 'self' implicitly strongly captured here
    |                  `- note: add 'self' as a capture list item to silence
208 |                 self.createDeviceRotationCoordinator()
209 |                 // Pause the camera preview flow to make sure transition can be animated well
210 |                 self.cameraPreview.preview.videoPreviewLayer.connection?.isEnabled = false
211 |                 self.sessionQueue.async { [weak self] in
    |                                                 |- warning: 'weak' ownership of capture 'self' differs from implicitly-captured strong reference in outer scope [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture\ImplicitStrongCapture]8;;\]
    |                                                 `- note: explicitly assign the capture list item to silence
212 |                     guard let self else { return }
213 |
/Users/admin/builder/spi-builder-workspace/Sources/Aperture/Model/Camera.swift:518:13: warning: capture of 'videoPreviewLayer' with non-Sendable type 'AVCaptureVideoPreviewLayer' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
516 |         videoRotationAngleForHorizonLevelPreviewObservation = videoDeviceRotationCoordinator.observe(\.videoRotationAngleForHorizonLevelPreview, options: .new) { _, change in
517 |             guard let videoRotationAngleForHorizonLevelPreview = change.newValue else { return }
518 |             videoPreviewLayer.connection?.videoRotationAngle = videoRotationAngleForHorizonLevelPreview
    |             `- warning: capture of 'videoPreviewLayer' with non-Sendable type 'AVCaptureVideoPreviewLayer' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
519 |         }
520 |
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVCaptureVideoPreviewLayer.h:33:12: note: class 'AVCaptureVideoPreviewLayer' does not conform to the 'Sendable' protocol
 31 |  */
 32 | API_AVAILABLE(macos(10.7), ios(4.0), macCatalyst(14.0), tvos(17.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(watchos)
 33 | @interface AVCaptureVideoPreviewLayer : CALayer
    |            `- note: class 'AVCaptureVideoPreviewLayer' does not conform to the 'Sendable' protocol
 34 | {
 35 | @private
[#ImplicitStrongCapture]: <https://docs.swift.org/compiler/documentation/diagnostics/implicit-strong-capture>
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
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.